import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class ProvisioningServices extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'provisioningServices' , } ) ; } } schema export class ProvisioningServicesCertificates extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'provisioningServices_certificates' , } ) ; } } schema export class ProvisioningServicesPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'provisioningServices_privateEndpointConnections' , } ) ; } } schema export interface ProvisioningServicesOptions { schema readonly apiVersion ? : MicrosoftDevicesProvisioningServicesApiVersion ; schema readonly etag ? : string ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : IotDpsPropertiesDescription ; schema readonly resources ? : MicrosoftDevicesProvisioningServicesResources [ ] ; schema readonly sku : IotDpsSkuInfo ; schema readonly tags ? : MicrosoftDevicesProvisioningServicesTags ; schema readonly type : MicrosoftDevicesProvisioningServicesType ; } schema export interface ProvisioningServicesCertificatesOptions { schema readonly apiVersion ? : MicrosoftDevicesProvisioningServicesCertificatesApiVersion ; schema readonly certificate ? : string ; schema readonly name : string ; schema readonly type : MicrosoftDevicesProvisioningServicesCertificatesType ; } schema export interface ProvisioningServicesPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftDevicesProvisioningServicesPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftDevicesProvisioningServicesPrivateEndpointConnectionsType ; } export enum MicrosoftDevicesProvisioningServicesApiVersion { "MicrosoftDevicesProvisioningServicesApiVersion_2020_03_01" = '2020-03-01' } schema export interface IotDpsPropertiesDescription { schema readonly allocationPolicy ? : IotDpsPropertiesDescriptionAllocationPolicy ; schema readonly authorizationPolicies ? : SharedAccessSignatureAuthorizationRuleAccessRightsDescription [ ] ; schema readonly iotHubs ? : IotHubDefinitionDescription [ ] ; schema readonly ipFilterRules ? : IpFilterRule [ ] ; schema readonly privateEndpointConnections ? : PrivateEndpointConnection [ ] ; schema readonly provisioningState ? : string ; schema readonly publicNetworkAccess ? : IotDpsPropertiesDescriptionPublicNetworkAccess ; schema readonly state ? : IotDpsPropertiesDescriptionState ; } schema export class MicrosoftDevicesProvisioningServicesResources { public static fromProvisioningServicesCertificatesChildResource ( value ) { return new MicrosoftDevicesProvisioningServicesResources ( value ) ; } public static fromProvisioningServicesPrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftDevicesProvisioningServicesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface IotDpsSkuInfo { schema readonly capacity ? : number ; schema readonly name ? : IotDpsSkuInfoName ; } schema export interface MicrosoftDevicesProvisioningServicesTags { } export enum MicrosoftDevicesProvisioningServicesType { "MicrosoftDevicesProvisioningServicesType_MICROSOFT_DEVICES_PROVISIONING_SERVICES" = 'Microsoft.Devices/provisioningServices' } export enum MicrosoftDevicesProvisioningServicesCertificatesApiVersion { "MicrosoftDevicesProvisioningServicesCertificatesApiVersion_2020_03_01" = '2020-03-01' } export enum MicrosoftDevicesProvisioningServicesCertificatesType { "MicrosoftDevicesProvisioningServicesCertificatesType_MICROSOFT_DEVICES_PROVISIONING_SERVICES_CERTIFICATES" = 'Microsoft.Devices/provisioningServices/certificates' } export enum MicrosoftDevicesProvisioningServicesPrivateEndpointConnectionsApiVersion { "MicrosoftDevicesProvisioningServicesPrivateEndpointConnectionsApiVersion_2020_03_01" = '2020-03-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly privateEndpoint ? : PrivateEndpoint ; schema readonly privateLinkServiceConnectionState : PrivateLinkServiceConnectionState ; } export enum MicrosoftDevicesProvisioningServicesPrivateEndpointConnectionsType { "MicrosoftDevicesProvisioningServicesPrivateEndpointConnectionsType_MICROSOFT_DEVICES_PROVISIONING_SERVICES_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.Devices/provisioningServices/privateEndpointConnections' } export enum IotDpsPropertiesDescriptionAllocationPolicy { HASHED = 'Hashed' , GEO_LATENCY = 'GeoLatency' , STATIC = 'Static' } schema export interface SharedAccessSignatureAuthorizationRuleAccessRightsDescription { schema readonly keyName : string ; schema readonly primaryKey ? : string ; schema readonly rights : SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionRights ; schema readonly secondaryKey ? : string ; } schema export interface IotHubDefinitionDescription { schema readonly allocationWeight ? : number ; schema readonly applyAllocationPolicy ? : boolean ; schema readonly connectionString : string ; schema readonly location : string ; } schema export interface IpFilterRule { schema readonly action : IpFilterRuleAction ; schema readonly filterName : string ; schema readonly ipMask : string ; schema readonly target ? : IpFilterRuleTarget ; } schema export interface PrivateEndpointConnection { schema readonly properties : PrivateEndpointConnectionProperties ; } export enum IotDpsPropertiesDescriptionPublicNetworkAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' } export enum IotDpsPropertiesDescriptionState { ACTIVATING = 'Activating' , ACTIVE = 'Active' , DELETING = 'Deleting' , DELETED = 'Deleted' , ACTIVATION_FAILED = 'ActivationFailed' , DELETION_FAILED = 'DeletionFailed' , TRANSITIONING = 'Transitioning' , SUSPENDING = 'Suspending' , SUSPENDED = 'Suspended' , RESUMING = 'Resuming' , FAILING_OVER = 'FailingOver' , FAILOVER_FAILED = 'FailoverFailed' } schema export interface ProvisioningServicesCertificatesChildResource { schema readonly apiVersion : ProvisioningServicesCertificatesChildResourceApiVersion ; schema readonly certificate ? : string ; schema readonly name : string ; schema readonly type : ProvisioningServicesCertificatesChildResourceType ; } schema export interface ProvisioningServicesPrivateEndpointConnectionsChildResource { schema readonly apiVersion : ProvisioningServicesPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : ProvisioningServicesPrivateEndpointConnectionsChildResourceType ; } export enum IotDpsSkuInfoName { "IotDpsSkuInfoName_S1" = 'S1' } schema export interface PrivateEndpoint { } schema export interface PrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description : string ; schema readonly status : PrivateLinkServiceConnectionStateStatus ; } export enum SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionRights { SERVICE_CONFIG = 'ServiceConfig' , ENROLLMENT_READ = 'EnrollmentRead' , ENROLLMENT_WRITE = 'EnrollmentWrite' , DEVICE_CONNECT = 'DeviceConnect' , REGISTRATION_STATUS_READ = 'RegistrationStatusRead' , REGISTRATION_STATUS_WRITE = 'RegistrationStatusWrite' } export enum IpFilterRuleAction { ACCEPT = 'Accept' , REJECT = 'Reject' } export enum IpFilterRuleTarget { ALL = 'all' , SERVICE_API = 'serviceApi' , DEVICE_API = 'deviceApi' } export enum ProvisioningServicesCertificatesChildResourceApiVersion { "ProvisioningServicesCertificatesChildResourceApiVersion_2020_03_01" = '2020-03-01' } export enum ProvisioningServicesCertificatesChildResourceType { CERTIFICATES = 'certificates' } export enum ProvisioningServicesPrivateEndpointConnectionsChildResourceApiVersion { "ProvisioningServicesPrivateEndpointConnectionsChildResourceApiVersion_2020_03_01" = '2020-03-01' } export enum ProvisioningServicesPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum PrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' }