import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class BatchAccounts extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'batchAccounts' , } ) ; } } schema export class BatchAccountsApplications extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'batchAccounts_applications' , } ) ; } } schema export class BatchAccountsApplicationsVersions extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'batchAccounts_applications_versions' , } ) ; } } schema export class BatchAccountsCertificates extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'batchAccounts_certificates' , } ) ; } } schema export class BatchAccountsPools extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'batchAccounts_pools' , } ) ; } } schema export interface BatchAccountsOptions { schema readonly apiVersion ? : MicrosoftBatchBatchAccountsApiVersion ; schema readonly identity ? : BatchAccountIdentity ; schema readonly location : string ; schema readonly name : MicrosoftBatchBatchAccountsNamePattern ; schema readonly properties : BatchAccountCreateProperties ; schema readonly resources ? : MicrosoftBatchBatchAccountsResources [ ] ; schema readonly tags ? : MicrosoftBatchBatchAccountsTags ; schema readonly type : MicrosoftBatchBatchAccountsType ; } schema export interface BatchAccountsApplicationsOptions { schema readonly apiVersion ? : MicrosoftBatchBatchAccountsApplicationsApiVersion ; schema readonly name : MicrosoftBatchBatchAccountsApplicationsNamePattern ; schema readonly properties : ApplicationProperties ; schema readonly resources ? : BatchAccountsApplicationsVersionsChildResource [ ] ; schema readonly type : MicrosoftBatchBatchAccountsApplicationsType ; } schema export interface BatchAccountsApplicationsVersionsOptions { schema readonly apiVersion ? : MicrosoftBatchBatchAccountsApplicationsVersionsApiVersion ; schema readonly name : MicrosoftBatchBatchAccountsApplicationsVersionsNamePattern ; schema readonly properties : ApplicationPackageProperties ; schema readonly type : MicrosoftBatchBatchAccountsApplicationsVersionsType ; } schema export interface BatchAccountsCertificatesOptions { schema readonly apiVersion ? : MicrosoftBatchBatchAccountsCertificatesApiVersion ; schema readonly name : MicrosoftBatchBatchAccountsCertificatesNamePattern ; schema readonly properties : CertificateCreateOrUpdateProperties ; schema readonly type : MicrosoftBatchBatchAccountsCertificatesType ; } schema export interface BatchAccountsPoolsOptions { schema readonly apiVersion ? : MicrosoftBatchBatchAccountsPoolsApiVersion ; schema readonly identity ? : BatchPoolIdentity ; schema readonly name : MicrosoftBatchBatchAccountsPoolsNamePattern ; schema readonly properties : PoolProperties ; schema readonly type : MicrosoftBatchBatchAccountsPoolsType ; } export enum MicrosoftBatchBatchAccountsApiVersion { "MicrosoftBatchBatchAccountsApiVersion_2021_01_01" = '2021-01-01' } schema export interface BatchAccountIdentity { schema readonly type : BatchAccountIdentityType ; schema readonly userAssignedIdentities ? : BatchAccountIdentityUserAssignedIdentities ; } schema export class MicrosoftBatchBatchAccountsNamePattern { public static pattern ( value ) { return value ; } } schema export interface BatchAccountCreateProperties { schema readonly autoStorage ? : AutoStorageBaseProperties ; schema readonly encryption ? : EncryptionProperties ; schema readonly keyVaultReference ? : KeyVaultReference ; schema readonly poolAllocationMode ? : BatchAccountCreatePropertiesPoolAllocationMode ; schema readonly publicNetworkAccess ? : BatchAccountCreatePropertiesPublicNetworkAccess ; } schema export class MicrosoftBatchBatchAccountsResources { public static fromBatchAccountsApplicationsChildResource ( value ) { return new MicrosoftBatchBatchAccountsResources ( value ) ; } public static fromBatchAccountsCertificatesChildResource ( value ) { return new MicrosoftBatchBatchAccountsResources ( value ) ; } public static fromBatchAccountsPoolsChildResource ( value ) { return new MicrosoftBatchBatchAccountsResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface MicrosoftBatchBatchAccountsTags { } export enum MicrosoftBatchBatchAccountsType { "MicrosoftBatchBatchAccountsType_MICROSOFT_BATCH_BATCH_ACCOUNTS" = 'Microsoft.Batch/batchAccounts' } export enum MicrosoftBatchBatchAccountsApplicationsApiVersion { "MicrosoftBatchBatchAccountsApplicationsApiVersion_2021_01_01" = '2021-01-01' } schema export class MicrosoftBatchBatchAccountsApplicationsNamePattern { public static pattern ( value ) { return value ; } } schema export interface ApplicationProperties { schema readonly allowUpdates ? : boolean ; schema readonly defaultVersion ? : string ; schema readonly displayName ? : string ; } schema export interface BatchAccountsApplicationsVersionsChildResource { schema readonly apiVersion : BatchAccountsApplicationsVersionsChildResourceApiVersion ; schema readonly name : BatchAccountsApplicationsVersionsChildResourceNamePattern ; schema readonly properties : ApplicationPackageProperties ; schema readonly type : BatchAccountsApplicationsVersionsChildResourceType ; } export enum MicrosoftBatchBatchAccountsApplicationsType { "MicrosoftBatchBatchAccountsApplicationsType_MICROSOFT_BATCH_BATCH_ACCOUNTS_APPLICATIONS" = 'Microsoft.Batch/batchAccounts/applications' } export enum MicrosoftBatchBatchAccountsApplicationsVersionsApiVersion { "MicrosoftBatchBatchAccountsApplicationsVersionsApiVersion_2021_01_01" = '2021-01-01' } schema export class MicrosoftBatchBatchAccountsApplicationsVersionsNamePattern { public static pattern ( value ) { return value ; } } schema export interface ApplicationPackageProperties { } export enum MicrosoftBatchBatchAccountsApplicationsVersionsType { "MicrosoftBatchBatchAccountsApplicationsVersionsType_MICROSOFT_BATCH_BATCH_ACCOUNTS_APPLICATIONS_VERSIONS" = 'Microsoft.Batch/batchAccounts/applications/versions' } export enum MicrosoftBatchBatchAccountsCertificatesApiVersion { "MicrosoftBatchBatchAccountsCertificatesApiVersion_2021_01_01" = '2021-01-01' } schema export class MicrosoftBatchBatchAccountsCertificatesNamePattern { public static pattern ( value ) { return value ; } } schema export interface CertificateCreateOrUpdateProperties { schema readonly data : string ; schema readonly format ? : CertificateCreateOrUpdatePropertiesFormat ; schema readonly password ? : string ; schema readonly thumbprint ? : string ; schema readonly thumbprintAlgorithm ? : string ; } export enum MicrosoftBatchBatchAccountsCertificatesType { "MicrosoftBatchBatchAccountsCertificatesType_MICROSOFT_BATCH_BATCH_ACCOUNTS_CERTIFICATES" = 'Microsoft.Batch/batchAccounts/certificates' } export enum MicrosoftBatchBatchAccountsPoolsApiVersion { "MicrosoftBatchBatchAccountsPoolsApiVersion_2021_01_01" = '2021-01-01' } schema export interface BatchPoolIdentity { schema readonly type : BatchPoolIdentityType ; schema readonly userAssignedIdentities ? : BatchPoolIdentityUserAssignedIdentities ; } schema export class MicrosoftBatchBatchAccountsPoolsNamePattern { public static pattern ( value ) { return value ; } } schema export interface PoolProperties { schema readonly applicationLicenses ? : string [ ] ; schema readonly applicationPackages ? : ApplicationPackageReference [ ] ; schema readonly certificates ? : CertificateReference [ ] ; schema readonly deploymentConfiguration ? : DeploymentConfiguration ; schema readonly displayName ? : string ; schema readonly interNodeCommunication ? : PoolPropertiesInterNodeCommunication ; schema readonly metadata ? : MetadataItem [ ] ; schema readonly mountConfiguration ? : MountConfiguration [ ] ; schema readonly networkConfiguration ? : NetworkConfiguration ; schema readonly scaleSettings ? : ScaleSettings ; schema readonly startTask ? : StartTask ; schema readonly taskSchedulingPolicy ? : TaskSchedulingPolicy ; schema readonly taskSlotsPerNode ? : number ; schema readonly userAccounts ? : UserAccount [ ] ; schema readonly vmSize ? : string ; } export enum MicrosoftBatchBatchAccountsPoolsType { "MicrosoftBatchBatchAccountsPoolsType_MICROSOFT_BATCH_BATCH_ACCOUNTS_POOLS" = 'Microsoft.Batch/batchAccounts/pools' } export enum BatchAccountIdentityType { SYSTEM_ASSIGNED = 'SystemAssigned' , USER_ASSIGNED = 'UserAssigned' , NONE = 'None' } schema export interface BatchAccountIdentityUserAssignedIdentities { } schema export interface AutoStorageBaseProperties { schema readonly storageAccountId : string ; } schema export interface EncryptionProperties { schema readonly keySource ? : EncryptionPropertiesKeySource ; schema readonly keyVaultProperties ? : KeyVaultProperties ; } schema export interface KeyVaultReference { schema readonly id : string ; schema readonly url : string ; } export enum BatchAccountCreatePropertiesPoolAllocationMode { BATCH_SERVICE = 'BatchService' , USER_SUBSCRIPTION = 'UserSubscription' } export enum BatchAccountCreatePropertiesPublicNetworkAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface BatchAccountsApplicationsChildResource { schema readonly apiVersion : BatchAccountsApplicationsChildResourceApiVersion ; schema readonly name : BatchAccountsApplicationsChildResourceNamePattern ; schema readonly properties : ApplicationProperties ; schema readonly type : BatchAccountsApplicationsChildResourceType ; } schema export interface BatchAccountsCertificatesChildResource { schema readonly apiVersion : BatchAccountsCertificatesChildResourceApiVersion ; schema readonly name : BatchAccountsCertificatesChildResourceNamePattern ; schema readonly properties : CertificateCreateOrUpdateProperties ; schema readonly type : BatchAccountsCertificatesChildResourceType ; } schema export interface BatchAccountsPoolsChildResource { schema readonly apiVersion : BatchAccountsPoolsChildResourceApiVersion ; schema readonly identity ? : BatchPoolIdentity ; schema readonly name : BatchAccountsPoolsChildResourceNamePattern ; schema readonly properties : PoolProperties ; schema readonly type : BatchAccountsPoolsChildResourceType ; } export enum BatchAccountsApplicationsVersionsChildResourceApiVersion { "BatchAccountsApplicationsVersionsChildResourceApiVersion_2021_01_01" = '2021-01-01' } schema export class BatchAccountsApplicationsVersionsChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum BatchAccountsApplicationsVersionsChildResourceType { VERSIONS = 'versions' } export enum CertificateCreateOrUpdatePropertiesFormat { PFX = 'Pfx' , CER = 'Cer' } export enum BatchPoolIdentityType { USER_ASSIGNED = 'UserAssigned' , NONE = 'None' } schema export interface BatchPoolIdentityUserAssignedIdentities { } schema export interface ApplicationPackageReference { schema readonly id : string ; schema readonly version ? : string ; } schema export interface CertificateReference { schema readonly id : string ; schema readonly storeLocation ? : CertificateReferenceStoreLocation ; schema readonly storeName ? : string ; schema readonly visibility ? : CertificateReferenceVisibility [ ] ; } schema export interface DeploymentConfiguration { schema readonly cloudServiceConfiguration ? : CloudServiceConfiguration ; schema readonly virtualMachineConfiguration ? : VirtualMachineConfiguration ; } export enum PoolPropertiesInterNodeCommunication { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface MetadataItem { schema readonly name : string ; schema readonly value : string ; } schema export interface MountConfiguration { schema readonly azureBlobFileSystemConfiguration ? : AzureBlobFileSystemConfiguration ; schema readonly azureFileShareConfiguration ? : AzureFileShareConfiguration ; schema readonly cifsMountConfiguration ? : CifsMountConfiguration ; schema readonly nfsMountConfiguration ? : NfsMountConfiguration ; } schema export interface NetworkConfiguration { schema readonly endpointConfiguration ? : PoolEndpointConfiguration ; schema readonly publicIPAddressConfiguration ? : PublicIpAddressConfiguration ; schema readonly subnetId ? : string ; } schema export interface ScaleSettings { schema readonly autoScale ? : AutoScaleSettings ; schema readonly fixedScale ? : FixedScaleSettings ; } schema export interface StartTask { schema readonly commandLine ? : string ; schema readonly containerSettings ? : TaskContainerSettings ; schema readonly environmentSettings ? : EnvironmentSetting [ ] ; schema readonly maxTaskRetryCount ? : number ; schema readonly resourceFiles ? : ResourceFile [ ] ; schema readonly userIdentity ? : UserIdentity ; schema readonly waitForSuccess ? : boolean ; } schema export interface TaskSchedulingPolicy { schema readonly nodeFillType : TaskSchedulingPolicyNodeFillType ; } schema export interface UserAccount { schema readonly elevationLevel ? : UserAccountElevationLevel ; schema readonly linuxUserConfiguration ? : LinuxUserConfiguration ; schema readonly name : string ; schema readonly password : string ; schema readonly windowsUserConfiguration ? : WindowsUserConfiguration ; } export enum EncryptionPropertiesKeySource { "EncryptionPropertiesKeySource_MICROSOFT_BATCH" = 'Microsoft.Batch' , "EncryptionPropertiesKeySource_MICROSOFT_KEY_VAULT" = 'Microsoft.KeyVault' } schema export interface KeyVaultProperties { schema readonly keyIdentifier ? : string ; } export enum BatchAccountsApplicationsChildResourceApiVersion { "BatchAccountsApplicationsChildResourceApiVersion_2021_01_01" = '2021-01-01' } schema export class BatchAccountsApplicationsChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum BatchAccountsApplicationsChildResourceType { APPLICATIONS = 'applications' } export enum BatchAccountsCertificatesChildResourceApiVersion { "BatchAccountsCertificatesChildResourceApiVersion_2021_01_01" = '2021-01-01' } schema export class BatchAccountsCertificatesChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum BatchAccountsCertificatesChildResourceType { CERTIFICATES = 'certificates' } export enum BatchAccountsPoolsChildResourceApiVersion { "BatchAccountsPoolsChildResourceApiVersion_2021_01_01" = '2021-01-01' } schema export class BatchAccountsPoolsChildResourceNamePattern { public static pattern ( value ) { return value ; } } export enum BatchAccountsPoolsChildResourceType { POOLS = 'pools' } export enum CertificateReferenceStoreLocation { CURRENT_USER = 'CurrentUser' , LOCAL_MACHINE = 'LocalMachine' } export enum CertificateReferenceVisibility { START_TASK = 'StartTask' , TASK = 'Task' , REMOTE_USER = 'RemoteUser' } schema export interface CloudServiceConfiguration { schema readonly osFamily : string ; schema readonly osVersion ? : string ; } schema export interface VirtualMachineConfiguration { schema readonly containerConfiguration ? : ContainerConfiguration ; schema readonly dataDisks ? : DataDisk [ ] ; schema readonly diskEncryptionConfiguration ? : DiskEncryptionConfiguration ; schema readonly extensions ? : VmExtension [ ] ; schema readonly imageReference : ImageReference ; schema readonly licenseType ? : string ; schema readonly nodeAgentSkuId : string ; schema readonly nodePlacementConfiguration ? : NodePlacementConfiguration ; schema readonly windowsConfiguration ? : WindowsConfiguration ; } schema export interface AzureBlobFileSystemConfiguration { schema readonly accountKey ? : string ; schema readonly accountName : string ; schema readonly blobfuseOptions ? : string ; schema readonly containerName : string ; schema readonly relativeMountPath : string ; schema readonly sasKey ? : string ; } schema export interface AzureFileShareConfiguration { schema readonly accountKey : string ; schema readonly accountName : string ; schema readonly azureFileUrl : string ; schema readonly mountOptions ? : string ; schema readonly relativeMountPath : string ; } schema export interface CifsMountConfiguration { schema readonly mountOptions ? : string ; schema readonly password : string ; schema readonly relativeMountPath : string ; schema readonly source : string ; schema readonly username : string ; } schema export interface NfsMountConfiguration { schema readonly mountOptions ? : string ; schema readonly relativeMountPath : string ; schema readonly source : string ; } schema export interface PoolEndpointConfiguration { schema readonly inboundNatPools : InboundNatPool [ ] ; } schema export interface PublicIpAddressConfiguration { schema readonly ipAddressIds ? : string [ ] ; schema readonly provision ? : PublicIpAddressConfigurationProvision ; } schema export interface AutoScaleSettings { schema readonly evaluationInterval ? : string ; schema readonly formula : string ; } schema export interface FixedScaleSettings { schema readonly nodeDeallocationOption ? : FixedScaleSettingsNodeDeallocationOption ; schema readonly resizeTimeout ? : string ; schema readonly targetDedicatedNodes ? : number ; schema readonly targetLowPriorityNodes ? : number ; } schema export interface TaskContainerSettings { schema readonly containerRunOptions ? : string ; schema readonly imageName : string ; schema readonly registry ? : ContainerRegistry ; schema readonly workingDirectory ? : TaskContainerSettingsWorkingDirectory ; } schema export interface EnvironmentSetting { schema readonly name : string ; schema readonly value ? : string ; } schema export interface ResourceFile { schema readonly autoStorageContainerName ? : string ; schema readonly blobPrefix ? : string ; schema readonly fileMode ? : string ; schema readonly filePath ? : string ; schema readonly httpUrl ? : string ; schema readonly storageContainerUrl ? : string ; } schema export interface UserIdentity { schema readonly autoUser ? : AutoUserSpecification ; schema readonly userName ? : string ; } export enum TaskSchedulingPolicyNodeFillType { SPREAD = 'Spread' , PACK = 'Pack' } export enum UserAccountElevationLevel { NON_ADMIN = 'NonAdmin' , ADMIN = 'Admin' } schema export interface LinuxUserConfiguration { schema readonly gid ? : number ; schema readonly sshPrivateKey ? : string ; schema readonly uid ? : number ; } schema export interface WindowsUserConfiguration { schema readonly loginMode ? : WindowsUserConfigurationLoginMode ; } schema export interface ContainerConfiguration { schema readonly containerImageNames ? : string [ ] ; schema readonly containerRegistries ? : ContainerRegistry [ ] ; schema readonly type : ContainerConfigurationType ; } schema export interface DataDisk { schema readonly caching ? : DataDiskCaching ; schema readonly diskSizeGB : number ; schema readonly lun : number ; schema readonly storageAccountType ? : DataDiskStorageAccountType ; } schema export interface DiskEncryptionConfiguration { schema readonly targets ? : DiskEncryptionConfigurationTargets [ ] ; } schema export interface VmExtension { schema readonly autoUpgradeMinorVersion ? : boolean ; schema readonly name : string ; schema readonly protectedSettings ? : VmExtensionProtectedSettings ; schema readonly provisionAfterExtensions ? : string [ ] ; schema readonly publisher : string ; schema readonly settings ? : VmExtensionSettings ; schema readonly type : string ; schema readonly typeHandlerVersion ? : string ; } schema export interface ImageReference { schema readonly id ? : string ; schema readonly offer ? : string ; schema readonly publisher ? : string ; schema readonly sku ? : string ; schema readonly version ? : string ; } schema export interface NodePlacementConfiguration { schema readonly policy ? : NodePlacementConfigurationPolicy ; } schema export interface WindowsConfiguration { schema readonly enableAutomaticUpdates ? : boolean ; } schema export interface InboundNatPool { schema readonly backendPort : number ; schema readonly frontendPortRangeEnd : number ; schema readonly frontendPortRangeStart : number ; schema readonly name : string ; schema readonly networkSecurityGroupRules ? : NetworkSecurityGroupRule [ ] ; schema readonly protocol : InboundNatPoolProtocol ; } export enum PublicIpAddressConfigurationProvision { BATCH_MANAGED = 'BatchManaged' , USER_MANAGED = 'UserManaged' , NO_PUBLIC_IP_ADDRESSES = 'NoPublicIPAddresses' } export enum FixedScaleSettingsNodeDeallocationOption { REQUEUE = 'Requeue' , TERMINATE = 'Terminate' , TASK_COMPLETION = 'TaskCompletion' , RETAINED_DATA = 'RetainedData' } schema export interface ContainerRegistry { schema readonly password : string ; schema readonly registryServer ? : string ; schema readonly username : string ; } export enum TaskContainerSettingsWorkingDirectory { TASK_WORKING_DIRECTORY = 'TaskWorkingDirectory' , CONTAINER_IMAGE_DEFAULT = 'ContainerImageDefault' } schema export interface AutoUserSpecification { schema readonly elevationLevel ? : AutoUserSpecificationElevationLevel ; schema readonly scope ? : AutoUserSpecificationScope ; } export enum WindowsUserConfigurationLoginMode { BATCH = 'Batch' , INTERACTIVE = 'Interactive' } export enum ContainerConfigurationType { DOCKER_COMPATIBLE = 'DockerCompatible' } export enum DataDiskCaching { NONE = 'None' , READ_ONLY = 'ReadOnly' , READ_WRITE = 'ReadWrite' } export enum DataDiskStorageAccountType { STANDARD_LRS = 'Standard_LRS' , PREMIUM_LRS = 'Premium_LRS' } export enum DiskEncryptionConfigurationTargets { OS_DISK = 'OsDisk' , TEMPORARY_DISK = 'TemporaryDisk' } schema export interface VmExtensionProtectedSettings { } schema export interface VmExtensionSettings { } export enum NodePlacementConfigurationPolicy { REGIONAL = 'Regional' , ZONAL = 'Zonal' } schema export interface NetworkSecurityGroupRule { schema readonly access : NetworkSecurityGroupRuleAccess ; schema readonly priority : number ; schema readonly sourceAddressPrefix : string ; schema readonly sourcePortRanges ? : string [ ] ; } export enum InboundNatPoolProtocol { TCP = 'TCP' , UDP = 'UDP' } export enum AutoUserSpecificationElevationLevel { NON_ADMIN = 'NonAdmin' , ADMIN = 'Admin' } export enum AutoUserSpecificationScope { TASK = 'Task' , POOL = 'Pool' } export enum NetworkSecurityGroupRuleAccess { ALLOW = 'Allow' , DENY = 'Deny' }