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 WorkspacesClusters extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_clusters' , } ) ; } } schema export class WorkspacesExperiments extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_experiments' , } ) ; } } schema export class WorkspacesExperimentsJobs extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_experiments_jobs' , } ) ; } } schema export class WorkspacesFileServers extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_fileServers' , } ) ; } } schema export interface WorkspacesOptions { schema readonly apiVersion ? : MicrosoftBatchAiWorkspacesApiVersion ; schema readonly location : string ; schema readonly name : MicrosoftBatchAiWorkspacesNamePattern ; schema readonly resources ? : MicrosoftBatchAiWorkspacesResources [ ] ; schema readonly tags ? : MicrosoftBatchAiWorkspacesTags ; schema readonly type : MicrosoftBatchAiWorkspacesType ; } schema export interface WorkspacesClustersOptions { schema readonly apiVersion ? : MicrosoftBatchAiWorkspacesClustersApiVersion ; schema readonly name : MicrosoftBatchAiWorkspacesClustersNamePattern ; schema readonly properties : ClusterBaseProperties ; schema readonly type : MicrosoftBatchAiWorkspacesClustersType ; } schema export interface WorkspacesExperimentsOptions { schema readonly apiVersion ? : MicrosoftBatchAiWorkspacesExperimentsApiVersion ; schema readonly name : MicrosoftBatchAiWorkspacesExperimentsNamePattern ; schema readonly resources ? : WorkspacesExperimentsJobsChildResource [ ] ; schema readonly type : MicrosoftBatchAiWorkspacesExperimentsType ; } schema export interface WorkspacesExperimentsJobsOptions { schema readonly apiVersion ? : MicrosoftBatchAiWorkspacesExperimentsJobsApiVersion ; schema readonly name : MicrosoftBatchAiWorkspacesExperimentsJobsNamePattern ; schema readonly properties : JobBaseProperties ; schema readonly type : MicrosoftBatchAiWorkspacesExperimentsJobsType ; } schema export interface WorkspacesFileServersOptions { schema readonly apiVersion ? : MicrosoftBatchAiWorkspacesFileServersApiVersion ; schema readonly name : MicrosoftBatchAiWorkspacesFileServersNamePattern ; schema readonly properties : FileServerBaseProperties ; schema readonly type : MicrosoftBatchAiWorkspacesFileServersType ; } export enum MicrosoftBatchAiWorkspacesApiVersion { "MicrosoftBatchAiWorkspacesApiVersion_2018_05_01" = '2018-05-01' } schema export class MicrosoftBatchAiWorkspacesNamePattern { public static pattern ( value ) { return value ; } } schema export class MicrosoftBatchAiWorkspacesResources { public static fromWorkspacesExperimentsChildResource ( value ) { return new MicrosoftBatchAiWorkspacesResources ( value ) ; } public static fromWorkspacesFileServersChildResource ( value ) { return new MicrosoftBatchAiWorkspacesResources ( value ) ; } public static fromWorkspacesClustersChildResource ( value ) { return new MicrosoftBatchAiWorkspacesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface MicrosoftBatchAiWorkspacesTags { } export enum MicrosoftBatchAiWorkspacesType { "MicrosoftBatchAiWorkspacesType_MICROSOFT_BATCH_AI_WORKSPACES" = 'Microsoft.BatchAI/workspaces' } export enum MicrosoftBatchAiWorkspacesClustersApiVersion { "MicrosoftBatchAiWorkspacesClustersApiVersion_2018_05_01" = '2018-05-01' } schema export class MicrosoftBatchAiWorkspacesClustersNamePattern { public static pattern ( value ) { return value ; } } schema export interface ClusterBaseProperties { schema readonly nodeSetup ? : NodeSetup ; schema readonly scaleSettings ? : ScaleSettings ; schema readonly subnet ? : ResourceId ; schema readonly userAccountSettings : UserAccountSettings ; schema readonly virtualMachineConfiguration ? : VirtualMachineConfiguration ; schema readonly vmPriority ? : ClusterBasePropertiesVmPriority ; schema readonly vmSize : string ; } export enum MicrosoftBatchAiWorkspacesClustersType { "MicrosoftBatchAiWorkspacesClustersType_MICROSOFT_BATCH_AI_WORKSPACES_CLUSTERS" = 'Microsoft.BatchAI/workspaces/clusters' } export enum MicrosoftBatchAiWorkspacesExperimentsApiVersion { "MicrosoftBatchAiWorkspacesExperimentsApiVersion_2018_05_01" = '2018-05-01' } schema export class MicrosoftBatchAiWorkspacesExperimentsNamePattern { public static pattern ( value ) { return value ; } } schema export interface WorkspacesExperimentsJobsChildResource { schema readonly apiVersion : WorkspacesExperimentsJobsChildResourceApiVersion ; schema readonly name : WorkspacesExperimentsJobsChildResourceNamePattern ; schema readonly properties : JobBaseProperties ; schema readonly type : WorkspacesExperimentsJobsChildResourceType ; } export enum MicrosoftBatchAiWorkspacesExperimentsType { "MicrosoftBatchAiWorkspacesExperimentsType_MICROSOFT_BATCH_AI_WORKSPACES_EXPERIMENTS" = 'Microsoft.BatchAI/workspaces/experiments' } export enum MicrosoftBatchAiWorkspacesExperimentsJobsApiVersion { "MicrosoftBatchAiWorkspacesExperimentsJobsApiVersion_2018_05_01" = '2018-05-01' } schema export class MicrosoftBatchAiWorkspacesExperimentsJobsNamePattern { public static pattern ( value ) { return value ; } } schema export interface JobBaseProperties { schema readonly caffe2Settings ? : Caffe2Settings ; schema readonly caffeSettings ? : CaffeSettings ; schema readonly chainerSettings ? : ChainerSettings ; schema readonly cluster : ResourceId ; schema readonly cntkSettings ? : CntKsettings ; schema readonly constraints ? : JobBasePropertiesConstraints ; schema readonly containerSettings ? : ContainerSettings ; schema readonly customMpiSettings ? : CustomMpiSettings ; schema readonly customToolkitSettings ? : CustomToolkitSettings ; schema readonly environmentVariables ? : EnvironmentVariable [ ] ; schema readonly horovodSettings ? : HorovodSettings ; schema readonly inputDirectories ? : InputDirectory [ ] ; schema readonly jobPreparation ? : JobPreparation ; schema readonly mountVolumes ? : MountVolumes ; schema readonly nodeCount : number ; schema readonly outputDirectories ? : OutputDirectory [ ] ; schema readonly pyTorchSettings ? : PyTorchSettings ; schema readonly schedulingPriority ? : JobBasePropertiesSchedulingPriority ; schema readonly secrets ? : EnvironmentVariableWithSecretValue [ ] ; schema readonly stdOutErrPathPrefix : string ; schema readonly tensorFlowSettings ? : TensorFlowSettings ; } export enum MicrosoftBatchAiWorkspacesExperimentsJobsType { "MicrosoftBatchAiWorkspacesExperimentsJobsType_MICROSOFT_BATCH_AI_WORKSPACES_EXPERIMENTS_JOBS" = 'Microsoft.BatchAI/workspaces/experiments/jobs' } export enum MicrosoftBatchAiWorkspacesFileServersApiVersion { "MicrosoftBatchAiWorkspacesFileServersApiVersion_2018_05_01" = '2018-05-01' } schema export class MicrosoftBatchAiWorkspacesFileServersNamePattern { public static pattern ( value ) { return value ; } } schema export interface FileServerBaseProperties { schema readonly dataDisks : DataDisks ; schema readonly sshConfiguration : SshConfiguration ; schema readonly subnet ? : ResourceId ; schema readonly vmSize : string ; } export enum MicrosoftBatchAiWorkspacesFileServersType { "MicrosoftBatchAiWorkspacesFileServersType_MICROSOFT_BATCH_AI_WORKSPACES_FILE_SERVERS" = 'Microsoft.BatchAI/workspaces/fileServers' } schema export interface WorkspacesExperimentsChildResource { schema readonly apiVersion : WorkspacesExperimentsChildResourceApiVersion ; schema readonly name : WorkspacesExperimentsChildResourceNamePattern ; schema readonly type : WorkspacesExperimentsChildResourceType ; } schema export interface WorkspacesFileServersChildResource { schema readonly apiVersion : WorkspacesFileServersChildResourceApiVersion ; schema readonly name : WorkspacesFileServersChildResourceNamePattern ; schema readonly properties : FileServerBaseProperties ; schema readonly type : WorkspacesFileServersChildResourceType ; } schema export interface WorkspacesClustersChildResource { schema readonly apiVersion : WorkspacesClustersChildResourceApiVersion ; schema readonly name : WorkspacesClustersChildResourceNamePattern ; schema readonly properties : ClusterBaseProperties ; schema readonly type : WorkspacesClustersChildResourceType ; } schema export interface NodeSetup { schema readonly mountVolumes ? : MountVolumes ; schema readonly performanceCountersSettings ? : PerformanceCountersSettings ; schema readonly setupTask ? : SetupTask ; } schema export interface ScaleSettings { schema readonly autoScale ? : AutoScaleSettings ; schema readonly manual ? : ManualScaleSettings ; } schema export interface ResourceId { schema readonly id : string ; } schema export interface UserAccountSettings { schema readonly adminUserName : string ; schema readonly adminUserPassword ? : string ; schema readonly adminUserSshPublicKey ? : string ; } schema export interface VirtualMachineConfiguration { schema readonly imageReference ? : ImageReference ; } export enum ClusterBasePropertiesVmPriority { DEDICATED = 'dedicated' , LOWPRIORITY = 'lowpriority' } export enum WorkspacesExperimentsJobsChildResourceApiVersion { "WorkspacesExperimentsJobsChildResourceApiVersion_2018_05_01" = '2018-05-01' } schema export class WorkspacesExperimentsJobsChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum WorkspacesExperimentsJobsChildResourceType { JOBS = 'jobs' } schema export interface Caffe2Settings { schema readonly commandLineArgs ? : string ; schema readonly pythonInterpreterPath ? : string ; schema readonly pythonScriptFilePath : string ; } schema export interface CaffeSettings { schema readonly commandLineArgs ? : string ; schema readonly configFilePath ? : string ; schema readonly processCount ? : number ; schema readonly pythonInterpreterPath ? : string ; schema readonly pythonScriptFilePath ? : string ; } schema export interface ChainerSettings { schema readonly commandLineArgs ? : string ; schema readonly processCount ? : number ; schema readonly pythonInterpreterPath ? : string ; schema readonly pythonScriptFilePath : string ; } schema export interface CntKsettings { schema readonly commandLineArgs ? : string ; schema readonly configFilePath ? : string ; schema readonly languageType ? : string ; schema readonly processCount ? : number ; schema readonly pythonInterpreterPath ? : string ; schema readonly pythonScriptFilePath ? : string ; } schema export interface JobBasePropertiesConstraints { schema readonly maxWallClockTime ? : string ; } schema export interface ContainerSettings { schema readonly imageSourceRegistry : ImageSourceRegistry ; schema readonly shmSize ? : string ; } schema export interface CustomMpiSettings { schema readonly commandLine : string ; schema readonly processCount ? : number ; } schema export interface CustomToolkitSettings { schema readonly commandLine ? : string ; } schema export interface EnvironmentVariable { schema readonly name : string ; schema readonly value : string ; } schema export interface HorovodSettings { schema readonly commandLineArgs ? : string ; schema readonly processCount ? : number ; schema readonly pythonInterpreterPath ? : string ; schema readonly pythonScriptFilePath : string ; } schema export interface InputDirectory { schema readonly id : string ; schema readonly path : string ; } schema export interface JobPreparation { schema readonly commandLine : string ; } schema export interface MountVolumes { schema readonly azureBlobFileSystems ? : AzureBlobFileSystemReference [ ] ; schema readonly azureFileShares ? : AzureFileShareReference [ ] ; schema readonly fileServers ? : FileServerReference [ ] ; schema readonly unmanagedFileSystems ? : UnmanagedFileSystemReference [ ] ; } schema export interface OutputDirectory { schema readonly id : string ; schema readonly pathPrefix : string ; schema readonly pathSuffix ? : string ; } schema export interface PyTorchSettings { schema readonly commandLineArgs ? : string ; schema readonly communicationBackend ? : string ; schema readonly processCount ? : number ; schema readonly pythonInterpreterPath ? : string ; schema readonly pythonScriptFilePath : string ; } export enum JobBasePropertiesSchedulingPriority { LOW = 'low' , NORMAL = 'normal' , HIGH = 'high' } schema export interface EnvironmentVariableWithSecretValue { schema readonly name : string ; schema readonly value ? : string ; schema readonly valueSecretReference ? : KeyVaultSecretReference ; } schema export interface TensorFlowSettings { schema readonly masterCommandLineArgs ? : string ; schema readonly parameterServerCommandLineArgs ? : string ; schema readonly parameterServerCount ? : number ; schema readonly pythonInterpreterPath ? : string ; schema readonly pythonScriptFilePath : string ; schema readonly workerCommandLineArgs ? : string ; schema readonly workerCount ? : number ; } schema export interface DataDisks { schema readonly cachingType ? : DataDisksCachingType ; schema readonly diskCount : number ; schema readonly diskSizeInGB : number ; schema readonly storageAccountType : DataDisksStorageAccountType ; } schema export interface SshConfiguration { schema readonly publicIPsToAllow ? : string [ ] ; schema readonly userAccountSettings : UserAccountSettings ; } export enum WorkspacesExperimentsChildResourceApiVersion { "WorkspacesExperimentsChildResourceApiVersion_2018_05_01" = '2018-05-01' } schema export class WorkspacesExperimentsChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum WorkspacesExperimentsChildResourceType { EXPERIMENTS = 'experiments' } export enum WorkspacesFileServersChildResourceApiVersion { "WorkspacesFileServersChildResourceApiVersion_2018_05_01" = '2018-05-01' } schema export class WorkspacesFileServersChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum WorkspacesFileServersChildResourceType { FILE_SERVERS = 'fileServers' } export enum WorkspacesClustersChildResourceApiVersion { "WorkspacesClustersChildResourceApiVersion_2018_05_01" = '2018-05-01' } schema export class WorkspacesClustersChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum WorkspacesClustersChildResourceType { CLUSTERS = 'clusters' } schema export interface PerformanceCountersSettings { schema readonly appInsightsReference : AppInsightsReference ; } schema export interface SetupTask { schema readonly commandLine : string ; schema readonly environmentVariables ? : EnvironmentVariable [ ] ; schema readonly secrets ? : EnvironmentVariableWithSecretValue [ ] ; schema readonly stdOutErrPathPrefix : string ; } schema export interface AutoScaleSettings { schema readonly initialNodeCount ? : number ; schema readonly maximumNodeCount : number ; schema readonly minimumNodeCount : number ; } schema export interface ManualScaleSettings { schema readonly nodeDeallocationOption ? : ManualScaleSettingsNodeDeallocationOption ; default schema readonly targetNodeCount : number ; } schema export interface ImageReference { schema readonly offer : string ; schema readonly publisher : string ; schema readonly sku : string ; schema readonly version ? : string ; schema readonly virtualMachineImageId ? : string ; } schema export interface ImageSourceRegistry { schema readonly credentials ? : PrivateRegistryCredentials ; schema readonly image : string ; schema readonly serverUrl ? : string ; } schema export interface AzureBlobFileSystemReference { schema readonly accountName : string ; schema readonly containerName : string ; schema readonly credentials : AzureStorageCredentialsInfo ; schema readonly mountOptions ? : string ; schema readonly relativeMountPath : string ; } schema export interface AzureFileShareReference { schema readonly accountName : string ; schema readonly azureFileUrl : string ; schema readonly credentials : AzureStorageCredentialsInfo ; schema readonly directoryMode ? : string ; schema readonly fileMode ? : string ; schema readonly relativeMountPath : string ; } schema export interface FileServerReference { schema readonly fileServer : ResourceId ; schema readonly mountOptions ? : string ; schema readonly relativeMountPath : string ; schema readonly sourceDirectory ? : string ; } schema export interface UnmanagedFileSystemReference { schema readonly mountCommand : string ; schema readonly relativeMountPath : string ; } schema export interface KeyVaultSecretReference { schema readonly secretUrl : string ; schema readonly sourceVault : ResourceId ; } export enum DataDisksCachingType { NONE = 'none' , READONLY = 'readonly' , READWRITE = 'readwrite' } export enum DataDisksStorageAccountType { STANDARD_LRS = 'Standard_LRS' , PREMIUM_LRS = 'Premium_LRS' } schema export interface AppInsightsReference { schema readonly component : ResourceId ; schema readonly instrumentationKey ? : string ; schema readonly instrumentationKeySecretReference ? : KeyVaultSecretReference ; } export enum ManualScaleSettingsNodeDeallocationOption { REQUEUE = 'requeue' , TERMINATE = 'terminate' , WAITFORJOBCOMPLETION = 'waitforjobcompletion' } schema export interface PrivateRegistryCredentials { schema readonly password ? : string ; schema readonly passwordSecretReference ? : KeyVaultSecretReference ; schema readonly username : string ; } schema export interface AzureStorageCredentialsInfo { schema readonly accountKey ? : string ; schema readonly accountKeySecretReference ? : KeyVaultSecretReference ; }