import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class DigitalTwinsInstances extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'digitalTwinsInstances' , } ) ; } } schema export class DigitalTwinsInstancesEndpoints extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'digitalTwinsInstances_endpoints' , } ) ; } } schema export class DigitalTwinsInstancesPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'digitalTwinsInstances_privateEndpointConnections' , } ) ; } } schema export interface DigitalTwinsInstancesOptions { schema readonly apiVersion ? : MicrosoftDigitalTwinsDigitalTwinsInstancesApiVersion ; schema readonly identity ? : DigitalTwinsIdentity ; schema readonly location : string ; schema readonly name : MicrosoftDigitalTwinsDigitalTwinsInstancesNamePattern ; schema readonly properties : DigitalTwinsProperties ; schema readonly resources ? : MicrosoftDigitalTwinsDigitalTwinsInstancesResources [ ] ; schema readonly tags ? : MicrosoftDigitalTwinsDigitalTwinsInstancesTags ; schema readonly type : MicrosoftDigitalTwinsDigitalTwinsInstancesType ; } schema export interface DigitalTwinsInstancesEndpointsOptions { schema readonly apiVersion ? : MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsApiVersion ; schema readonly name : MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsNamePattern ; schema readonly properties : DigitalTwinsEndpointResourceProperties ; schema readonly type : MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsType ; } schema export interface DigitalTwinsInstancesPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftDigitalTwinsDigitalTwinsInstancesPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftDigitalTwinsDigitalTwinsInstancesPrivateEndpointConnectionsType ; } export enum MicrosoftDigitalTwinsDigitalTwinsInstancesApiVersion { "MicrosoftDigitalTwinsDigitalTwinsInstancesApiVersion_2020_12_01" = '2020-12-01' } schema export interface DigitalTwinsIdentity { schema readonly type ? : DigitalTwinsIdentityType ; } schema export class MicrosoftDigitalTwinsDigitalTwinsInstancesNamePattern { public static pattern ( value ) { return value ; } } schema export interface DigitalTwinsProperties { schema readonly privateEndpointConnections ? : PrivateEndpointConnection [ ] ; schema readonly publicNetworkAccess ? : DigitalTwinsPropertiesPublicNetworkAccess ; } schema export class MicrosoftDigitalTwinsDigitalTwinsInstancesResources { public static fromDigitalTwinsInstancesEndpointsChildResource ( value ) { return new MicrosoftDigitalTwinsDigitalTwinsInstancesResources ( value ) ; } public static fromDigitalTwinsInstancesPrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftDigitalTwinsDigitalTwinsInstancesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface MicrosoftDigitalTwinsDigitalTwinsInstancesTags { } export enum MicrosoftDigitalTwinsDigitalTwinsInstancesType { "MicrosoftDigitalTwinsDigitalTwinsInstancesType_MICROSOFT_DIGITAL_TWINS_DIGITAL_TWINS_INSTANCES" = 'Microsoft.DigitalTwins/digitalTwinsInstances' } export enum MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsApiVersion { "MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsApiVersion_2020_12_01" = '2020-12-01' } schema export class MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsNamePattern { public static pattern ( value ) { return value ; } } schema export class DigitalTwinsEndpointResourceProperties { public static fromServiceBus ( value ) { return new DigitalTwinsEndpointResourceProperties ( value ) ; } public static fromEventHub ( value ) { return new DigitalTwinsEndpointResourceProperties ( value ) ; } public static fromEventGrid ( value ) { return new DigitalTwinsEndpointResourceProperties ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } export enum MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsType { "MicrosoftDigitalTwinsDigitalTwinsInstancesEndpointsType_MICROSOFT_DIGITAL_TWINS_DIGITAL_TWINS_INSTANCES_ENDPOINTS" = 'Microsoft.DigitalTwins/digitalTwinsInstances/endpoints' } export enum MicrosoftDigitalTwinsDigitalTwinsInstancesPrivateEndpointConnectionsApiVersion { "MicrosoftDigitalTwinsDigitalTwinsInstancesPrivateEndpointConnectionsApiVersion_2020_12_01" = '2020-12-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly groupIds ? : string [ ] ; schema readonly privateEndpoint ? : ConnectionPropertiesPrivateEndpoint ; schema readonly privateLinkServiceConnectionState ? : ConnectionPropertiesPrivateLinkServiceConnectionState ; } export enum MicrosoftDigitalTwinsDigitalTwinsInstancesPrivateEndpointConnectionsType { "MicrosoftDigitalTwinsDigitalTwinsInstancesPrivateEndpointConnectionsType_MICROSOFT_DIGITAL_TWINS_DIGITAL_TWINS_INSTANCES_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.DigitalTwins/digitalTwinsInstances/privateEndpointConnections' } export enum DigitalTwinsIdentityType { NONE = 'None' , SYSTEM_ASSIGNED = 'SystemAssigned' } schema export interface PrivateEndpointConnection { schema readonly properties : PrivateEndpointConnectionProperties ; } export enum DigitalTwinsPropertiesPublicNetworkAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface DigitalTwinsInstancesEndpointsChildResource { schema readonly apiVersion : DigitalTwinsInstancesEndpointsChildResourceApiVersion ; schema readonly name : DigitalTwinsInstancesEndpointsChildResourceNamePattern ; schema readonly properties : DigitalTwinsEndpointResourceProperties ; schema readonly type : DigitalTwinsInstancesEndpointsChildResourceType ; } schema export interface DigitalTwinsInstancesPrivateEndpointConnectionsChildResource { schema readonly apiVersion : DigitalTwinsInstancesPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : DigitalTwinsInstancesPrivateEndpointConnectionsChildResourceType ; } schema export interface ServiceBus { schema readonly endpointType : ServiceBusEndpointType ; schema readonly endpointUri ? : string ; schema readonly entityPath ? : string ; schema readonly primaryConnectionString ? : string ; schema readonly secondaryConnectionString ? : string ; } schema export interface EventHub { schema readonly connectionStringPrimaryKey ? : string ; schema readonly connectionStringSecondaryKey ? : string ; schema readonly endpointType : EventHubEndpointType ; schema readonly endpointUri ? : string ; schema readonly entityPath ? : string ; } schema export interface EventGrid { schema readonly accessKey1 : string ; schema readonly accessKey2 ? : string ; schema readonly endpointType : EventGridEndpointType ; schema readonly topicEndpoint ? : string ; } schema export interface ConnectionPropertiesPrivateEndpoint { } schema export interface ConnectionPropertiesPrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description : string ; schema readonly status : ConnectionPropertiesPrivateLinkServiceConnectionStateStatus ; } export enum DigitalTwinsInstancesEndpointsChildResourceApiVersion { "DigitalTwinsInstancesEndpointsChildResourceApiVersion_2020_12_01" = '2020-12-01' } schema export class DigitalTwinsInstancesEndpointsChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum DigitalTwinsInstancesEndpointsChildResourceType { ENDPOINTS = 'endpoints' } export enum DigitalTwinsInstancesPrivateEndpointConnectionsChildResourceApiVersion { "DigitalTwinsInstancesPrivateEndpointConnectionsChildResourceApiVersion_2020_12_01" = '2020-12-01' } export enum DigitalTwinsInstancesPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum ServiceBusEndpointType { SERVICE_BUS = 'ServiceBus' } export enum EventHubEndpointType { EVENT_HUB = 'EventHub' } export enum EventGridEndpointType { EVENT_GRID = 'EventGrid' } export enum ConnectionPropertiesPrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' }