Package-level declarations

Types

Link copied to clipboard
data class ApplicationPackageReferenceResponse(val id: String, val version: String? = null)
Link copied to clipboard
data class AutoScaleRunErrorResponse(val code: String, val details: List<AutoScaleRunErrorResponse>? = null, val message: String)
Link copied to clipboard
data class AutoScaleRunResponse(val error: AutoScaleRunErrorResponse? = null, val evaluationTime: String, val results: String? = null)
Link copied to clipboard
data class AutoScaleSettingsResponse(val evaluationInterval: String? = null, val formula: String)
Link copied to clipboard
data class AutoStoragePropertiesResponse(val lastKeySync: String, val storageAccountId: String)

Contains information about the auto-storage account associated with a Batch account.

Link copied to clipboard
data class AutoUserSpecificationResponse(val elevationLevel: String? = null, val scope: String? = null)
Link copied to clipboard
data class AzureBlobFileSystemConfigurationResponse(val accountKey: String? = null, val accountName: String, val blobfuseOptions: String? = null, val containerName: String, val relativeMountPath: String, val sasKey: String? = null)
Link copied to clipboard
data class AzureFileShareConfigurationResponse(val accountKey: String, val accountName: String, val azureFileUrl: String, val mountOptions: String? = null, val relativeMountPath: String)
Link copied to clipboard
data class BatchAccountIdentityResponse(val principalId: String, val tenantId: String, val type: String, val userAssignedIdentities: Map<String, BatchAccountIdentityResponseUserAssignedIdentities>? = null)

The identity of the Batch account, if configured. This is only used when the user specifies 'Microsoft.KeyVault' as their Batch account encryption configuration.

Link copied to clipboard
data class BatchPoolIdentityResponse(val type: String, val userAssignedIdentities: Map<String, BatchPoolIdentityResponseUserAssignedIdentities>? = null)

The identity of the Batch pool, if configured. If the pool identity is updated during update an existing pool, only the new vms which are created after the pool shrinks to 0 will have the updated identities

data class BatchPoolIdentityResponseUserAssignedIdentities(val clientId: String, val principalId: String)
Link copied to clipboard
data class CertificateReferenceResponse(val id: String, val storeLocation: String? = null, val storeName: String? = null, val visibility: List<String>? = null)
Link copied to clipboard
data class CIFSMountConfigurationResponse(val mountOptions: String? = null, val password: String, val relativeMountPath: String, val source: String, val username: String)
Link copied to clipboard
data class CloudServiceConfigurationResponse(val osFamily: String, val osVersion: String? = null)
Link copied to clipboard
data class ContainerConfigurationResponse(val containerImageNames: List<String>? = null, val containerRegistries: List<ContainerRegistryResponse>? = null, val type: String)
Link copied to clipboard
data class ContainerRegistryResponse(val password: String, val registryServer: String? = null, val userName: String)
Link copied to clipboard
data class DataDiskResponse(val caching: String? = null, val diskSizeGB: Int, val lun: Int, val storageAccountType: String? = null)

Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them.

Link copied to clipboard
data class DeleteCertificateErrorResponse(val code: String, val details: List<DeleteCertificateErrorResponse>? = null, val message: String, val target: String? = null)

An error response from the Batch service.

Link copied to clipboard
data class DeploymentConfigurationResponse(val cloudServiceConfiguration: CloudServiceConfigurationResponse? = null, val virtualMachineConfiguration: VirtualMachineConfigurationResponse? = null)
Link copied to clipboard
data class DiskEncryptionConfigurationResponse(val targets: List<String>? = null)

The disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.

Link copied to clipboard
data class EncryptionPropertiesResponse(val keySource: String? = null, val keyVaultProperties: KeyVaultPropertiesResponse? = null)

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

Link copied to clipboard
data class EnvironmentSettingResponse(val name: String, val value: String? = null)
Link copied to clipboard
data class FixedScaleSettingsResponse(val nodeDeallocationOption: String? = null, val resizeTimeout: String? = null, val targetDedicatedNodes: Int? = null, val targetLowPriorityNodes: Int? = null)
Link copied to clipboard
data class GetApplicationPackageResult(val etag: String, val format: String, val id: String, val lastActivationTime: String, val name: String, val state: String, val storageUrl: String, val storageUrlExpiry: String, val type: String)

An application package which represents a particular version of an application.

Link copied to clipboard
data class GetApplicationResult(val allowUpdates: Boolean? = null, val defaultVersion: String? = null, val displayName: String? = null, val etag: String, val id: String, val name: String, val type: String)

Contains information about an application in a Batch account.

Link copied to clipboard
data class GetBatchAccountResult(val accountEndpoint: String, val activeJobAndJobScheduleQuota: Int, val autoStorage: AutoStoragePropertiesResponse, val dedicatedCoreQuota: Int, val dedicatedCoreQuotaPerVMFamily: List<VirtualMachineFamilyCoreQuotaResponse>, val dedicatedCoreQuotaPerVMFamilyEnforced: Boolean, val encryption: EncryptionPropertiesResponse, val id: String, val identity: BatchAccountIdentityResponse? = null, val keyVaultReference: KeyVaultReferenceResponse, val location: String, val lowPriorityCoreQuota: Int, val name: String, val poolAllocationMode: String, val poolQuota: Int, val privateEndpointConnections: List<PrivateEndpointConnectionResponse>, val provisioningState: String, val publicNetworkAccess: String, val tags: Map<String, String>, val type: String)

Contains information about an Azure Batch account.

Link copied to clipboard
data class GetCertificateResult(val deleteCertificateError: DeleteCertificateErrorResponse, val etag: String, val format: String? = null, val id: String, val name: String, val previousProvisioningState: String, val previousProvisioningStateTransitionTime: String, val provisioningState: String, val provisioningStateTransitionTime: String, val publicData: String, val thumbprint: String? = null, val thumbprintAlgorithm: String? = null, val type: String)

Contains information about a certificate.

Link copied to clipboard
data class GetPoolResult(val allocationState: String, val allocationStateTransitionTime: String, val applicationLicenses: List<String>? = null, val applicationPackages: List<ApplicationPackageReferenceResponse>? = null, val autoScaleRun: AutoScaleRunResponse, val certificates: List<CertificateReferenceResponse>? = null, val creationTime: String, val currentDedicatedNodes: Int, val currentLowPriorityNodes: Int, val deploymentConfiguration: DeploymentConfigurationResponse? = null, val displayName: String? = null, val etag: String, val id: String, val identity: BatchPoolIdentityResponse? = null, val interNodeCommunication: String? = null, val lastModified: String, val metadata: List<MetadataItemResponse>? = null, val mountConfiguration: List<MountConfigurationResponse>? = null, val name: String, val networkConfiguration: NetworkConfigurationResponse? = null, val provisioningState: String, val provisioningStateTransitionTime: String, val resizeOperationStatus: ResizeOperationStatusResponse, val scaleSettings: ScaleSettingsResponse? = null, val startTask: StartTaskResponse? = null, val taskSchedulingPolicy: TaskSchedulingPolicyResponse? = null, val taskSlotsPerNode: Int? = null, val type: String, val userAccounts: List<UserAccountResponse>? = null, val vmSize: String? = null)

Contains information about a pool.

Link copied to clipboard
data class ImageReferenceResponse(val id: String? = null, val offer: String? = null, val publisher: String? = null, val sku: String? = null, val version: String? = null)
Link copied to clipboard
data class InboundNatPoolResponse(val backendPort: Int, val frontendPortRangeEnd: Int, val frontendPortRangeStart: Int, val name: String, val networkSecurityGroupRules: List<NetworkSecurityGroupRuleResponse>? = null, val protocol: String)
Link copied to clipboard
data class KeyVaultPropertiesResponse(val keyIdentifier: String? = null)

KeyVault configuration when using an encryption KeySource of Microsoft.KeyVault.

Link copied to clipboard
data class KeyVaultReferenceResponse(val id: String, val url: String)

Identifies the Azure key vault associated with a Batch account.

Link copied to clipboard
data class LinuxUserConfigurationResponse(val gid: Int? = null, val sshPrivateKey: String? = null, val uid: Int? = null)
Link copied to clipboard
data class ListBatchAccountKeysResult(val accountName: String, val primary: String, val secondary: String)

A set of Azure Batch account keys.

Link copied to clipboard
data class MetadataItemResponse(val name: String, val value: String)

The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.

Link copied to clipboard
data class MountConfigurationResponse(val azureBlobFileSystemConfiguration: AzureBlobFileSystemConfigurationResponse? = null, val azureFileShareConfiguration: AzureFileShareConfigurationResponse? = null, val cifsMountConfiguration: CIFSMountConfigurationResponse? = null, val nfsMountConfiguration: NFSMountConfigurationResponse? = null)
Link copied to clipboard
data class NetworkConfigurationResponse(val endpointConfiguration: PoolEndpointConfigurationResponse? = null, val publicIPAddressConfiguration: PublicIPAddressConfigurationResponse? = null, val subnetId: String? = null)

The network configuration for a pool.

Link copied to clipboard
data class NetworkSecurityGroupRuleResponse(val access: String, val priority: Int, val sourceAddressPrefix: String, val sourcePortRanges: List<String>? = null)
Link copied to clipboard
data class NFSMountConfigurationResponse(val mountOptions: String? = null, val relativeMountPath: String, val source: String)
Link copied to clipboard
data class NodePlacementConfigurationResponse(val policy: String? = null)

Allocation configuration used by Batch Service to provision the nodes.

Link copied to clipboard
Link copied to clipboard
data class PrivateEndpointConnectionResponse(val etag: String, val id: String, val name: String, val privateEndpoint: PrivateEndpointResponse? = null, val privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateResponse? = null, val provisioningState: String, val type: String)

Contains information about a private link resource.

Link copied to clipboard
data class PrivateEndpointResponse(val id: String)

The private endpoint of the private endpoint connection.

data class PrivateLinkServiceConnectionStateResponse(val actionRequired: String, val description: String? = null, val status: String)

The private link service connection state of the private endpoint connection

Link copied to clipboard
data class PublicIPAddressConfigurationResponse(val ipAddressIds: List<String>? = null, val provision: String? = null)

The public IP Address configuration of the networking configuration of a Pool.

Link copied to clipboard
data class ResizeErrorResponse(val code: String, val details: List<ResizeErrorResponse>? = null, val message: String)
Link copied to clipboard
data class ResizeOperationStatusResponse(val errors: List<ResizeErrorResponse>? = null, val nodeDeallocationOption: String? = null, val resizeTimeout: String? = null, val startTime: String? = null, val targetDedicatedNodes: Int? = null, val targetLowPriorityNodes: Int? = null)

Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).

Link copied to clipboard
data class ResourceFileResponse(val autoStorageContainerName: String? = null, val blobPrefix: String? = null, val fileMode: String? = null, val filePath: String? = null, val httpUrl: String? = null, val storageContainerUrl: String? = null)
Link copied to clipboard
data class ScaleSettingsResponse(val autoScale: AutoScaleSettingsResponse? = null, val fixedScale: FixedScaleSettingsResponse? = null)

Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.

Link copied to clipboard
data class StartTaskResponse(val commandLine: String? = null, val containerSettings: TaskContainerSettingsResponse? = null, val environmentSettings: List<EnvironmentSettingResponse>? = null, val maxTaskRetryCount: Int? = null, val resourceFiles: List<ResourceFileResponse>? = null, val userIdentity: UserIdentityResponse? = null, val waitForSuccess: Boolean? = null)

In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task.

Link copied to clipboard
data class TaskContainerSettingsResponse(val containerRunOptions: String? = null, val imageName: String, val registry: ContainerRegistryResponse? = null, val workingDirectory: String? = null)
Link copied to clipboard
data class TaskSchedulingPolicyResponse(val nodeFillType: String)
Link copied to clipboard
data class UserAccountResponse(val elevationLevel: String? = null, val linuxUserConfiguration: LinuxUserConfigurationResponse? = null, val name: String, val password: String, val windowsUserConfiguration: WindowsUserConfigurationResponse? = null)
Link copied to clipboard
data class UserIdentityResponse(val autoUser: AutoUserSpecificationResponse? = null, val userName: String? = null)

Specify either the userName or autoUser property, but not both.

Link copied to clipboard
data class VirtualMachineConfigurationResponse(val containerConfiguration: ContainerConfigurationResponse? = null, val dataDisks: List<DataDiskResponse>? = null, val diskEncryptionConfiguration: DiskEncryptionConfigurationResponse? = null, val extensions: List<VMExtensionResponse>? = null, val imageReference: ImageReferenceResponse, val licenseType: String? = null, val nodeAgentSkuId: String, val nodePlacementConfiguration: NodePlacementConfigurationResponse? = null, val windowsConfiguration: WindowsConfigurationResponse? = null)
Link copied to clipboard
data class VirtualMachineFamilyCoreQuotaResponse(val coreQuota: Int, val name: String)

A VM Family and its associated core quota for the Batch account.

Link copied to clipboard
data class VMExtensionResponse(val autoUpgradeMinorVersion: Boolean? = null, val name: String, val protectedSettings: Any? = null, val provisionAfterExtensions: List<String>? = null, val publisher: String, val settings: Any? = null, val type: String, val typeHandlerVersion: String? = null)
Link copied to clipboard
data class WindowsConfigurationResponse(val enableAutomaticUpdates: Boolean? = null)
Link copied to clipboard
data class WindowsUserConfigurationResponse(val loginMode: String? = null)