import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Workspaces extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces' , } ) ; } } schema export class WorkspacesComputes extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_computes' , } ) ; } } schema export class WorkspacesConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_connections' , } ) ; } } schema export class WorkspacesPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_privateEndpointConnections' , } ) ; } } schema export class WorkspacesServices extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_services' , } ) ; } } schema export interface WorkspacesOptions { schema readonly apiVersion ? : MicrosoftMachineLearningServicesWorkspacesApiVersion ; schema readonly identity ? : Identity ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : WorkspaceProperties ; schema readonly resources ? : MicrosoftMachineLearningServicesWorkspacesResources [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftMachineLearningServicesWorkspacesTags ; schema readonly type : MicrosoftMachineLearningServicesWorkspacesType ; } schema export interface WorkspacesComputesOptions { schema readonly apiVersion ? : MicrosoftMachineLearningServicesWorkspacesComputesApiVersion ; schema readonly identity ? : Identity ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : Compute ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftMachineLearningServicesWorkspacesComputesTags ; schema readonly type : MicrosoftMachineLearningServicesWorkspacesComputesType ; } schema export interface WorkspacesConnectionsOptions { schema readonly apiVersion ? : MicrosoftMachineLearningServicesWorkspacesConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : WorkspaceConnectionProps ; schema readonly type : MicrosoftMachineLearningServicesWorkspacesConnectionsType ; } schema export interface WorkspacesPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsApiVersion ; schema readonly identity ? : Identity ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsTags ; schema readonly type : MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsType ; } schema export class WorkspacesServicesOptions { public static fromAciServiceCreateRequest ( value ) { return new WorkspacesServicesOptions ( value ) ; } public static fromAksServiceCreateRequest ( value ) { return new WorkspacesServicesOptions ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } export enum MicrosoftMachineLearningServicesWorkspacesApiVersion { "MicrosoftMachineLearningServicesWorkspacesApiVersion_2021_04_01" = '2021-04-01' } schema export interface Identity { schema readonly type ? : IdentityType ; schema readonly userAssignedIdentities ? : IdentityUserAssignedIdentities ; } schema export interface WorkspaceProperties { schema readonly allowPublicAccessWhenBehindVnet ? : boolean ; schema readonly applicationInsights ? : string ; schema readonly containerRegistry ? : string ; schema readonly description ? : string ; schema readonly discoveryUrl ? : string ; schema readonly encryption ? : EncryptionProperty ; schema readonly friendlyName ? : string ; schema readonly hbiWorkspace ? : boolean ; schema readonly imageBuildCompute ? : string ; schema readonly keyVault ? : string ; schema readonly primaryUserAssignedIdentity ? : string ; schema readonly serviceManagedResourcesSettings ? : ServiceManagedResourcesSettings ; schema readonly sharedPrivateLinkResources ? : SharedPrivateLinkResource [ ] ; schema readonly storageAccount ? : string ; } schema export class MicrosoftMachineLearningServicesWorkspacesResources { public static fromWorkspacesComputesChildResource ( value ) { return new MicrosoftMachineLearningServicesWorkspacesResources ( value ) ; } public static fromWorkspacesPrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftMachineLearningServicesWorkspacesResources ( value ) ; } public static fromWorkspaces_services_childResource ( value ) { return new MicrosoftMachineLearningServicesWorkspacesResources ( value ) ; } public static fromWorkspacesConnectionsChildResource ( value ) { return new MicrosoftMachineLearningServicesWorkspacesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface Sku { schema readonly name ? : string ; schema readonly tier ? : string ; } schema export interface MicrosoftMachineLearningServicesWorkspacesTags { } export enum MicrosoftMachineLearningServicesWorkspacesType { "MicrosoftMachineLearningServicesWorkspacesType_MICROSOFT_MACHINE_LEARNING_SERVICES_WORKSPACES" = 'Microsoft.MachineLearningServices/workspaces' } export enum MicrosoftMachineLearningServicesWorkspacesComputesApiVersion { "MicrosoftMachineLearningServicesWorkspacesComputesApiVersion_2021_04_01" = '2021-04-01' } schema export class Compute { public static fromAks ( value ) { return new Compute ( value ) ; } public static fromAmlCompute ( value ) { return new Compute ( value ) ; } public static fromComputeInstance ( value ) { return new Compute ( value ) ; } public static fromVirtualMachine ( value ) { return new Compute ( value ) ; } public static fromHdInsight ( value ) { return new Compute ( value ) ; } public static fromDataFactory ( value ) { return new Compute ( value ) ; } public static fromDatabricks ( value ) { return new Compute ( value ) ; } public static fromDataLakeAnalytics ( value ) { return new Compute ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface MicrosoftMachineLearningServicesWorkspacesComputesTags { } export enum MicrosoftMachineLearningServicesWorkspacesComputesType { "MicrosoftMachineLearningServicesWorkspacesComputesType_MICROSOFT_MACHINE_LEARNING_SERVICES_WORKSPACES_COMPUTES" = 'Microsoft.MachineLearningServices/workspaces/computes' } export enum MicrosoftMachineLearningServicesWorkspacesConnectionsApiVersion { "MicrosoftMachineLearningServicesWorkspacesConnectionsApiVersion_2021_04_01" = '2021-04-01' } schema export interface WorkspaceConnectionProps { schema readonly authType ? : string ; schema readonly category ? : string ; schema readonly target ? : string ; schema readonly value ? : string ; schema readonly valueFormat ? : WorkspaceConnectionPropsValueFormat ; } export enum MicrosoftMachineLearningServicesWorkspacesConnectionsType { "MicrosoftMachineLearningServicesWorkspacesConnectionsType_MICROSOFT_MACHINE_LEARNING_SERVICES_WORKSPACES_CONNECTIONS" = 'Microsoft.MachineLearningServices/workspaces/connections' } export enum MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsApiVersion { "MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsApiVersion_2021_04_01" = '2021-04-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly privateEndpoint ? : PrivateEndpoint ; schema readonly privateLinkServiceConnectionState : PrivateLinkServiceConnectionState ; schema readonly provisioningState ? : PrivateEndpointConnectionPropertiesProvisioningState ; } schema export interface MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsTags { } export enum MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsType { "MicrosoftMachineLearningServicesWorkspacesPrivateEndpointConnectionsType_MICROSOFT_MACHINE_LEARNING_SERVICES_WORKSPACES_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.MachineLearningServices/workspaces/privateEndpointConnections' } schema export interface AciServiceCreateRequest { schema readonly appInsightsEnabled ? : boolean ; schema readonly authEnabled ? : boolean ; schema readonly cname ? : string ; schema readonly computeType : AciServiceCreateRequestComputeType ; schema readonly containerResourceRequirements ? : ContainerResourceRequirements ; schema readonly dataCollection ? : AciServiceCreateRequestDataCollection ; schema readonly dnsNameLabel ? : string ; schema readonly encryptionProperties ? : AciServiceCreateRequestEncryptionProperties ; schema readonly sslCertificate ? : string ; schema readonly sslEnabled ? : boolean ; schema readonly sslKey ? : string ; schema readonly vnetConfiguration ? : AciServiceCreateRequestVnetConfiguration ; } schema export interface AksServiceCreateRequest { schema readonly aadAuthEnabled ? : boolean ; schema readonly appInsightsEnabled ? : boolean ; schema readonly authEnabled ? : boolean ; schema readonly autoScaler ? : AksServiceCreateRequestAutoScaler ; schema readonly computeName ? : string ; schema readonly computeType : AksServiceCreateRequestComputeType ; schema readonly containerResourceRequirements ? : ContainerResourceRequirements ; schema readonly dataCollection ? : AksServiceCreateRequestDataCollection ; schema readonly livenessProbeRequirements ? : AksServiceCreateRequestLivenessProbeRequirements ; schema readonly maxConcurrentRequestsPerContainer ? : number ; schema readonly maxQueueWaitMs ? : number ; schema readonly namespace ? : string ; schema readonly numReplicas ? : number ; schema readonly scoringTimeoutMs ? : number ; } export enum IdentityType { SYSTEM_ASSIGNED = 'SystemAssigned' , "IdentityType_SYSTEM_ASSIGNED_USER_ASSIGNED" = 'SystemAssigned,UserAssigned' , USER_ASSIGNED = 'UserAssigned' , NONE = 'None' } schema export interface IdentityUserAssignedIdentities { } schema export interface EncryptionProperty { schema readonly identity ? : IdentityForCmk ; schema readonly keyVaultProperties : KeyVaultProperties ; schema readonly status : EncryptionPropertyStatus ; } schema export interface ServiceManagedResourcesSettings { schema readonly cosmosDb ? : CosmosDbSettings ; } schema export interface SharedPrivateLinkResource { schema readonly name ? : string ; schema readonly properties ? : SharedPrivateLinkResourceProperty ; } schema export interface WorkspacesComputesChildResource { schema readonly apiVersion : WorkspacesComputesChildResourceApiVersion ; schema readonly identity ? : Identity ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : Compute ; schema readonly sku ? : Sku ; schema readonly tags ? : WorkspacesComputesChildResourceTags ; schema readonly type : WorkspacesComputesChildResourceType ; } schema export interface WorkspacesPrivateEndpointConnectionsChildResource { schema readonly apiVersion : WorkspacesPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly identity ? : Identity ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly sku ? : Sku ; schema readonly tags ? : WorkspacesPrivateEndpointConnectionsChildResourceTags ; schema readonly type : WorkspacesPrivateEndpointConnectionsChildResourceType ; } schema export class workspaces_services_childResource { public static fromAciServiceCreateRequest ( value ) { return new workspaces_services_childResource ( value ) ; } public static fromAksServiceCreateRequest ( value ) { return new workspaces_services_childResource ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface WorkspacesConnectionsChildResource { schema readonly apiVersion : WorkspacesConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : WorkspaceConnectionProps ; schema readonly type : WorkspacesConnectionsChildResourceType ; } schema export interface Aks { schema readonly computeType : AksComputeType ; schema readonly properties ? : AksProperties ; } schema export interface AmlCompute { schema readonly computeType : AmlComputeComputeType ; schema readonly properties ? : AmlComputeProperties ; } schema export interface ComputeInstance { schema readonly computeType : ComputeInstanceComputeType ; schema readonly properties ? : ComputeInstanceProperties ; } schema export interface VirtualMachine { schema readonly computeType : VirtualMachineComputeType ; schema readonly properties ? : VirtualMachineProperties ; } schema export interface HdInsight { schema readonly computeType : HdInsightComputeType ; schema readonly properties ? : HdInsightProperties ; } schema export interface DataFactory { schema readonly computeType : DataFactoryComputeType ; } schema export interface Databricks { schema readonly computeType : DatabricksComputeType ; schema readonly properties ? : DatabricksProperties ; } schema export interface DataLakeAnalytics { schema readonly computeType : DataLakeAnalyticsComputeType ; schema readonly properties ? : DataLakeAnalyticsProperties ; } export enum WorkspaceConnectionPropsValueFormat { JSON = 'JSON' } schema export interface PrivateEndpoint { } schema export interface PrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description ? : string ; schema readonly status ? : PrivateLinkServiceConnectionStateStatus ; } export enum PrivateEndpointConnectionPropertiesProvisioningState { SUCCEEDED = 'Succeeded' , CREATING = 'Creating' , DELETING = 'Deleting' , FAILED = 'Failed' } export enum AciServiceCreateRequestComputeType { ACI = 'ACI' } schema export interface ContainerResourceRequirements { schema readonly cpu ? : number ; schema readonly cpuLimit ? : number ; schema readonly fpga ? : number ; schema readonly gpu ? : number ; schema readonly memoryInGB ? : number ; schema readonly memoryInGBLimit ? : number ; } schema export interface AciServiceCreateRequestDataCollection { schema readonly eventHubEnabled ? : boolean ; schema readonly storageEnabled ? : boolean ; } schema export interface AciServiceCreateRequestEncryptionProperties { schema readonly keyName : string ; schema readonly keyVersion : string ; schema readonly vaultBaseUrl : string ; } schema export interface AciServiceCreateRequestVnetConfiguration { schema readonly subnetName ? : string ; schema readonly vnetName ? : string ; } schema export interface AksServiceCreateRequestAutoScaler { schema readonly autoscaleEnabled ? : boolean ; schema readonly maxReplicas ? : number ; schema readonly minReplicas ? : number ; schema readonly refreshPeriodInSeconds ? : number ; schema readonly targetUtilization ? : number ; } export enum AksServiceCreateRequestComputeType { AKS = 'AKS' } schema export interface AksServiceCreateRequestDataCollection { schema readonly eventHubEnabled ? : boolean ; schema readonly storageEnabled ? : boolean ; } schema export interface AksServiceCreateRequestLivenessProbeRequirements { schema readonly failureThreshold ? : number ; schema readonly initialDelaySeconds ? : number ; schema readonly periodSeconds ? : number ; schema readonly successThreshold ? : number ; schema readonly timeoutSeconds ? : number ; } schema export interface IdentityForCmk { schema readonly userAssignedIdentity ? : string ; } schema export interface KeyVaultProperties { schema readonly identityClientId ? : string ; schema readonly keyIdentifier : string ; schema readonly keyVaultArmId : string ; } export enum EncryptionPropertyStatus { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface CosmosDbSettings { schema readonly collectionsThroughput ? : number ; } schema export interface SharedPrivateLinkResourceProperty { schema readonly groupId ? : string ; schema readonly privateLinkResourceId ? : string ; schema readonly requestMessage ? : string ; schema readonly status ? : SharedPrivateLinkResourcePropertyStatus ; } export enum WorkspacesComputesChildResourceApiVersion { "WorkspacesComputesChildResourceApiVersion_2021_04_01" = '2021-04-01' } schema export interface WorkspacesComputesChildResourceTags { } export enum WorkspacesComputesChildResourceType { COMPUTES = 'computes' } export enum WorkspacesPrivateEndpointConnectionsChildResourceApiVersion { "WorkspacesPrivateEndpointConnectionsChildResourceApiVersion_2021_04_01" = '2021-04-01' } schema export interface WorkspacesPrivateEndpointConnectionsChildResourceTags { } export enum WorkspacesPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum WorkspacesConnectionsChildResourceApiVersion { "WorkspacesConnectionsChildResourceApiVersion_2021_04_01" = '2021-04-01' } export enum WorkspacesConnectionsChildResourceType { CONNECTIONS = 'connections' } export enum AksComputeType { AKS = 'AKS' } schema export interface AksProperties { schema readonly agentCount ? : number ; schema readonly agentVmSize ? : string ; schema readonly aksNetworkingConfiguration ? : AksNetworkingConfiguration ; schema readonly clusterFqdn ? : string ; schema readonly clusterPurpose ? : AksPropertiesClusterPurpose ; schema readonly loadBalancerSubnet ? : string ; schema readonly loadBalancerType ? : AksPropertiesLoadBalancerType ; schema readonly sslConfiguration ? : SslConfiguration ; } export enum AmlComputeComputeType { AML_COMPUTE = 'AmlCompute' } schema export interface AmlComputeProperties { schema readonly enableNodePublicIp ? : boolean ; schema readonly isolatedNetwork ? : boolean ; schema readonly osType ? : AmlComputePropertiesOsType ; schema readonly remoteLoginPortPublicAccess ? : AmlComputePropertiesRemoteLoginPortPublicAccess ; schema readonly scaleSettings ? : ScaleSettings ; schema readonly subnet ? : ResourceId ; schema readonly userAccountCredentials ? : UserAccountCredentials ; schema readonly virtualMachineImage ? : VirtualMachineImage ; schema readonly vmPriority ? : AmlComputePropertiesVmPriority ; schema readonly vmSize ? : string ; } export enum ComputeInstanceComputeType { COMPUTE_INSTANCE = 'ComputeInstance' } schema export interface ComputeInstanceProperties { schema readonly applicationSharingPolicy ? : ComputeInstancePropertiesApplicationSharingPolicy ; schema readonly computeInstanceAuthorizationType ? : ComputeInstancePropertiesComputeInstanceAuthorizationType ; schema readonly personalComputeInstanceSettings ? : PersonalComputeInstanceSettings ; schema readonly setupScripts ? : SetupScripts ; schema readonly sshSettings ? : ComputeInstanceSshSettings ; schema readonly subnet ? : ResourceId ; schema readonly vmSize ? : string ; } export enum VirtualMachineComputeType { VIRTUAL_MACHINE = 'VirtualMachine' } schema export interface VirtualMachineProperties { schema readonly address ? : string ; schema readonly administratorAccount ? : VirtualMachineSshCredentials ; schema readonly isNotebookInstanceCompute ? : boolean ; schema readonly sshPort ? : number ; schema readonly virtualMachineSize ? : string ; } export enum HdInsightComputeType { HD_INSIGHT = 'HDInsight' } schema export interface HdInsightProperties { schema readonly address ? : string ; schema readonly administratorAccount ? : VirtualMachineSshCredentials ; schema readonly sshPort ? : number ; } export enum DataFactoryComputeType { DATA_FACTORY = 'DataFactory' } export enum DatabricksComputeType { DATABRICKS = 'Databricks' } schema export interface DatabricksProperties { schema readonly databricksAccessToken ? : string ; schema readonly workspaceUrl ? : string ; } export enum DataLakeAnalyticsComputeType { DATA_LAKE_ANALYTICS = 'DataLakeAnalytics' } schema export interface DataLakeAnalyticsProperties { schema readonly dataLakeStoreAccountName ? : string ; } export enum PrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' , TIMEOUT = 'Timeout' } export enum SharedPrivateLinkResourcePropertyStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' , TIMEOUT = 'Timeout' } schema export interface AksNetworkingConfiguration { schema readonly dnsServiceIP ? : AksNetworkingConfigurationDnsServiceIpPattern ; schema readonly dockerBridgeCidr ? : AksNetworkingConfigurationDockerBridgeCidrPattern ; schema readonly serviceCidr ? : AksNetworkingConfigurationServiceCidrPattern ; schema readonly subnetId ? : string ; } export enum AksPropertiesClusterPurpose { FAST_PROD = 'FastProd' , DENSE_PROD = 'DenseProd' , DEV_TEST = 'DevTest' } export enum AksPropertiesLoadBalancerType { PUBLIC_IP = 'PublicIp' , INTERNAL_LOAD_BALANCER = 'InternalLoadBalancer' } schema export interface SslConfiguration { schema readonly cert ? : string ; schema readonly cname ? : string ; schema readonly key ? : string ; schema readonly leafDomainLabel ? : string ; schema readonly overwriteExistingDomain ? : boolean ; schema readonly status ? : SslConfigurationStatus ; } export enum AmlComputePropertiesOsType { LINUX = 'Linux' , WINDOWS = 'Windows' } export enum AmlComputePropertiesRemoteLoginPortPublicAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' , NOT_SPECIFIED = 'NotSpecified' } schema export interface ScaleSettings { schema readonly maxNodeCount : number ; schema readonly minNodeCount ? : number ; schema readonly nodeIdleTimeBeforeScaleDown ? : string ; } schema export interface ResourceId { schema readonly id : string ; } schema export interface UserAccountCredentials { schema readonly adminUserName : string ; schema readonly adminUserPassword ? : string ; schema readonly adminUserSshPublicKey ? : string ; } schema export interface VirtualMachineImage { schema readonly id : string ; } export enum AmlComputePropertiesVmPriority { DEDICATED = 'Dedicated' , LOW_PRIORITY = 'LowPriority' } export enum ComputeInstancePropertiesApplicationSharingPolicy { PERSONAL = 'Personal' , SHARED = 'Shared' } export enum ComputeInstancePropertiesComputeInstanceAuthorizationType { PERSONAL = 'personal' } schema export interface PersonalComputeInstanceSettings { schema readonly assignedUser ? : AssignedUser ; } schema export interface SetupScripts { schema readonly scripts ? : ScriptsToExecute ; } schema export interface ComputeInstanceSshSettings { schema readonly adminPublicKey ? : string ; schema readonly sshPublicAccess ? : ComputeInstanceSshSettingsSshPublicAccess ; } schema export interface VirtualMachineSshCredentials { schema readonly password ? : string ; schema readonly privateKeyData ? : string ; schema readonly publicKeyData ? : string ; schema readonly username ? : string ; } schema export class AksNetworkingConfigurationDnsServiceIpPattern { public static pattern ( value ) { return value ; } } schema export class AksNetworkingConfigurationDockerBridgeCidrPattern { public static pattern ( value ) { return value ; } } schema export class AksNetworkingConfigurationServiceCidrPattern { public static pattern ( value ) { return value ; } } export enum SslConfigurationStatus { DISABLED = 'Disabled' , ENABLED = 'Enabled' , AUTO = 'Auto' } schema export interface AssignedUser { schema readonly objectId : string ; schema readonly tenantId : string ; } schema export interface ScriptsToExecute { schema readonly creationScript ? : ScriptReference ; schema readonly startupScript ? : ScriptReference ; } export enum ComputeInstanceSshSettingsSshPublicAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface ScriptReference { schema readonly scriptArguments ? : string ; schema readonly scriptData ? : string ; schema readonly scriptSource ? : string ; schema readonly timeout ? : string ; }