diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 7c69ad6801ed..11587408f6fa 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -455,7 +455,8 @@ "reimaged", "isdirectory", "SSDLRS", - "VMGUEST" + "VMGUEST", + "imds" ] }, { diff --git a/sdk/batch/azure-compute-batch/MigrationGuide.md b/sdk/batch/azure-compute-batch/MigrationGuide.md index 19bdd5cbbd31..82e8966a3525 100644 --- a/sdk/batch/azure-compute-batch/MigrationGuide.md +++ b/sdk/batch/azure-compute-batch/MigrationGuide.md @@ -80,12 +80,6 @@ To view the latest version of the package, [visit this link](https://central.son - [Get Node File Properties](#get-node-file-properties) - [Get Remote Login Settings](#get-remote-login-settings) - [Upload Node Logs](#upload-node-logs) - - [Certificate Operations](#certificate-operations) - - [Create Certificate](#create-certificate) - - [Get Certificate](#get-certificate) - - [List Certificates](#list-certificates) - - [Delete Certificate](#delete-certificate) - - [Cancel Delete Certificate](#cancel-delete-certificate) - [Application Operations](#application-operations) - [Get Application](#get-application) - [List Applications](#list-applications) @@ -339,8 +333,7 @@ Previously, in `Microsoft-Azure-Batch`, to patch a pool, you could call the `pat List metadata = new ArrayList<>(); metadata.add(new MetadataItem("name", "value")); -// The null values indicate that StartTask, CertificateReferences, and ApplicationPackageReferences remain unchanged. -batchClient.poolOperations().patchPool("poolId", null, null, null, metadata); +batchClient.poolOperations().patchPool("poolId"); ``` With `Azure-Compute-Batch`, you can call `updatePool` directly on the client. @@ -1433,128 +1426,6 @@ batchAsyncClient.uploadNodeLogs("poolId", "nodeId", null) }); ``` -### Certificate Operations - -Note: Certificate operations are deprecated. Please migrate to use Azure Key Vault. For more information, see [Migrate Batch account certificates to Azure Key Vault](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) - -#### Create Certificate From Cer - -Previously, in `Microsoft-Azure-Batch`, to create a certificate, you could call the `createCertificateFromCer` method from the `CertificateOperations` object. - -```java -Certificate cert = batchClient.getCertificateOperations().createCertificateFromCer("cerFilePath"); -``` - -With `Azure-Compute-Batch`, you can call `createCertificate` directly on the client. - -```java com.azure.compute.batch.create-certificate.certificate-create -batchClient.createCertificate( - new BatchCertificate("0123456789abcdef0123456789abcdef01234567", "sha1", "U3dhZ2randomByb2Hash==".getBytes()) - .setCertificateFormat(BatchCertificateFormat.PFX) - .setPassword("fakeTokenPlaceholder"), - null); -``` - -#### Create Certificate - -Previously, in `Microsoft-Azure-Batch`, to create a certificate, you could call the `createCertificate` method from the `CertificateOperations` object. - -Method 1 (`createCertificate` takes in `InputStream` parameter): - -```java -InputStream certStream = new FileInputStream("path/to/certificate.cer"); -batchClient.certificateOperations().createCertificate(certStream); -``` - -Method 2 (`createCertificate` takes in `CertificateAddParameter`): - -```java -CertificateAddParameter certParam = new CertificateAddParameter() - .withThumbprint("your-thumbprint") - .withThumbprintAlgorithm("sha1") - .withData("base64-encoded-certificate-data") - .withCertificateFormat(CertificateFormat.CER); - -batchClient.createCertificate(certParam); -``` - -With `Azure-Compute-Batch`, you can call `createCertificate` directly on the client. - -```java com.azure.compute.batch.create-certificate.certificate-create -batchClient.createCertificate( - new BatchCertificate("0123456789abcdef0123456789abcdef01234567", "sha1", "U3dhZ2randomByb2Hash==".getBytes()) - .setCertificateFormat(BatchCertificateFormat.PFX) - .setPassword("fakeTokenPlaceholder"), - null); -``` - -#### Get Certificate - -Previously, in `Microsoft-Azure-Batch`, to get a certificate, you could call the `getCertificate` method from the `CertificateOperations` object. - -```java -String thumbprintAlgorithm = "sha1"; -String thumbprint = "your-thumbprint"; -Certificate cert = batchClient.certificateOperations().getCertificate(thumbprintAlgorithm, thumbprint); -``` - -With `Azure-Compute-Batch`, you can call `getCertificate` directly on the client. - -```java com.azure.compute.batch.get-certificate.certificate-get -BatchCertificate certificateResponse = batchClient.getCertificate("sha1", "0123456789abcdef0123456789abcdef01234567", - new BatchCertificateGetOptions()); -``` - -#### List Certificates - -Previously, in `Microsoft-Azure-Batch`, to list all certificates on the account, you could call the `listCertificates` method from the `CertificateOperations` object. - -```java -batchClient.getCertificateOperations().listCertificates() -``` - -With `Azure-Compute-Batch`, you can call `listCertificates` directly on the client. - -```java com.azure.compute.batch.list-certificates.certificate-list -PagedIterable certificateList = batchClient.listCertificates(new BatchCertificatesListOptions()); -``` - -#### Delete Certificate - -Previously, in `Microsoft-Azure-Batch`, to delete a certificate, you could call the `deleteCertificate` method from the `CertificateOperations` object. - -```java -String thumbprintAlgorithm = "sha1"; -String thumbprint = "your-thumbprint"; -batchClient.certificateOperations().deleteCertificate(thumbprintAlgorithm, thumbprint); -``` - -With `Azure-Compute-Batch`, you can call `beginDeleteCertificate` directly on the client. It is also now an LRO (Long Running Operation). - -```java com.azure.compute.batch.certificate.delete-certificate -String thumbprintAlgorithm = "sha1"; -String thumbprint = "your-thumbprint"; -SyncPoller deleteCertificatePoller = batchClient.beginDeleteCertificate(thumbprintAlgorithm, thumbprint); -deleteCertificatePoller.waitForCompletion(); -PollResponse finalDeleteCertificateResponse = deleteCertificatePoller.poll(); -``` - -#### Cancel Delete Certificate - -Previously, in `Microsoft-Azure-Batch`, to cancel the deletion of a certificate, you could call the `cancelDeleteCertificate` method from the `CertificateOperations` object. - -```java -String thumbprintAlgorithm = "sha1"; -String thumbprint = "your-thumbprint"; -batchClient.certificateOperations().cancelDeleteCertificate(thumbprintAlgorithm, thumbprint); -``` - -With `Azure-Compute-Batch`, you can call `cancelCertificateDeletion` directly on the client. - -```java com.azure.compute.batch.cancel-certificate-deletion.certificate-cancel-delete -batchClient.cancelCertificateDeletion("sha1", "0123456789abcdef0123456789abcdef01234567", null); -``` - ### Application Operations #### Get Application diff --git a/sdk/batch/azure-compute-batch/README.md b/sdk/batch/azure-compute-batch/README.md index 6aed136093f0..d1ae2d4982b6 100644 --- a/sdk/batch/azure-compute-batch/README.md +++ b/sdk/batch/azure-compute-batch/README.md @@ -78,12 +78,6 @@ This README is based on the latest released version of the Azure Compute Batch S - [Get Node File Properties](#get-node-file-properties) - [Get Remote Login Settings](#get-remote-login-settings) - [Upload Node Logs](#upload-node-logs) - - [Certificate Operations](#certificate-operations) - - [Create Certificate](#create-certificate) - - [Get Certificate](#get-certificate) - - [List Certificates](#list-certificates) - - [Delete Certificate](#delete-certificate) - - [Cancel Delete Certificate](#cancel-delete-certificate) - [Application Operations](#application-operations) - [Get Application](#get-application) - [List Applications](#list-applications) @@ -1012,59 +1006,6 @@ batchAsyncClient.uploadNodeLogs("poolId", "nodeId", null) }); ``` -### Certificate Operations - -Note: Certificate operations are deprecated. Please migrate to use Azure Key Vault. For more information, see [Migrate Batch account certificates to Azure Key Vault](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) - -#### Create Certificate - -The `createCertificate` method can be called with a `BatchCertificate` parameter to create a certificate. - -```java com.azure.compute.batch.create-certificate.certificate-create -batchClient.createCertificate( - new BatchCertificate("0123456789abcdef0123456789abcdef01234567", "sha1", "U3dhZ2randomByb2Hash==".getBytes()) - .setCertificateFormat(BatchCertificateFormat.PFX) - .setPassword("fakeTokenPlaceholder"), - null); -``` - -#### Get Certificate - -The `getCertificate` method can be used to get the certificate. - -```java com.azure.compute.batch.get-certificate.certificate-get -BatchCertificate certificateResponse = batchClient.getCertificate("sha1", "0123456789abcdef0123456789abcdef01234567", - new BatchCertificateGetOptions()); -``` - -#### List Certificates - -The `listCertificates` method can be used to get a list of certificates. - -```java com.azure.compute.batch.list-certificates.certificate-list -PagedIterable certificateList = batchClient.listCertificates(new BatchCertificatesListOptions()); -``` - -#### Delete Certificate - -The `beginDeleteCertificate` method can be used to delete a certificate. - -```java com.azure.compute.batch.certificate.delete-certificate -String thumbprintAlgorithm = "sha1"; -String thumbprint = "your-thumbprint"; -SyncPoller deleteCertificatePoller = batchClient.beginDeleteCertificate(thumbprintAlgorithm, thumbprint); -deleteCertificatePoller.waitForCompletion(); -PollResponse finalDeleteCertificateResponse = deleteCertificatePoller.poll(); -``` - -#### Cancel Delete Certificate - -The `cancelCertificateDeletion` method can be used to cancel the deletion of a certificate. - -```java com.azure.compute.batch.cancel-certificate-deletion.certificate-cancel-delete -batchClient.cancelCertificateDeletion("sha1", "0123456789abcdef0123456789abcdef01234567", null); -``` - ### Application Operations #### Get Application diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchAsyncClient.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchAsyncClient.java index 688d103fcc6b..fe8fbe460646 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchAsyncClient.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchAsyncClient.java @@ -11,12 +11,6 @@ import com.azure.compute.batch.models.BatchApplication; import com.azure.compute.batch.models.BatchApplicationGetOptions; import com.azure.compute.batch.models.BatchApplicationsListOptions; -import com.azure.compute.batch.models.BatchCertificate; -import com.azure.compute.batch.models.BatchCertificateCancelDeletionOptions; -import com.azure.compute.batch.models.BatchCertificateCreateOptions; -import com.azure.compute.batch.models.BatchCertificateDeleteOptions; -import com.azure.compute.batch.models.BatchCertificateGetOptions; -import com.azure.compute.batch.models.BatchCertificatesListOptions; import com.azure.compute.batch.models.BatchCreateTaskCollectionResult; import com.azure.compute.batch.models.BatchErrorException; import com.azure.compute.batch.models.BatchFileProperties; @@ -242,7 +236,7 @@ public Mono createTasks(String jobId, Collection * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -284,7 +278,7 @@ public PagedFlux listApplications(RequestOptions requestOptions) {
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -346,7 +340,7 @@ public Mono> getApplicationWithResponse(String applicationI
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -385,7 +379,7 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -412,6 +406,15 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -433,6 +436,13 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -465,16 +475,19 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -486,9 +499,6 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *         }
      *     }
      *     resizeTimeout: Duration (Optional)
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -521,9 +531,18 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -568,17 +587,6 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -587,6 +595,7 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -642,7 +651,6 @@ public PagedFlux listPoolUsageMetrics(RequestOptions requestOptions)
      *             }
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -677,7 +685,7 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
     }
 
     /**
-     * Lists all of the Pools which be mounted.
+     * Lists all of the Pools in the specified Account.
      * 

Query Parameters

* * @@ -698,21 +706,21 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio *
Query Parameters
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -733,6 +741,15 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -754,6 +771,13 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -786,16 +810,19 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -819,11 +846,8 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -867,9 +891,18 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -914,17 +947,6 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -933,6 +955,7 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -1023,8 +1046,6 @@ public Mono> createPoolWithResponse(BinaryData pool, RequestOptio
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -1149,7 +1170,7 @@ Mono> deletePoolWithResponse(String poolId, RequestOptions reques
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * boolean
@@ -1205,21 +1226,21 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -1240,6 +1261,15 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -1261,6 +1291,13 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -1293,16 +1330,19 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -1326,11 +1366,8 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -1374,9 +1411,18 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -1421,17 +1467,6 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -1440,6 +1475,7 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -1530,8 +1566,6 @@ public Mono> poolExistsWithResponse(String poolId, RequestOpti
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -1604,7 +1638,7 @@ public Mono> getPoolWithResponse(String poolId, RequestOpti
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -1659,17 +1693,6 @@ public Mono> getPoolWithResponse(String poolId, RequestOpti
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -1702,6 +1725,15 @@ public Mono> getPoolWithResponse(String poolId, RequestOpti
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -1716,6 +1748,13 @@ public Mono> getPoolWithResponse(String poolId, RequestOpti
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -1748,16 +1787,19 @@ public Mono> getPoolWithResponse(String poolId, RequestOpti
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -1768,9 +1810,9 @@ public Mono> getPoolWithResponse(String poolId, RequestOpti
      *             id: String (Required)
      *         }
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     networkConfiguration (Optional): {
@@ -1799,15 +1841,21 @@ public Mono> getPoolWithResponse(String poolId, RequestOpti
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     userAccounts (Optional): [
      *          (Optional){
      *             name: String (Required)
@@ -1953,7 +2001,7 @@ public Mono> disablePoolAutoScaleWithResponse(String poolId, Requ
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -1992,7 +2040,7 @@ public Mono> enablePoolAutoScaleWithResponse(String poolId, Binar
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2000,9 +2048,9 @@ public Mono> enablePoolAutoScaleWithResponse(String poolId, Binar
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2081,7 +2129,7 @@ public Mono> evaluatePoolAutoScaleWithResponse(String poolI
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2174,7 +2222,7 @@ Mono> stopPoolResizeWithResponse(String poolId, RequestOptions re
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2226,17 +2274,6 @@ Mono> stopPoolResizeWithResponse(String poolId, RequestOptions re
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Required): [
-     *          (Required){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Required): [
      *          (Required){
      *             applicationId: String (Required)
@@ -2249,7 +2286,6 @@ Mono> stopPoolResizeWithResponse(String poolId, RequestOptions re
      *             value: String (Required)
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      * }
      * }
      * 
@@ -2305,7 +2341,7 @@ public Mono> replacePoolPropertiesWithResponse(String poolId, Bin * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2348,7 +2384,7 @@ Mono> removeNodesWithResponse(String poolId, BinaryData parameter
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2403,7 +2439,7 @@ public PagedFlux listSupportedImages(RequestOptions requestOptions)
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2536,19 +2572,19 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -2708,6 +2744,15 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -2722,6 +2767,13 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -2754,16 +2806,19 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -2776,10 +2831,10 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -2812,9 +2867,18 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -2831,17 +2895,6 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -2898,7 +2951,6 @@ Mono> deleteJobWithResponse(String jobId, RequestOptions requestO
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -3015,7 +3067,7 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -3055,6 +3107,15 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -3076,6 +3137,13 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -3108,16 +3176,19 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -3130,10 +3201,10 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -3166,9 +3237,18 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -3213,17 +3293,6 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                      (Optional){
      *                         applicationId: String (Required)
@@ -3283,7 +3352,6 @@ public Mono> getJobWithResponse(String jobId, RequestOption
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -3367,19 +3435,19 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -3539,6 +3607,15 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -3553,6 +3630,13 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -3585,16 +3669,19 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -3607,10 +3694,10 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -3643,9 +3730,18 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -3662,17 +3758,6 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -3729,7 +3814,6 @@ public Mono> updateJobWithResponse(String jobId, BinaryData job,
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -3852,7 +3936,7 @@ public Mono> replaceJobWithResponse(String jobId, BinaryData job,
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -3970,7 +4054,7 @@ Mono> enableJobWithResponse(String jobId, RequestOptions requestO
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -4012,7 +4096,7 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -4176,6 +4260,15 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -4190,6 +4283,13 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -4222,16 +4322,19 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -4244,10 +4347,10 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -4280,9 +4383,18 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -4299,17 +4411,6 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -4366,7 +4467,6 @@ Mono> terminateJobWithResponse(String jobId, RequestOptions reque
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -4434,19 +4534,19 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -4606,6 +4706,15 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -4620,6 +4729,13 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -4652,16 +4768,19 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -4674,10 +4793,10 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -4710,9 +4829,18 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -4729,17 +4857,6 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -4796,7 +4913,6 @@ public Mono> createJobWithResponse(BinaryData job, RequestOptions
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -4896,19 +5012,19 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -5068,6 +5184,15 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -5082,6 +5207,13 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -5114,17 +5246,20 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
-     *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
+     *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
      *                             vTpmEnabled: Boolean (Optional)
@@ -5136,10 +5271,10 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -5172,9 +5307,18 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -5191,17 +5335,6 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -5258,7 +5391,6 @@ public PagedFlux listJobs(RequestOptions requestOptions) {
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -5365,7 +5497,7 @@ public PagedFlux listJobsFromSchedule(String jobScheduleId, RequestO
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -5443,7 +5575,7 @@ public PagedFlux listJobPreparationAndReleaseTaskStatus(String jobId
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -5480,243 +5612,6 @@ public Mono> getJobTaskCountsWithResponse(String jobId, Req
         return this.serviceClient.getJobTaskCountsWithResponseAsync(jobId, requestOptions);
     }
 
-    /**
-     * Creates a Certificate to the specified Account.
-     * 

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param certificate The Certificate to be created. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createCertificateWithResponse(BinaryData certificate, RequestOptions requestOptions) { - return this.serviceClient.createCertificateWithResponseAsync(certificate, requestOptions); - } - - /** - * Lists all of the Certificates that have been added to the specified Account. - *

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
maxresultsIntegerNoThe maximum number of items to return in the response. A - * maximum of 1000 - * applications can be returned.
$filterStringNoAn OData $filter clause. For more information on constructing - * this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCertificates(RequestOptions requestOptions) { - return this.serviceClient.listCertificatesAsync(requestOptions); - } - - /** - * Cancels a failed deletion of a Certificate from the specified Account. - * - * If you try to delete a Certificate that is being used by a Pool or Compute - * Node, the status of the Certificate changes to deleteFailed. If you decide that - * you want to continue using the Certificate, you can use this operation to set - * the status of the Certificate back to active. If you intend to delete the - * Certificate, you do not need to run this operation after the deletion failed. - * You must make sure that the Certificate is not being used by any resources, and - * then you can try again to delete the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate being deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelCertificateDeletionWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - return this.serviceClient.cancelCertificateDeletionWithResponseAsync(thumbprintAlgorithm, thumbprint, - requestOptions); - } - - /** - * Deletes a Certificate from the specified Account. - * - * You cannot delete a Certificate if a resource (Pool or Compute Node) is using - * it. Before you can delete a Certificate, you must therefore make sure that the - * Certificate is not associated with any existing Pools, the Certificate is not - * installed on any Nodes (even if you remove a Certificate from a Pool, it is not - * removed from existing Compute Nodes in that Pool until they restart), and no - * running Tasks depend on the Certificate. If you try to delete a Certificate - * that is in use, the deletion fails. The Certificate status changes to - * deleteFailed. You can use Cancel Delete Certificate to set the status back to - * active if you decide that you want to continue using the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to be deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> deleteCertificateWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - return this.serviceClient.deleteCertificateWithResponseAsync(thumbprintAlgorithm, thumbprint, requestOptions); - } - - /** - * Gets information about the specified Certificate. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to get. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return information about the specified Certificate along with {@link Response} on successful completion of - * {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getCertificateWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - return this.serviceClient.getCertificateWithResponseAsync(thumbprintAlgorithm, thumbprint, requestOptions); - } - /** * Checks the specified Job Schedule exists. *

Query Parameters

@@ -5751,7 +5646,7 @@ public Mono> getCertificateWithResponse(String thumbprintAl * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * boolean
@@ -5860,18 +5755,18 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -6046,6 +5941,15 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -6060,6 +5964,13 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -6092,16 +6003,19 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -6114,10 +6028,10 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -6150,9 +6064,18 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -6169,17 +6092,6 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -6236,7 +6148,6 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -6262,7 +6173,7 @@ Mono> deleteJobScheduleWithResponse(String jobScheduleId, Request
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -6345,7 +6256,7 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6521,6 +6432,15 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -6535,6 +6455,13 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -6567,16 +6494,19 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -6589,10 +6519,10 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -6625,9 +6555,18 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -6644,17 +6583,6 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -6711,7 +6639,6 @@ public Mono> getJobScheduleWithResponse(String jobScheduleI
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -6797,18 +6724,18 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -6983,6 +6910,15 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -6997,6 +6933,13 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -7029,16 +6972,19 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -7051,10 +6997,10 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -7087,9 +7033,18 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -7106,17 +7061,6 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -7173,7 +7117,6 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -7199,7 +7142,7 @@ public Mono> updateJobScheduleWithResponse(String jobScheduleId,
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -7394,7 +7337,7 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -7572,6 +7515,15 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -7586,6 +7538,13 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -7618,16 +7577,19 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -7640,10 +7602,10 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -7676,9 +7638,18 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -7695,17 +7666,6 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -7762,7 +7722,6 @@ Mono> terminateJobScheduleWithResponse(String jobScheduleId, Requ
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -7828,18 +7787,18 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -8014,6 +7973,15 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -8028,6 +7996,13 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -8060,16 +8035,19 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -8082,10 +8060,10 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -8118,9 +8096,18 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -8137,17 +8124,6 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -8204,7 +8180,6 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -8230,7 +8205,7 @@ public Mono> createJobScheduleWithResponse(BinaryData jobSchedule
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -8287,7 +8262,7 @@ public PagedFlux listJobSchedules(RequestOptions requestOptions) {
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -8459,16 +8434,16 @@ public Mono> createTaskWithResponse(String jobId, BinaryData task
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -8490,11 +8465,11 @@ public Mono> createTaskWithResponse(String jobId, BinaryData task
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -8686,7 +8661,7 @@ public PagedFlux listTasks(String jobId, RequestOptions requestOptio
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -8823,9 +8798,9 @@ public PagedFlux listTasks(String jobId, RequestOptions requestOptio
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -8963,16 +8938,16 @@ public Mono> deleteTaskWithResponse(String jobId, String taskId,
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -8994,11 +8969,11 @@ public Mono> deleteTaskWithResponse(String jobId, String taskId,
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -9201,16 +9176,16 @@ public Mono> getTaskWithResponse(String jobId, String taskI
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -9232,11 +9207,11 @@ public Mono> getTaskWithResponse(String jobId, String taskI
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -9421,7 +9396,7 @@ public Mono> replaceTaskWithResponse(String jobId, String taskId,
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -9639,7 +9614,7 @@ public Mono> deleteTaskFileWithResponse(String jobId, String task
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * BinaryData
@@ -9722,7 +9697,7 @@ public Mono> getTaskFilePropertiesWithResponse(String jobId, Stri
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -9768,7 +9743,7 @@ public PagedFlux listTaskFiles(String jobId, String taskId, RequestO
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -9841,7 +9816,7 @@ public Mono> deleteNodeUserWithResponse(String poolId, String nod
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -9882,21 +9857,22 @@ public Mono> replaceNodeUserWithResponse(String poolId, String no
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -9994,17 +9970,6 @@ public Mono> replaceNodeUserWithResponse(String poolId, String no
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -10027,11 +9992,11 @@ public Mono> replaceNodeUserWithResponse(String poolId, String no
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -10083,7 +10048,7 @@ public Mono> getNodeWithResponse(String poolId, String node
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10154,7 +10119,7 @@ Mono> startNodeWithResponse(String poolId, String nodeId, Request
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10197,7 +10162,7 @@ Mono> reimageNodeWithResponse(String poolId, String nodeId, Reque
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10241,7 +10206,7 @@ Mono> deallocateNodeWithResponse(String poolId, String nodeId, Re
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10306,10 +10271,12 @@ public Mono> enableNodeSchedulingWithResponse(String poolId, Stri
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
+     *     ipv6RemoteLoginIPAddress: String (Optional)
+     *     ipv6RemoteLoginPort: Integer (Optional)
      *     remoteLoginIPAddress: String (Required)
      *     remoteLoginPort: int (Required)
      * }
@@ -10351,7 +10318,7 @@ public Mono> getNodeRemoteLoginSettingsWithResponse(String
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10364,9 +10331,9 @@ public Mono> getNodeRemoteLoginSettingsWithResponse(String
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10412,21 +10379,22 @@ public Mono> uploadNodeLogsWithResponse(String poolId, Stri
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -10524,17 +10492,6 @@ public Mono> uploadNodeLogsWithResponse(String poolId, Stri
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -10557,11 +10514,11 @@ public Mono> uploadNodeLogsWithResponse(String poolId, Stri
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -10603,7 +10560,7 @@ public PagedFlux listNodes(String poolId, RequestOptions requestOpti
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10676,7 +10633,7 @@ public Mono> getNodeExtensionWithResponse(String poolId, St
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10789,7 +10746,7 @@ public Mono> deleteNodeFileWithResponse(String poolId, String nod
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * BinaryData
@@ -10870,7 +10827,7 @@ public Mono> getNodeFilePropertiesWithResponse(String poolId, Str
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10999,7 +10956,7 @@ public PagedFlux listPoolUsageMetrics() {
     }
 
     /**
-     * Lists all of the Pools which be mounted.
+     * Lists all of the Pools in the specified Account.
      *
      * @throws BatchErrorException thrown if the request is rejected by server.
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -11603,155 +11560,6 @@ public Mono getJobTaskCounts(String jobId) {
             .map(protocolMethodData -> protocolMethodData.toObject(BatchTaskCountsResult.class));
     }
 
-    /**
-     * Creates a Certificate to the specified Account.
-     *
-     * @param certificate The Certificate to be created.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono createCertificate(BatchCertificate certificate) {
-        // Generated convenience method for createCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return createCertificateWithResponse(BinaryData.fromObject(certificate), requestOptions)
-            .flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Lists all of the Certificates that have been added to the specified Account.
-     *
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the result of listing the Certificates in the Account as paginated response with {@link PagedFlux}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedFlux listCertificates() {
-        // Generated convenience method for listCertificates
-        RequestOptions requestOptions = new RequestOptions();
-        PagedFlux pagedFluxResponse = listCertificates(requestOptions);
-        return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> {
-            Flux> flux = (continuationTokenParam == null)
-                ? pagedFluxResponse.byPage().take(1)
-                : pagedFluxResponse.byPage(continuationTokenParam).take(1);
-            return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(),
-                pagedResponse.getStatusCode(), pagedResponse.getHeaders(),
-                pagedResponse.getValue()
-                    .stream()
-                    .map(protocolMethodData -> protocolMethodData.toObject(BatchCertificate.class))
-                    .collect(Collectors.toList()),
-                pagedResponse.getContinuationToken(), null));
-        });
-    }
-
-    /**
-     * Cancels a failed deletion of a Certificate from the specified Account.
-     *
-     * If you try to delete a Certificate that is being used by a Pool or Compute
-     * Node, the status of the Certificate changes to deleteFailed. If you decide that
-     * you want to continue using the Certificate, you can use this operation to set
-     * the status of the Certificate back to active. If you intend to delete the
-     * Certificate, you do not need to run this operation after the deletion failed.
-     * You must make sure that the Certificate is not being used by any resources, and
-     * then you can try again to delete the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate being deleted.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono cancelCertificateDeletion(String thumbprintAlgorithm, String thumbprint) {
-        // Generated convenience method for cancelCertificateDeletionWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return cancelCertificateDeletionWithResponse(thumbprintAlgorithm, thumbprint, requestOptions)
-            .flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono deleteCertificate(String thumbprintAlgorithm, String thumbprint) {
-        // Generated convenience method for deleteCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return deleteCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link PollerFlux} that polls the deletion of the Certificate. The poller provides
-     * {@link BatchCertificate} instances during polling and returns {@code null} upon successful deletion.
-     */
-    @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public PollerFlux beginDeleteCertificate(String thumbprintAlgorithm, String thumbprint) {
-        RequestOptions requestOptions = new RequestOptions();
-        CertificateDeletePollerAsync poller
-            = new CertificateDeletePollerAsync(this, thumbprintAlgorithm, thumbprint, requestOptions);
-        return PollerFlux.create(Duration.ofSeconds(5), poller.getActivationOperation(), poller.getPollOperation(),
-            poller.getCancelOperation(), poller.getFetchResultOperation());
-    }
-
-    /**
-     * Gets information about the specified Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to get.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return information about the specified Certificate on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono getCertificate(String thumbprintAlgorithm, String thumbprint) {
-        // Generated convenience method for getCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(BatchCertificate.class));
-    }
-
     /**
      * Checks the specified Job Schedule exists.
      *
@@ -12970,7 +12778,7 @@ public PagedFlux listPoolUsageMetrics(BatchPoolUsageMetri
     }
 
     /**
-     * Lists all of the Pools which be mounted.
+     * Lists all of the Pools in the specified Account.
      *
      * @param options Optional parameters for List Pools operation.
      * @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -14016,213 +13824,6 @@ public Mono getJobTaskCounts(String jobId, BatchJobTaskCo
             .map(protocolMethodData -> protocolMethodData.toObject(BatchTaskCountsResult.class));
     }
 
-    /**
-     * Creates a Certificate to the specified Account.
-     *
-     * @param certificate The Certificate to be created.
-     * @param options Optional parameters for Create Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono createCertificate(BatchCertificate certificate, BatchCertificateCreateOptions options) {
-        // Generated convenience method for createCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        return createCertificateWithResponse(BinaryData.fromObject(certificate), requestOptions)
-            .flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Lists all of the Certificates that have been added to the specified Account.
-     *
-     * @param options Optional parameters for List Certificates operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the result of listing the Certificates in the Account as paginated response with {@link PagedFlux}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedFlux listCertificates(BatchCertificatesListOptions options) {
-        // Generated convenience method for listCertificates
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        Integer maxPageSize = options == null ? null : options.getMaxPageSize();
-        String filter = options == null ? null : options.getFilter();
-        List select = options == null ? null : options.getSelect();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        if (maxPageSize != null) {
-            requestOptions.addQueryParam("maxresults", String.valueOf(maxPageSize), false);
-        }
-        if (filter != null) {
-            requestOptions.addQueryParam("$filter", filter, false);
-        }
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        PagedFlux pagedFluxResponse = listCertificates(requestOptions);
-        return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> {
-            Flux> flux = (continuationTokenParam == null)
-                ? pagedFluxResponse.byPage().take(1)
-                : pagedFluxResponse.byPage(continuationTokenParam).take(1);
-            return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(),
-                pagedResponse.getStatusCode(), pagedResponse.getHeaders(),
-                pagedResponse.getValue()
-                    .stream()
-                    .map(protocolMethodData -> protocolMethodData.toObject(BatchCertificate.class))
-                    .collect(Collectors.toList()),
-                pagedResponse.getContinuationToken(), null));
-        });
-    }
-
-    /**
-     * Cancels a failed deletion of a Certificate from the specified Account.
-     *
-     * If you try to delete a Certificate that is being used by a Pool or Compute
-     * Node, the status of the Certificate changes to deleteFailed. If you decide that
-     * you want to continue using the Certificate, you can use this operation to set
-     * the status of the Certificate back to active. If you intend to delete the
-     * Certificate, you do not need to run this operation after the deletion failed.
-     * You must make sure that the Certificate is not being used by any resources, and
-     * then you can try again to delete the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate being deleted.
-     * @param options Optional parameters for Cancel Certificate Deletion operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono cancelCertificateDeletion(String thumbprintAlgorithm, String thumbprint,
-        BatchCertificateCancelDeletionOptions options) {
-        // Generated convenience method for cancelCertificateDeletionWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        return cancelCertificateDeletionWithResponse(thumbprintAlgorithm, thumbprint, requestOptions)
-            .flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @param options Optional parameters for Delete Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono deleteCertificate(String thumbprintAlgorithm, String thumbprint, BatchCertificateDeleteOptions options) {
-        // Generated convenience method for deleteCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        return deleteCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @param options Optional parameters for Delete Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link PollerFlux} that polls the deletion of the Certificate. The poller provides
-     * {@link BatchCertificate} instances during polling and returns {@code null} upon successful deletion.
-     */
-    @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public PollerFlux beginDeleteCertificate(String thumbprintAlgorithm, String thumbprint,
-        BatchCertificateDeleteOptions options) {
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        CertificateDeletePollerAsync poller
-            = new CertificateDeletePollerAsync(this, thumbprintAlgorithm, thumbprint, requestOptions);
-        return PollerFlux.create(Duration.ofSeconds(5), poller.getActivationOperation(), poller.getPollOperation(),
-            poller.getCancelOperation(), poller.getFetchResultOperation());
-    }
-
-    /**
-     * Gets information about the specified Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to get.
-     * @param options Optional parameters for Get Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return information about the specified Certificate on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono getCertificate(String thumbprintAlgorithm, String thumbprint,
-        BatchCertificateGetOptions options) {
-        // Generated convenience method for getCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        List select = options == null ? null : options.getSelect();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(BatchCertificate.class));
-    }
-
     /**
      * Deletes a Job Schedule from the specified Account.
      *
diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchClient.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchClient.java
index b64474ed4283..029cd54ae8d7 100644
--- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchClient.java
+++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchClient.java
@@ -11,12 +11,6 @@
 import com.azure.compute.batch.models.BatchApplication;
 import com.azure.compute.batch.models.BatchApplicationGetOptions;
 import com.azure.compute.batch.models.BatchApplicationsListOptions;
-import com.azure.compute.batch.models.BatchCertificate;
-import com.azure.compute.batch.models.BatchCertificateCancelDeletionOptions;
-import com.azure.compute.batch.models.BatchCertificateCreateOptions;
-import com.azure.compute.batch.models.BatchCertificateDeleteOptions;
-import com.azure.compute.batch.models.BatchCertificateGetOptions;
-import com.azure.compute.batch.models.BatchCertificatesListOptions;
 import com.azure.compute.batch.models.BatchCreateTaskCollectionResult;
 import com.azure.compute.batch.models.BatchErrorException;
 import com.azure.compute.batch.models.BatchFileProperties;
@@ -231,7 +225,7 @@ public void createTasks(String jobId, Collection task
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -273,7 +267,7 @@ public PagedIterable listApplications(RequestOptions requestOptions)
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -334,7 +328,7 @@ public Response getApplicationWithResponse(String applicationId, Req
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -374,7 +368,7 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -401,6 +395,15 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -422,6 +425,13 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -454,16 +464,19 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -475,9 +488,6 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *         }
      *     }
      *     resizeTimeout: Duration (Optional)
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -510,9 +520,18 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -557,17 +576,6 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -576,6 +584,7 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -631,7 +640,6 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *             }
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -666,7 +674,7 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
     }
 
     /**
-     * Lists all of the Pools which be mounted.
+     * Lists all of the Pools in the specified Account.
      * 

Query Parameters

* * @@ -687,21 +695,21 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req *
Query Parameters
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -722,6 +730,15 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -743,6 +760,13 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -775,16 +799,19 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -808,11 +835,8 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -856,9 +880,18 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -903,17 +936,6 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -922,6 +944,7 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -1012,8 +1035,6 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -1138,7 +1159,7 @@ Response deletePoolWithResponse(String poolId, RequestOptions requestOptio
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * boolean
@@ -1194,21 +1215,21 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -1229,6 +1250,15 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -1250,6 +1280,13 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -1282,16 +1319,19 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -1315,11 +1355,8 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -1363,9 +1400,18 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -1410,17 +1456,6 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -1429,6 +1464,7 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -1519,8 +1555,6 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -1592,7 +1626,7 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -1647,17 +1681,6 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -1690,6 +1713,15 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -1704,6 +1736,13 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -1736,16 +1775,19 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -1756,9 +1798,9 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *             id: String (Required)
      *         }
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     networkConfiguration (Optional): {
@@ -1787,15 +1829,21 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     userAccounts (Optional): [
      *          (Optional){
      *             name: String (Required)
@@ -1941,7 +1989,7 @@ public Response disablePoolAutoScaleWithResponse(String poolId, RequestOpt
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -1980,7 +2028,7 @@ public Response enablePoolAutoScaleWithResponse(String poolId, BinaryData
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -1988,9 +2036,9 @@ public Response enablePoolAutoScaleWithResponse(String poolId, BinaryData
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2068,7 +2116,7 @@ public Response evaluatePoolAutoScaleWithResponse(String poolId, Bin
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2161,7 +2209,7 @@ Response stopPoolResizeWithResponse(String poolId, RequestOptions requestO
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2213,17 +2261,6 @@ Response stopPoolResizeWithResponse(String poolId, RequestOptions requestO
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Required): [
-     *          (Required){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Required): [
      *          (Required){
      *             applicationId: String (Required)
@@ -2236,7 +2273,6 @@ Response stopPoolResizeWithResponse(String poolId, RequestOptions requestO
      *             value: String (Required)
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      * }
      * }
      * 
@@ -2292,7 +2328,7 @@ public Response replacePoolPropertiesWithResponse(String poolId, BinaryDat * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2335,7 +2371,7 @@ Response removeNodesWithResponse(String poolId, BinaryData parameters, Req
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2391,7 +2427,7 @@ public PagedIterable listSupportedImages(RequestOptions requestOptio
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2525,19 +2561,19 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -2697,6 +2733,15 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -2711,6 +2756,13 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -2743,16 +2795,19 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -2765,10 +2820,10 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -2801,9 +2856,18 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -2820,17 +2884,6 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -2887,7 +2940,6 @@ Response deleteJobWithResponse(String jobId, RequestOptions requestOptions
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -3004,7 +3056,7 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -3044,6 +3096,15 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -3065,6 +3126,13 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -3097,16 +3165,19 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -3119,10 +3190,10 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -3155,9 +3226,18 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -3202,17 +3282,6 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                      (Optional){
      *                         applicationId: String (Required)
@@ -3272,7 +3341,6 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -3356,19 +3424,19 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -3528,6 +3596,15 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -3542,6 +3619,13 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -3574,16 +3658,19 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -3596,10 +3683,10 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -3632,9 +3719,18 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -3651,17 +3747,6 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -3718,7 +3803,6 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -3841,7 +3925,7 @@ public Response replaceJobWithResponse(String jobId, BinaryData job, Reque
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -3959,7 +4043,7 @@ Response enableJobWithResponse(String jobId, RequestOptions requestOptions
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -4001,7 +4085,7 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -4165,6 +4249,15 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -4179,6 +4272,13 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -4211,16 +4311,19 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -4233,10 +4336,10 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -4269,9 +4372,18 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -4288,17 +4400,6 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -4355,7 +4456,6 @@ Response terminateJobWithResponse(String jobId, RequestOptions requestOpti
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -4423,19 +4523,19 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -4595,6 +4695,15 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -4609,6 +4718,13 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -4641,16 +4757,19 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -4663,10 +4782,10 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -4699,9 +4818,18 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -4718,17 +4846,6 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -4785,7 +4902,6 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -4885,19 +5001,19 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -5057,6 +5173,15 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -5071,6 +5196,13 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -5103,17 +5235,20 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
-     *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
+     *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
      *                             vTpmEnabled: Boolean (Optional)
@@ -5125,10 +5260,10 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -5161,9 +5296,18 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -5180,17 +5324,6 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -5247,7 +5380,6 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -5354,7 +5486,7 @@ public PagedIterable listJobsFromSchedule(String jobScheduleId, Requ
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -5433,7 +5565,7 @@ public PagedIterable listJobPreparationAndReleaseTaskStatus(String j
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -5469,242 +5601,6 @@ public Response getJobTaskCountsWithResponse(String jobId, RequestOp
         return this.serviceClient.getJobTaskCountsWithResponse(jobId, requestOptions);
     }
 
-    /**
-     * Creates a Certificate to the specified Account.
-     * 

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param certificate The Certificate to be created. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createCertificateWithResponse(BinaryData certificate, RequestOptions requestOptions) { - return this.serviceClient.createCertificateWithResponse(certificate, requestOptions); - } - - /** - * Lists all of the Certificates that have been added to the specified Account. - *

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
maxresultsIntegerNoThe maximum number of items to return in the response. A - * maximum of 1000 - * applications can be returned.
$filterStringNoAn OData $filter clause. For more information on constructing - * this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCertificates(RequestOptions requestOptions) { - return this.serviceClient.listCertificates(requestOptions); - } - - /** - * Cancels a failed deletion of a Certificate from the specified Account. - * - * If you try to delete a Certificate that is being used by a Pool or Compute - * Node, the status of the Certificate changes to deleteFailed. If you decide that - * you want to continue using the Certificate, you can use this operation to set - * the status of the Certificate back to active. If you intend to delete the - * Certificate, you do not need to run this operation after the deletion failed. - * You must make sure that the Certificate is not being used by any resources, and - * then you can try again to delete the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate being deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelCertificateDeletionWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - return this.serviceClient.cancelCertificateDeletionWithResponse(thumbprintAlgorithm, thumbprint, - requestOptions); - } - - /** - * Deletes a Certificate from the specified Account. - * - * You cannot delete a Certificate if a resource (Pool or Compute Node) is using - * it. Before you can delete a Certificate, you must therefore make sure that the - * Certificate is not associated with any existing Pools, the Certificate is not - * installed on any Nodes (even if you remove a Certificate from a Pool, it is not - * removed from existing Compute Nodes in that Pool until they restart), and no - * running Tasks depend on the Certificate. If you try to delete a Certificate - * that is in use, the deletion fails. The Certificate status changes to - * deleteFailed. You can use Cancel Delete Certificate to set the status back to - * active if you decide that you want to continue using the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to be deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Response deleteCertificateWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - return this.serviceClient.deleteCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions); - } - - /** - * Gets information about the specified Certificate. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to get. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return information about the specified Certificate along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCertificateWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - return this.serviceClient.getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions); - } - /** * Checks the specified Job Schedule exists. *

Query Parameters

@@ -5739,7 +5635,7 @@ public Response getCertificateWithResponse(String thumbprintAlgorith * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * boolean
@@ -5848,18 +5744,18 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -6034,6 +5930,15 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -6048,6 +5953,13 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -6080,16 +5992,19 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -6102,10 +6017,10 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -6138,9 +6053,18 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -6157,17 +6081,6 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -6224,7 +6137,6 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -6250,7 +6162,7 @@ Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOption
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -6332,7 +6244,7 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6508,6 +6420,15 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -6522,6 +6443,13 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -6554,16 +6482,19 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -6576,10 +6507,10 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -6612,9 +6543,18 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -6631,17 +6571,6 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -6698,7 +6627,6 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -6784,18 +6712,18 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -6970,6 +6898,15 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -6984,6 +6921,13 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -7016,16 +6960,19 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -7038,10 +6985,10 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -7074,9 +7021,18 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -7093,17 +7049,6 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -7160,7 +7105,6 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -7186,7 +7130,7 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -7381,7 +7325,7 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -7559,6 +7503,15 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -7573,6 +7526,13 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -7605,16 +7565,19 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -7627,10 +7590,10 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -7663,9 +7626,18 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -7682,17 +7654,6 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -7749,7 +7710,6 @@ Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOpt
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -7815,18 +7775,18 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -8001,6 +7961,15 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -8015,6 +7984,13 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -8047,16 +8023,19 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -8069,10 +8048,10 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -8105,9 +8084,18 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -8124,17 +8112,6 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -8191,7 +8168,6 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -8217,7 +8193,7 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -8274,7 +8250,7 @@ public PagedIterable listJobSchedules(RequestOptions requestOptions)
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -8446,16 +8422,16 @@ public Response createTaskWithResponse(String jobId, BinaryData task, Requ
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -8477,11 +8453,11 @@ public Response createTaskWithResponse(String jobId, BinaryData task, Requ
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -8673,7 +8649,7 @@ public PagedIterable listTasks(String jobId, RequestOptions requestO
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -8810,9 +8786,9 @@ public PagedIterable listTasks(String jobId, RequestOptions requestO
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -8949,16 +8925,16 @@ public Response deleteTaskWithResponse(String jobId, String taskId, Reques
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -8980,11 +8956,11 @@ public Response deleteTaskWithResponse(String jobId, String taskId, Reques
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -9187,16 +9163,16 @@ public Response getTaskWithResponse(String jobId, String taskId, Req
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -9218,11 +9194,11 @@ public Response getTaskWithResponse(String jobId, String taskId, Req
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -9407,7 +9383,7 @@ public Response replaceTaskWithResponse(String jobId, String taskId, Binar
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -9625,7 +9601,7 @@ public Response deleteTaskFileWithResponse(String jobId, String taskId, St
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * BinaryData
@@ -9707,7 +9683,7 @@ public Response getTaskFilePropertiesWithResponse(String jobId, String tas
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -9753,7 +9729,7 @@ public PagedIterable listTaskFiles(String jobId, String taskId, Requ
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -9826,7 +9802,7 @@ public Response deleteNodeUserWithResponse(String poolId, String nodeId, S
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -9866,21 +9842,22 @@ public Response replaceNodeUserWithResponse(String poolId, String nodeId,
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -9978,17 +9955,6 @@ public Response replaceNodeUserWithResponse(String poolId, String nodeId,
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -10011,11 +9977,11 @@ public Response replaceNodeUserWithResponse(String poolId, String nodeId,
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -10066,7 +10032,7 @@ public Response getNodeWithResponse(String poolId, String nodeId, Re
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10137,7 +10103,7 @@ Response startNodeWithResponse(String poolId, String nodeId, RequestOption
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10180,7 +10146,7 @@ Response reimageNodeWithResponse(String poolId, String nodeId, RequestOpti
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10224,7 +10190,7 @@ Response deallocateNodeWithResponse(String poolId, String nodeId, RequestO
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10289,10 +10255,12 @@ public Response enableNodeSchedulingWithResponse(String poolId, String nod
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
+     *     ipv6RemoteLoginIPAddress: String (Optional)
+     *     ipv6RemoteLoginPort: Integer (Optional)
      *     remoteLoginIPAddress: String (Required)
      *     remoteLoginPort: int (Required)
      * }
@@ -10333,7 +10301,7 @@ public Response getNodeRemoteLoginSettingsWithResponse(String poolId
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10346,9 +10314,9 @@ public Response getNodeRemoteLoginSettingsWithResponse(String poolId
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10393,21 +10361,22 @@ public Response uploadNodeLogsWithResponse(String poolId, String nod
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -10505,17 +10474,6 @@ public Response uploadNodeLogsWithResponse(String poolId, String nod
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -10538,11 +10496,11 @@ public Response uploadNodeLogsWithResponse(String poolId, String nod
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -10584,7 +10542,7 @@ public PagedIterable listNodes(String poolId, RequestOptions request
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10656,7 +10614,7 @@ public Response getNodeExtensionWithResponse(String poolId, String n
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10770,7 +10728,7 @@ public Response deleteNodeFileWithResponse(String poolId, String nodeId, S
      * 
      * You can add these to a request with {@link RequestOptions#addHeader}
      * 

Response Body Schema

- * + * *
      * {@code
      * BinaryData
@@ -10850,7 +10808,7 @@ public Response getNodeFilePropertiesWithResponse(String poolId, String no
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -10956,7 +10914,7 @@ public PagedIterable listPoolUsageMetrics() {
     }
 
     /**
-     * Lists all of the Pools which be mounted.
+     * Lists all of the Pools in the specified Account.
      *
      * @throws BatchErrorException thrown if the request is rejected by server.
      * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -11471,137 +11429,6 @@ public BatchTaskCountsResult getJobTaskCounts(String jobId) {
         return getJobTaskCountsWithResponse(jobId, requestOptions).getValue().toObject(BatchTaskCountsResult.class);
     }
 
-    /**
-     * Creates a Certificate to the specified Account.
-     *
-     * @param certificate The Certificate to be created.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void createCertificate(BatchCertificate certificate) {
-        // Generated convenience method for createCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        createCertificateWithResponse(BinaryData.fromObject(certificate), requestOptions).getValue();
-    }
-
-    /**
-     * Lists all of the Certificates that have been added to the specified Account.
-     *
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the result of listing the Certificates in the Account as paginated response with {@link PagedIterable}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedIterable listCertificates() {
-        // Generated convenience method for listCertificates
-        RequestOptions requestOptions = new RequestOptions();
-        return serviceClient.listCertificates(requestOptions)
-            .mapPage(bodyItemValue -> bodyItemValue.toObject(BatchCertificate.class));
-    }
-
-    /**
-     * Cancels a failed deletion of a Certificate from the specified Account.
-     *
-     * If you try to delete a Certificate that is being used by a Pool or Compute
-     * Node, the status of the Certificate changes to deleteFailed. If you decide that
-     * you want to continue using the Certificate, you can use this operation to set
-     * the status of the Certificate back to active. If you intend to delete the
-     * Certificate, you do not need to run this operation after the deletion failed.
-     * You must make sure that the Certificate is not being used by any resources, and
-     * then you can try again to delete the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate being deleted.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void cancelCertificateDeletion(String thumbprintAlgorithm, String thumbprint) {
-        // Generated convenience method for cancelCertificateDeletionWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        cancelCertificateDeletionWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue();
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    void deleteCertificate(String thumbprintAlgorithm, String thumbprint) {
-        // Generated convenience method for deleteCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        deleteCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue();
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link SyncPoller} that polls the deletion of the Certificate. The poller provides
-     * {@link BatchCertificate} instances during polling and returns {@code null} upon successful deletion.
-     */
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public SyncPoller beginDeleteCertificate(String thumbprintAlgorithm, String thumbprint) {
-        PollerFlux asyncPoller
-            = asyncClient.beginDeleteCertificate(thumbprintAlgorithm, thumbprint);
-        return asyncPoller.getSyncPoller();
-    }
-
-    /**
-     * Gets information about the specified Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to get.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return information about the specified Certificate.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public BatchCertificate getCertificate(String thumbprintAlgorithm, String thumbprint) {
-        // Generated convenience method for getCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue()
-            .toObject(BatchCertificate.class);
-    }
-
     /**
      * Checks the specified Job Schedule exists.
      *
@@ -12687,7 +12514,7 @@ public PagedIterable listPoolUsageMetrics(BatchPoolUsageM
     }
 
     /**
-     * Lists all of the Pools which be mounted.
+     * Lists all of the Pools in the specified Account.
      *
      * @param options Optional parameters for List Pools operation.
      * @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -13529,191 +13356,6 @@ public BatchTaskCountsResult getJobTaskCounts(String jobId, BatchJobTaskCountsGe
         return getJobTaskCountsWithResponse(jobId, requestOptions).getValue().toObject(BatchTaskCountsResult.class);
     }
 
-    /**
-     * Creates a Certificate to the specified Account.
-     *
-     * @param certificate The Certificate to be created.
-     * @param options Optional parameters for Create Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void createCertificate(BatchCertificate certificate, BatchCertificateCreateOptions options) {
-        // Generated convenience method for createCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        createCertificateWithResponse(BinaryData.fromObject(certificate), requestOptions).getValue();
-    }
-
-    /**
-     * Lists all of the Certificates that have been added to the specified Account.
-     *
-     * @param options Optional parameters for List Certificates operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return the result of listing the Certificates in the Account as paginated response with {@link PagedIterable}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.COLLECTION)
-    public PagedIterable listCertificates(BatchCertificatesListOptions options) {
-        // Generated convenience method for listCertificates
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        Integer maxPageSize = options == null ? null : options.getMaxPageSize();
-        String filter = options == null ? null : options.getFilter();
-        List select = options == null ? null : options.getSelect();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        if (maxPageSize != null) {
-            requestOptions.addQueryParam("maxresults", String.valueOf(maxPageSize), false);
-        }
-        if (filter != null) {
-            requestOptions.addQueryParam("$filter", filter, false);
-        }
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return serviceClient.listCertificates(requestOptions)
-            .mapPage(bodyItemValue -> bodyItemValue.toObject(BatchCertificate.class));
-    }
-
-    /**
-     * Cancels a failed deletion of a Certificate from the specified Account.
-     *
-     * If you try to delete a Certificate that is being used by a Pool or Compute
-     * Node, the status of the Certificate changes to deleteFailed. If you decide that
-     * you want to continue using the Certificate, you can use this operation to set
-     * the status of the Certificate back to active. If you intend to delete the
-     * Certificate, you do not need to run this operation after the deletion failed.
-     * You must make sure that the Certificate is not being used by any resources, and
-     * then you can try again to delete the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate being deleted.
-     * @param options Optional parameters for Cancel Certificate Deletion operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void cancelCertificateDeletion(String thumbprintAlgorithm, String thumbprint,
-        BatchCertificateCancelDeletionOptions options) {
-        // Generated convenience method for cancelCertificateDeletionWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        cancelCertificateDeletionWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue();
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @param options Optional parameters for Delete Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    void deleteCertificate(String thumbprintAlgorithm, String thumbprint, BatchCertificateDeleteOptions options) {
-        // Generated convenience method for deleteCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        deleteCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue();
-    }
-
-    /**
-     * Deletes a Certificate from the specified Account.
-     *
-     * You cannot delete a Certificate if a resource (Pool or Compute Node) is using
-     * it. Before you can delete a Certificate, you must therefore make sure that the
-     * Certificate is not associated with any existing Pools, the Certificate is not
-     * installed on any Nodes (even if you remove a Certificate from a Pool, it is not
-     * removed from existing Compute Nodes in that Pool until they restart), and no
-     * running Tasks depend on the Certificate. If you try to delete a Certificate
-     * that is in use, the deletion fails. The Certificate status changes to
-     * deleteFailed. You can use Cancel Delete Certificate to set the status back to
-     * active if you decide that you want to continue using the Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to be deleted.
-     * @param options Optional parameters for Delete Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link SyncPoller} that polls the deletion of the Certificate. The poller provides
-     * {@link BatchCertificate} instances during polling and returns {@code null} upon successful deletion.
-     */
-    @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public SyncPoller beginDeleteCertificate(String thumbprintAlgorithm, String thumbprint,
-        BatchCertificateDeleteOptions options) {
-        PollerFlux asyncPoller
-            = asyncClient.beginDeleteCertificate(thumbprintAlgorithm, thumbprint, options);
-        return asyncPoller.getSyncPoller();
-    }
-
-    /**
-     * Gets information about the specified Certificate.
-     *
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1.
-     * @param thumbprint The thumbprint of the Certificate to get.
-     * @param options Optional parameters for Get Certificate operation.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws BatchErrorException thrown if the request is rejected by server.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return information about the specified Certificate.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public BatchCertificate getCertificate(String thumbprintAlgorithm, String thumbprint,
-        BatchCertificateGetOptions options) {
-        // Generated convenience method for getCertificateWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        Duration timeOutInSeconds = options == null ? null : options.getTimeOutInSeconds();
-        List select = options == null ? null : options.getSelect();
-        if (timeOutInSeconds != null) {
-            requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds.getSeconds()), false);
-        }
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue()
-            .toObject(BatchCertificate.class);
-    }
-
     /**
      * Deletes a Job Schedule from the specified Account.
      *
diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchServiceVersion.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchServiceVersion.java
index a2cee83c0402..080337e8c520 100644
--- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchServiceVersion.java
+++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/BatchServiceVersion.java
@@ -11,9 +11,9 @@
  */
 public enum BatchServiceVersion implements ServiceVersion {
     /**
-     * Enum value 2024-07-01.20.0.
+     * Enum value 2025-06-01.
      */
-    V2024_07_01_20_0("2024-07-01.20.0");
+    V2025_06_01("2025-06-01");
 
     private final String version;
 
@@ -35,6 +35,6 @@ public String getVersion() {
      * @return The latest {@link BatchServiceVersion}.
      */
     public static BatchServiceVersion getLatest() {
-        return V2024_07_01_20_0;
+        return V2025_06_01;
     }
 }
diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/CertificateDeletePollerAsync.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/CertificateDeletePollerAsync.java
deleted file mode 100644
index fec49b128f74..000000000000
--- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/CertificateDeletePollerAsync.java
+++ /dev/null
@@ -1,97 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-package com.azure.compute.batch;
-
-import com.azure.compute.batch.models.BatchCertificate;
-import com.azure.core.exception.HttpResponseException;
-import com.azure.core.http.rest.RequestOptions;
-import com.azure.core.util.Context;
-import com.azure.core.util.polling.LongRunningOperationStatus;
-import com.azure.core.util.polling.PollResponse;
-import com.azure.core.util.polling.PollingContext;
-import reactor.core.publisher.Mono;
-
-import java.util.function.BiFunction;
-import java.util.function.Function;
-
-/**
- * Async poller class used by {@code beginDeleteCertificate} to implement polling logic
- * for deleting a {@link BatchCertificate}. Returns {@link BatchCertificate} during polling
- * and {@code null} upon successful deletion.
- */
-public final class CertificateDeletePollerAsync {
-
-    private final BatchAsyncClient batchAsyncClient;
-    private final String thumbprintAlgorithm;
-    private final String thumbprint;
-    private final RequestOptions options;
-    private final Context requestContext;
-
-    /**
-     * Creates a new {@link CertificateDeletePollerAsync}.
-     *
-     * @param batchAsyncClient The {@link BatchAsyncClient} used to interact with the Batch service.
-     * @param thumbprintAlgorithm The algorithm used to derive the thumbprint. (e.g., "sha1")
-     * @param thumbprint The thumbprint of the certificate to delete.
-     * @param options Optional request options for service calls.
-     */
-    public CertificateDeletePollerAsync(BatchAsyncClient batchAsyncClient, String thumbprintAlgorithm,
-        String thumbprint, RequestOptions options) {
-        this.batchAsyncClient = batchAsyncClient;
-        this.thumbprintAlgorithm = thumbprintAlgorithm;
-        this.thumbprint = thumbprint;
-        this.options = options;
-        this.requestContext = options == null ? Context.NONE : options.getContext();
-    }
-
-    /**
-     * Activation operation to start the delete.
-     *
-     * @return A function that initiates the delete request and returns a {@link PollResponse}
-     * with {@link LongRunningOperationStatus#IN_PROGRESS} status.
-     */
-    public Function, Mono>> getActivationOperation() {
-        return context -> batchAsyncClient.deleteCertificateWithResponse(thumbprintAlgorithm, thumbprint, options)
-            .thenReturn(new PollResponse<>(LongRunningOperationStatus.IN_PROGRESS, null));
-    }
-
-    /**
-     * Poll operation to check if the certificate is still being deleted or is gone.
-     *
-     * @return A function that polls the certificate state and returns a {@link PollResponse}
-     * with the current {@link LongRunningOperationStatus}.
-     */
-    public Function, Mono>> getPollOperation() {
-        return context -> {
-            RequestOptions pollOptions = new RequestOptions().setContext(this.requestContext);
-            return batchAsyncClient.getCertificateWithResponse(thumbprintAlgorithm, thumbprint, pollOptions)
-                .map(response -> {
-                    BatchCertificate cert = response.getValue().toObject(BatchCertificate.class);
-                    return new PollResponse<>(LongRunningOperationStatus.IN_PROGRESS, cert);
-                })
-                .onErrorResume(HttpResponseException.class,
-                    ex -> ex.getResponse() != null && ex.getResponse().getStatusCode() == 404
-                        ? Mono.just(new PollResponse<>(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, null))
-                        : Mono.error(ex));
-        };
-    }
-
-    /**
-     * Cancel operation (not supported for certificate deletion).
-     *
-     * @return A function that always returns an empty {@link Mono}, indicating cancellation is unsupported.
-     */
-    public BiFunction, PollResponse, Mono>
-        getCancelOperation() {
-        return (context, pollResponse) -> Mono.empty();
-    }
-
-    /**
-     * Final result fetch operation (returns null; not required).
-     *
-     * @return A function that returns an empty {@link Mono}, indicating no final fetch is required.
-     */
-    public Function, Mono> getFetchResultOperation() {
-        return context -> Mono.empty();
-    }
-}
diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/implementation/BatchClientImpl.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/implementation/BatchClientImpl.java
index 7425e864fb3b..f7a1befb733a 100644
--- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/implementation/BatchClientImpl.java
+++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/implementation/BatchClientImpl.java
@@ -62,7 +62,7 @@ public final class BatchClientImpl {
 
     /**
      * Gets Batch account endpoint (for example: https://batchaccount.eastus2.batch.azure.com).
-     *
+     * 
      * @return the endpoint value.
      */
     public String getEndpoint() {
@@ -76,7 +76,7 @@ public String getEndpoint() {
 
     /**
      * Gets Service version.
-     *
+     * 
      * @return the serviceVersion value.
      */
     public BatchServiceVersion getServiceVersion() {
@@ -90,7 +90,7 @@ public BatchServiceVersion getServiceVersion() {
 
     /**
      * Gets The HTTP pipeline to send requests through.
-     *
+     * 
      * @return the httpPipeline value.
      */
     public HttpPipeline getHttpPipeline() {
@@ -104,7 +104,7 @@ public HttpPipeline getHttpPipeline() {
 
     /**
      * Gets The serializer to serialize an object into a string.
-     *
+     * 
      * @return the serializerAdapter value.
      */
     public SerializerAdapter getSerializerAdapter() {
@@ -113,7 +113,7 @@ public SerializerAdapter getSerializerAdapter() {
 
     /**
      * Initializes an instance of BatchClient client.
-     *
+     * 
      * @param endpoint Batch account endpoint (for example: https://batchaccount.eastus2.batch.azure.com).
      * @param serviceVersion Service version.
      */
@@ -124,7 +124,7 @@ public BatchClientImpl(String endpoint, BatchServiceVersion serviceVersion) {
 
     /**
      * Initializes an instance of BatchClient client.
-     *
+     * 
      * @param httpPipeline The HTTP pipeline to send requests through.
      * @param endpoint Batch account endpoint (for example: https://batchaccount.eastus2.batch.azure.com).
      * @param serviceVersion Service version.
@@ -135,7 +135,7 @@ public BatchClientImpl(HttpPipeline httpPipeline, String endpoint, BatchServiceV
 
     /**
      * Initializes an instance of BatchClient client.
-     *
+     * 
      * @param httpPipeline The HTTP pipeline to send requests through.
      * @param serializerAdapter The serializer to serialize an object into a string.
      * @param endpoint Batch account endpoint (for example: https://batchaccount.eastus2.batch.azure.com).
@@ -203,16 +203,16 @@ Response listPoolUsageMetricsSync(@HostParam("endpoint") String endp
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> createPool(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json; odata=minimalmetadata") BinaryData pool,
-            RequestOptions requestOptions, Context context);
+            @BodyParam("application/json; odata=minimalmetadata") BinaryData pool, RequestOptions requestOptions,
+            Context context);
 
         @Post("/pools")
         @ExpectedResponses({ 201 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response createPoolSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json; odata=minimalmetadata") BinaryData pool,
-            RequestOptions requestOptions, Context context);
+            @BodyParam("application/json; odata=minimalmetadata") BinaryData pool, RequestOptions requestOptions,
+            Context context);
 
         @Get("/pools")
         @ExpectedResponses({ 200 })
@@ -233,28 +233,28 @@ Response listPoolsSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deletePool(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Delete("/pools/{poolId}")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deletePoolSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Head("/pools/{poolId}")
         @ExpectedResponses({ 200, 404 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> poolExists(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Head("/pools/{poolId}")
         @ExpectedResponses({ 200, 404 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response poolExistsSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Get("/pools/{poolId}")
         @ExpectedResponses({ 200 })
@@ -275,39 +275,37 @@ Response getPoolSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> updatePool(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData pool, RequestOptions requestOptions,
-            Context context);
+            @PathParam("poolId") String poolId, @BodyParam("application/json; odata=minimalmetadata") BinaryData pool,
+            RequestOptions requestOptions, Context context);
 
         @Patch("/pools/{poolId}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response updatePoolSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData pool, RequestOptions requestOptions,
-            Context context);
+            @PathParam("poolId") String poolId, @BodyParam("application/json; odata=minimalmetadata") BinaryData pool,
+            RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/disableautoscale")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> disablePoolAutoScale(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/disableautoscale")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response disablePoolAutoScaleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/enableautoscale")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> enablePoolAutoScale(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
+            @PathParam("poolId") String poolId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -316,7 +314,7 @@ Mono> enablePoolAutoScale(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response enablePoolAutoScaleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
+            @PathParam("poolId") String poolId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -343,7 +341,7 @@ Response evaluatePoolAutoScaleSync(@HostParam("endpoint") String end
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> resizePool(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
+            @PathParam("poolId") String poolId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -352,7 +350,7 @@ Mono> resizePool(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response resizePoolSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
+            @PathParam("poolId") String poolId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -361,39 +359,37 @@ Response resizePoolSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> stopPoolResize(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/stopresize")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response stopPoolResizeSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/updateproperties")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> replacePoolProperties(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData pool, RequestOptions requestOptions,
-            Context context);
+            @PathParam("poolId") String poolId, @BodyParam("application/json; odata=minimalmetadata") BinaryData pool,
+            RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/updateproperties")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response replacePoolPropertiesSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData pool, RequestOptions requestOptions,
-            Context context);
+            @PathParam("poolId") String poolId, @BodyParam("application/json; odata=minimalmetadata") BinaryData pool,
+            RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/removenodes")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> removeNodes(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
+            @PathParam("poolId") String poolId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -402,7 +398,7 @@ Mono> removeNodes(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response removeNodesSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("poolId") String poolId, @HeaderParam("Accept") String accept,
+            @PathParam("poolId") String poolId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -439,14 +435,14 @@ Response listPoolNodeCountsSync(@HostParam("endpoint") String endpoi
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deleteJob(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Delete("/jobs/{jobId}")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deleteJobSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Get("/jobs/{jobId}")
         @ExpectedResponses({ 200 })
@@ -467,43 +463,39 @@ Response getJobSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> updateJob(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData job, RequestOptions requestOptions,
-            Context context);
+            @PathParam("jobId") String jobId, @BodyParam("application/json; odata=minimalmetadata") BinaryData job,
+            RequestOptions requestOptions, Context context);
 
         @Patch("/jobs/{jobId}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response updateJobSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData job, RequestOptions requestOptions,
-            Context context);
+            @PathParam("jobId") String jobId, @BodyParam("application/json; odata=minimalmetadata") BinaryData job,
+            RequestOptions requestOptions, Context context);
 
         @Put("/jobs/{jobId}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> replaceJob(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData job, RequestOptions requestOptions,
-            Context context);
+            @PathParam("jobId") String jobId, @BodyParam("application/json; odata=minimalmetadata") BinaryData job,
+            RequestOptions requestOptions, Context context);
 
         @Put("/jobs/{jobId}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response replaceJobSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData job, RequestOptions requestOptions,
-            Context context);
+            @PathParam("jobId") String jobId, @BodyParam("application/json; odata=minimalmetadata") BinaryData job,
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/disable")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> disableJob(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
+            @PathParam("jobId") String jobId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -512,7 +504,7 @@ Mono> disableJob(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response disableJobSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
+            @PathParam("jobId") String jobId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -521,44 +513,44 @@ Response disableJobSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> enableJob(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/enable")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response enableJobSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/terminate")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> terminateJob(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/terminate")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response terminateJobSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobs")
         @ExpectedResponses({ 201 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> createJob(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json; odata=minimalmetadata") BinaryData job,
-            RequestOptions requestOptions, Context context);
+            @BodyParam("application/json; odata=minimalmetadata") BinaryData job, RequestOptions requestOptions,
+            Context context);
 
         @Post("/jobs")
         @ExpectedResponses({ 201 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response createJobSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json; odata=minimalmetadata") BinaryData job,
-            RequestOptions requestOptions, Context context);
+            @BodyParam("application/json; odata=minimalmetadata") BinaryData job, RequestOptions requestOptions,
+            Context context);
 
         @Get("/jobs")
         @ExpectedResponses({ 200 })
@@ -616,113 +608,33 @@ Response getJobTaskCountsSync(@HostParam("endpoint") String endpoint
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
             @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
 
-        @Post("/certificates")
-        @ExpectedResponses({ 201 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Mono> createCertificate(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData certificate, RequestOptions requestOptions,
-            Context context);
-
-        @Post("/certificates")
-        @ExpectedResponses({ 201 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Response createCertificateSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData certificate, RequestOptions requestOptions,
-            Context context);
-
-        @Get("/certificates")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Mono> listCertificates(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Get("/certificates")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Response listCertificatesSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Post("/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})/canceldelete")
-        @ExpectedResponses({ 204 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Mono> cancelCertificateDeletion(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @PathParam("thumbprintAlgorithm") String thumbprintAlgorithm,
-            @PathParam("thumbprint") String thumbprint, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Post("/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})/canceldelete")
-        @ExpectedResponses({ 204 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Response cancelCertificateDeletionSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @PathParam("thumbprintAlgorithm") String thumbprintAlgorithm,
-            @PathParam("thumbprint") String thumbprint, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Delete("/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})")
-        @ExpectedResponses({ 202 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Mono> deleteCertificate(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @PathParam("thumbprintAlgorithm") String thumbprintAlgorithm,
-            @PathParam("thumbprint") String thumbprint, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Delete("/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})")
-        @ExpectedResponses({ 202 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Response deleteCertificateSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @PathParam("thumbprintAlgorithm") String thumbprintAlgorithm,
-            @PathParam("thumbprint") String thumbprint, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Get("/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Mono> getCertificate(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @PathParam("thumbprintAlgorithm") String thumbprintAlgorithm,
-            @PathParam("thumbprint") String thumbprint, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Get("/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Response getCertificateSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @PathParam("thumbprintAlgorithm") String thumbprintAlgorithm,
-            @PathParam("thumbprint") String thumbprint, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
         @Head("/jobschedules/{jobScheduleId}")
         @ExpectedResponses({ 200, 404 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> jobScheduleExists(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Head("/jobschedules/{jobScheduleId}")
         @ExpectedResponses({ 200, 404 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response jobScheduleExistsSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Delete("/jobschedules/{jobScheduleId}")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deleteJobSchedule(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Delete("/jobschedules/{jobScheduleId}")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deleteJobScheduleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Get("/jobschedules/{jobScheduleId}")
         @ExpectedResponses({ 200 })
@@ -743,7 +655,7 @@ Response getJobScheduleSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> updateJobSchedule(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobScheduleId") String jobScheduleId, @HeaderParam("Accept") String accept,
+            @PathParam("jobScheduleId") String jobScheduleId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData jobSchedule, RequestOptions requestOptions,
             Context context);
 
@@ -752,7 +664,7 @@ Mono> updateJobSchedule(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response updateJobScheduleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobScheduleId") String jobScheduleId, @HeaderParam("Accept") String accept,
+            @PathParam("jobScheduleId") String jobScheduleId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData jobSchedule, RequestOptions requestOptions,
             Context context);
 
@@ -761,7 +673,7 @@ Response updateJobScheduleSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> replaceJobSchedule(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobScheduleId") String jobScheduleId, @HeaderParam("Accept") String accept,
+            @PathParam("jobScheduleId") String jobScheduleId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData jobSchedule, RequestOptions requestOptions,
             Context context);
 
@@ -770,7 +682,7 @@ Mono> replaceJobSchedule(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response replaceJobScheduleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobScheduleId") String jobScheduleId, @HeaderParam("Accept") String accept,
+            @PathParam("jobScheduleId") String jobScheduleId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData jobSchedule, RequestOptions requestOptions,
             Context context);
 
@@ -779,49 +691,48 @@ Response replaceJobScheduleSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> disableJobSchedule(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobschedules/{jobScheduleId}/disable")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response disableJobScheduleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobschedules/{jobScheduleId}/enable")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> enableJobSchedule(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobschedules/{jobScheduleId}/enable")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response enableJobScheduleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobschedules/{jobScheduleId}/terminate")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> terminateJobSchedule(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobschedules/{jobScheduleId}/terminate")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response terminateJobScheduleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobScheduleId") String jobScheduleId,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobschedules")
         @ExpectedResponses({ 201 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> createJobSchedule(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData jobSchedule, RequestOptions requestOptions,
             Context context);
 
@@ -830,7 +741,6 @@ Mono> createJobSchedule(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response createJobScheduleSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @HeaderParam("Accept") String accept,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData jobSchedule, RequestOptions requestOptions,
             Context context);
 
@@ -853,18 +763,16 @@ Response listJobSchedulesSync(@HostParam("endpoint") String endpoint
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> createTask(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData task, RequestOptions requestOptions,
-            Context context);
+            @PathParam("jobId") String jobId, @BodyParam("application/json; odata=minimalmetadata") BinaryData task,
+            RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/tasks")
         @ExpectedResponses({ 201 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response createTaskSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @HeaderParam("Accept") String accept,
-            @BodyParam("application/json; odata=minimalmetadata") BinaryData task, RequestOptions requestOptions,
-            Context context);
+            @PathParam("jobId") String jobId, @BodyParam("application/json; odata=minimalmetadata") BinaryData task,
+            RequestOptions requestOptions, Context context);
 
         @Get("/jobs/{jobId}/tasks")
         @ExpectedResponses({ 200 })
@@ -903,16 +811,14 @@ Response createTaskCollectionSync(@HostParam("endpoint") String endp
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deleteTask(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("taskId") String taskId, RequestOptions requestOptions, Context context);
 
         @Delete("/jobs/{jobId}/tasks/{taskId}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deleteTaskSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("taskId") String taskId, RequestOptions requestOptions, Context context);
 
         @Get("/jobs/{jobId}/tasks/{taskId}")
         @ExpectedResponses({ 200 })
@@ -935,7 +841,7 @@ Response getTaskSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> replaceTask(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept,
+            @PathParam("jobId") String jobId, @PathParam("taskId") String taskId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData task, RequestOptions requestOptions,
             Context context);
 
@@ -944,7 +850,7 @@ Mono> replaceTask(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response replaceTaskSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
-            @PathParam("jobId") String jobId, @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept,
+            @PathParam("jobId") String jobId, @PathParam("taskId") String taskId,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData task, RequestOptions requestOptions,
             Context context);
 
@@ -969,48 +875,44 @@ Response listSubTasksSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> terminateTask(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("taskId") String taskId, RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/tasks/{taskId}/terminate")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response terminateTaskSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("taskId") String taskId, RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/tasks/{taskId}/reactivate")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> reactivateTask(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("taskId") String taskId, RequestOptions requestOptions, Context context);
 
         @Post("/jobs/{jobId}/tasks/{taskId}/reactivate")
         @ExpectedResponses({ 204 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response reactivateTaskSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("taskId") String taskId, RequestOptions requestOptions, Context context);
 
         @Delete("/jobs/{jobId}/tasks/{taskId}/files/{filePath}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deleteTaskFile(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Delete("/jobs/{jobId}/tasks/{taskId}/files/{filePath}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deleteTaskFileSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Get("/jobs/{jobId}/tasks/{taskId}/files/{filePath}")
         @ExpectedResponses({ 200 })
@@ -1033,16 +935,16 @@ Response getTaskFileSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> getTaskFileProperties(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Head("/jobs/{jobId}/tasks/{taskId}/files/{filePath}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response getTaskFilePropertiesSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("jobId") String jobId,
-            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("taskId") String taskId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Get("/jobs/{jobId}/tasks/{taskId}/files")
         @ExpectedResponses({ 200 })
@@ -1066,8 +968,8 @@ Response listTaskFilesSync(@HostParam("endpoint") String endpoint,
         Mono> createNodeUser(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
             @PathParam("poolId") String poolId, @PathParam("nodeId") String nodeId,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json; odata=minimalmetadata") BinaryData user,
-            RequestOptions requestOptions, Context context);
+            @BodyParam("application/json; odata=minimalmetadata") BinaryData user, RequestOptions requestOptions,
+            Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/users")
         @ExpectedResponses({ 201 })
@@ -1075,24 +977,24 @@ Mono> createNodeUser(@HostParam("endpoint") String endpoint,
         Response createNodeUserSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
             @PathParam("poolId") String poolId, @PathParam("nodeId") String nodeId,
-            @HeaderParam("Accept") String accept, @BodyParam("application/json; odata=minimalmetadata") BinaryData user,
-            RequestOptions requestOptions, Context context);
+            @BodyParam("application/json; odata=minimalmetadata") BinaryData user, RequestOptions requestOptions,
+            Context context);
 
         @Delete("/pools/{poolId}/nodes/{nodeId}/users/{userName}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deleteNodeUser(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @PathParam("userName") String userName,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("nodeId") String nodeId, @PathParam("userName") String userName, RequestOptions requestOptions,
+            Context context);
 
         @Delete("/pools/{poolId}/nodes/{nodeId}/users/{userName}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deleteNodeUserSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @PathParam("userName") String userName,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("nodeId") String nodeId, @PathParam("userName") String userName, RequestOptions requestOptions,
+            Context context);
 
         @Put("/pools/{poolId}/nodes/{nodeId}/users/{userName}")
         @ExpectedResponses({ 200 })
@@ -1100,7 +1002,7 @@ Response deleteNodeUserSync(@HostParam("endpoint") String endpoint,
         Mono> replaceNodeUser(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
             @PathParam("poolId") String poolId, @PathParam("nodeId") String nodeId,
-            @PathParam("userName") String userName, @HeaderParam("Accept") String accept,
+            @PathParam("userName") String userName,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -1110,7 +1012,7 @@ Mono> replaceNodeUser(@HostParam("endpoint") String endpoint,
         Response replaceNodeUserSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @HeaderParam("content-type") String contentType,
             @PathParam("poolId") String poolId, @PathParam("nodeId") String nodeId,
-            @PathParam("userName") String userName, @HeaderParam("Accept") String accept,
+            @PathParam("userName") String userName,
             @BodyParam("application/json; odata=minimalmetadata") BinaryData parameters, RequestOptions requestOptions,
             Context context);
 
@@ -1135,96 +1037,84 @@ Response getNodeSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> rebootNode(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/reboot")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response rebootNodeSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/start")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> startNode(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/start")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response startNodeSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/reimage")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> reimageNode(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/reimage")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response reimageNodeSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/deallocate")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deallocateNode(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/deallocate")
         @ExpectedResponses({ 202 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deallocateNodeSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/disablescheduling")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> disableNodeScheduling(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/disablescheduling")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response disableNodeSchedulingSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/enablescheduling")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> enableNodeScheduling(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Post("/pools/{poolId}/nodes/{nodeId}/enablescheduling")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response enableNodeSchedulingSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
+            @PathParam("nodeId") String nodeId, RequestOptions requestOptions, Context context);
 
         @Get("/pools/{poolId}/nodes/{nodeId}/remoteloginsettings")
         @ExpectedResponses({ 200 })
@@ -1313,16 +1203,16 @@ Response listNodeExtensionsSync(@HostParam("endpoint") String endpoi
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> deleteNodeFile(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Delete("/pools/{poolId}/nodes/{nodeId}/files/{filePath}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response deleteNodeFileSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Get("/pools/{poolId}/nodes/{nodeId}/files/{filePath}")
         @ExpectedResponses({ 200 })
@@ -1345,16 +1235,16 @@ Response getNodeFileSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Mono> getNodeFileProperties(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Head("/pools/{poolId}/nodes/{nodeId}/files/{filePath}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
         Response getNodeFilePropertiesSync(@HostParam("endpoint") String endpoint,
             @QueryParam("api-version") String apiVersion, @PathParam("poolId") String poolId,
-            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath,
-            @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
+            @PathParam("nodeId") String nodeId, @PathParam("filePath") String filePath, RequestOptions requestOptions,
+            Context context);
 
         @Get("/pools/{poolId}/nodes/{nodeId}/files")
         @ExpectedResponses({ 200 })
@@ -1484,20 +1374,6 @@ Response listJobPreparationAndReleaseTaskStatusNextSync(
             @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
             @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context);
 
-        @Get("{nextLink}")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Mono> listCertificatesNext(@PathParam(value = "nextLink", encoded = true) String nextLink,
-            @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
-
-        @Get("{nextLink}")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(BatchErrorException.class)
-        Response listCertificatesNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink,
-            @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions,
-            Context context);
-
         @Get("{nextLink}")
         @ExpectedResponses({ 200 })
         @UnexpectedResponseExceptionType(BatchErrorException.class)
@@ -1599,7 +1475,7 @@ Response listNodeFilesNextSync(@PathParam(value = "nextLink", encode
 
     /**
      * Lists all of the applications available in the specified Account.
-     *
+     * 
      * This operation returns only Applications and versions that are available for
      * use on Compute Nodes; that is, that can be used in an Package reference. For
      * administrator information about applications and versions that are not yet
@@ -1618,7 +1494,7 @@ Response listNodeFilesNextSync(@PathParam(value = "nextLink", encode
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

- * + * *
      * {@code
      * {
@@ -1630,7 +1506,7 @@ Response listNodeFilesNextSync(@PathParam(value = "nextLink", encode
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the applications available in an Account along with {@link PagedResponse} on @@ -1648,7 +1524,7 @@ private Mono> listApplicationsSinglePageAsync(RequestO /** * Lists all of the applications available in the specified Account. - * + * * This operation returns only Applications and versions that are available for * use on Compute Nodes; that is, that can be used in an Package reference. For * administrator information about applications and versions that are not yet @@ -1667,7 +1543,7 @@ private Mono> listApplicationsSinglePageAsync(RequestO * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -1679,7 +1555,7 @@ private Mono> listApplicationsSinglePageAsync(RequestO
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the applications available in an Account as paginated response with @@ -1716,7 +1592,7 @@ public PagedFlux listApplicationsAsync(RequestOptions requestOptions /** * Lists all of the applications available in the specified Account. - * + * * This operation returns only Applications and versions that are available for * use on Compute Nodes; that is, that can be used in an Package reference. For * administrator information about applications and versions that are not yet @@ -1735,7 +1611,7 @@ public PagedFlux listApplicationsAsync(RequestOptions requestOptions * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -1747,7 +1623,7 @@ public PagedFlux listApplicationsAsync(RequestOptions requestOptions
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the applications available in an Account along with {@link PagedResponse}. @@ -1763,7 +1639,7 @@ private PagedResponse listApplicationsSinglePage(RequestOptions requ /** * Lists all of the applications available in the specified Account. - * + * * This operation returns only Applications and versions that are available for * use on Compute Nodes; that is, that can be used in an Package reference. For * administrator information about applications and versions that are not yet @@ -1782,7 +1658,7 @@ private PagedResponse listApplicationsSinglePage(RequestOptions requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -1794,7 +1670,7 @@ private PagedResponse listApplicationsSinglePage(RequestOptions requ
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the applications available in an Account as paginated response with @@ -1831,7 +1707,7 @@ public PagedIterable listApplications(RequestOptions requestOptions) /** * Gets information about the specified Application. - * + * * This operation returns only Applications and versions that are available for * use on Compute Nodes; that is, that can be used in an Package reference. For * administrator information about Applications and versions that are not yet @@ -1847,7 +1723,7 @@ public PagedIterable listApplications(RequestOptions requestOptions) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -1859,12 +1735,12 @@ public PagedIterable listApplications(RequestOptions requestOptions)
      * }
      * }
      * 
- * + * * @param applicationId The ID of the Application. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return information about the specified Application. - * + * * This operation returns only Applications and versions that are available for * use on Compute Nodes; that is, that can be used in an Package reference along with {@link Response} on successful * completion of {@link Mono}. @@ -1879,7 +1755,7 @@ public Mono> getApplicationWithResponseAsync(String applica /** * Gets information about the specified Application. - * + * * This operation returns only Applications and versions that are available for * use on Compute Nodes; that is, that can be used in an Package reference. For * administrator information about Applications and versions that are not yet @@ -1895,7 +1771,7 @@ public Mono> getApplicationWithResponseAsync(String applica * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -1907,12 +1783,12 @@ public Mono> getApplicationWithResponseAsync(String applica
      * }
      * }
      * 
- * + * * @param applicationId The ID of the Application. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return information about the specified Application. - * + * * This operation returns only Applications and versions that are available for * use on Compute Nodes; that is, that can be used in an Package reference along with {@link Response}. */ @@ -1926,7 +1802,7 @@ public Response getApplicationWithResponse(String applicationId, Req /** * Lists the usage metrics, aggregated by Pool across individual time intervals, * for the specified Account. - * + * * If you do not specify a $filter clause including a poolId, the response * includes all Pools that existed in the Account in the time range of the * returned aggregation intervals. If you do not specify a $filter clause @@ -1957,7 +1833,7 @@ public Response getApplicationWithResponse(String applicationId, Req * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -1969,7 +1845,7 @@ public Response getApplicationWithResponse(String applicationId, Req
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of a listing the usage metrics for an Account along with {@link PagedResponse} on successful @@ -1988,7 +1864,7 @@ private Mono> listPoolUsageMetricsSinglePageAsync(Requ /** * Lists the usage metrics, aggregated by Pool across individual time intervals, * for the specified Account. - * + * * If you do not specify a $filter clause including a poolId, the response * includes all Pools that existed in the Account in the time range of the * returned aggregation intervals. If you do not specify a $filter clause @@ -2019,7 +1895,7 @@ private Mono> listPoolUsageMetricsSinglePageAsync(Requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2031,7 +1907,7 @@ private Mono> listPoolUsageMetricsSinglePageAsync(Requ
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of a listing the usage metrics for an Account as paginated response with {@link PagedFlux}. @@ -2068,7 +1944,7 @@ public PagedFlux listPoolUsageMetricsAsync(RequestOptions requestOpt /** * Lists the usage metrics, aggregated by Pool across individual time intervals, * for the specified Account. - * + * * If you do not specify a $filter clause including a poolId, the response * includes all Pools that existed in the Account in the time range of the * returned aggregation intervals. If you do not specify a $filter clause @@ -2099,7 +1975,7 @@ public PagedFlux listPoolUsageMetricsAsync(RequestOptions requestOpt * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2111,7 +1987,7 @@ public PagedFlux listPoolUsageMetricsAsync(RequestOptions requestOpt
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of a listing the usage metrics for an Account along with {@link PagedResponse}. @@ -2128,7 +2004,7 @@ private PagedResponse listPoolUsageMetricsSinglePage(RequestOptions /** * Lists the usage metrics, aggregated by Pool across individual time intervals, * for the specified Account. - * + * * If you do not specify a $filter clause including a poolId, the response * includes all Pools that existed in the Account in the time range of the * returned aggregation intervals. If you do not specify a $filter clause @@ -2159,7 +2035,7 @@ private PagedResponse listPoolUsageMetricsSinglePage(RequestOptions * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -2171,7 +2047,7 @@ private PagedResponse listPoolUsageMetricsSinglePage(RequestOptions
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of a listing the usage metrics for an Account as paginated response with @@ -2208,7 +2084,7 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti /** * Creates a Pool to the specified Account. - * + * * When naming Pools, avoid including sensitive information such as user names or * secret project names. This information may appear in telemetry logs accessible * to Microsoft Support engineers. @@ -2222,7 +2098,7 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2249,6 +2125,15 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -2270,6 +2155,13 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -2302,16 +2194,19 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -2323,9 +2218,6 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *         }
      *     }
      *     resizeTimeout: Duration (Optional)
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -2358,9 +2250,18 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -2405,18 +2306,7 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
-     *     applicationPackageReferences (Optional): [
+     *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
      *             version: String (Optional)
@@ -2424,6 +2314,7 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -2479,7 +2370,6 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      *             }
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -2501,7 +2391,7 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti
      * }
      * }
      * 
- * + * * @param pool The Pool to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -2510,14 +2400,13 @@ public PagedIterable listPoolUsageMetrics(RequestOptions requestOpti @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createPoolWithResponseAsync(BinaryData pool, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.createPool(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, accept, pool, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, pool, requestOptions, context)); } /** * Creates a Pool to the specified Account. - * + * * When naming Pools, avoid including sensitive information such as user names or * secret project names. This information may appear in telemetry logs accessible * to Microsoft Support engineers. @@ -2531,7 +2420,7 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -2558,6 +2447,15 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -2579,6 +2477,13 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -2611,16 +2516,19 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -2632,9 +2540,6 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *         }
      *     }
      *     resizeTimeout: Duration (Optional)
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -2667,9 +2572,18 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -2714,17 +2628,6 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -2733,6 +2636,7 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -2788,7 +2692,6 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      *             }
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -2810,7 +2713,7 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request
      * }
      * }
      * 
- * + * * @param pool The Pool to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -2819,13 +2722,12 @@ public Mono> createPoolWithResponseAsync(BinaryData pool, Request @ServiceMethod(returns = ReturnType.SINGLE) public Response createPoolWithResponse(BinaryData pool, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; - return service.createPoolSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, accept, - pool, requestOptions, Context.NONE); + return service.createPoolSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, pool, + requestOptions, Context.NONE); } /** - * Lists all of the Pools which be mounted. + * Lists all of the Pools in the specified Account. *

Query Parameters

* * @@ -2846,21 +2748,21 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req *
Query Parameters
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -2881,6 +2783,15 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -2902,6 +2813,13 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -2934,16 +2852,19 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -2967,11 +2888,8 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -3015,9 +2933,18 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -3062,17 +2989,6 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -3081,6 +2997,7 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -3171,8 +3088,6 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -3194,7 +3109,7 @@ public Response createPoolWithResponse(BinaryData pool, RequestOptions req
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Pools in an Account along with {@link PagedResponse} on successful completion @@ -3211,7 +3126,7 @@ private Mono> listPoolsSinglePageAsync(RequestOptions } /** - * Lists all of the Pools which be mounted. + * Lists all of the Pools in the specified Account. *

Query Parameters

* * @@ -3232,21 +3147,21 @@ private Mono> listPoolsSinglePageAsync(RequestOptions *
Query Parameters
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -3267,6 +3182,15 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -3288,6 +3212,13 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -3320,16 +3251,19 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -3353,11 +3287,8 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -3401,9 +3332,18 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -3448,17 +3388,6 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -3467,6 +3396,7 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -3557,8 +3487,6 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -3580,7 +3508,7 @@ private Mono> listPoolsSinglePageAsync(RequestOptions
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Pools in an Account as paginated response with {@link PagedFlux}. @@ -3615,7 +3543,7 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) { } /** - * Lists all of the Pools which be mounted. + * Lists all of the Pools in the specified Account. *

Query Parameters

* * @@ -3636,21 +3564,21 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) { *
Query Parameters
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -3671,6 +3599,15 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -3692,6 +3629,13 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -3724,16 +3668,19 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -3757,11 +3704,8 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -3805,9 +3749,18 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -3852,17 +3805,6 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -3871,6 +3813,7 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -3961,8 +3904,6 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -3984,7 +3925,7 @@ public PagedFlux listPoolsAsync(RequestOptions requestOptions) {
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Pools in an Account along with {@link PagedResponse}. @@ -3999,7 +3940,7 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti } /** - * Lists all of the Pools which be mounted. + * Lists all of the Pools in the specified Account. *

Query Parameters

* * @@ -4020,21 +3961,21 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti *
Query Parameters
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -4055,6 +3996,15 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -4076,6 +4026,13 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -4108,16 +4065,19 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -4141,11 +4101,8 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -4189,9 +4146,18 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -4236,17 +4202,6 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -4255,6 +4210,7 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -4345,8 +4301,6 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -4368,7 +4322,7 @@ private PagedResponse listPoolsSinglePage(RequestOptions requestOpti
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Pools in an Account as paginated response with {@link PagedIterable}. @@ -4404,7 +4358,7 @@ public PagedIterable listPools(RequestOptions requestOptions) { /** * Deletes a Pool from the specified Account. - * + * * When you request that a Pool be deleted, the following actions occur: the Pool * state is set to deleting; any ongoing resize operation on the Pool are stopped; * the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks @@ -4448,7 +4402,7 @@ public PagedIterable listPools(RequestOptions requestOptions) { * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -4456,14 +4410,13 @@ public PagedIterable listPools(RequestOptions requestOptions) { */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deletePoolWithResponseAsync(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.deletePool(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, requestOptions, context)); } /** * Deletes a Pool from the specified Account. - * + * * When you request that a Pool be deleted, the following actions occur: the Pool * state is set to deleting; any ongoing resize operation on the Pool are stopped; * the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks @@ -4507,7 +4460,7 @@ public Mono> deletePoolWithResponseAsync(String poolId, RequestOp * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -4515,9 +4468,8 @@ public Mono> deletePoolWithResponseAsync(String poolId, RequestOp */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deletePoolWithResponse(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.deletePoolSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, accept, - requestOptions, Context.NONE); + return service.deletePoolSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, requestOptions, + Context.NONE); } /** @@ -4554,13 +4506,13 @@ public Response deletePoolWithResponse(String poolId, RequestOptions reque * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * boolean
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -4568,9 +4520,8 @@ public Response deletePoolWithResponse(String poolId, RequestOptions reque */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> poolExistsWithResponseAsync(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.poolExists(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, requestOptions, context)); } /** @@ -4607,13 +4558,13 @@ public Mono> poolExistsWithResponseAsync(String poolId, Reques * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * boolean
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -4621,9 +4572,8 @@ public Mono> poolExistsWithResponseAsync(String poolId, Reques */ @ServiceMethod(returns = ReturnType.SINGLE) public Response poolExistsWithResponse(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.poolExistsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, accept, - requestOptions, Context.NONE); + return service.poolExistsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, requestOptions, + Context.NONE); } /** @@ -4664,21 +4614,21 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -4699,6 +4649,15 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -4720,6 +4679,13 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -4752,16 +4718,19 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -4785,11 +4754,8 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -4833,9 +4799,18 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -4880,17 +4855,6 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -4899,6 +4863,7 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -4989,8 +4954,6 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -5012,7 +4975,7 @@ public Response poolExistsWithResponse(String poolId, RequestOptions re
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -5064,21 +5027,21 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -5099,6 +5062,15 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -5120,6 +5092,13 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -5152,16 +5131,19 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -5185,11 +5167,8 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -5233,9 +5212,18 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -5280,17 +5268,6 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -5299,6 +5276,7 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -5389,8 +5367,6 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -5412,7 +5388,7 @@ public Mono> getPoolWithResponseAsync(String poolId, Reques
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -5427,7 +5403,7 @@ public Response getPoolWithResponse(String poolId, RequestOptions re /** * Updates the properties of the specified Pool. - * + * * This only replaces the Pool properties specified in the request. For example, * if the Pool has a StartTask associated with it, and a request does not specify * a StartTask element, then the Pool keeps the existing StartTask. @@ -5463,7 +5439,7 @@ public Response getPoolWithResponse(String poolId, RequestOptions re * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -5518,17 +5494,6 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -5561,6 +5526,15 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -5575,6 +5549,13 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -5607,16 +5588,19 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -5627,9 +5611,9 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *             id: String (Required)
      *         }
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     networkConfiguration (Optional): {
@@ -5658,15 +5642,21 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     userAccounts (Optional): [
      *          (Optional){
      *             name: String (Required)
@@ -5735,7 +5725,7 @@ public Response getPoolWithResponse(String poolId, RequestOptions re
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param pool The pool properties to update. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -5746,14 +5736,13 @@ public Response getPoolWithResponse(String poolId, RequestOptions re public Mono> updatePoolWithResponseAsync(String poolId, BinaryData pool, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.updatePool(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, poolId, accept, pool, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, poolId, pool, requestOptions, context)); } /** * Updates the properties of the specified Pool. - * + * * This only replaces the Pool properties specified in the request. For example, * if the Pool has a StartTask associated with it, and a request does not specify * a StartTask element, then the Pool keeps the existing StartTask. @@ -5789,7 +5778,7 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -5844,17 +5833,6 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -5887,6 +5865,15 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -5901,6 +5888,13 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -5933,16 +5927,19 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -5953,9 +5950,9 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat
      *             id: String (Required)
      *         }
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     networkConfiguration (Optional): {
@@ -5984,15 +5981,21 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
      *     userAccounts (Optional): [
      *          (Optional){
      *             name: String (Required)
@@ -6061,7 +6064,7 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param pool The pool properties to update. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6071,9 +6074,8 @@ public Mono> updatePoolWithResponseAsync(String poolId, BinaryDat @ServiceMethod(returns = ReturnType.SINGLE) public Response updatePoolWithResponse(String poolId, BinaryData pool, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.updatePoolSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, poolId, - accept, pool, requestOptions, Context.NONE); + pool, requestOptions, Context.NONE); } /** @@ -6087,7 +6089,7 @@ public Response updatePoolWithResponse(String poolId, BinaryData pool, Req * instead.". * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool on which to disable automatic scaling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -6095,9 +6097,8 @@ public Response updatePoolWithResponse(String poolId, BinaryData pool, Req */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> disablePoolAutoScaleWithResponseAsync(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.disablePoolAutoScale(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, requestOptions, context)); } /** @@ -6111,7 +6112,7 @@ public Mono> disablePoolAutoScaleWithResponseAsync(String poolId, * instead.". * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool on which to disable automatic scaling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -6119,14 +6120,13 @@ public Mono> disablePoolAutoScaleWithResponseAsync(String poolId, */ @ServiceMethod(returns = ReturnType.SINGLE) public Response disablePoolAutoScaleWithResponse(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.disablePoolAutoScaleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, - accept, requestOptions, Context.NONE); + requestOptions, Context.NONE); } /** * Enables automatic scaling for a Pool. - * + * * You cannot enable automatic scaling on a Pool if a resize operation is in * progress on the Pool. If automatic scaling of the Pool is currently disabled, * you must specify a valid autoscale formula as part of the request. If automatic @@ -6165,7 +6165,7 @@ public Response disablePoolAutoScaleWithResponse(String poolId, RequestOpt * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6174,7 +6174,7 @@ public Response disablePoolAutoScaleWithResponse(String poolId, RequestOpt
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param parameters The options to use for enabling automatic scaling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6185,14 +6185,13 @@ public Response disablePoolAutoScaleWithResponse(String poolId, RequestOpt public Mono> enablePoolAutoScaleWithResponseAsync(String poolId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.enablePoolAutoScale(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, poolId, accept, parameters, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, poolId, parameters, requestOptions, context)); } /** * Enables automatic scaling for a Pool. - * + * * You cannot enable automatic scaling on a Pool if a resize operation is in * progress on the Pool. If automatic scaling of the Pool is currently disabled, * you must specify a valid autoscale formula as part of the request. If automatic @@ -6231,7 +6230,7 @@ public Mono> enablePoolAutoScaleWithResponseAsync(String poolId, * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6240,7 +6239,7 @@ public Mono> enablePoolAutoScaleWithResponseAsync(String poolId,
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param parameters The options to use for enabling automatic scaling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6251,14 +6250,13 @@ public Mono> enablePoolAutoScaleWithResponseAsync(String poolId, public Response enablePoolAutoScaleWithResponse(String poolId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.enablePoolAutoScaleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - poolId, accept, parameters, requestOptions, Context.NONE); + poolId, parameters, requestOptions, Context.NONE); } /** * Gets the result of evaluating an automatic scaling formula on the Pool. - * + * * This API is primarily for validating an autoscale formula, as it simply returns * the result without applying the formula to the Pool. The Pool must have auto * scaling enabled in order to evaluate a formula. @@ -6272,7 +6270,7 @@ public Response enablePoolAutoScaleWithResponse(String poolId, BinaryData * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6280,9 +6278,9 @@ public Response enablePoolAutoScaleWithResponse(String poolId, BinaryData
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -6301,13 +6299,13 @@ public Response enablePoolAutoScaleWithResponse(String poolId, BinaryData
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool on which to evaluate the automatic scaling formula. * @param parameters The options to use for evaluating the automatic scaling formula. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of evaluating an automatic scaling formula on the Pool. - * + * * This API is primarily for validating an autoscale formula, as it simply returns * the result without applying the formula to the Pool along with {@link Response} on successful completion of * {@link Mono}. @@ -6323,7 +6321,7 @@ public Mono> evaluatePoolAutoScaleWithResponseAsync(String /** * Gets the result of evaluating an automatic scaling formula on the Pool. - * + * * This API is primarily for validating an autoscale formula, as it simply returns * the result without applying the formula to the Pool. The Pool must have auto * scaling enabled in order to evaluate a formula. @@ -6337,7 +6335,7 @@ public Mono> evaluatePoolAutoScaleWithResponseAsync(String * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6345,9 +6343,9 @@ public Mono> evaluatePoolAutoScaleWithResponseAsync(String
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -6366,13 +6364,13 @@ public Mono> evaluatePoolAutoScaleWithResponseAsync(String
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool on which to evaluate the automatic scaling formula. * @param parameters The options to use for evaluating the automatic scaling formula. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of evaluating an automatic scaling formula on the Pool. - * + * * This API is primarily for validating an autoscale formula, as it simply returns * the result without applying the formula to the Pool along with {@link Response}. */ @@ -6387,7 +6385,7 @@ public Response evaluatePoolAutoScaleWithResponse(String poolId, Bin /** * Changes the number of Compute Nodes that are assigned to a Pool. - * + * * You can only resize a Pool when its allocation state is steady. If the Pool is * already resizing, the request fails with status code 409. When you resize a * Pool, the Pool's allocation state changes from steady to resizing. You cannot @@ -6427,7 +6425,7 @@ public Response evaluatePoolAutoScaleWithResponse(String poolId, Bin * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6438,7 +6436,7 @@ public Response evaluatePoolAutoScaleWithResponse(String poolId, Bin
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param parameters The options to use for resizing the pool. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6449,14 +6447,13 @@ public Response evaluatePoolAutoScaleWithResponse(String poolId, Bin public Mono> resizePoolWithResponseAsync(String poolId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.resizePool(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, poolId, accept, parameters, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, poolId, parameters, requestOptions, context)); } /** * Changes the number of Compute Nodes that are assigned to a Pool. - * + * * You can only resize a Pool when its allocation state is steady. If the Pool is * already resizing, the request fails with status code 409. When you resize a * Pool, the Pool's allocation state changes from steady to resizing. You cannot @@ -6496,7 +6493,7 @@ public Mono> resizePoolWithResponseAsync(String poolId, BinaryDat * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6507,7 +6504,7 @@ public Mono> resizePoolWithResponseAsync(String poolId, BinaryDat
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param parameters The options to use for resizing the pool. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6517,14 +6514,13 @@ public Mono> resizePoolWithResponseAsync(String poolId, BinaryDat @ServiceMethod(returns = ReturnType.SINGLE) public Response resizePoolWithResponse(String poolId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.resizePoolSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, poolId, - accept, parameters, requestOptions, Context.NONE); + parameters, requestOptions, Context.NONE); } /** * Stops an ongoing resize operation on the Pool. - * + * * This does not restore the Pool to its previous state before the resize * operation: it only stops any further changes being made, and the Pool maintains * its current state. After stopping, the Pool stabilizes at the number of Compute @@ -6563,7 +6559,7 @@ public Response resizePoolWithResponse(String poolId, BinaryData parameter * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -6571,14 +6567,13 @@ public Response resizePoolWithResponse(String poolId, BinaryData parameter */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> stopPoolResizeWithResponseAsync(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.stopPoolResize(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, requestOptions, context)); } /** * Stops an ongoing resize operation on the Pool. - * + * * This does not restore the Pool to its previous state before the resize * operation: it only stops any further changes being made, and the Pool maintains * its current state. After stopping, the Pool stabilizes at the number of Compute @@ -6617,7 +6612,7 @@ public Mono> stopPoolResizeWithResponseAsync(String poolId, Reque * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param poolId The ID of the Pool to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -6625,14 +6620,13 @@ public Mono> stopPoolResizeWithResponseAsync(String poolId, Reque */ @ServiceMethod(returns = ReturnType.SINGLE) public Response stopPoolResizeWithResponse(String poolId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.stopPoolResizeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, accept, + return service.stopPoolResizeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, requestOptions, Context.NONE); } /** * Updates the properties of the specified Pool. - * + * * This fully replaces all the updatable properties of the Pool. For example, if * the Pool has a StartTask associated with it and if StartTask is not specified * with this request, then the Batch service will remove the existing StartTask. @@ -6646,7 +6640,7 @@ public Response stopPoolResizeWithResponse(String poolId, RequestOptions r * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6698,17 +6692,6 @@ public Response stopPoolResizeWithResponse(String poolId, RequestOptions r
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Required): [
-     *          (Required){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Required): [
      *          (Required){
      *             applicationId: String (Required)
@@ -6721,11 +6704,10 @@ public Response stopPoolResizeWithResponse(String poolId, RequestOptions r
      *             value: String (Required)
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to update. * @param pool The options to use for replacing properties on the pool. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6736,14 +6718,13 @@ public Response stopPoolResizeWithResponse(String poolId, RequestOptions r public Mono> replacePoolPropertiesWithResponseAsync(String poolId, BinaryData pool, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.replacePoolProperties(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, poolId, accept, pool, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, poolId, pool, requestOptions, context)); } /** * Updates the properties of the specified Pool. - * + * * This fully replaces all the updatable properties of the Pool. For example, if * the Pool has a StartTask associated with it and if StartTask is not specified * with this request, then the Batch service will remove the existing StartTask. @@ -6757,7 +6738,7 @@ public Mono> replacePoolPropertiesWithResponseAsync(String poolId * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6809,17 +6790,6 @@ public Mono> replacePoolPropertiesWithResponseAsync(String poolId
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Required): [
-     *          (Required){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Required): [
      *          (Required){
      *             applicationId: String (Required)
@@ -6832,11 +6802,10 @@ public Mono> replacePoolPropertiesWithResponseAsync(String poolId
      *             value: String (Required)
      *         }
      *     ]
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to update. * @param pool The options to use for replacing properties on the pool. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6847,14 +6816,13 @@ public Mono> replacePoolPropertiesWithResponseAsync(String poolId public Response replacePoolPropertiesWithResponse(String poolId, BinaryData pool, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.replacePoolPropertiesSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - poolId, accept, pool, requestOptions, Context.NONE); + poolId, pool, requestOptions, Context.NONE); } /** * Removes Compute Nodes from the specified Pool. - * + * * This operation can only run when the allocation state of the Pool is steady. * When this operation runs, the allocation state changes from steady to resizing. * Each request may remove up to 100 nodes. @@ -6890,7 +6858,7 @@ public Response replacePoolPropertiesWithResponse(String poolId, BinaryDat * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6902,7 +6870,7 @@ public Response replacePoolPropertiesWithResponse(String poolId, BinaryDat
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param parameters The options to use for removing the node. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6913,14 +6881,13 @@ public Response replacePoolPropertiesWithResponse(String poolId, BinaryDat public Mono> removeNodesWithResponseAsync(String poolId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.removeNodes(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, poolId, accept, parameters, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, poolId, parameters, requestOptions, context)); } /** * Removes Compute Nodes from the specified Pool. - * + * * This operation can only run when the allocation state of the Pool is steady. * When this operation runs, the allocation state changes from steady to resizing. * Each request may remove up to 100 nodes. @@ -6956,7 +6923,7 @@ public Mono> removeNodesWithResponseAsync(String poolId, BinaryDa * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -6968,7 +6935,7 @@ public Mono> removeNodesWithResponseAsync(String poolId, BinaryDa
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool to get. * @param parameters The options to use for removing the node. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -6978,9 +6945,8 @@ public Mono> removeNodesWithResponseAsync(String poolId, BinaryDa @ServiceMethod(returns = ReturnType.SINGLE) public Response removeNodesWithResponse(String poolId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.removeNodesSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, poolId, - accept, parameters, requestOptions, Context.NONE); + parameters, requestOptions, Context.NONE); } /** @@ -7001,7 +6967,7 @@ public Response removeNodesWithResponse(String poolId, BinaryData paramete * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7025,7 +6991,7 @@ public Response removeNodesWithResponse(String poolId, BinaryData paramete
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the supported Virtual Machine Images along with {@link PagedResponse} on successful @@ -7059,7 +7025,7 @@ private Mono> listSupportedImagesSinglePageAsync(Reque * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7083,7 +7049,7 @@ private Mono> listSupportedImagesSinglePageAsync(Reque
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the supported Virtual Machine Images as paginated response with {@link PagedFlux}. @@ -7135,7 +7101,7 @@ public PagedFlux listSupportedImagesAsync(RequestOptions requestOpti * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7159,7 +7125,7 @@ public PagedFlux listSupportedImagesAsync(RequestOptions requestOpti
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the supported Virtual Machine Images along with {@link PagedResponse}. @@ -7191,7 +7157,7 @@ private PagedResponse listSupportedImagesSinglePage(RequestOptions r * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7215,7 +7181,7 @@ private PagedResponse listSupportedImagesSinglePage(RequestOptions r
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the supported Virtual Machine Images as paginated response with @@ -7270,7 +7236,7 @@ public PagedIterable listSupportedImages(RequestOptions requestOptio * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7298,7 +7264,7 @@ public PagedIterable listSupportedImages(RequestOptions requestOptio
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the number of Compute Nodes in each state, grouped by Pool along with {@link PagedResponse} on successful @@ -7334,7 +7300,7 @@ private Mono> listPoolNodeCountsSinglePageAsync(Reques * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7362,7 +7328,7 @@ private Mono> listPoolNodeCountsSinglePageAsync(Reques
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the number of Compute Nodes in each state, grouped by Pool as paginated response with {@link PagedFlux}. @@ -7416,7 +7382,7 @@ public PagedFlux listPoolNodeCountsAsync(RequestOptions requestOptio * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7444,7 +7410,7 @@ public PagedFlux listPoolNodeCountsAsync(RequestOptions requestOptio
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the number of Compute Nodes in each state, grouped by Pool along with {@link PagedResponse}. @@ -7478,7 +7444,7 @@ private PagedResponse listPoolNodeCountsSinglePage(RequestOptions re * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -7506,7 +7472,7 @@ private PagedResponse listPoolNodeCountsSinglePage(RequestOptions re
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the number of Compute Nodes in each state, grouped by Pool as paginated response with @@ -7543,7 +7509,7 @@ public PagedIterable listPoolNodeCounts(RequestOptions requestOption /** * Deletes a Job. - * + * * Deleting a Job also deletes all Tasks that are part of that Job, and all Job * statistics. This also overrides the retention period for Task data; that is, if * the Job contains Tasks which are still retained on Compute Nodes, the Batch @@ -7585,7 +7551,7 @@ public PagedIterable listPoolNodeCounts(RequestOptions requestOption * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -7593,14 +7559,13 @@ public PagedIterable listPoolNodeCounts(RequestOptions requestOption */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.deleteJob(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobId, requestOptions, context)); } /** * Deletes a Job. - * + * * Deleting a Job also deletes all Tasks that are part of that Job, and all Job * statistics. This also overrides the retention period for Task data; that is, if * the Job contains Tasks which are still retained on Compute Nodes, the Batch @@ -7642,7 +7607,7 @@ public Mono> deleteJobWithResponseAsync(String jobId, RequestOpti * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -7650,9 +7615,8 @@ public Mono> deleteJobWithResponseAsync(String jobId, RequestOpti */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.deleteJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, accept, - requestOptions, Context.NONE); + return service.deleteJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, requestOptions, + Context.NONE); } /** @@ -7693,19 +7657,19 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -7865,6 +7829,15 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -7879,6 +7852,13 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -7911,16 +7891,19 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -7933,10 +7916,10 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -7969,9 +7952,18 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -7988,17 +7980,6 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -8055,7 +8036,6 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -8122,7 +8102,7 @@ public Response deleteJobWithResponse(String jobId, RequestOptions request
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -8173,19 +8153,19 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -8345,6 +8325,15 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -8359,6 +8348,13 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -8391,16 +8387,19 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -8413,10 +8412,10 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -8449,9 +8448,18 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -8468,17 +8476,6 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -8535,7 +8532,6 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -8602,7 +8598,7 @@ public Mono> getJobWithResponseAsync(String jobId, RequestO
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -8617,7 +8613,7 @@ public Response getJobWithResponse(String jobId, RequestOptions requ /** * Updates the properties of the specified Job. - * + * * This replaces only the Job properties specified in the request. For example, if * the Job has constraints, and a request does not specify the constraints * element, then the Job keeps the existing constraints. @@ -8653,7 +8649,7 @@ public Response getJobWithResponse(String jobId, RequestOptions requ * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -8693,6 +8689,15 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -8714,6 +8719,13 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -8746,16 +8758,19 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -8768,10 +8783,10 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -8804,9 +8819,18 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -8851,17 +8875,6 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                      (Optional){
      *                         applicationId: String (Required)
@@ -8921,7 +8934,6 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -8954,7 +8966,7 @@ public Response getJobWithResponse(String jobId, RequestOptions requ
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job whose properties you want to update. * @param job The options to use for updating the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -8965,14 +8977,13 @@ public Response getJobWithResponse(String jobId, RequestOptions requ public Mono> updateJobWithResponseAsync(String jobId, BinaryData job, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.updateJob(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, jobId, accept, job, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, jobId, job, requestOptions, context)); } /** * Updates the properties of the specified Job. - * + * * This replaces only the Job properties specified in the request. For example, if * the Job has constraints, and a request does not specify the constraints * element, then the Job keeps the existing constraints. @@ -9008,7 +9019,7 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -9048,6 +9059,15 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -9069,6 +9089,13 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -9101,16 +9128,19 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -9123,10 +9153,10 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -9159,9 +9189,18 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -9206,17 +9245,6 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                      (Optional){
      *                         applicationId: String (Required)
@@ -9276,7 +9304,6 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -9309,7 +9336,7 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job whose properties you want to update. * @param job The options to use for updating the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -9319,14 +9346,13 @@ public Mono> updateJobWithResponseAsync(String jobId, BinaryData @ServiceMethod(returns = ReturnType.SINGLE) public Response updateJobWithResponse(String jobId, BinaryData job, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; - return service.updateJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, jobId, - accept, job, requestOptions, Context.NONE); + return service.updateJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, jobId, job, + requestOptions, Context.NONE); } /** * Updates the properties of the specified Job. - * + * * This fully replaces all the updatable properties of the Job. For example, if * the Job has constraints associated with it and if constraints is not specified * with this request, then the Batch service will remove the existing constraints. @@ -9362,19 +9388,19 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -9534,6 +9560,15 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -9548,6 +9583,13 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -9580,16 +9622,19 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -9602,10 +9647,10 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -9638,9 +9683,18 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -9657,17 +9711,6 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -9724,7 +9767,6 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -9791,7 +9833,7 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job whose properties you want to update. * @param job A job with updated properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -9802,14 +9844,13 @@ public Response updateJobWithResponse(String jobId, BinaryData job, Reques public Mono> replaceJobWithResponseAsync(String jobId, BinaryData job, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.replaceJob(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, jobId, accept, job, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, jobId, job, requestOptions, context)); } /** * Updates the properties of the specified Job. - * + * * This fully replaces all the updatable properties of the Job. For example, if * the Job has constraints associated with it and if constraints is not specified * with this request, then the Batch service will remove the existing constraints. @@ -9845,19 +9886,19 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -10017,6 +10058,15 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -10031,6 +10081,13 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -10063,16 +10120,19 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -10085,10 +10145,10 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -10121,9 +10181,18 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -10140,17 +10209,6 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -10207,7 +10265,6 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -10274,7 +10331,7 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job whose properties you want to update. * @param job A job with updated properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -10284,14 +10341,13 @@ public Mono> replaceJobWithResponseAsync(String jobId, BinaryData @ServiceMethod(returns = ReturnType.SINGLE) public Response replaceJobWithResponse(String jobId, BinaryData job, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.replaceJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, jobId, - accept, job, requestOptions, Context.NONE); + job, requestOptions, Context.NONE); } /** * Disables the specified Job, preventing new Tasks from running. - * + * * The Batch Service immediately moves the Job to the disabling state. Batch then * uses the disableTasks parameter to determine what to do with the currently * running Tasks of the Job. The Job remains in the disabling state until the @@ -10332,7 +10388,7 @@ public Response replaceJobWithResponse(String jobId, BinaryData job, Reque * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10340,7 +10396,7 @@ public Response replaceJobWithResponse(String jobId, BinaryData job, Reque
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to disable. * @param parameters The options to use for disabling the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -10351,14 +10407,13 @@ public Response replaceJobWithResponse(String jobId, BinaryData job, Reque public Mono> disableJobWithResponseAsync(String jobId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.disableJob(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, jobId, accept, parameters, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, jobId, parameters, requestOptions, context)); } /** * Disables the specified Job, preventing new Tasks from running. - * + * * The Batch Service immediately moves the Job to the disabling state. Batch then * uses the disableTasks parameter to determine what to do with the currently * running Tasks of the Job. The Job remains in the disabling state until the @@ -10399,7 +10454,7 @@ public Mono> disableJobWithResponseAsync(String jobId, BinaryData * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10407,7 +10462,7 @@ public Mono> disableJobWithResponseAsync(String jobId, BinaryData
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to disable. * @param parameters The options to use for disabling the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -10417,14 +10472,13 @@ public Mono> disableJobWithResponseAsync(String jobId, BinaryData @ServiceMethod(returns = ReturnType.SINGLE) public Response disableJobWithResponse(String jobId, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.disableJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, jobId, - accept, parameters, requestOptions, Context.NONE); + parameters, requestOptions, Context.NONE); } /** * Enables the specified Job, allowing new Tasks to run. - * + * * When you call this API, the Batch service sets a disabled Job to the enabling * state. After the this operation is completed, the Job moves to the active * state, and scheduling of new Tasks under the Job resumes. The Batch service @@ -10462,7 +10516,7 @@ public Response disableJobWithResponse(String jobId, BinaryData parameters * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job to enable. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -10470,14 +10524,13 @@ public Response disableJobWithResponse(String jobId, BinaryData parameters */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> enableJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.enableJob(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobId, requestOptions, context)); } /** * Enables the specified Job, allowing new Tasks to run. - * + * * When you call this API, the Batch service sets a disabled Job to the enabling * state. After the this operation is completed, the Job moves to the active * state, and scheduling of new Tasks under the Job resumes. The Batch service @@ -10515,7 +10568,7 @@ public Mono> enableJobWithResponseAsync(String jobId, RequestOpti * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job to enable. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -10523,14 +10576,13 @@ public Mono> enableJobWithResponseAsync(String jobId, RequestOpti */ @ServiceMethod(returns = ReturnType.SINGLE) public Response enableJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.enableJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, accept, - requestOptions, Context.NONE); + return service.enableJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, requestOptions, + Context.NONE); } /** * Terminates the specified Job, marking it as completed. - * + * * When a Terminate Job request is received, the Batch service sets the Job to the * terminating state. The Batch service then terminates any running Tasks * associated with the Job and runs any required Job release Tasks. Then the Job @@ -10573,7 +10625,7 @@ public Response enableJobWithResponse(String jobId, RequestOptions request * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10581,7 +10633,7 @@ public Response enableJobWithResponse(String jobId, RequestOptions request
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to terminate. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -10589,7 +10641,6 @@ public Response enableJobWithResponse(String jobId, RequestOptions request */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> terminateJobWithResponseAsync(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -10597,12 +10648,12 @@ public Mono> terminateJobWithResponseAsync(String jobId, RequestO } }); return FluxUtil.withContext(context -> service.terminateJob(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, accept, requestOptionsLocal, context)); + this.getServiceVersion().getVersion(), jobId, requestOptionsLocal, context)); } /** * Terminates the specified Job, marking it as completed. - * + * * When a Terminate Job request is received, the Batch service sets the Job to the * terminating state. The Batch service then terminates any running Tasks * associated with the Job and runs any required Job release Tasks. Then the Job @@ -10645,7 +10696,7 @@ public Mono> terminateJobWithResponseAsync(String jobId, RequestO * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10653,7 +10704,7 @@ public Mono> terminateJobWithResponseAsync(String jobId, RequestO
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to terminate. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -10661,20 +10712,19 @@ public Mono> terminateJobWithResponseAsync(String jobId, RequestO */ @ServiceMethod(returns = ReturnType.SINGLE) public Response terminateJobWithResponse(String jobId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { requestLocal.getHeaders().set(HttpHeaderName.CONTENT_TYPE, "application/json; odata=minimalmetadata"); } }); - return service.terminateJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, accept, + return service.terminateJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, requestOptionsLocal, Context.NONE); } /** * Creates a Job to the specified Account. - * + * * The Batch service supports two ways to control the work done as part of a Job. * In the first approach, the user specifies a Job Manager Task. The Batch service * launches this Task when it is ready to start the Job. The Job Manager Task @@ -10694,7 +10744,7 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -10858,6 +10908,15 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -10872,6 +10931,13 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -10904,16 +10970,19 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -10926,10 +10995,10 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -10962,9 +11031,18 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -10981,17 +11059,6 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -11048,7 +11115,6 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -11082,7 +11148,7 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ
      * }
      * }
      * 
- * + * * @param job The Job to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -11091,14 +11157,13 @@ public Response terminateJobWithResponse(String jobId, RequestOptions requ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createJobWithResponseAsync(BinaryData job, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.createJob(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, accept, job, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, job, requestOptions, context)); } /** * Creates a Job to the specified Account. - * + * * The Batch service supports two ways to control the work done as part of a Job. * In the first approach, the user specifies a Job Manager Task. The Batch service * launches this Task when it is ready to start the Job. The Job Manager Task @@ -11118,7 +11183,7 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -11282,6 +11347,15 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -11296,6 +11370,13 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -11328,16 +11409,19 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -11350,10 +11434,10 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -11386,9 +11470,18 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -11405,17 +11498,6 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -11472,7 +11554,6 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -11506,7 +11587,7 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp
      * }
      * }
      * 
- * + * * @param job The Job to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -11515,9 +11596,8 @@ public Mono> createJobWithResponseAsync(BinaryData job, RequestOp @ServiceMethod(returns = ReturnType.SINGLE) public Response createJobWithResponse(BinaryData job, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; - return service.createJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, accept, - job, requestOptions, Context.NONE); + return service.createJobSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, job, + requestOptions, Context.NONE); } /** @@ -11542,19 +11622,19 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -11714,6 +11794,15 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -11728,6 +11817,13 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -11760,16 +11856,19 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -11782,10 +11881,10 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -11818,9 +11917,18 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -11837,17 +11945,6 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -11904,7 +12001,6 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -11971,7 +12067,7 @@ public Response createJobWithResponse(BinaryData job, RequestOptions reque
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Jobs in an Account along with {@link PagedResponse} on successful completion of @@ -12009,19 +12105,19 @@ private Mono> listJobsSinglePageAsync(RequestOptions r * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -12181,6 +12277,15 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -12195,6 +12300,13 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -12227,16 +12339,19 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -12249,10 +12364,10 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -12285,9 +12400,18 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -12304,17 +12428,6 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -12371,7 +12484,6 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -12438,7 +12550,7 @@ private Mono> listJobsSinglePageAsync(RequestOptions r
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Jobs in an Account as paginated response with {@link PagedFlux}. @@ -12494,19 +12606,19 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) { * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -12666,6 +12778,15 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -12680,6 +12801,13 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -12712,16 +12840,19 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -12734,10 +12865,10 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -12770,9 +12901,18 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -12789,17 +12929,6 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -12856,7 +12985,6 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -12923,7 +13051,7 @@ public PagedFlux listJobsAsync(RequestOptions requestOptions) {
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Jobs in an Account along with {@link PagedResponse}. @@ -12959,19 +13087,19 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -13131,6 +13259,15 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -13145,6 +13282,13 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -13177,16 +13321,19 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -13199,10 +13346,10 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -13235,9 +13382,18 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -13254,17 +13410,6 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -13321,7 +13466,6 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -13388,7 +13532,7 @@ private PagedResponse listJobsSinglePage(RequestOptions requestOptio
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Jobs in an Account as paginated response with {@link PagedIterable}. @@ -13444,19 +13588,19 @@ public PagedIterable listJobs(RequestOptions requestOptions) { * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -13616,6 +13760,15 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -13630,6 +13783,13 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -13662,16 +13822,19 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -13684,10 +13847,10 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -13720,9 +13883,18 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -13739,17 +13911,6 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -13806,7 +13967,6 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -13873,7 +14033,7 @@ public PagedIterable listJobs(RequestOptions requestOptions) {
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule from which you want to get a list of Jobs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -13913,19 +14073,19 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -14085,6 +14245,15 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -14099,6 +14268,13 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -14131,16 +14307,19 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -14153,10 +14332,10 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -14189,9 +14368,18 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -14208,17 +14396,6 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -14275,7 +14452,6 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -14342,7 +14518,7 @@ private Mono> listJobsFromScheduleSinglePageAsync(Stri
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule from which you want to get a list of Jobs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -14399,19 +14575,19 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -14571,6 +14747,15 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -14585,6 +14770,13 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -14617,16 +14809,19 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -14639,10 +14834,10 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -14675,9 +14870,18 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -14694,17 +14898,6 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -14761,7 +14954,6 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -14828,7 +15020,7 @@ public PagedFlux listJobsFromScheduleAsync(String jobScheduleId, Req
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule from which you want to get a list of Jobs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -14866,19 +15058,19 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -15038,6 +15230,15 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -15052,6 +15253,13 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -15084,16 +15292,19 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -15106,10 +15317,10 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -15142,9 +15353,18 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -15161,17 +15381,6 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -15228,7 +15437,6 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -15295,7 +15503,7 @@ private PagedResponse listJobsFromScheduleSinglePage(String jobSched
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule from which you want to get a list of Jobs. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -15333,7 +15541,7 @@ public PagedIterable listJobsFromSchedule(String jobScheduleId, Requ /** * Lists the execution status of the Job Preparation and Job Release Task for the * specified Job across the Compute Nodes where the Job has run. - * + * * This API returns the Job Preparation and Job Release Task status on all Compute * Nodes that have run the Job Preparation or Job Release Task. This includes * Compute Nodes which have since been removed from the Pool. If this API is @@ -15358,7 +15566,7 @@ public PagedIterable listJobsFromSchedule(String jobScheduleId, Requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -15406,7 +15614,7 @@ public PagedIterable listJobsFromSchedule(String jobScheduleId, Requ
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -15427,7 +15635,7 @@ private Mono> listJobPreparationAndReleaseTaskStatusSi /** * Lists the execution status of the Job Preparation and Job Release Task for the * specified Job across the Compute Nodes where the Job has run. - * + * * This API returns the Job Preparation and Job Release Task status on all Compute * Nodes that have run the Job Preparation or Job Release Task. This includes * Compute Nodes which have since been removed from the Pool. If this API is @@ -15452,7 +15660,7 @@ private Mono> listJobPreparationAndReleaseTaskStatusSi * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -15500,7 +15708,7 @@ private Mono> listJobPreparationAndReleaseTaskStatusSi
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -15540,7 +15748,7 @@ public PagedFlux listJobPreparationAndReleaseTaskStatusAsync(String /** * Lists the execution status of the Job Preparation and Job Release Task for the * specified Job across the Compute Nodes where the Job has run. - * + * * This API returns the Job Preparation and Job Release Task status on all Compute * Nodes that have run the Job Preparation or Job Release Task. This includes * Compute Nodes which have since been removed from the Pool. If this API is @@ -15565,7 +15773,7 @@ public PagedFlux listJobPreparationAndReleaseTaskStatusAsync(String * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -15613,7 +15821,7 @@ public PagedFlux listJobPreparationAndReleaseTaskStatusAsync(String
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -15633,7 +15841,7 @@ private PagedResponse listJobPreparationAndReleaseTaskStatusSinglePa /** * Lists the execution status of the Job Preparation and Job Release Task for the * specified Job across the Compute Nodes where the Job has run. - * + * * This API returns the Job Preparation and Job Release Task status on all Compute * Nodes that have run the Job Preparation or Job Release Task. This includes * Compute Nodes which have since been removed from the Pool. If this API is @@ -15658,7 +15866,7 @@ private PagedResponse listJobPreparationAndReleaseTaskStatusSinglePa * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -15706,7 +15914,7 @@ private PagedResponse listJobPreparationAndReleaseTaskStatusSinglePa
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -15745,7 +15953,7 @@ public PagedIterable listJobPreparationAndReleaseTaskStatus(String j /** * Gets the Task counts for the specified Job. - * + * * Task counts provide a count of the Tasks by active, running or completed Task * state, and a count of Tasks which succeeded or failed. Tasks in the preparing * state are counted as running. Note that the numbers returned may not always be @@ -15760,7 +15968,7 @@ public PagedIterable listJobPreparationAndReleaseTaskStatus(String j * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -15781,12 +15989,12 @@ public PagedIterable listJobPreparationAndReleaseTaskStatus(String j
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the Task counts for the specified Job. - * + * * Task counts provide a count of the Tasks by active, running or completed Task * state, and a count of Tasks which succeeded or failed along with {@link Response} on successful completion of * {@link Mono}. @@ -15800,7 +16008,7 @@ public Mono> getJobTaskCountsWithResponseAsync(String jobId /** * Gets the Task counts for the specified Job. - * + * * Task counts provide a count of the Tasks by active, running or completed Task * state, and a count of Tasks which succeeded or failed. Tasks in the preparing * state are counted as running. Note that the numbers returned may not always be @@ -15815,7 +16023,7 @@ public Mono> getJobTaskCountsWithResponseAsync(String jobId * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -15836,12 +16044,12 @@ public Mono> getJobTaskCountsWithResponseAsync(String jobId
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the Task counts for the specified Job. - * + * * Task counts provide a count of the Tasks by active, running or completed Task * state, and a count of Tasks which succeeded or failed along with {@link Response}. */ @@ -15852,660 +16060,6 @@ public Response getJobTaskCountsWithResponse(String jobId, RequestOp requestOptions, Context.NONE); } - /** - * Creates a Certificate to the specified Account. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param certificate The Certificate to be created. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createCertificateWithResponseAsync(BinaryData certificate, - RequestOptions requestOptions) { - final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createCertificate(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, accept, certificate, requestOptions, context)); - } - - /** - * Creates a Certificate to the specified Account. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param certificate The Certificate to be created. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createCertificateWithResponse(BinaryData certificate, RequestOptions requestOptions) { - final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; - return service.createCertificateSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - accept, certificate, requestOptions, Context.NONE); - } - - /** - * Lists all of the Certificates that have been added to the specified Account. - *

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
maxresultsIntegerNoThe maximum number of items to return in the response. A - * maximum of 1000 - * applications can be returned.
$filterStringNoAn OData $filter clause. For more information on constructing - * this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCertificatesSinglePageAsync(RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listCertificates(this.getEndpoint(), this.getServiceVersion().getVersion(), - accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "odata.nextLink"), null)); - } - - /** - * Lists all of the Certificates that have been added to the specified Account. - *

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
maxresultsIntegerNoThe maximum number of items to return in the response. A - * maximum of 1000 - * applications can be returned.
$filterStringNoAn OData $filter clause. For more information on constructing - * this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCertificatesAsync(RequestOptions requestOptions) { - RequestOptions requestOptionsForNextPage = new RequestOptions(); - requestOptionsForNextPage.setContext( - requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); - return new PagedFlux<>((pageSize) -> { - RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; - if (pageSize != null) { - requestOptionsLocal.addRequestCallback(requestLocal -> { - UrlBuilder urlBuilder = UrlBuilder.parse(requestLocal.getUrl()); - urlBuilder.setQueryParameter("maxresults", String.valueOf(pageSize)); - requestLocal.setUrl(urlBuilder.toString()); - }); - } - return listCertificatesSinglePageAsync(requestOptionsLocal); - }, (nextLink, pageSize) -> { - RequestOptions requestOptionsLocal = new RequestOptions(); - requestOptionsLocal.setContext(requestOptionsForNextPage.getContext()); - if (pageSize != null) { - requestOptionsLocal.addRequestCallback(requestLocal -> { - UrlBuilder urlBuilder = UrlBuilder.parse(requestLocal.getUrl()); - urlBuilder.setQueryParameter("maxresults", String.valueOf(pageSize)); - requestLocal.setUrl(urlBuilder.toString()); - }); - } - return listCertificatesNextSinglePageAsync(nextLink, requestOptionsLocal); - }); - } - - /** - * Lists all of the Certificates that have been added to the specified Account. - *

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
maxresultsIntegerNoThe maximum number of items to return in the response. A - * maximum of 1000 - * applications can be returned.
$filterStringNoAn OData $filter clause. For more information on constructing - * this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listCertificatesSinglePage(RequestOptions requestOptions) { - final String accept = "application/json"; - Response res = service.listCertificatesSync(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "odata.nextLink"), null); - } - - /** - * Lists all of the Certificates that have been added to the specified Account. - *

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
maxresultsIntegerNoThe maximum number of items to return in the response. A - * maximum of 1000 - * applications can be returned.
$filterStringNoAn OData $filter clause. For more information on constructing - * this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCertificates(RequestOptions requestOptions) { - RequestOptions requestOptionsForNextPage = new RequestOptions(); - requestOptionsForNextPage.setContext( - requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); - return new PagedIterable<>((pageSize) -> { - RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; - if (pageSize != null) { - requestOptionsLocal.addRequestCallback(requestLocal -> { - UrlBuilder urlBuilder = UrlBuilder.parse(requestLocal.getUrl()); - urlBuilder.setQueryParameter("maxresults", String.valueOf(pageSize)); - requestLocal.setUrl(urlBuilder.toString()); - }); - } - return listCertificatesSinglePage(requestOptionsLocal); - }, (nextLink, pageSize) -> { - RequestOptions requestOptionsLocal = new RequestOptions(); - requestOptionsLocal.setContext(requestOptionsForNextPage.getContext()); - if (pageSize != null) { - requestOptionsLocal.addRequestCallback(requestLocal -> { - UrlBuilder urlBuilder = UrlBuilder.parse(requestLocal.getUrl()); - urlBuilder.setQueryParameter("maxresults", String.valueOf(pageSize)); - requestLocal.setUrl(urlBuilder.toString()); - }); - } - return listCertificatesNextSinglePage(nextLink, requestOptionsLocal); - }); - } - - /** - * Cancels a failed deletion of a Certificate from the specified Account. - * - * If you try to delete a Certificate that is being used by a Pool or Compute - * Node, the status of the Certificate changes to deleteFailed. If you decide that - * you want to continue using the Certificate, you can use this operation to set - * the status of the Certificate back to active. If you intend to delete the - * Certificate, you do not need to run this operation after the deletion failed. - * You must make sure that the Certificate is not being used by any resources, and - * then you can try again to delete the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate being deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelCertificateDeletionWithResponseAsync(String thumbprintAlgorithm, - String thumbprint, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.cancelCertificateDeletion(this.getEndpoint(), - this.getServiceVersion().getVersion(), thumbprintAlgorithm, thumbprint, accept, requestOptions, context)); - } - - /** - * Cancels a failed deletion of a Certificate from the specified Account. - * - * If you try to delete a Certificate that is being used by a Pool or Compute - * Node, the status of the Certificate changes to deleteFailed. If you decide that - * you want to continue using the Certificate, you can use this operation to set - * the status of the Certificate back to active. If you intend to delete the - * Certificate, you do not need to run this operation after the deletion failed. - * You must make sure that the Certificate is not being used by any resources, and - * then you can try again to delete the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate being deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelCertificateDeletionWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.cancelCertificateDeletionSync(this.getEndpoint(), this.getServiceVersion().getVersion(), - thumbprintAlgorithm, thumbprint, accept, requestOptions, Context.NONE); - } - - /** - * Deletes a Certificate from the specified Account. - * - * You cannot delete a Certificate if a resource (Pool or Compute Node) is using - * it. Before you can delete a Certificate, you must therefore make sure that the - * Certificate is not associated with any existing Pools, the Certificate is not - * installed on any Nodes (even if you remove a Certificate from a Pool, it is not - * removed from existing Compute Nodes in that Pool until they restart), and no - * running Tasks depend on the Certificate. If you try to delete a Certificate - * that is in use, the deletion fails. The Certificate status changes to - * deleteFailed. You can use Cancel Delete Certificate to set the status back to - * active if you decide that you want to continue using the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to be deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteCertificateWithResponseAsync(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.deleteCertificate(this.getEndpoint(), - this.getServiceVersion().getVersion(), thumbprintAlgorithm, thumbprint, accept, requestOptions, context)); - } - - /** - * Deletes a Certificate from the specified Account. - * - * You cannot delete a Certificate if a resource (Pool or Compute Node) is using - * it. Before you can delete a Certificate, you must therefore make sure that the - * Certificate is not associated with any existing Pools, the Certificate is not - * installed on any Nodes (even if you remove a Certificate from a Pool, it is not - * removed from existing Compute Nodes in that Pool until they restart), and no - * running Tasks depend on the Certificate. If you try to delete a Certificate - * that is in use, the deletion fails. The Certificate status changes to - * deleteFailed. You can use Cancel Delete Certificate to set the status back to - * active if you decide that you want to continue using the Certificate. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to be deleted. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteCertificateWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.deleteCertificateSync(this.getEndpoint(), this.getServiceVersion().getVersion(), - thumbprintAlgorithm, thumbprint, accept, requestOptions, Context.NONE); - } - - /** - * Gets information about the specified Certificate. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to get. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return information about the specified Certificate along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getCertificateWithResponseAsync(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getCertificate(this.getEndpoint(), - this.getServiceVersion().getVersion(), thumbprintAlgorithm, thumbprint, accept, requestOptions, context)); - } - - /** - * Gets information about the specified Certificate. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
timeOutDurationNoThe maximum time that the server can spend processing the - * request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used - * instead.".
$selectList<String>NoAn OData $select clause. In the form of "," - * separated string.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be sha1. - * @param thumbprint The thumbprint of the Certificate to get. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return information about the specified Certificate along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCertificateWithResponse(String thumbprintAlgorithm, String thumbprint, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getCertificateSync(this.getEndpoint(), this.getServiceVersion().getVersion(), - thumbprintAlgorithm, thumbprint, accept, requestOptions, Context.NONE); - } - /** * Checks the specified Job Schedule exists. *

Query Parameters

@@ -16540,13 +16094,13 @@ public Response getCertificateWithResponse(String thumbprintAlgorith * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * boolean
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule which you want to check. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -16555,9 +16109,8 @@ public Response getCertificateWithResponse(String thumbprintAlgorith @ServiceMethod(returns = ReturnType.SINGLE) public Mono> jobScheduleExistsWithResponseAsync(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.jobScheduleExists(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobScheduleId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobScheduleId, requestOptions, context)); } /** @@ -16594,13 +16147,13 @@ public Mono> jobScheduleExistsWithResponseAsync(String jobSche * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * boolean
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule which you want to check. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -16608,14 +16161,13 @@ public Mono> jobScheduleExistsWithResponseAsync(String jobSche */ @ServiceMethod(returns = ReturnType.SINGLE) public Response jobScheduleExistsWithResponse(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.jobScheduleExistsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobScheduleId, - accept, requestOptions, Context.NONE); + requestOptions, Context.NONE); } /** * Deletes a Job Schedule from the specified Account. - * + * * When you delete a Job Schedule, this also deletes all Jobs and Tasks under that * schedule. When Tasks are deleted, all the files in their working directories on * the Compute Nodes are also deleted (the retention period is ignored). The Job @@ -16654,7 +16206,7 @@ public Response jobScheduleExistsWithResponse(String jobScheduleId, Req * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -16663,14 +16215,13 @@ public Response jobScheduleExistsWithResponse(String jobScheduleId, Req @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteJobScheduleWithResponseAsync(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.deleteJobSchedule(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobScheduleId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobScheduleId, requestOptions, context)); } /** * Deletes a Job Schedule from the specified Account. - * + * * When you delete a Job Schedule, this also deletes all Jobs and Tasks under that * schedule. When Tasks are deleted, all the files in their working directories on * the Compute Nodes are also deleted (the retention period is ignored). The Job @@ -16709,7 +16260,7 @@ public Mono> deleteJobScheduleWithResponseAsync(String jobSchedul * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -16717,9 +16268,8 @@ public Mono> deleteJobScheduleWithResponseAsync(String jobSchedul */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteJobScheduleWithResponse(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.deleteJobScheduleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobScheduleId, - accept, requestOptions, Context.NONE); + requestOptions, Context.NONE); } /** @@ -16760,18 +16310,18 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -16946,6 +16496,15 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -16960,6 +16519,13 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -16992,16 +16558,19 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -17014,10 +16583,10 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -17050,9 +16619,18 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -17069,17 +16647,6 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -17136,7 +16703,6 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -17162,7 +16728,7 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -17192,7 +16758,7 @@ public Response deleteJobScheduleWithResponse(String jobScheduleId, Reques
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -17245,18 +16811,18 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -17431,6 +16997,15 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -17445,6 +17020,13 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -17477,16 +17059,19 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -17499,10 +17084,10 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -17535,9 +17120,18 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -17554,17 +17148,6 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -17621,7 +17204,6 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -17647,7 +17229,7 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -17677,7 +17259,7 @@ public Mono> getJobScheduleWithResponseAsync(String jobSche
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule to get. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -17692,7 +17274,7 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req /** * Updates the properties of the specified Job Schedule. - * + * * This replaces only the Job Schedule properties specified in the request. For * example, if the schedule property is not specified with this request, then the * Batch service will keep the existing schedule. Changes to a Job Schedule only @@ -17730,7 +17312,7 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -17906,6 +17488,15 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -17920,6 +17511,13 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -17952,16 +17550,19 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -17974,10 +17575,10 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -18010,9 +17611,18 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -18029,17 +17639,6 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -18096,7 +17695,6 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -18128,7 +17726,7 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule to update. * @param jobSchedule The options to use for updating the Job Schedule. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -18139,15 +17737,13 @@ public Response getJobScheduleWithResponse(String jobScheduleId, Req public Mono> updateJobScheduleWithResponseAsync(String jobScheduleId, BinaryData jobSchedule, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateJobSchedule(this.getEndpoint(), this.getServiceVersion().getVersion(), - contentType, jobScheduleId, accept, jobSchedule, requestOptions, context)); + return FluxUtil.withContext(context -> service.updateJobSchedule(this.getEndpoint(), + this.getServiceVersion().getVersion(), contentType, jobScheduleId, jobSchedule, requestOptions, context)); } /** * Updates the properties of the specified Job Schedule. - * + * * This replaces only the Job Schedule properties specified in the request. For * example, if the schedule property is not specified with this request, then the * Batch service will keep the existing schedule. Changes to a Job Schedule only @@ -18185,7 +17781,7 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -18361,6 +17957,15 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -18375,6 +17980,13 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -18407,16 +18019,19 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -18429,10 +18044,10 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -18465,9 +18080,18 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -18484,17 +18108,6 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -18551,7 +18164,6 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -18583,7 +18195,7 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule to update. * @param jobSchedule The options to use for updating the Job Schedule. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -18594,14 +18206,13 @@ public Mono> updateJobScheduleWithResponseAsync(String jobSchedul public Response updateJobScheduleWithResponse(String jobScheduleId, BinaryData jobSchedule, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.updateJobScheduleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - jobScheduleId, accept, jobSchedule, requestOptions, Context.NONE); + jobScheduleId, jobSchedule, requestOptions, Context.NONE); } /** * Updates the properties of the specified Job Schedule. - * + * * This fully replaces all the updatable properties of the Job Schedule. For * example, if the schedule property is not specified with this request, then the * Batch service will remove the existing schedule. Changes to a Job Schedule only @@ -18639,18 +18250,18 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -18825,6 +18436,15 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -18839,6 +18459,13 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -18871,16 +18498,19 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -18893,10 +18523,10 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -18929,9 +18559,18 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -18948,17 +18587,6 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -19015,7 +18643,6 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -19041,7 +18668,7 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -19071,7 +18698,7 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule to update. * @param jobSchedule A Job Schedule with updated properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -19082,15 +18709,13 @@ public Response updateJobScheduleWithResponse(String jobScheduleId, Binary public Mono> replaceJobScheduleWithResponseAsync(String jobScheduleId, BinaryData jobSchedule, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; - return FluxUtil.withContext( - context -> service.replaceJobSchedule(this.getEndpoint(), this.getServiceVersion().getVersion(), - contentType, jobScheduleId, accept, jobSchedule, requestOptions, context)); + return FluxUtil.withContext(context -> service.replaceJobSchedule(this.getEndpoint(), + this.getServiceVersion().getVersion(), contentType, jobScheduleId, jobSchedule, requestOptions, context)); } /** * Updates the properties of the specified Job Schedule. - * + * * This fully replaces all the updatable properties of the Job Schedule. For * example, if the schedule property is not specified with this request, then the * Batch service will remove the existing schedule. Changes to a Job Schedule only @@ -19128,18 +18753,18 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -19314,6 +18939,15 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -19328,6 +18962,13 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -19360,16 +19001,19 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -19382,10 +19026,10 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -19418,9 +19062,18 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -19437,17 +19090,6 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -19504,7 +19146,6 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -19530,7 +19171,7 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -19560,7 +19201,7 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu
      * }
      * }
      * 
- * + * * @param jobScheduleId The ID of the Job Schedule to update. * @param jobSchedule A Job Schedule with updated properties. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -19571,14 +19212,13 @@ public Mono> replaceJobScheduleWithResponseAsync(String jobSchedu public Response replaceJobScheduleWithResponse(String jobScheduleId, BinaryData jobSchedule, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.replaceJobScheduleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - jobScheduleId, accept, jobSchedule, requestOptions, Context.NONE); + jobScheduleId, jobSchedule, requestOptions, Context.NONE); } /** * Disables a Job Schedule. - * + * * No new Jobs will be created until the Job Schedule is enabled again. *

Query Parameters

* @@ -19611,7 +19251,7 @@ public Response replaceJobScheduleWithResponse(String jobScheduleId, Binar * service does not match the value specified by the client. *
* You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to disable. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -19620,14 +19260,13 @@ public Response replaceJobScheduleWithResponse(String jobScheduleId, Binar @ServiceMethod(returns = ReturnType.SINGLE) public Mono> disableJobScheduleWithResponseAsync(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.disableJobSchedule(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobScheduleId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobScheduleId, requestOptions, context)); } /** * Disables a Job Schedule. - * + * * No new Jobs will be created until the Job Schedule is enabled again. *

Query Parameters

* @@ -19660,7 +19299,7 @@ public Mono> disableJobScheduleWithResponseAsync(String jobSchedu * service does not match the value specified by the client. *
* You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to disable. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -19668,9 +19307,8 @@ public Mono> disableJobScheduleWithResponseAsync(String jobSchedu */ @ServiceMethod(returns = ReturnType.SINGLE) public Response disableJobScheduleWithResponse(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.disableJobScheduleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobScheduleId, - accept, requestOptions, Context.NONE); + requestOptions, Context.NONE); } /** @@ -19706,7 +19344,7 @@ public Response disableJobScheduleWithResponse(String jobScheduleId, Reque * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to enable. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -19715,9 +19353,8 @@ public Response disableJobScheduleWithResponse(String jobScheduleId, Reque @ServiceMethod(returns = ReturnType.SINGLE) public Mono> enableJobScheduleWithResponseAsync(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.enableJobSchedule(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobScheduleId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobScheduleId, requestOptions, context)); } /** @@ -19753,7 +19390,7 @@ public Mono> enableJobScheduleWithResponseAsync(String jobSchedul * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to enable. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -19761,9 +19398,8 @@ public Mono> enableJobScheduleWithResponseAsync(String jobSchedul */ @ServiceMethod(returns = ReturnType.SINGLE) public Response enableJobScheduleWithResponse(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.enableJobScheduleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobScheduleId, - accept, requestOptions, Context.NONE); + requestOptions, Context.NONE); } /** @@ -19801,7 +19437,7 @@ public Response enableJobScheduleWithResponse(String jobScheduleId, Reques * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to terminates. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -19810,9 +19446,8 @@ public Response enableJobScheduleWithResponse(String jobScheduleId, Reques @ServiceMethod(returns = ReturnType.SINGLE) public Mono> terminateJobScheduleWithResponseAsync(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.terminateJobSchedule(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobScheduleId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobScheduleId, requestOptions, context)); } /** @@ -19850,7 +19485,7 @@ public Mono> terminateJobScheduleWithResponseAsync(String jobSche * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobScheduleId The ID of the Job Schedule to terminates. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -19858,9 +19493,8 @@ public Mono> terminateJobScheduleWithResponseAsync(String jobSche */ @ServiceMethod(returns = ReturnType.SINGLE) public Response terminateJobScheduleWithResponse(String jobScheduleId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.terminateJobScheduleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), - jobScheduleId, accept, requestOptions, Context.NONE); + jobScheduleId, requestOptions, Context.NONE); } /** @@ -19875,7 +19509,7 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -20053,6 +19687,15 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -20067,6 +19710,13 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -20099,16 +19749,19 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -20121,10 +19774,10 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -20157,9 +19810,18 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -20176,17 +19838,6 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -20243,7 +19894,6 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -20275,7 +19925,7 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req
      * }
      * }
      * 
- * + * * @param jobSchedule The Job Schedule to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -20285,9 +19935,8 @@ public Response terminateJobScheduleWithResponse(String jobScheduleId, Req public Mono> createJobScheduleWithResponseAsync(BinaryData jobSchedule, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.createJobSchedule(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, accept, jobSchedule, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, jobSchedule, requestOptions, context)); } /** @@ -20302,7 +19951,7 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -20480,6 +20129,15 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -20494,6 +20152,13 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -20526,16 +20191,19 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -20548,10 +20216,10 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -20584,9 +20252,18 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -20603,17 +20280,6 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -20670,7 +20336,6 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -20702,7 +20367,7 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch
      * }
      * }
      * 
- * + * * @param jobSchedule The Job Schedule to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -20711,9 +20376,8 @@ public Mono> createJobScheduleWithResponseAsync(BinaryData jobSch @ServiceMethod(returns = ReturnType.SINGLE) public Response createJobScheduleWithResponse(BinaryData jobSchedule, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.createJobScheduleSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - accept, jobSchedule, requestOptions, Context.NONE); + jobSchedule, requestOptions, Context.NONE); } /** @@ -20738,18 +20402,18 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -20924,6 +20588,15 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -20938,6 +20611,13 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -20970,16 +20650,19 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -20992,10 +20675,10 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -21028,9 +20711,18 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -21047,17 +20739,6 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -21114,7 +20795,6 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -21140,7 +20820,7 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -21170,7 +20850,7 @@ public Response createJobScheduleWithResponse(BinaryData jobSchedule, Requ
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Job Schedules in an Account along with {@link PagedResponse} on successful @@ -21208,18 +20888,18 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -21394,6 +21074,15 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -21408,6 +21097,13 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -21440,16 +21136,19 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -21462,10 +21161,10 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -21498,9 +21197,18 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -21517,17 +21225,6 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -21584,7 +21281,6 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -21610,7 +21306,7 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -21640,7 +21336,7 @@ private Mono> listJobSchedulesSinglePageAsync(RequestO
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Job Schedules in an Account as paginated response with {@link PagedFlux}. @@ -21696,18 +21392,18 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -21882,6 +21578,15 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -21896,6 +21601,13 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -21928,16 +21640,19 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -21950,10 +21665,10 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -21986,9 +21701,18 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -22005,17 +21729,6 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -22072,7 +21785,6 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -22098,7 +21810,7 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -22128,7 +21840,7 @@ public PagedFlux listJobSchedulesAsync(RequestOptions requestOptions
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Job Schedules in an Account along with {@link PagedResponse}. @@ -22164,18 +21876,18 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -22350,6 +22062,15 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -22364,6 +22085,13 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -22396,16 +22124,19 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -22418,10 +22149,10 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -22454,9 +22185,18 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -22473,17 +22213,6 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -22540,7 +22269,6 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -22566,7 +22294,7 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -22596,7 +22324,7 @@ private PagedResponse listJobSchedulesSinglePage(RequestOptions requ
      * }
      * }
      * 
- * + * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the result of listing the Job Schedules in an Account as paginated response with {@link PagedIterable}. @@ -22632,7 +22360,7 @@ public PagedIterable listJobSchedules(RequestOptions requestOptions) /** * Creates a Task to the specified Job. - * + * * The maximum lifetime of a Task from addition to completion is 180 days. If a * Task has not completed within 180 days of being added it will be terminated by * the Batch service and left in whatever state it was in at that time. @@ -22646,7 +22374,7 @@ public PagedIterable listJobSchedules(RequestOptions requestOptions) * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -22779,7 +22507,7 @@ public PagedIterable listJobSchedules(RequestOptions requestOptions)
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to which the Task is to be created. * @param task The Task to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -22790,14 +22518,13 @@ public PagedIterable listJobSchedules(RequestOptions requestOptions) public Mono> createTaskWithResponseAsync(String jobId, BinaryData task, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.createTask(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, jobId, accept, task, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, jobId, task, requestOptions, context)); } /** * Creates a Task to the specified Job. - * + * * The maximum lifetime of a Task from addition to completion is 180 days. If a * Task has not completed within 180 days of being added it will be terminated by * the Batch service and left in whatever state it was in at that time. @@ -22811,7 +22538,7 @@ public Mono> createTaskWithResponseAsync(String jobId, BinaryData * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -22944,7 +22671,7 @@ public Mono> createTaskWithResponseAsync(String jobId, BinaryData
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to which the Task is to be created. * @param task The Task to be created. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -22954,14 +22681,13 @@ public Mono> createTaskWithResponseAsync(String jobId, BinaryData @ServiceMethod(returns = ReturnType.SINGLE) public Response createTaskWithResponse(String jobId, BinaryData task, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.createTaskSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, jobId, - accept, task, requestOptions, Context.NONE); + task, requestOptions, Context.NONE); } /** * Lists all of the Tasks that are associated with the specified Job. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task. Use the list subtasks API to retrieve * information about subtasks. @@ -22985,16 +22711,16 @@ public Response createTaskWithResponse(String jobId, BinaryData task, Requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -23016,11 +22742,11 @@ public Response createTaskWithResponse(String jobId, BinaryData task, Requ
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -23173,7 +22899,7 @@ public Response createTaskWithResponse(String jobId, BinaryData task, Requ
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -23192,7 +22918,7 @@ private Mono> listTasksSinglePageAsync(String jobId, R /** * Lists all of the Tasks that are associated with the specified Job. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task. Use the list subtasks API to retrieve * information about subtasks. @@ -23216,16 +22942,16 @@ private Mono> listTasksSinglePageAsync(String jobId, R * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -23247,11 +22973,11 @@ private Mono> listTasksSinglePageAsync(String jobId, R
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -23404,7 +23130,7 @@ private Mono> listTasksSinglePageAsync(String jobId, R
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -23441,7 +23167,7 @@ public PagedFlux listTasksAsync(String jobId, RequestOptions request /** * Lists all of the Tasks that are associated with the specified Job. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task. Use the list subtasks API to retrieve * information about subtasks. @@ -23465,16 +23191,16 @@ public PagedFlux listTasksAsync(String jobId, RequestOptions request * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -23496,11 +23222,11 @@ public PagedFlux listTasksAsync(String jobId, RequestOptions request
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -23653,7 +23379,7 @@ public PagedFlux listTasksAsync(String jobId, RequestOptions request
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -23670,7 +23396,7 @@ private PagedResponse listTasksSinglePage(String jobId, RequestOptio /** * Lists all of the Tasks that are associated with the specified Job. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task. Use the list subtasks API to retrieve * information about subtasks. @@ -23694,16 +23420,16 @@ private PagedResponse listTasksSinglePage(String jobId, RequestOptio * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -23725,11 +23451,11 @@ private PagedResponse listTasksSinglePage(String jobId, RequestOptio
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -23882,7 +23608,7 @@ private PagedResponse listTasksSinglePage(String jobId, RequestOptio
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -23919,7 +23645,7 @@ public PagedIterable listTasks(String jobId, RequestOptions requestO /** * Adds a collection of Tasks to the specified Job. - * + * * Note that each Task must have a unique ID. The Batch service may not return the * results for each Task in the same order the Tasks were submitted in this * request. If the server times out or the connection is closed during the @@ -23944,7 +23670,7 @@ public PagedIterable listTasks(String jobId, RequestOptions requestO * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -24081,9 +23807,9 @@ public PagedIterable listTasks(String jobId, RequestOptions requestO
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -24112,7 +23838,7 @@ public PagedIterable listTasks(String jobId, RequestOptions requestO
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to which the Task collection is to be added. * @param taskCollection The Tasks to be added. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -24132,7 +23858,7 @@ public Mono> createTaskCollectionWithResponseAsync(String j /** * Adds a collection of Tasks to the specified Job. - * + * * Note that each Task must have a unique ID. The Batch service may not return the * results for each Task in the same order the Tasks were submitted in this * request. If the server times out or the connection is closed during the @@ -24157,7 +23883,7 @@ public Mono> createTaskCollectionWithResponseAsync(String j * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -24294,9 +24020,9 @@ public Mono> createTaskCollectionWithResponseAsync(String j
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -24325,7 +24051,7 @@ public Mono> createTaskCollectionWithResponseAsync(String j
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job to which the Task collection is to be added. * @param taskCollection The Tasks to be added. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -24343,7 +24069,7 @@ public Response createTaskCollectionWithResponse(String jobId, Binar /** * Deletes a Task from the specified Job. - * + * * When a Task is deleted, all of the files in its directory on the Compute Node * where it ran are also deleted (regardless of the retention time). For * multi-instance Tasks, the delete Task operation applies synchronously to the @@ -24380,7 +24106,7 @@ public Response createTaskCollectionWithResponse(String jobId, Binar * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job from which to delete the Task. * @param taskId The ID of the Task to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -24390,14 +24116,13 @@ public Response createTaskCollectionWithResponse(String jobId, Binar @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteTaskWithResponseAsync(String jobId, String taskId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.deleteTask(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, taskId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobId, taskId, requestOptions, context)); } /** * Deletes a Task from the specified Job. - * + * * When a Task is deleted, all of the files in its directory on the Compute Node * where it ran are also deleted (regardless of the retention time). For * multi-instance Tasks, the delete Task operation applies synchronously to the @@ -24434,7 +24159,7 @@ public Mono> deleteTaskWithResponseAsync(String jobId, String tas * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job from which to delete the Task. * @param taskId The ID of the Task to delete. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -24443,14 +24168,13 @@ public Mono> deleteTaskWithResponseAsync(String jobId, String tas */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteTaskWithResponse(String jobId, String taskId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.deleteTaskSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, taskId, accept, + return service.deleteTaskSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, taskId, requestOptions, Context.NONE); } /** * Gets information about the specified Task. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task. Use the list subtasks API to retrieve * information about subtasks. @@ -24490,16 +24214,16 @@ public Response deleteTaskWithResponse(String jobId, String taskId, Reques * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -24521,11 +24245,11 @@ public Response deleteTaskWithResponse(String jobId, String taskId, Reques
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -24678,13 +24402,13 @@ public Response deleteTaskWithResponse(String jobId, String taskId, Reques
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task to get information about. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return information about the specified Task. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task along with {@link Response} on successful completion of {@link Mono}. */ @@ -24698,7 +24422,7 @@ public Mono> getTaskWithResponseAsync(String jobId, String /** * Gets information about the specified Task. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task. Use the list subtasks API to retrieve * information about subtasks. @@ -24738,16 +24462,16 @@ public Mono> getTaskWithResponseAsync(String jobId, String * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -24769,11 +24493,11 @@ public Mono> getTaskWithResponseAsync(String jobId, String
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -24926,13 +24650,13 @@ public Mono> getTaskWithResponseAsync(String jobId, String
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task to get information about. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return information about the specified Task. - * + * * For multi-instance Tasks, information such as affinityId, executionInfo and * nodeInfo refer to the primary Task along with {@link Response}. */ @@ -24977,16 +24701,16 @@ public Response getTaskWithResponse(String jobId, String taskId, Req * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -25008,11 +24732,11 @@ public Response getTaskWithResponse(String jobId, String taskId, Req
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -25165,7 +24889,7 @@ public Response getTaskWithResponse(String jobId, String taskId, Req
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job containing the Task. * @param taskId The ID of the Task to update. * @param task The Task to update. @@ -25177,9 +24901,8 @@ public Response getTaskWithResponse(String jobId, String taskId, Req public Mono> replaceTaskWithResponseAsync(String jobId, String taskId, BinaryData task, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.replaceTask(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, jobId, taskId, accept, task, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, jobId, taskId, task, requestOptions, context)); } /** @@ -25216,16 +24939,16 @@ public Mono> replaceTaskWithResponseAsync(String jobId, String ta * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -25247,11 +24970,11 @@ public Mono> replaceTaskWithResponseAsync(String jobId, String ta
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -25404,7 +25127,7 @@ public Mono> replaceTaskWithResponseAsync(String jobId, String ta
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job containing the Task. * @param taskId The ID of the Task to update. * @param task The Task to update. @@ -25416,15 +25139,14 @@ public Mono> replaceTaskWithResponseAsync(String jobId, String ta public Response replaceTaskWithResponse(String jobId, String taskId, BinaryData task, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.replaceTaskSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, jobId, - taskId, accept, task, requestOptions, Context.NONE); + taskId, task, requestOptions, Context.NONE); } /** * Lists all of the subtasks that are associated with the specified multi-instance * Task. - * + * * If the Task is not a multi-instance Task then this returns an empty collection. *

Query Parameters

* @@ -25438,7 +25160,7 @@ public Response replaceTaskWithResponse(String jobId, String taskId, Binar *
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -25478,7 +25200,7 @@ public Response replaceTaskWithResponse(String jobId, String taskId, Binar
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param taskId The ID of the Task. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25500,7 +25222,7 @@ private Mono> listSubTasksSinglePageAsync(String jobId /** * Lists all of the subtasks that are associated with the specified multi-instance * Task. - * + * * If the Task is not a multi-instance Task then this returns an empty collection. *

Query Parameters

* @@ -25514,7 +25236,7 @@ private Mono> listSubTasksSinglePageAsync(String jobId *
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -25554,7 +25276,7 @@ private Mono> listSubTasksSinglePageAsync(String jobId
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param taskId The ID of the Task. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25573,7 +25295,7 @@ public PagedFlux listSubTasksAsync(String jobId, String taskId, Requ /** * Lists all of the subtasks that are associated with the specified multi-instance * Task. - * + * * If the Task is not a multi-instance Task then this returns an empty collection. *

Query Parameters

* @@ -25587,7 +25309,7 @@ public PagedFlux listSubTasksAsync(String jobId, String taskId, Requ *
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -25627,7 +25349,7 @@ public PagedFlux listSubTasksAsync(String jobId, String taskId, Requ
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param taskId The ID of the Task. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25647,7 +25369,7 @@ private PagedResponse listSubTasksSinglePage(String jobId, String ta /** * Lists all of the subtasks that are associated with the specified multi-instance * Task. - * + * * If the Task is not a multi-instance Task then this returns an empty collection. *

Query Parameters

* @@ -25661,7 +25383,7 @@ private PagedResponse listSubTasksSinglePage(String jobId, String ta *
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -25701,7 +25423,7 @@ private PagedResponse listSubTasksSinglePage(String jobId, String ta
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job. * @param taskId The ID of the Task. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25719,7 +25441,7 @@ public PagedIterable listSubTasks(String jobId, String taskId, Reque /** * Terminates the specified Task. - * + * * When the Task has been terminated, it moves to the completed state. For * multi-instance Tasks, the terminate Task operation applies synchronously to the * primary task; subtasks are then terminated asynchronously in the background. @@ -25754,7 +25476,7 @@ public PagedIterable listSubTasks(String jobId, String taskId, Reque * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job containing the Task. * @param taskId The ID of the Task to terminate. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25764,14 +25486,13 @@ public PagedIterable listSubTasks(String jobId, String taskId, Reque @ServiceMethod(returns = ReturnType.SINGLE) public Mono> terminateTaskWithResponseAsync(String jobId, String taskId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.terminateTask(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, taskId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobId, taskId, requestOptions, context)); } /** * Terminates the specified Task. - * + * * When the Task has been terminated, it moves to the completed state. For * multi-instance Tasks, the terminate Task operation applies synchronously to the * primary task; subtasks are then terminated asynchronously in the background. @@ -25806,7 +25527,7 @@ public Mono> terminateTaskWithResponseAsync(String jobId, String * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job containing the Task. * @param taskId The ID of the Task to terminate. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25815,15 +25536,14 @@ public Mono> terminateTaskWithResponseAsync(String jobId, String */ @ServiceMethod(returns = ReturnType.SINGLE) public Response terminateTaskWithResponse(String jobId, String taskId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.terminateTaskSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, taskId, - accept, requestOptions, Context.NONE); + requestOptions, Context.NONE); } /** * Reactivates a Task, allowing it to run again even if its retry count has been * exhausted. - * + * * Reactivation makes a Task eligible to be retried again up to its maximum retry * count. The Task's state is changed to active. As the Task is no longer in the * completed state, any previous exit code or failure information is no longer @@ -25862,7 +25582,7 @@ public Response terminateTaskWithResponse(String jobId, String taskId, Req * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job containing the Task. * @param taskId The ID of the Task to reactivate. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25872,15 +25592,14 @@ public Response terminateTaskWithResponse(String jobId, String taskId, Req @ServiceMethod(returns = ReturnType.SINGLE) public Mono> reactivateTaskWithResponseAsync(String jobId, String taskId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.reactivateTask(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, taskId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobId, taskId, requestOptions, context)); } /** * Reactivates a Task, allowing it to run again even if its retry count has been * exhausted. - * + * * Reactivation makes a Task eligible to be retried again up to its maximum retry * count. The Task's state is changed to active. As the Task is no longer in the * completed state, any previous exit code or failure information is no longer @@ -25919,7 +25638,7 @@ public Mono> reactivateTaskWithResponseAsync(String jobId, String * service does not match the value specified by the client. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job containing the Task. * @param taskId The ID of the Task to reactivate. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -25928,9 +25647,8 @@ public Mono> reactivateTaskWithResponseAsync(String jobId, String */ @ServiceMethod(returns = ReturnType.SINGLE) public Response reactivateTaskWithResponse(String jobId, String taskId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.reactivateTaskSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, taskId, - accept, requestOptions, Context.NONE); + requestOptions, Context.NONE); } /** @@ -25949,7 +25667,7 @@ public Response reactivateTaskWithResponse(String jobId, String taskId, Re * then the directory must be empty or deletion will fail. * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose file you want to retrieve. * @param filePath The path to the Task file that you want to get the content of. @@ -25960,9 +25678,8 @@ public Response reactivateTaskWithResponse(String jobId, String taskId, Re @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteTaskFileWithResponseAsync(String jobId, String taskId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.deleteTaskFile(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, taskId, filePath, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobId, taskId, filePath, requestOptions, context)); } /** @@ -25981,7 +25698,7 @@ public Mono> deleteTaskFileWithResponseAsync(String jobId, String * then the directory must be empty or deletion will fail. * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose file you want to retrieve. * @param filePath The path to the Task file that you want to get the content of. @@ -25992,9 +25709,8 @@ public Mono> deleteTaskFileWithResponseAsync(String jobId, String @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteTaskFileWithResponse(String jobId, String taskId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return service.deleteTaskFileSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, taskId, - filePath, accept, requestOptions, Context.NONE); + filePath, requestOptions, Context.NONE); } /** @@ -26026,13 +25742,13 @@ public Response deleteTaskFileWithResponse(String jobId, String taskId, St * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * BinaryData
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose file you want to retrieve. * @param filePath The path to the Task file that you want to get the content of. @@ -26077,13 +25793,13 @@ public Mono> getTaskFileWithResponseAsync(String jobId, Str * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * BinaryData
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose file you want to retrieve. * @param filePath The path to the Task file that you want to get the content of. @@ -26124,7 +25840,7 @@ public Response getTaskFileWithResponse(String jobId, String taskId, * not been modified since the specified time. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose file you want to retrieve. * @param filePath The path to the Task file that you want to get the content of. @@ -26136,9 +25852,8 @@ public Response getTaskFileWithResponse(String jobId, String taskId, @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getTaskFilePropertiesWithResponseAsync(String jobId, String taskId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.getTaskFileProperties(this.getEndpoint(), - this.getServiceVersion().getVersion(), jobId, taskId, filePath, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), jobId, taskId, filePath, requestOptions, context)); } /** @@ -26166,7 +25881,7 @@ public Mono> getTaskFilePropertiesWithResponseAsync(String jobId, * not been modified since the specified time. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose file you want to retrieve. * @param filePath The path to the Task file that you want to get the content of. @@ -26177,9 +25892,8 @@ public Mono> getTaskFilePropertiesWithResponseAsync(String jobId, @ServiceMethod(returns = ReturnType.SINGLE) public Response getTaskFilePropertiesWithResponse(String jobId, String taskId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return service.getTaskFilePropertiesSync(this.getEndpoint(), this.getServiceVersion().getVersion(), jobId, - taskId, filePath, accept, requestOptions, Context.NONE); + taskId, filePath, requestOptions, Context.NONE); } /** @@ -26203,7 +25917,7 @@ public Response getTaskFilePropertiesWithResponse(String jobId, String tas * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -26220,7 +25934,7 @@ public Response getTaskFilePropertiesWithResponse(String jobId, String tas
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -26260,7 +25974,7 @@ private Mono> listTaskFilesSinglePageAsync(String jobI * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -26277,7 +25991,7 @@ private Mono> listTaskFilesSinglePageAsync(String jobI
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -26335,7 +26049,7 @@ public PagedFlux listTaskFilesAsync(String jobId, String taskId, Req * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -26352,7 +26066,7 @@ public PagedFlux listTaskFilesAsync(String jobId, String taskId, Req
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -26391,7 +26105,7 @@ private PagedResponse listTaskFilesSinglePage(String jobId, String t * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -26408,7 +26122,7 @@ private PagedResponse listTaskFilesSinglePage(String jobId, String t
      * }
      * }
      * 
- * + * * @param jobId The ID of the Job that contains the Task. * @param taskId The ID of the Task whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -26447,7 +26161,7 @@ public PagedIterable listTaskFiles(String jobId, String taskId, Requ /** * Adds a user Account to the specified Compute Node. - * + * * You can add a user Account to a Compute Node only when it is in the idle or * running state. *

Query Parameters

@@ -26460,7 +26174,7 @@ public PagedIterable listTaskFiles(String jobId, String taskId, Requ * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -26472,7 +26186,7 @@ public PagedIterable listTaskFiles(String jobId, String taskId, Requ
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the machine on which you want to create a user Account. * @param user The options to use for creating the user. @@ -26484,14 +26198,13 @@ public PagedIterable listTaskFiles(String jobId, String taskId, Requ public Mono> createNodeUserWithResponseAsync(String poolId, String nodeId, BinaryData user, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil.withContext(context -> service.createNodeUser(this.getEndpoint(), - this.getServiceVersion().getVersion(), contentType, poolId, nodeId, accept, user, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, poolId, nodeId, user, requestOptions, context)); } /** * Adds a user Account to the specified Compute Node. - * + * * You can add a user Account to a Compute Node only when it is in the idle or * running state. *

Query Parameters

@@ -26504,7 +26217,7 @@ public Mono> createNodeUserWithResponseAsync(String poolId, Strin * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -26516,7 +26229,7 @@ public Mono> createNodeUserWithResponseAsync(String poolId, Strin
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the machine on which you want to create a user Account. * @param user The options to use for creating the user. @@ -26528,14 +26241,13 @@ public Mono> createNodeUserWithResponseAsync(String poolId, Strin public Response createNodeUserWithResponse(String poolId, String nodeId, BinaryData user, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.createNodeUserSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - poolId, nodeId, accept, user, requestOptions, Context.NONE); + poolId, nodeId, user, requestOptions, Context.NONE); } /** * Deletes a user Account from the specified Compute Node. - * + * * You can delete a user Account to a Compute Node only when it is in the idle or * running state. *

Query Parameters

@@ -26547,7 +26259,7 @@ public Response createNodeUserWithResponse(String poolId, String nodeId, B * instead.". * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the machine on which you want to delete a user Account. * @param userName The name of the user Account to delete. @@ -26558,14 +26270,13 @@ public Response createNodeUserWithResponse(String poolId, String nodeId, B @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteNodeUserWithResponseAsync(String poolId, String nodeId, String userName, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.deleteNodeUser(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, userName, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, userName, requestOptions, context)); } /** * Deletes a user Account from the specified Compute Node. - * + * * You can delete a user Account to a Compute Node only when it is in the idle or * running state. *

Query Parameters

@@ -26577,7 +26288,7 @@ public Mono> deleteNodeUserWithResponseAsync(String poolId, Strin * instead.". * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the machine on which you want to delete a user Account. * @param userName The name of the user Account to delete. @@ -26588,14 +26299,13 @@ public Mono> deleteNodeUserWithResponseAsync(String poolId, Strin @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteNodeUserWithResponse(String poolId, String nodeId, String userName, RequestOptions requestOptions) { - final String accept = "application/json"; return service.deleteNodeUserSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, - userName, accept, requestOptions, Context.NONE); + userName, requestOptions, Context.NONE); } /** * Updates the password and expiration time of a user Account on the specified Compute Node. - * + * * This operation replaces of all the updatable properties of the Account. For * example, if the expiryTime element is not specified, the current value is * replaced with the default value, not left unmodified. You can update a user @@ -26610,7 +26320,7 @@ public Response deleteNodeUserWithResponse(String poolId, String nodeId, S * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -26620,7 +26330,7 @@ public Response deleteNodeUserWithResponse(String poolId, String nodeId, S
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the machine on which you want to update a user Account. * @param userName The name of the user Account to update. @@ -26633,15 +26343,14 @@ public Response deleteNodeUserWithResponse(String poolId, String nodeId, S public Mono> replaceNodeUserWithResponseAsync(String poolId, String nodeId, String userName, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return FluxUtil .withContext(context -> service.replaceNodeUser(this.getEndpoint(), this.getServiceVersion().getVersion(), - contentType, poolId, nodeId, userName, accept, parameters, requestOptions, context)); + contentType, poolId, nodeId, userName, parameters, requestOptions, context)); } /** * Updates the password and expiration time of a user Account on the specified Compute Node. - * + * * This operation replaces of all the updatable properties of the Account. For * example, if the expiryTime element is not specified, the current value is * replaced with the default value, not left unmodified. You can update a user @@ -26656,7 +26365,7 @@ public Mono> replaceNodeUserWithResponseAsync(String poolId, Stri * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -26666,7 +26375,7 @@ public Mono> replaceNodeUserWithResponseAsync(String poolId, Stri
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the machine on which you want to update a user Account. * @param userName The name of the user Account to update. @@ -26679,9 +26388,8 @@ public Mono> replaceNodeUserWithResponseAsync(String poolId, Stri public Response replaceNodeUserWithResponse(String poolId, String nodeId, String userName, BinaryData parameters, RequestOptions requestOptions) { final String contentType = "application/json; odata=minimalmetadata"; - final String accept = "application/json"; return service.replaceNodeUserSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, - poolId, nodeId, userName, accept, parameters, requestOptions, Context.NONE); + poolId, nodeId, userName, parameters, requestOptions, Context.NONE); } /** @@ -26698,21 +26406,22 @@ public Response replaceNodeUserWithResponse(String poolId, String nodeId, * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -26810,17 +26519,6 @@ public Response replaceNodeUserWithResponse(String poolId, String nodeId,
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -26843,11 +26541,11 @@ public Response replaceNodeUserWithResponse(String poolId, String nodeId,
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -26863,7 +26561,7 @@ public Response replaceNodeUserWithResponse(String poolId, String nodeId,
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to get information about. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -26893,21 +26591,22 @@ public Mono> getNodeWithResponseAsync(String poolId, String * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -27005,17 +26704,6 @@ public Mono> getNodeWithResponseAsync(String poolId, String
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -27038,11 +26726,11 @@ public Mono> getNodeWithResponseAsync(String poolId, String
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -27058,7 +26746,7 @@ public Mono> getNodeWithResponseAsync(String poolId, String
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to get information about. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27074,7 +26762,7 @@ public Response getNodeWithResponse(String poolId, String nodeId, Re /** * Restarts the specified Compute Node. - * + * * You can restart a Compute Node only if it is in an idle or running state. *

Query Parameters

* @@ -27094,7 +26782,7 @@ public Response getNodeWithResponse(String poolId, String nodeId, Re *
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27102,7 +26790,7 @@ public Response getNodeWithResponse(String poolId, String nodeId, Re
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27112,7 +26800,6 @@ public Response getNodeWithResponse(String poolId, String nodeId, Re @ServiceMethod(returns = ReturnType.SINGLE) public Mono> rebootNodeWithResponseAsync(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -27120,12 +26807,12 @@ public Mono> rebootNodeWithResponseAsync(String poolId, String no } }); return FluxUtil.withContext(context -> service.rebootNode(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, accept, requestOptionsLocal, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, requestOptionsLocal, context)); } /** * Restarts the specified Compute Node. - * + * * You can restart a Compute Node only if it is in an idle or running state. *

Query Parameters

* @@ -27145,7 +26832,7 @@ public Mono> rebootNodeWithResponseAsync(String poolId, String no *
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27153,7 +26840,7 @@ public Mono> rebootNodeWithResponseAsync(String poolId, String no
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27162,20 +26849,19 @@ public Mono> rebootNodeWithResponseAsync(String poolId, String no */ @ServiceMethod(returns = ReturnType.SINGLE) public Response rebootNodeWithResponse(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { requestLocal.getHeaders().set(HttpHeaderName.CONTENT_TYPE, "application/json; odata=minimalmetadata"); } }); - return service.rebootNodeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, accept, + return service.rebootNodeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, requestOptionsLocal, Context.NONE); } /** * Starts the specified Compute Node. - * + * * You can start a Compute Node only if it has been deallocated. *

Query Parameters

* @@ -27186,7 +26872,7 @@ public Response rebootNodeWithResponse(String poolId, String nodeId, Reque * instead.". *
* You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27196,14 +26882,13 @@ public Response rebootNodeWithResponse(String poolId, String nodeId, Reque @ServiceMethod(returns = ReturnType.SINGLE) public Mono> startNodeWithResponseAsync(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.startNode(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, requestOptions, context)); } /** * Starts the specified Compute Node. - * + * * You can start a Compute Node only if it has been deallocated. *

Query Parameters

* @@ -27214,7 +26899,7 @@ public Mono> startNodeWithResponseAsync(String poolId, String nod * instead.". *
* You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27223,14 +26908,13 @@ public Mono> startNodeWithResponseAsync(String poolId, String nod */ @ServiceMethod(returns = ReturnType.SINGLE) public Response startNodeWithResponse(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.startNodeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, accept, + return service.startNodeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, requestOptions, Context.NONE); } /** * Reinstalls the operating system on the specified Compute Node. - * + * * You can reinstall the operating system on a Compute Node only if it is in an * idle or running state. This API can be invoked only on Pools created with the * cloud service configuration property. @@ -27252,7 +26936,7 @@ public Response startNodeWithResponse(String poolId, String nodeId, Reques * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27260,7 +26944,7 @@ public Response startNodeWithResponse(String poolId, String nodeId, Reques
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27270,7 +26954,6 @@ public Response startNodeWithResponse(String poolId, String nodeId, Reques @ServiceMethod(returns = ReturnType.SINGLE) public Mono> reimageNodeWithResponseAsync(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -27278,12 +26961,12 @@ public Mono> reimageNodeWithResponseAsync(String poolId, String n } }); return FluxUtil.withContext(context -> service.reimageNode(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, accept, requestOptionsLocal, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, requestOptionsLocal, context)); } /** * Reinstalls the operating system on the specified Compute Node. - * + * * You can reinstall the operating system on a Compute Node only if it is in an * idle or running state. This API can be invoked only on Pools created with the * cloud service configuration property. @@ -27305,7 +26988,7 @@ public Mono> reimageNodeWithResponseAsync(String poolId, String n * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27313,7 +26996,7 @@ public Mono> reimageNodeWithResponseAsync(String poolId, String n
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27322,7 +27005,6 @@ public Mono> reimageNodeWithResponseAsync(String poolId, String n */ @ServiceMethod(returns = ReturnType.SINGLE) public Response reimageNodeWithResponse(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -27330,12 +27012,12 @@ public Response reimageNodeWithResponse(String poolId, String nodeId, Requ } }); return service.reimageNodeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, - accept, requestOptionsLocal, Context.NONE); + requestOptionsLocal, Context.NONE); } /** * Deallocates the specified Compute Node. - * + * * You can deallocate a Compute Node only if it is in an idle or running state. *

Query Parameters

* @@ -27355,7 +27037,7 @@ public Response reimageNodeWithResponse(String poolId, String nodeId, Requ *
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27363,7 +27045,7 @@ public Response reimageNodeWithResponse(String poolId, String nodeId, Requ
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27373,7 +27055,6 @@ public Response reimageNodeWithResponse(String poolId, String nodeId, Requ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deallocateNodeWithResponseAsync(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -27381,12 +27062,12 @@ public Mono> deallocateNodeWithResponseAsync(String poolId, Strin } }); return FluxUtil.withContext(context -> service.deallocateNode(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, accept, requestOptionsLocal, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, requestOptionsLocal, context)); } /** * Deallocates the specified Compute Node. - * + * * You can deallocate a Compute Node only if it is in an idle or running state. *

Query Parameters

* @@ -27406,7 +27087,7 @@ public Mono> deallocateNodeWithResponseAsync(String poolId, Strin *
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27414,7 +27095,7 @@ public Mono> deallocateNodeWithResponseAsync(String poolId, Strin
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that you want to restart. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27423,7 +27104,6 @@ public Mono> deallocateNodeWithResponseAsync(String poolId, Strin */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deallocateNodeWithResponse(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -27431,12 +27111,12 @@ public Response deallocateNodeWithResponse(String poolId, String nodeId, R } }); return service.deallocateNodeSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, - accept, requestOptionsLocal, Context.NONE); + requestOptionsLocal, Context.NONE); } /** * Disables Task scheduling on the specified Compute Node. - * + * * You can disable Task scheduling on a Compute Node only if its current * scheduling state is enabled. *

Query Parameters

@@ -27457,7 +27137,7 @@ public Response deallocateNodeWithResponse(String poolId, String nodeId, R * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27465,7 +27145,7 @@ public Response deallocateNodeWithResponse(String poolId, String nodeId, R
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node on which you want to disable Task scheduling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27475,7 +27155,6 @@ public Response deallocateNodeWithResponse(String poolId, String nodeId, R @ServiceMethod(returns = ReturnType.SINGLE) public Mono> disableNodeSchedulingWithResponseAsync(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -27483,12 +27162,12 @@ public Mono> disableNodeSchedulingWithResponseAsync(String poolId } }); return FluxUtil.withContext(context -> service.disableNodeScheduling(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, accept, requestOptionsLocal, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, requestOptionsLocal, context)); } /** * Disables Task scheduling on the specified Compute Node. - * + * * You can disable Task scheduling on a Compute Node only if its current * scheduling state is enabled. *

Query Parameters

@@ -27509,7 +27188,7 @@ public Mono> disableNodeSchedulingWithResponseAsync(String poolId * * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27517,7 +27196,7 @@ public Mono> disableNodeSchedulingWithResponseAsync(String poolId
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node on which you want to disable Task scheduling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27527,7 +27206,6 @@ public Mono> disableNodeSchedulingWithResponseAsync(String poolId @ServiceMethod(returns = ReturnType.SINGLE) public Response disableNodeSchedulingWithResponse(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; requestOptionsLocal.addRequestCallback(requestLocal -> { if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { @@ -27535,12 +27213,12 @@ public Response disableNodeSchedulingWithResponse(String poolId, String no } }); return service.disableNodeSchedulingSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, - nodeId, accept, requestOptionsLocal, Context.NONE); + nodeId, requestOptionsLocal, Context.NONE); } /** * Enables Task scheduling on the specified Compute Node. - * + * * You can enable Task scheduling on a Compute Node only if its current scheduling * state is disabled. *

Query Parameters

@@ -27552,7 +27230,7 @@ public Response disableNodeSchedulingWithResponse(String poolId, String no * instead.". * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node on which you want to enable Task scheduling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27562,14 +27240,13 @@ public Response disableNodeSchedulingWithResponse(String poolId, String no @ServiceMethod(returns = ReturnType.SINGLE) public Mono> enableNodeSchedulingWithResponseAsync(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.enableNodeScheduling(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, requestOptions, context)); } /** * Enables Task scheduling on the specified Compute Node. - * + * * You can enable Task scheduling on a Compute Node only if its current scheduling * state is disabled. *

Query Parameters

@@ -27581,7 +27258,7 @@ public Mono> enableNodeSchedulingWithResponseAsync(String poolId, * instead.". * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node on which you want to enable Task scheduling. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -27591,14 +27268,13 @@ public Mono> enableNodeSchedulingWithResponseAsync(String poolId, @ServiceMethod(returns = ReturnType.SINGLE) public Response enableNodeSchedulingWithResponse(String poolId, String nodeId, RequestOptions requestOptions) { - final String accept = "application/json"; return service.enableNodeSchedulingSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, - nodeId, accept, requestOptions, Context.NONE); + nodeId, requestOptions, Context.NONE); } /** * Gets the settings required for remote login to a Compute Node. - * + * * Before you can remotely login to a Compute Node using the remote login settings, * you must create a user Account on the Compute Node. *

Query Parameters

@@ -27611,22 +27287,24 @@ public Response enableNodeSchedulingWithResponse(String poolId, String nod * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
+     *     ipv6RemoteLoginIPAddress: String (Optional)
+     *     ipv6RemoteLoginPort: Integer (Optional)
      *     remoteLoginIPAddress: String (Required)
      *     remoteLoginPort: int (Required)
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node for which to obtain the remote login settings. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the settings required for remote login to a Compute Node. - * + * * Before you can remotely login to a Compute Node using the remote login settings, * you must create a user Account on the Compute Node along with {@link Response} on successful completion of * {@link Mono}. @@ -27641,7 +27319,7 @@ public Mono> getNodeRemoteLoginSettingsWithResponseAsync(St /** * Gets the settings required for remote login to a Compute Node. - * + * * Before you can remotely login to a Compute Node using the remote login settings, * you must create a user Account on the Compute Node. *

Query Parameters

@@ -27654,22 +27332,24 @@ public Mono> getNodeRemoteLoginSettingsWithResponseAsync(St * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
+     *     ipv6RemoteLoginIPAddress: String (Optional)
+     *     ipv6RemoteLoginPort: Integer (Optional)
      *     remoteLoginIPAddress: String (Required)
      *     remoteLoginPort: int (Required)
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node for which to obtain the remote login settings. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. * @return the settings required for remote login to a Compute Node. - * + * * Before you can remotely login to a Compute Node using the remote login settings, * you must create a user Account on the Compute Node along with {@link Response}. */ @@ -27684,7 +27364,7 @@ public Response getNodeRemoteLoginSettingsWithResponse(String poolId /** * Upload Azure Batch service log files from the specified Compute Node to Azure * Blob Storage. - * + * * This is for gathering Azure Batch service log files in an automated fashion * from Compute Nodes if you are experiencing an error and wish to escalate to * Azure support. The Azure Batch service log files should be shared with Azure @@ -27699,7 +27379,7 @@ public Response getNodeRemoteLoginSettingsWithResponse(String poolId * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27712,9 +27392,9 @@ public Response getNodeRemoteLoginSettingsWithResponse(String poolId
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -27723,7 +27403,7 @@ public Response getNodeRemoteLoginSettingsWithResponse(String poolId
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node for which you want to get the Remote Desktop * Protocol file. @@ -27746,7 +27426,7 @@ public Mono> uploadNodeLogsWithResponseAsync(String poolId, /** * Upload Azure Batch service log files from the specified Compute Node to Azure * Blob Storage. - * + * * This is for gathering Azure Batch service log files in an automated fashion * from Compute Nodes if you are experiencing an error and wish to escalate to * Azure support. The Azure Batch service log files should be shared with Azure @@ -27761,7 +27441,7 @@ public Mono> uploadNodeLogsWithResponseAsync(String poolId, * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

- * + * *
      * {@code
      * {
@@ -27774,9 +27454,9 @@ public Mono> uploadNodeLogsWithResponseAsync(String poolId,
      * }
      * }
      * 
- * + * *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -27785,7 +27465,7 @@ public Mono> uploadNodeLogsWithResponseAsync(String poolId,
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node for which you want to get the Remote Desktop * Protocol file. @@ -27823,21 +27503,22 @@ public Response uploadNodeLogsWithResponse(String poolId, String nod * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -27935,17 +27616,6 @@ public Response uploadNodeLogsWithResponse(String poolId, String nod
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -27968,11 +27638,11 @@ public Response uploadNodeLogsWithResponse(String poolId, String nod
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -27988,7 +27658,7 @@ public Response uploadNodeLogsWithResponse(String poolId, String nod
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool from which you want to list Compute Nodes. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -28025,21 +27695,22 @@ private Mono> listNodesSinglePageAsync(String poolId, * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -28137,17 +27808,6 @@ private Mono> listNodesSinglePageAsync(String poolId,
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -28170,11 +27830,11 @@ private Mono> listNodesSinglePageAsync(String poolId,
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -28190,7 +27850,7 @@ private Mono> listNodesSinglePageAsync(String poolId,
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool from which you want to list Compute Nodes. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -28245,21 +27905,22 @@ public PagedFlux listNodesAsync(String poolId, RequestOptions reques * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -28357,17 +28018,6 @@ public PagedFlux listNodesAsync(String poolId, RequestOptions reques
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -28390,11 +28040,11 @@ public PagedFlux listNodesAsync(String poolId, RequestOptions reques
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -28410,7 +28060,7 @@ public PagedFlux listNodesAsync(String poolId, RequestOptions reques
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool from which you want to list Compute Nodes. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -28445,21 +28095,22 @@ private PagedResponse listNodesSinglePage(String poolId, RequestOpti * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -28557,17 +28208,6 @@ private PagedResponse listNodesSinglePage(String poolId, RequestOpti
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -28590,11 +28230,11 @@ private PagedResponse listNodesSinglePage(String poolId, RequestOpti
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -28610,7 +28250,7 @@ private PagedResponse listNodesSinglePage(String poolId, RequestOpti
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool from which you want to list Compute Nodes. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -28659,7 +28299,7 @@ public PagedIterable listNodes(String poolId, RequestOptions request * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -28699,7 +28339,7 @@ public PagedIterable listNodes(String poolId, RequestOptions request
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that contains the extensions. * @param extensionName The name of the Compute Node Extension that you want to get information about. @@ -28730,7 +28370,7 @@ public Mono> getNodeExtensionWithResponseAsync(String poolI * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -28770,7 +28410,7 @@ public Mono> getNodeExtensionWithResponseAsync(String poolI
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node that contains the extensions. * @param extensionName The name of the Compute Node Extension that you want to get information about. @@ -28803,7 +28443,7 @@ public Response getNodeExtensionWithResponse(String poolId, String n * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -28843,7 +28483,7 @@ public Response getNodeExtensionWithResponse(String poolId, String n
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains Compute Node. * @param nodeId The ID of the Compute Node that you want to list extensions. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -28879,7 +28519,7 @@ private Mono> listNodeExtensionsSinglePageAsync(String * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -28919,7 +28559,7 @@ private Mono> listNodeExtensionsSinglePageAsync(String
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains Compute Node. * @param nodeId The ID of the Compute Node that you want to list extensions. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -28972,7 +28612,7 @@ public PagedFlux listNodeExtensionsAsync(String poolId, String nodeI * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29012,7 +28652,7 @@ public PagedFlux listNodeExtensionsAsync(String poolId, String nodeI
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains Compute Node. * @param nodeId The ID of the Compute Node that you want to list extensions. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -29046,7 +28686,7 @@ private PagedResponse listNodeExtensionsSinglePage(String poolId, St * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29086,7 +28726,7 @@ private PagedResponse listNodeExtensionsSinglePage(String poolId, St
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains Compute Node. * @param nodeId The ID of the Compute Node that you want to list extensions. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -29139,7 +28779,7 @@ public PagedIterable listNodeExtensions(String poolId, String nodeId * then the directory must be empty or deletion will fail. * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node. * @param filePath The path to the file or directory. @@ -29150,9 +28790,8 @@ public PagedIterable listNodeExtensions(String poolId, String nodeId @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteNodeFileWithResponseAsync(String poolId, String nodeId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.deleteNodeFile(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, filePath, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, filePath, requestOptions, context)); } /** @@ -29171,7 +28810,7 @@ public Mono> deleteNodeFileWithResponseAsync(String poolId, Strin * then the directory must be empty or deletion will fail. * * You can add these to a request with {@link RequestOptions#addQueryParam} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node. * @param filePath The path to the file or directory. @@ -29182,9 +28821,8 @@ public Mono> deleteNodeFileWithResponseAsync(String poolId, Strin @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteNodeFileWithResponse(String poolId, String nodeId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return service.deleteNodeFileSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, nodeId, - filePath, accept, requestOptions, Context.NONE); + filePath, requestOptions, Context.NONE); } /** @@ -29216,13 +28854,13 @@ public Response deleteNodeFileWithResponse(String poolId, String nodeId, S * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * BinaryData
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node. * @param filePath The path to the file or directory. @@ -29267,13 +28905,13 @@ public Mono> getNodeFileWithResponseAsync(String poolId, St * * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

- * + * *
      * {@code
      * BinaryData
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node. * @param filePath The path to the file or directory. @@ -29314,7 +28952,7 @@ public Response getNodeFileWithResponse(String poolId, String nodeId * not been modified since the specified time. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node. * @param filePath The path to the file or directory. @@ -29326,9 +28964,8 @@ public Response getNodeFileWithResponse(String poolId, String nodeId @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getNodeFilePropertiesWithResponseAsync(String poolId, String nodeId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return FluxUtil.withContext(context -> service.getNodeFileProperties(this.getEndpoint(), - this.getServiceVersion().getVersion(), poolId, nodeId, filePath, accept, requestOptions, context)); + this.getServiceVersion().getVersion(), poolId, nodeId, filePath, requestOptions, context)); } /** @@ -29356,7 +28993,7 @@ public Mono> getNodeFilePropertiesWithResponseAsync(String poolId * not been modified since the specified time. * * You can add these to a request with {@link RequestOptions#addHeader} - * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node. * @param filePath The path to the file or directory. @@ -29367,9 +29004,8 @@ public Mono> getNodeFilePropertiesWithResponseAsync(String poolId @ServiceMethod(returns = ReturnType.SINGLE) public Response getNodeFilePropertiesWithResponse(String poolId, String nodeId, String filePath, RequestOptions requestOptions) { - final String accept = "application/json"; return service.getNodeFilePropertiesSync(this.getEndpoint(), this.getServiceVersion().getVersion(), poolId, - nodeId, filePath, accept, requestOptions, Context.NONE); + nodeId, filePath, requestOptions, Context.NONE); } /** @@ -29391,7 +29027,7 @@ public Response getNodeFilePropertiesWithResponse(String poolId, String no * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29408,7 +29044,7 @@ public Response getNodeFilePropertiesWithResponse(String poolId, String no
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -29446,7 +29082,7 @@ private Mono> listNodeFilesSinglePageAsync(String pool * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29463,7 +29099,7 @@ private Mono> listNodeFilesSinglePageAsync(String pool
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -29519,7 +29155,7 @@ public PagedFlux listNodeFilesAsync(String poolId, String nodeId, Re * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29536,7 +29172,7 @@ public PagedFlux listNodeFilesAsync(String poolId, String nodeId, Re
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -29573,7 +29209,7 @@ private PagedResponse listNodeFilesSinglePage(String poolId, String * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29590,7 +29226,7 @@ private PagedResponse listNodeFilesSinglePage(String poolId, String
      * }
      * }
      * 
- * + * * @param poolId The ID of the Pool that contains the Compute Node. * @param nodeId The ID of the Compute Node whose files you want to list. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -29629,10 +29265,10 @@ public PagedIterable listNodeFiles(String poolId, String nodeId, Req /** * Lists all of the applications available in the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29644,7 +29280,7 @@ public PagedIterable listNodeFiles(String poolId, String nodeId, Req
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -29664,10 +29300,10 @@ private Mono> listApplicationsNextSinglePageAsync(Stri /** * Lists all of the applications available in the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29679,7 +29315,7 @@ private Mono> listApplicationsNextSinglePageAsync(Stri
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -29697,10 +29333,10 @@ private PagedResponse listApplicationsNextSinglePage(String nextLink /** * Lists the usage metrics, aggregated by Pool across individual time intervals, * for the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29712,7 +29348,7 @@ private PagedResponse listApplicationsNextSinglePage(String nextLink
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -29732,10 +29368,10 @@ private Mono> listPoolUsageMetricsNextSinglePageAsync( /** * Lists the usage metrics, aggregated by Pool across individual time intervals, * for the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -29747,7 +29383,7 @@ private Mono> listPoolUsageMetricsNextSinglePageAsync(
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -29764,25 +29400,25 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next } /** - * Lists all of the Pools which be mounted. - * + * Lists all of the Pools in the specified Account. + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -29803,6 +29439,15 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -29824,6 +29469,13 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -29856,16 +29508,19 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -29889,11 +29544,8 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -29937,9 +29589,18 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -29984,17 +29645,6 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -30003,6 +29653,7 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -30093,8 +29744,6 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -30116,7 +29765,7 @@ private PagedResponse listPoolUsageMetricsNextSinglePage(String next
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -30135,25 +29784,25 @@ private Mono> listPoolsNextSinglePageAsync(String next } /** - * Lists all of the Pools which be mounted. - * + * Lists all of the Pools in the specified Account. + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     allocationState: String(steady/resizing/stopping) (Optional)
      *     allocationStateTransitionTime: OffsetDateTime (Optional)
-     *     vmSize: String (Optional)
+     *     vmSize: String (Required)
      *     virtualMachineConfiguration (Optional): {
      *         imageReference (Required): {
      *             publisher: String (Optional)
@@ -30174,6 +29823,15 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *                 lun: int (Required)
      *                 caching: String(none/readonly/readwrite) (Optional)
      *                 diskSizeGB: int (Required)
+     *                 managedDisk (Optional): {
+     *                     diskEncryptionSet (Optional): {
+     *                         id: String (Optional)
+     *                     }
+     *                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                     securityProfile (Optional): {
+     *                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                     }
+     *                 }
      *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *             }
      *         ]
@@ -30195,6 +29853,13 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *             ]
      *         }
      *         diskEncryptionConfiguration (Optional): {
+     *             customerManagedKey (Optional): {
+     *                 identityReference (Optional): {
+     *                     resourceId: String (Optional)
+     *                 }
+     *                 keyUrl: String (Optional)
+     *                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *             }
      *             targets (Optional): [
      *                 String(osdisk/temporarydisk) (Optional)
      *             ]
@@ -30227,16 +29892,19 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *             }
      *             caching: String(none/readonly/readwrite) (Optional)
      *             diskSizeGB: Integer (Optional)
-     *             managedDisk (Optional): {
-     *                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                 securityProfile (Optional): {
-     *                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                 }
-     *             }
+     *             managedDisk (Optional): (recursive schema, see managedDisk above)
      *             writeAcceleratorEnabled: Boolean (Optional)
      *         }
      *         securityProfile (Optional): {
      *             encryptionAtHost: Boolean (Optional)
+     *             proxyAgentSettings (Optional): {
+     *                 enabled: Boolean (Optional)
+     *                 imds (Optional): {
+     *                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                     mode: String(Audit/Enforce) (Optional)
+     *                 }
+     *                 wireServer (Optional): (recursive schema, see wireServer above)
+     *             }
      *             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *             uefiSettings (Optional): {
      *                 secureBootEnabled: Boolean (Optional)
@@ -30260,11 +29928,8 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *             ]
      *         }
      *     ]
-     *     resourceTags (Optional): {
-     *         String: String (Required)
-     *     }
-     *     currentDedicatedNodes: Integer (Optional)
-     *     currentLowPriorityNodes: Integer (Optional)
+     *     currentDedicatedNodes: int (Required)
+     *     currentLowPriorityNodes: int (Required)
      *     targetDedicatedNodes: Integer (Optional)
      *     targetLowPriorityNodes: Integer (Optional)
      *     enableAutoScale: Boolean (Optional)
@@ -30308,9 +29973,18 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *         }
      *         publicIPAddressConfiguration (Optional): {
      *             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *             ipFamilies (Optional): [
+     *                 String(IPv4/IPv6) (Optional)
+     *             ]
      *             ipAddressIds (Optional): [
      *                 String (Optional)
      *             ]
+     *             ipTags (Optional): [
+     *                  (Optional){
+     *                     ipTagType: String (Optional)
+     *                     tag: String (Optional)
+     *                 }
+     *             ]
      *         }
      *         enableAcceleratedNetworking: Boolean (Optional)
      *     }
@@ -30355,17 +30029,6 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *         maxTaskRetryCount: Integer (Optional)
      *         waitForSuccess: Boolean (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     applicationPackageReferences (Optional): [
      *          (Optional){
      *             applicationId: String (Required)
@@ -30374,6 +30037,7 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *     ]
      *     taskSlotsPerNode: Integer (Optional)
      *     taskSchedulingPolicy (Optional): {
+     *         jobDefaultOrder: String(none/creationtime) (Optional)
      *         nodeFillType: String(spread/pack) (Required)
      *     }
      *     userAccounts (Optional): [
@@ -30464,8 +30128,6 @@ private Mono> listPoolsNextSinglePageAsync(String next
      *             }
      *         ]
      *     }
-     *     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
-     *     currentNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *     upgradePolicy (Optional): {
      *         mode: String(automatic/manual/rolling) (Required)
      *         automaticOSUpgradePolicy (Optional): {
@@ -30487,7 +30149,7 @@ private Mono> listPoolsNextSinglePageAsync(String next
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -30504,10 +30166,10 @@ private PagedResponse listPoolsNextSinglePage(String nextLink, Reque /** * Lists all Virtual Machine Images supported by the Azure Batch service. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -30531,7 +30193,7 @@ private PagedResponse listPoolsNextSinglePage(String nextLink, Reque
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -30550,10 +30212,10 @@ private Mono> listSupportedImagesNextSinglePageAsync(S /** * Lists all Virtual Machine Images supported by the Azure Batch service. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -30577,7 +30239,7 @@ private Mono> listSupportedImagesNextSinglePageAsync(S
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -30596,7 +30258,7 @@ private PagedResponse listSupportedImagesNextSinglePage(String nextL /** * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -30624,12 +30286,12 @@ private PagedResponse listSupportedImagesNextSinglePage(String nextL
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Compute Node counts in the Account along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return the number of Compute Nodes in each state, grouped by Pool along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listPoolNodeCountsNextSinglePageAsync(String nextLink, @@ -30644,7 +30306,7 @@ private Mono> listPoolNodeCountsNextSinglePageAsync(St /** * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -30672,11 +30334,11 @@ private Mono> listPoolNodeCountsNextSinglePageAsync(St
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Compute Node counts in the Account along with {@link PagedResponse}. + * @return the number of Compute Nodes in each state, grouped by Pool along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listPoolNodeCountsNextSinglePage(String nextLink, RequestOptions requestOptions) { @@ -30689,22 +30351,22 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi /** * Lists all of the Jobs in the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -30864,6 +30526,15 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -30878,6 +30549,13 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -30910,16 +30588,19 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -30932,10 +30613,10 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -30968,9 +30649,18 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -30987,17 +30677,6 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -31054,7 +30733,6 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -31121,7 +30799,7 @@ private PagedResponse listPoolNodeCountsNextSinglePage(String nextLi
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -31140,22 +30818,22 @@ private Mono> listJobsNextSinglePageAsync(String nextL /** * Lists all of the Jobs in the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -31315,6 +30993,15 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -31329,6 +31016,13 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -31361,16 +31055,19 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -31383,10 +31080,10 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -31419,9 +31116,18 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -31438,17 +31144,6 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -31505,7 +31200,6 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -31572,7 +31266,7 @@ private Mono> listJobsNextSinglePageAsync(String nextL
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -31589,22 +31283,22 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques /** * Lists the Jobs that have been created under the specified Job Schedule. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -31764,6 +31458,15 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -31778,6 +31481,13 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -31810,16 +31520,19 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -31832,10 +31545,10 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -31868,9 +31581,18 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -31887,17 +31609,6 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -31954,7 +31665,6 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -32021,7 +31731,7 @@ private PagedResponse listJobsNextSinglePage(String nextLink, Reques
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -32040,22 +31750,22 @@ private Mono> listJobsFromScheduleNextSinglePageAsync( /** * Lists the Jobs that have been created under the specified Job Schedule. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
      *     usesTaskDependencies: Boolean (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/disabling/disabled/enabling/terminating/completed/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     priority: Integer (Optional)
@@ -32215,6 +31925,15 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      *                             lun: int (Required)
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: int (Required)
+     *                             managedDisk (Optional): {
+     *                                 diskEncryptionSet (Optional): {
+     *                                     id: String (Optional)
+     *                                 }
+     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                 securityProfile (Optional): {
+     *                                     securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                 }
+     *                             }
      *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                         }
      *                     ]
@@ -32229,6 +31948,13 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      *                         ]
      *                     }
      *                     diskEncryptionConfiguration (Optional): {
+     *                         customerManagedKey (Optional): {
+     *                             identityReference (Optional): {
+     *                                 resourceId: String (Optional)
+     *                             }
+     *                             keyUrl: String (Optional)
+     *                             rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                         }
      *                         targets (Optional): [
      *                             String(osdisk/temporarydisk) (Optional)
      *                         ]
@@ -32261,16 +31987,19 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      *                         }
      *                         caching: String(none/readonly/readwrite) (Optional)
      *                         diskSizeGB: Integer (Optional)
-     *                         managedDisk (Optional): {
-     *                             storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                             securityProfile (Optional): {
-     *                                 securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                             }
-     *                         }
+     *                         managedDisk (Optional): (recursive schema, see managedDisk above)
      *                         writeAcceleratorEnabled: Boolean (Optional)
      *                     }
      *                     securityProfile (Optional): {
      *                         encryptionAtHost: Boolean (Optional)
+     *                         proxyAgentSettings (Optional): {
+     *                             enabled: Boolean (Optional)
+     *                             imds (Optional): {
+     *                                 inVMAccessControlProfileReferenceId: String (Optional)
+     *                                 mode: String(Audit/Enforce) (Optional)
+     *                             }
+     *                             wireServer (Optional): (recursive schema, see wireServer above)
+     *                         }
      *                         securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                         uefiSettings (Optional): {
      *                             secureBootEnabled: Boolean (Optional)
@@ -32283,10 +32012,10 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      *                 }
      *                 taskSlotsPerNode: Integer (Optional)
      *                 taskSchedulingPolicy (Optional): {
+     *                     jobDefaultOrder: String(none/creationtime) (Optional)
      *                     nodeFillType: String(spread/pack) (Required)
      *                 }
      *                 resizeTimeout: Duration (Optional)
-     *                 resourceTags: String (Optional)
      *                 targetDedicatedNodes: Integer (Optional)
      *                 targetLowPriorityNodes: Integer (Optional)
      *                 enableAutoScale: Boolean (Optional)
@@ -32319,9 +32048,18 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      *                     }
      *                     publicIPAddressConfiguration (Optional): {
      *                         provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                         ipFamilies (Optional): [
+     *                             String(IPv4/IPv6) (Optional)
+     *                         ]
      *                         ipAddressIds (Optional): [
      *                             String (Optional)
      *                         ]
+     *                         ipTags (Optional): [
+     *                              (Optional){
+     *                                 ipTagType: String (Optional)
+     *                                 tag: String (Optional)
+     *                             }
+     *                         ]
      *                     }
      *                     enableAcceleratedNetworking: Boolean (Optional)
      *                 }
@@ -32338,17 +32076,6 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      *                     maxTaskRetryCount: Integer (Optional)
      *                     waitForSuccess: Boolean (Optional)
      *                 }
-     *                 certificateReferences (Optional): [
-     *                      (Optional){
-     *                         thumbprint: String (Required)
-     *                         thumbprintAlgorithm: String (Required)
-     *                         storeLocation: String(currentuser/localmachine) (Optional)
-     *                         storeName: String (Optional)
-     *                         visibility (Optional): [
-     *                             String(starttask/task/remoteuser) (Optional)
-     *                         ]
-     *                     }
-     *                 ]
      *                 applicationPackageReferences (Optional): [
      *                     (recursive schema, see above)
      *                 ]
@@ -32405,7 +32132,6 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      *                         }
      *                     }
      *                 ]
-     *                 targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                 upgradePolicy (Optional): {
      *                     mode: String(automatic/manual/rolling) (Required)
      *                     automaticOSUpgradePolicy (Optional): {
@@ -32472,7 +32198,7 @@ private Mono> listJobsFromScheduleNextSinglePageAsync(
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -32491,10 +32217,10 @@ private PagedResponse listJobsFromScheduleNextSinglePage(String next /** * Lists the execution status of the Job Preparation and Job Release Task for the * specified Job across the Compute Nodes where the Job has run. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -32542,7 +32268,7 @@ private PagedResponse listJobsFromScheduleNextSinglePage(String next
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -32563,10 +32289,10 @@ private Mono> listJobPreparationAndReleaseTaskStatusNe /** * Lists the execution status of the Job Preparation and Job Release Task for the * specified Job across the Compute Nodes where the Job has run. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -32614,7 +32340,7 @@ private Mono> listJobPreparationAndReleaseTaskStatusNe
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -32631,122 +32357,23 @@ private PagedResponse listJobPreparationAndReleaseTaskStatusNextSing getValues(res.getValue(), "value"), getNextLink(res.getValue(), "odata.nextLink"), null); } - /** - * Lists all of the Certificates that have been added to the specified Account. - * - * Get the next page of items. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param nextLink The URL to get the next list of items. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCertificatesNextSinglePageAsync(String nextLink, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listCertificatesNext(nextLink, this.getEndpoint(), accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "odata.nextLink"), null)); - } - - /** - * Lists all of the Certificates that have been added to the specified Account. - * - * Get the next page of items. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     thumbprint: String (Required)
-     *     thumbprintAlgorithm: String (Required)
-     *     url: String (Optional)
-     *     state: String(active/deleting/deletefailed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     previousState: String(active/deleting/deletefailed) (Optional)
-     *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     publicData: String (Optional)
-     *     deleteCertificateError (Optional): {
-     *         code: String (Optional)
-     *         message: String (Optional)
-     *         values (Optional): [
-     *              (Optional){
-     *                 name: String (Optional)
-     *                 value: String (Optional)
-     *             }
-     *         ]
-     *     }
-     *     data: byte[] (Required)
-     *     certificateFormat: String(pfx/cer) (Optional)
-     *     password: String (Optional)
-     * }
-     * }
-     * 
- * - * @param nextLink The URL to get the next list of items. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws BatchErrorException thrown if the request is rejected by server. - * @return the result of listing the Certificates in the Account along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listCertificatesNextSinglePage(String nextLink, RequestOptions requestOptions) { - final String accept = "application/json"; - Response res - = service.listCertificatesNextSync(nextLink, this.getEndpoint(), accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "odata.nextLink"), null); - } - /** * Lists all of the Job Schedules in the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -32921,6 +32548,15 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -32935,6 +32571,13 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -32967,16 +32610,19 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -32989,10 +32635,10 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -33025,9 +32671,18 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -33044,17 +32699,6 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -33111,7 +32755,6 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -33137,7 +32780,7 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -33167,7 +32810,7 @@ private PagedResponse listCertificatesNextSinglePage(String nextLink
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -33187,21 +32830,21 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri /** * Lists all of the Job Schedules in the specified Account. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
-     *     state: String(active/completed/disabled/terminating/deleting) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
+     *     state: String(active/completed/disabled/terminating/deleting) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/completed/disabled/terminating/deleting) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
      *     schedule (Optional): {
@@ -33376,6 +33019,15 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *                                 lun: int (Required)
      *                                 caching: String(none/readonly/readwrite) (Optional)
      *                                 diskSizeGB: int (Required)
+     *                                 managedDisk (Optional): {
+     *                                     diskEncryptionSet (Optional): {
+     *                                         id: String (Optional)
+     *                                     }
+     *                                     storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
+     *                                     securityProfile (Optional): {
+     *                                         securityEncryptionType: String(DiskWithVMGuestState/NonPersistedTPM/VMGuestStateOnly) (Optional)
+     *                                     }
+     *                                 }
      *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
      *                             }
      *                         ]
@@ -33390,6 +33042,13 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *                             ]
      *                         }
      *                         diskEncryptionConfiguration (Optional): {
+     *                             customerManagedKey (Optional): {
+     *                                 identityReference (Optional): {
+     *                                     resourceId: String (Optional)
+     *                                 }
+     *                                 keyUrl: String (Optional)
+     *                                 rotationToLatestKeyVersionEnabled: Boolean (Optional)
+     *                             }
      *                             targets (Optional): [
      *                                 String(osdisk/temporarydisk) (Optional)
      *                             ]
@@ -33422,16 +33081,19 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *                             }
      *                             caching: String(none/readonly/readwrite) (Optional)
      *                             diskSizeGB: Integer (Optional)
-     *                             managedDisk (Optional): {
-     *                                 storageAccountType: String(standard_lrs/premium_lrs/standardssd_lrs) (Optional)
-     *                                 securityProfile (Optional): {
-     *                                     securityEncryptionType: String(NonPersistedTPM/VMGuestStateOnly) (Optional)
-     *                                 }
-     *                             }
+     *                             managedDisk (Optional): (recursive schema, see managedDisk above)
      *                             writeAcceleratorEnabled: Boolean (Optional)
      *                         }
      *                         securityProfile (Optional): {
      *                             encryptionAtHost: Boolean (Optional)
+     *                             proxyAgentSettings (Optional): {
+     *                                 enabled: Boolean (Optional)
+     *                                 imds (Optional): {
+     *                                     inVMAccessControlProfileReferenceId: String (Optional)
+     *                                     mode: String(Audit/Enforce) (Optional)
+     *                                 }
+     *                                 wireServer (Optional): (recursive schema, see wireServer above)
+     *                             }
      *                             securityType: String(trustedLaunch/confidentialVM) (Optional)
      *                             uefiSettings (Optional): {
      *                                 secureBootEnabled: Boolean (Optional)
@@ -33444,10 +33106,10 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *                     }
      *                     taskSlotsPerNode: Integer (Optional)
      *                     taskSchedulingPolicy (Optional): {
+     *                         jobDefaultOrder: String(none/creationtime) (Optional)
      *                         nodeFillType: String(spread/pack) (Required)
      *                     }
      *                     resizeTimeout: Duration (Optional)
-     *                     resourceTags: String (Optional)
      *                     targetDedicatedNodes: Integer (Optional)
      *                     targetLowPriorityNodes: Integer (Optional)
      *                     enableAutoScale: Boolean (Optional)
@@ -33480,9 +33142,18 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *                         }
      *                         publicIPAddressConfiguration (Optional): {
      *                             provision: String(batchmanaged/usermanaged/nopublicipaddresses) (Optional)
+     *                             ipFamilies (Optional): [
+     *                                 String(IPv4/IPv6) (Optional)
+     *                             ]
      *                             ipAddressIds (Optional): [
      *                                 String (Optional)
      *                             ]
+     *                             ipTags (Optional): [
+     *                                  (Optional){
+     *                                     ipTagType: String (Optional)
+     *                                     tag: String (Optional)
+     *                                 }
+     *                             ]
      *                         }
      *                         enableAcceleratedNetworking: Boolean (Optional)
      *                     }
@@ -33499,17 +33170,6 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *                         maxTaskRetryCount: Integer (Optional)
      *                         waitForSuccess: Boolean (Optional)
      *                     }
-     *                     certificateReferences (Optional): [
-     *                          (Optional){
-     *                             thumbprint: String (Required)
-     *                             thumbprintAlgorithm: String (Required)
-     *                             storeLocation: String(currentuser/localmachine) (Optional)
-     *                             storeName: String (Optional)
-     *                             visibility (Optional): [
-     *                                 String(starttask/task/remoteuser) (Optional)
-     *                             ]
-     *                         }
-     *                     ]
      *                     applicationPackageReferences (Optional): [
      *                         (recursive schema, see above)
      *                     ]
@@ -33566,7 +33226,6 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *                             }
      *                         }
      *                     ]
-     *                     targetNodeCommunicationMode: String(default/classic/simplified) (Optional)
      *                     upgradePolicy (Optional): {
      *                         mode: String(automatic/manual/rolling) (Required)
      *                         automaticOSUpgradePolicy (Optional): {
@@ -33592,7 +33251,7 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      *             (recursive schema, see above)
      *         ]
      *     }
-     *     executionInfo (Optional): {
+     *     executionInfo (Required): {
      *         nextRunTime: OffsetDateTime (Optional)
      *         recentJob (Optional): {
      *             id: String (Optional)
@@ -33622,7 +33281,7 @@ private Mono> listJobSchedulesNextSinglePageAsync(Stri
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -33639,19 +33298,19 @@ private PagedResponse listJobSchedulesNextSinglePage(String nextLink /** * Lists all of the Tasks that are associated with the specified Job. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -33673,11 +33332,11 @@ private PagedResponse listJobSchedulesNextSinglePage(String nextLink
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -33830,7 +33489,7 @@ private PagedResponse listJobSchedulesNextSinglePage(String nextLink
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -33850,19 +33509,19 @@ private Mono> listTasksNextSinglePageAsync(String next /** * Lists all of the Tasks that are associated with the specified Job. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
+     *     id: String (Required)
      *     displayName: String (Optional)
-     *     url: String (Optional)
-     *     eTag: String (Optional)
-     *     lastModified: OffsetDateTime (Optional)
-     *     creationTime: OffsetDateTime (Optional)
+     *     url: String (Required)
+     *     eTag: String (Required)
+     *     lastModified: OffsetDateTime (Required)
+     *     creationTime: OffsetDateTime (Required)
      *     exitConditions (Optional): {
      *         exitCodes (Optional): [
      *              (Optional){
@@ -33884,11 +33543,11 @@ private Mono> listTasksNextSinglePageAsync(String next
      *         fileUploadError (Optional): (recursive schema, see fileUploadError above)
      *         default (Optional): (recursive schema, see default above)
      *     }
-     *     state: String(active/preparing/running/completed) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
+     *     state: String(active/preparing/running/completed) (Required)
+     *     stateTransitionTime: OffsetDateTime (Required)
      *     previousState: String(active/preparing/running/completed) (Optional)
      *     previousStateTransitionTime: OffsetDateTime (Optional)
-     *     commandLine: String (Optional)
+     *     commandLine: String (Required)
      *     containerSettings (Optional): {
      *         containerRunOptions: String (Optional)
      *         imageName: String (Required)
@@ -34041,7 +33700,7 @@ private Mono> listTasksNextSinglePageAsync(String next
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34059,10 +33718,10 @@ private PagedResponse listTasksNextSinglePage(String nextLink, Reque /** * Lists all of the subtasks that are associated with the specified multi-instance * Task. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34102,7 +33761,7 @@ private PagedResponse listTasksNextSinglePage(String nextLink, Reque
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34123,10 +33782,10 @@ private Mono> listSubTasksNextSinglePageAsync(String n /** * Lists all of the subtasks that are associated with the specified multi-instance * Task. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34166,7 +33825,7 @@ private Mono> listSubTasksNextSinglePageAsync(String n
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34183,10 +33842,10 @@ private PagedResponse listSubTasksNextSinglePage(String nextLink, Re /** * Lists the files in a Task's directory on its Compute Node. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34203,7 +33862,7 @@ private PagedResponse listSubTasksNextSinglePage(String nextLink, Re
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34223,10 +33882,10 @@ private Mono> listTaskFilesNextSinglePageAsync(String /** * Lists the files in a Task's directory on its Compute Node. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34243,7 +33902,7 @@ private Mono> listTaskFilesNextSinglePageAsync(String
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34261,24 +33920,25 @@ private PagedResponse listTaskFilesNextSinglePage(String nextLink, R /** * Lists the Compute Nodes in the specified Pool. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -34376,17 +34036,6 @@ private PagedResponse listTaskFilesNextSinglePage(String nextLink, R
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -34409,11 +34058,11 @@ private PagedResponse listTaskFilesNextSinglePage(String nextLink, R
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -34429,7 +34078,7 @@ private PagedResponse listTaskFilesNextSinglePage(String nextLink, R
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34449,24 +34098,25 @@ private Mono> listNodesNextSinglePageAsync(String next /** * Lists the Compute Nodes in the specified Pool. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
-     *     id: String (Optional)
-     *     url: String (Optional)
-     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Optional)
+     *     id: String (Required)
+     *     url: String (Required)
+     *     state: String(idle/rebooting/reimaging/running/unusable/creating/starting/waitingforstarttask/starttaskfailed/unknown/leavingpool/offline/preempted/upgradingos/deallocated/deallocating) (Required)
      *     schedulingState: String(enabled/disabled) (Optional)
-     *     stateTransitionTime: OffsetDateTime (Optional)
-     *     lastBootTime: OffsetDateTime (Optional)
-     *     allocationTime: OffsetDateTime (Optional)
-     *     ipAddress: String (Optional)
-     *     affinityId: String (Optional)
-     *     vmSize: String (Optional)
-     *     totalTasksRun: Integer (Optional)
+     *     stateTransitionTime: OffsetDateTime (Required)
+     *     lastBootTime: OffsetDateTime (Required)
+     *     allocationTime: OffsetDateTime (Required)
+     *     ipAddress: String (Required)
+     *     ipv6Address: String (Required)
+     *     affinityId: String (Required)
+     *     vmSize: String (Required)
+     *     totalTasksRun: int (Required)
      *     runningTasksCount: Integer (Optional)
      *     runningTaskSlotsCount: Integer (Optional)
      *     totalTasksSucceeded: Integer (Optional)
@@ -34564,17 +34214,6 @@ private Mono> listNodesNextSinglePageAsync(String next
      *         lastRetryTime: OffsetDateTime (Optional)
      *         result: String(success/failure) (Optional)
      *     }
-     *     certificateReferences (Optional): [
-     *          (Optional){
-     *             thumbprint: String (Required)
-     *             thumbprintAlgorithm: String (Required)
-     *             storeLocation: String(currentuser/localmachine) (Optional)
-     *             storeName: String (Optional)
-     *             visibility (Optional): [
-     *                 String(starttask/task/remoteuser) (Optional)
-     *             ]
-     *         }
-     *     ]
      *     errors (Optional): [
      *          (Optional){
      *             code: String (Optional)
@@ -34597,11 +34236,11 @@ private Mono> listNodesNextSinglePageAsync(String next
      *             }
      *         ]
      *     }
-     *     nodeAgentInfo (Optional): {
+     *     nodeAgentInfo (Required): {
      *         version: String (Required)
      *         lastUpdateTime: OffsetDateTime (Required)
      *     }
-     *     virtualMachineInfo (Optional): {
+     *     virtualMachineInfo (Required): {
      *         imageReference (Optional): {
      *             publisher: String (Optional)
      *             offer: String (Optional)
@@ -34617,7 +34256,7 @@ private Mono> listNodesNextSinglePageAsync(String next
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34634,10 +34273,10 @@ private PagedResponse listNodesNextSinglePage(String nextLink, Reque /** * Lists the Compute Nodes Extensions in the specified Pool. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34677,7 +34316,7 @@ private PagedResponse listNodesNextSinglePage(String nextLink, Reque
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34696,10 +34335,10 @@ private Mono> listNodeExtensionsNextSinglePageAsync(St /** * Lists the Compute Nodes Extensions in the specified Pool. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34739,7 +34378,7 @@ private Mono> listNodeExtensionsNextSinglePageAsync(St
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34756,10 +34395,10 @@ private PagedResponse listNodeExtensionsNextSinglePage(String nextLi /** * Lists all of the files in Task directories on the specified Compute Node. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34776,7 +34415,7 @@ private PagedResponse listNodeExtensionsNextSinglePage(String nextLi
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. @@ -34796,10 +34435,10 @@ private Mono> listNodeFilesNextSinglePageAsync(String /** * Lists all of the files in Task directories on the specified Compute Node. - * + * * Get the next page of items. *

Response Body Schema

- * + * *
      * {@code
      * {
@@ -34816,7 +34455,7 @@ private Mono> listNodeFilesNextSinglePageAsync(String
      * }
      * }
      * 
- * + * * @param nextLink The URL to get the next list of items. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws BatchErrorException thrown if the request is rejected by server. diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/AutoUserSpecification.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/AutoUserSpecification.java index b956d6e0b21e..c2687fd80d4b 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/AutoUserSpecification.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/AutoUserSpecification.java @@ -20,8 +20,7 @@ public final class AutoUserSpecification implements JsonSerializable { - - /* - * The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits (it may include spaces but - * these are removed). - */ - @Generated - private final String thumbprint; - - /* - * The algorithm used to derive the thumbprint. This must be sha1. - */ - @Generated - private final String thumbprintAlgorithm; - - /* - * The URL of the Certificate. - */ - @Generated - private String url; - - /* - * The state of the Certificate. - */ - @Generated - private BatchCertificateState state; - - /* - * The time at which the Certificate entered its current state. - */ - @Generated - private OffsetDateTime stateTransitionTime; - - /* - * The previous state of the Certificate. This property is not set if the Certificate is in its initial active - * state. - */ - @Generated - private BatchCertificateState previousState; - - /* - * The time at which the Certificate entered its previous state. This property is not set if the Certificate is in - * its initial Active state. - */ - @Generated - private OffsetDateTime previousStateTransitionTime; - - /* - * The public part of the Certificate as a base-64 encoded .cer file. - */ - @Generated - private String publicData; - - /* - * The error that occurred on the last attempt to delete this Certificate. This property is set only if the - * Certificate is in the DeleteFailed state. - */ - @Generated - private BatchCertificateDeleteError deleteCertificateError; - - /* - * The base64-encoded contents of the Certificate. The maximum size is 10KB. - */ - @Generated - private final byte[] data; - - /* - * The format of the Certificate data. - */ - @Generated - private BatchCertificateFormat certificateFormat; - - /* - * The password to access the Certificate's private key. This must be omitted if the Certificate format is cer. - */ - @Generated - private String password; - - /** - * Get the thumbprint property: The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits - * (it may include spaces but these are removed). - * - * @return the thumbprint value. - */ - @Generated - public String getThumbprint() { - return this.thumbprint; - } - - /** - * Get the thumbprintAlgorithm property: The algorithm used to derive the thumbprint. This must be sha1. - * - * @return the thumbprintAlgorithm value. - */ - @Generated - public String getThumbprintAlgorithm() { - return this.thumbprintAlgorithm; - } - - /** - * Get the url property: The URL of the Certificate. - * - * @return the url value. - */ - @Generated - public String getUrl() { - return this.url; - } - - /** - * Get the state property: The state of the Certificate. - * - * @return the state value. - */ - @Generated - public BatchCertificateState getState() { - return this.state; - } - - /** - * Get the stateTransitionTime property: The time at which the Certificate entered its current state. - * - * @return the stateTransitionTime value. - */ - @Generated - public OffsetDateTime getStateTransitionTime() { - return this.stateTransitionTime; - } - - /** - * Get the previousState property: The previous state of the Certificate. This property is not set if the - * Certificate is in its initial active state. - * - * @return the previousState value. - */ - @Generated - public BatchCertificateState getPreviousState() { - return this.previousState; - } - - /** - * Get the previousStateTransitionTime property: The time at which the Certificate entered its previous state. This - * property is not set if the Certificate is in its initial Active state. - * - * @return the previousStateTransitionTime value. - */ - @Generated - public OffsetDateTime getPreviousStateTransitionTime() { - return this.previousStateTransitionTime; - } - - /** - * Get the publicData property: The public part of the Certificate as a base-64 encoded .cer file. - * - * @return the publicData value. - */ - @Generated - public String getPublicData() { - return this.publicData; - } - - /** - * Get the deleteCertificateError property: The error that occurred on the last attempt to delete this Certificate. - * This property is set only if the Certificate is in the DeleteFailed state. - * - * @return the deleteCertificateError value. - */ - @Generated - public BatchCertificateDeleteError getDeleteCertificateError() { - return this.deleteCertificateError; - } - - /** - * Get the data property: The base64-encoded contents of the Certificate. The maximum size is 10KB. - * - * @return the data value. - */ - @Generated - public byte[] getData() { - return CoreUtils.clone(this.data); - } - - /** - * Get the certificateFormat property: The format of the Certificate data. - * - * @return the certificateFormat value. - */ - @Generated - public BatchCertificateFormat getCertificateFormat() { - return this.certificateFormat; - } - - /** - * Set the certificateFormat property: The format of the Certificate data. - * - * @param certificateFormat the certificateFormat value to set. - * @return the BatchCertificate object itself. - */ - @Generated - public BatchCertificate setCertificateFormat(BatchCertificateFormat certificateFormat) { - this.certificateFormat = certificateFormat; - return this; - } - - /** - * Get the password property: The password to access the Certificate's private key. This must be omitted if the - * Certificate format is cer. - * - * @return the password value. - */ - @Generated - public String getPassword() { - return this.password; - } - - /** - * Set the password property: The password to access the Certificate's private key. This must be omitted if the - * Certificate format is cer. - * - * @param password the password value to set. - * @return the BatchCertificate object itself. - */ - @Generated - public BatchCertificate setPassword(String password) { - this.password = password; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("thumbprint", this.thumbprint); - jsonWriter.writeStringField("thumbprintAlgorithm", this.thumbprintAlgorithm); - jsonWriter.writeBinaryField("data", this.data); - jsonWriter.writeStringField("certificateFormat", - this.certificateFormat == null ? null : this.certificateFormat.toString()); - jsonWriter.writeStringField("password", this.password); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of BatchCertificate from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of BatchCertificate if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the BatchCertificate. - */ - @Generated - public static BatchCertificate fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String thumbprint = null; - String thumbprintAlgorithm = null; - byte[] data = null; - String url = null; - BatchCertificateState state = null; - OffsetDateTime stateTransitionTime = null; - BatchCertificateState previousState = null; - OffsetDateTime previousStateTransitionTime = null; - String publicData = null; - BatchCertificateDeleteError deleteCertificateError = null; - BatchCertificateFormat certificateFormat = null; - String password = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("thumbprint".equals(fieldName)) { - thumbprint = reader.getString(); - } else if ("thumbprintAlgorithm".equals(fieldName)) { - thumbprintAlgorithm = reader.getString(); - } else if ("data".equals(fieldName)) { - data = reader.getBinary(); - } else if ("url".equals(fieldName)) { - url = reader.getString(); - } else if ("state".equals(fieldName)) { - state = BatchCertificateState.fromString(reader.getString()); - } else if ("stateTransitionTime".equals(fieldName)) { - stateTransitionTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("previousState".equals(fieldName)) { - previousState = BatchCertificateState.fromString(reader.getString()); - } else if ("previousStateTransitionTime".equals(fieldName)) { - previousStateTransitionTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("publicData".equals(fieldName)) { - publicData = reader.getString(); - } else if ("deleteCertificateError".equals(fieldName)) { - deleteCertificateError = BatchCertificateDeleteError.fromJson(reader); - } else if ("certificateFormat".equals(fieldName)) { - certificateFormat = BatchCertificateFormat.fromString(reader.getString()); - } else if ("password".equals(fieldName)) { - password = reader.getString(); - } else { - reader.skipChildren(); - } - } - BatchCertificate deserializedBatchCertificate = new BatchCertificate(thumbprint, thumbprintAlgorithm, data); - deserializedBatchCertificate.url = url; - deserializedBatchCertificate.state = state; - deserializedBatchCertificate.stateTransitionTime = stateTransitionTime; - deserializedBatchCertificate.previousState = previousState; - deserializedBatchCertificate.previousStateTransitionTime = previousStateTransitionTime; - deserializedBatchCertificate.publicData = publicData; - deserializedBatchCertificate.deleteCertificateError = deleteCertificateError; - deserializedBatchCertificate.certificateFormat = certificateFormat; - deserializedBatchCertificate.password = password; - return deserializedBatchCertificate; - }); - } - - /** - * Creates an instance of BatchCertificate class. - * - * @param thumbprint the thumbprint value to set. - * @param thumbprintAlgorithm the thumbprintAlgorithm value to set. - * @param data the data value to set. - */ - @Generated - public BatchCertificate(String thumbprint, String thumbprintAlgorithm, byte[] data) { - this.thumbprint = thumbprint; - this.thumbprintAlgorithm = thumbprintAlgorithm; - this.data = data; - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateCancelDeletionOptions.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateCancelDeletionOptions.java deleted file mode 100644 index 10cadaa1e70e..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateCancelDeletionOptions.java +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.time.Duration; - -/** - * Optional parameters for Cancel Certificate Deletion operation. - */ -@Fluent -public final class BatchCertificateCancelDeletionOptions { - - /* - * The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the - * value is larger than 30, the default will be used instead.". - */ - @Generated - private Long timeOutInSeconds; - - /** - * Creates an instance of BatchCertificateCancelDeletionOptions class. - */ - @Generated - public BatchCertificateCancelDeletionOptions() { - } - - /** - * Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @return the timeOutInSeconds value. - */ - @Generated - public Duration getTimeOutInSeconds() { - if (this.timeOutInSeconds == null) { - return null; - } - return Duration.ofSeconds(this.timeOutInSeconds); - } - - /** - * Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @param timeOutInSeconds the timeOutInSeconds value to set. - * @return the BatchCertificateCancelDeletionOptions object itself. - */ - @Generated - public BatchCertificateCancelDeletionOptions setTimeOutInSeconds(Duration timeOutInSeconds) { - if (timeOutInSeconds == null) { - this.timeOutInSeconds = null; - } else { - this.timeOutInSeconds = timeOutInSeconds.getSeconds(); - } - return this; - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateCreateOptions.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateCreateOptions.java deleted file mode 100644 index 5e505aac2435..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateCreateOptions.java +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.time.Duration; - -/** - * Optional parameters for Create Certificate operation. - */ -@Fluent -public final class BatchCertificateCreateOptions { - - /* - * The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the - * value is larger than 30, the default will be used instead.". - */ - @Generated - private Long timeOutInSeconds; - - /** - * Creates an instance of BatchCertificateCreateOptions class. - */ - @Generated - public BatchCertificateCreateOptions() { - } - - /** - * Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @return the timeOutInSeconds value. - */ - @Generated - public Duration getTimeOutInSeconds() { - if (this.timeOutInSeconds == null) { - return null; - } - return Duration.ofSeconds(this.timeOutInSeconds); - } - - /** - * Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @param timeOutInSeconds the timeOutInSeconds value to set. - * @return the BatchCertificateCreateOptions object itself. - */ - @Generated - public BatchCertificateCreateOptions setTimeOutInSeconds(Duration timeOutInSeconds) { - if (timeOutInSeconds == null) { - this.timeOutInSeconds = null; - } else { - this.timeOutInSeconds = timeOutInSeconds.getSeconds(); - } - return this; - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteError.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteError.java deleted file mode 100644 index 079d46ca0bfa..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteError.java +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * An error encountered by the Batch service when deleting a Certificate. - */ -@Immutable -public final class BatchCertificateDeleteError implements JsonSerializable { - - /* - * An identifier for the Certificate deletion error. Codes are invariant and are intended to be consumed - * programmatically. - */ - @Generated - private String code; - - /* - * A message describing the Certificate deletion error, intended to be suitable for display in a user interface. - */ - @Generated - private String message; - - /* - * A list of additional error details related to the Certificate deletion error. This list includes details such as - * the active Pools and Compute Nodes referencing this Certificate. However, if a large number of resources - * reference the Certificate, the list contains only about the first hundred. - */ - @Generated - private List values; - - /** - * Creates an instance of BatchCertificateDeleteError class. - */ - @Generated - private BatchCertificateDeleteError() { - } - - /** - * Get the code property: An identifier for the Certificate deletion error. Codes are invariant and are intended to - * be consumed programmatically. - * - * @return the code value. - */ - @Generated - public String getCode() { - return this.code; - } - - /** - * Get the message property: A message describing the Certificate deletion error, intended to be suitable for - * display in a user interface. - * - * @return the message value. - */ - @Generated - public String getMessage() { - return this.message; - } - - /** - * Get the values property: A list of additional error details related to the Certificate deletion error. This list - * includes details such as the active Pools and Compute Nodes referencing this Certificate. However, if a large - * number of resources reference the Certificate, the list contains only about the first hundred. - * - * @return the values value. - */ - @Generated - public List getValues() { - return this.values; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("code", this.code); - jsonWriter.writeStringField("message", this.message); - jsonWriter.writeArrayField("values", this.values, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of BatchCertificateDeleteError from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of BatchCertificateDeleteError if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the BatchCertificateDeleteError. - */ - @Generated - public static BatchCertificateDeleteError fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - BatchCertificateDeleteError deserializedBatchCertificateDeleteError = new BatchCertificateDeleteError(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("code".equals(fieldName)) { - deserializedBatchCertificateDeleteError.code = reader.getString(); - } else if ("message".equals(fieldName)) { - deserializedBatchCertificateDeleteError.message = reader.getString(); - } else if ("values".equals(fieldName)) { - List values = reader.readArray(reader1 -> NameValuePair.fromJson(reader1)); - deserializedBatchCertificateDeleteError.values = values; - } else { - reader.skipChildren(); - } - } - return deserializedBatchCertificateDeleteError; - }); - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteOptions.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteOptions.java deleted file mode 100644 index ec98b223ac82..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteOptions.java +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.time.Duration; - -/** - * Optional parameters for Delete Certificate operation. - */ -@Fluent -public final class BatchCertificateDeleteOptions { - - /* - * The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the - * value is larger than 30, the default will be used instead.". - */ - @Generated - private Long timeOutInSeconds; - - /** - * Creates an instance of BatchCertificateDeleteOptions class. - */ - @Generated - public BatchCertificateDeleteOptions() { - } - - /** - * Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @return the timeOutInSeconds value. - */ - @Generated - public Duration getTimeOutInSeconds() { - if (this.timeOutInSeconds == null) { - return null; - } - return Duration.ofSeconds(this.timeOutInSeconds); - } - - /** - * Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @param timeOutInSeconds the timeOutInSeconds value to set. - * @return the BatchCertificateDeleteOptions object itself. - */ - @Generated - public BatchCertificateDeleteOptions setTimeOutInSeconds(Duration timeOutInSeconds) { - if (timeOutInSeconds == null) { - this.timeOutInSeconds = null; - } else { - this.timeOutInSeconds = timeOutInSeconds.getSeconds(); - } - return this; - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateFormat.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateFormat.java deleted file mode 100644 index 902d3af0a58e..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateFormat.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * BatchCertificateFormat enums. - */ -public final class BatchCertificateFormat extends ExpandableStringEnum { - - /** - * The Certificate is a PFX (PKCS#12) formatted Certificate or Certificate chain. - */ - @Generated - public static final BatchCertificateFormat PFX = fromString("pfx"); - - /** - * The Certificate is a base64-encoded X.509 Certificate. - */ - @Generated - public static final BatchCertificateFormat CER = fromString("cer"); - - /** - * Creates a new instance of BatchCertificateFormat value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public BatchCertificateFormat() { - } - - /** - * Creates or finds a BatchCertificateFormat from its string representation. - * - * @param name a name to look for. - * @return the corresponding BatchCertificateFormat. - */ - @Generated - public static BatchCertificateFormat fromString(String name) { - return fromString(name, BatchCertificateFormat.class); - } - - /** - * Gets known BatchCertificateFormat values. - * - * @return known BatchCertificateFormat values. - */ - @Generated - public static Collection values() { - return values(BatchCertificateFormat.class); - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateGetOptions.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateGetOptions.java deleted file mode 100644 index 03bcaaa544db..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateGetOptions.java +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.time.Duration; -import java.util.List; - -/** - * Optional parameters for Get Certificate operation. - */ -@Fluent -public final class BatchCertificateGetOptions { - - /* - * The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the - * value is larger than 30, the default will be used instead.". - */ - @Generated - private Long timeOutInSeconds; - - /* - * An OData $select clause. - */ - @Generated - private List select; - - /** - * Creates an instance of BatchCertificateGetOptions class. - */ - @Generated - public BatchCertificateGetOptions() { - } - - /** - * Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @return the timeOutInSeconds value. - */ - @Generated - public Duration getTimeOutInSeconds() { - if (this.timeOutInSeconds == null) { - return null; - } - return Duration.ofSeconds(this.timeOutInSeconds); - } - - /** - * Get the select property: An OData $select clause. - * - * @return the select value. - */ - @Generated - public List getSelect() { - return this.select; - } - - /** - * Set the select property: An OData $select clause. - * - * @param select the select value to set. - * @return the BatchCertificateGetOptions object itself. - */ - @Generated - public BatchCertificateGetOptions setSelect(List select) { - this.select = select; - return this; - } - - /** - * Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @param timeOutInSeconds the timeOutInSeconds value to set. - * @return the BatchCertificateGetOptions object itself. - */ - @Generated - public BatchCertificateGetOptions setTimeOutInSeconds(Duration timeOutInSeconds) { - if (timeOutInSeconds == null) { - this.timeOutInSeconds = null; - } else { - this.timeOutInSeconds = timeOutInSeconds.getSeconds(); - } - return this; - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateReference.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateReference.java deleted file mode 100644 index 8dfcddcc9fdf..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateReference.java +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * A reference to a Certificate to be installed on Compute Nodes in a Pool. Warning: This object is deprecated and will - * be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - */ -@Fluent -public final class BatchCertificateReference implements JsonSerializable { - - /* - * The thumbprint of the Certificate. - */ - @Generated - private final String thumbprint; - - /* - * The algorithm with which the thumbprint is associated. This must be sha1. - */ - @Generated - private final String thumbprintAlgorithm; - - /* - * The location of the Certificate store on the Compute Node into which to install the Certificate. The default - * value is currentuser. This property is applicable only for Pools configured with Windows Compute Nodes (that is, - * created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). For - * Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. For - * Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., - * /home/{user-name}/certs) and Certificates are placed in that directory. - */ - @Generated - private BatchCertificateStoreLocation storeLocation; - - /* - * The name of the Certificate store on the Compute Node into which to install the Certificate. This property is - * applicable only for Pools configured with Windows Compute Nodes (that is, created with cloudServiceConfiguration, - * or with virtualMachineConfiguration using a Windows Image reference). Common store names include: My, Root, CA, - * Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be - * used. The default value is My. - */ - @Generated - private String storeName; - - /* - * Which user Accounts on the Compute Node should have access to the private data of the Certificate. You can - * specify more than one visibility in this collection. The default is all Accounts. - */ - @Generated - private List visibility; - - /** - * Creates an instance of BatchCertificateReference class. - * - * @param thumbprint the thumbprint value to set. - * @param thumbprintAlgorithm the thumbprintAlgorithm value to set. - */ - @Generated - public BatchCertificateReference(String thumbprint, String thumbprintAlgorithm) { - this.thumbprint = thumbprint; - this.thumbprintAlgorithm = thumbprintAlgorithm; - } - - /** - * Get the thumbprint property: The thumbprint of the Certificate. - * - * @return the thumbprint value. - */ - @Generated - public String getThumbprint() { - return this.thumbprint; - } - - /** - * Get the thumbprintAlgorithm property: The algorithm with which the thumbprint is associated. This must be sha1. - * - * @return the thumbprintAlgorithm value. - */ - @Generated - public String getThumbprintAlgorithm() { - return this.thumbprintAlgorithm; - } - - /** - * Get the storeLocation property: The location of the Certificate store on the Compute Node into which to install - * the Certificate. The default value is currentuser. This property is applicable only for Pools configured with - * Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using - * a Windows Image reference). For Linux Compute Nodes, the Certificates are stored in a directory inside the Task - * working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this - * location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home - * directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * - * @return the storeLocation value. - */ - @Generated - public BatchCertificateStoreLocation getStoreLocation() { - return this.storeLocation; - } - - /** - * Set the storeLocation property: The location of the Certificate store on the Compute Node into which to install - * the Certificate. The default value is currentuser. This property is applicable only for Pools configured with - * Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using - * a Windows Image reference). For Linux Compute Nodes, the Certificates are stored in a directory inside the Task - * working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this - * location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home - * directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * - * @param storeLocation the storeLocation value to set. - * @return the BatchCertificateReference object itself. - */ - @Generated - public BatchCertificateReference setStoreLocation(BatchCertificateStoreLocation storeLocation) { - this.storeLocation = storeLocation; - return this; - } - - /** - * Get the storeName property: The name of the Certificate store on the Compute Node into which to install the - * Certificate. This property is applicable only for Pools configured with Windows Compute Nodes (that is, created - * with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). Common - * store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but - * any custom store name can also be used. The default value is My. - * - * @return the storeName value. - */ - @Generated - public String getStoreName() { - return this.storeName; - } - - /** - * Set the storeName property: The name of the Certificate store on the Compute Node into which to install the - * Certificate. This property is applicable only for Pools configured with Windows Compute Nodes (that is, created - * with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). Common - * store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but - * any custom store name can also be used. The default value is My. - * - * @param storeName the storeName value to set. - * @return the BatchCertificateReference object itself. - */ - @Generated - public BatchCertificateReference setStoreName(String storeName) { - this.storeName = storeName; - return this; - } - - /** - * Get the visibility property: Which user Accounts on the Compute Node should have access to the private data of - * the Certificate. You can specify more than one visibility in this collection. The default is all Accounts. - * - * @return the visibility value. - */ - @Generated - public List getVisibility() { - return this.visibility; - } - - /** - * Set the visibility property: Which user Accounts on the Compute Node should have access to the private data of - * the Certificate. You can specify more than one visibility in this collection. The default is all Accounts. - * - * @param visibility the visibility value to set. - * @return the BatchCertificateReference object itself. - */ - @Generated - public BatchCertificateReference setVisibility(List visibility) { - this.visibility = visibility; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("thumbprint", this.thumbprint); - jsonWriter.writeStringField("thumbprintAlgorithm", this.thumbprintAlgorithm); - jsonWriter.writeStringField("storeLocation", this.storeLocation == null ? null : this.storeLocation.toString()); - jsonWriter.writeStringField("storeName", this.storeName); - jsonWriter.writeArrayField("visibility", this.visibility, - (writer, element) -> writer.writeString(element == null ? null : element.toString())); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of BatchCertificateReference from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of BatchCertificateReference if the JsonReader was pointing to an instance of it, or null if - * it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the BatchCertificateReference. - */ - @Generated - public static BatchCertificateReference fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String thumbprint = null; - String thumbprintAlgorithm = null; - BatchCertificateStoreLocation storeLocation = null; - String storeName = null; - List visibility = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("thumbprint".equals(fieldName)) { - thumbprint = reader.getString(); - } else if ("thumbprintAlgorithm".equals(fieldName)) { - thumbprintAlgorithm = reader.getString(); - } else if ("storeLocation".equals(fieldName)) { - storeLocation = BatchCertificateStoreLocation.fromString(reader.getString()); - } else if ("storeName".equals(fieldName)) { - storeName = reader.getString(); - } else if ("visibility".equals(fieldName)) { - visibility - = reader.readArray(reader1 -> BatchCertificateVisibility.fromString(reader1.getString())); - } else { - reader.skipChildren(); - } - } - BatchCertificateReference deserializedBatchCertificateReference - = new BatchCertificateReference(thumbprint, thumbprintAlgorithm); - deserializedBatchCertificateReference.storeLocation = storeLocation; - deserializedBatchCertificateReference.storeName = storeName; - deserializedBatchCertificateReference.visibility = visibility; - return deserializedBatchCertificateReference; - }); - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateState.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateState.java deleted file mode 100644 index 64536e261c17..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateState.java +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * BatchCertificateState enums. - */ -public final class BatchCertificateState extends ExpandableStringEnum { - - /** - * The Certificate is available for use in Pools. - */ - @Generated - public static final BatchCertificateState ACTIVE = fromString("active"); - - /** - * The user has requested that the Certificate be deleted, but the delete operation has not yet completed. You may - * not reference the Certificate when creating or updating Pools. - */ - @Generated - public static final BatchCertificateState DELETING = fromString("deleting"); - - /** - * The user requested that the Certificate be deleted, but there are Pools that still have references to the - * Certificate, or it is still installed on one or more Nodes. (The latter can occur if the Certificate has been - * removed from the Pool, but the Compute Node has not yet restarted. Compute Nodes refresh their Certificates only - * when they restart.) You may use the cancel Certificate delete operation to cancel the delete, or the delete - * Certificate operation to retry the delete. - */ - @Generated - public static final BatchCertificateState DELETE_FAILED = fromString("deletefailed"); - - /** - * Creates a new instance of BatchCertificateState value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public BatchCertificateState() { - } - - /** - * Creates or finds a BatchCertificateState from its string representation. - * - * @param name a name to look for. - * @return the corresponding BatchCertificateState. - */ - @Generated - public static BatchCertificateState fromString(String name) { - return fromString(name, BatchCertificateState.class); - } - - /** - * Gets known BatchCertificateState values. - * - * @return known BatchCertificateState values. - */ - @Generated - public static Collection values() { - return values(BatchCertificateState.class); - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateStoreLocation.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateStoreLocation.java deleted file mode 100644 index fe6becccce69..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateStoreLocation.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * BatchCertificateStoreLocation enums. - */ -public final class BatchCertificateStoreLocation extends ExpandableStringEnum { - - /** - * Certificates should be installed to the CurrentUser Certificate store. - */ - @Generated - public static final BatchCertificateStoreLocation CURRENT_USER = fromString("currentuser"); - - /** - * Certificates should be installed to the LocalMachine Certificate store. - */ - @Generated - public static final BatchCertificateStoreLocation LOCAL_MACHINE = fromString("localmachine"); - - /** - * Creates a new instance of BatchCertificateStoreLocation value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public BatchCertificateStoreLocation() { - } - - /** - * Creates or finds a BatchCertificateStoreLocation from its string representation. - * - * @param name a name to look for. - * @return the corresponding BatchCertificateStoreLocation. - */ - @Generated - public static BatchCertificateStoreLocation fromString(String name) { - return fromString(name, BatchCertificateStoreLocation.class); - } - - /** - * Gets known BatchCertificateStoreLocation values. - * - * @return known BatchCertificateStoreLocation values. - */ - @Generated - public static Collection values() { - return values(BatchCertificateStoreLocation.class); - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateVisibility.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateVisibility.java deleted file mode 100644 index 615252c090ce..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificateVisibility.java +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * BatchCertificateVisibility enums. - */ -public final class BatchCertificateVisibility extends ExpandableStringEnum { - - /** - * The Certificate should be visible to the user account under which the StartTask is run. Note that if AutoUser - * Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well. - */ - @Generated - public static final BatchCertificateVisibility START_TASK = fromString("starttask"); - - /** - * The Certificate should be visible to the user accounts under which Job Tasks are run. - */ - @Generated - public static final BatchCertificateVisibility TASK = fromString("task"); - - /** - * The Certificate should be visible to the user accounts under which users remotely access the Compute Node. - */ - @Generated - public static final BatchCertificateVisibility REMOTE_USER = fromString("remoteuser"); - - /** - * Creates a new instance of BatchCertificateVisibility value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public BatchCertificateVisibility() { - } - - /** - * Creates or finds a BatchCertificateVisibility from its string representation. - * - * @param name a name to look for. - * @return the corresponding BatchCertificateVisibility. - */ - @Generated - public static BatchCertificateVisibility fromString(String name) { - return fromString(name, BatchCertificateVisibility.class); - } - - /** - * Gets known BatchCertificateVisibility values. - * - * @return known BatchCertificateVisibility values. - */ - @Generated - public static Collection values() { - return values(BatchCertificateVisibility.class); - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificatesListOptions.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificatesListOptions.java deleted file mode 100644 index 12f200e53c37..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchCertificatesListOptions.java +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.time.Duration; -import java.util.List; - -/** - * Optional parameters for List Certificates operation. - */ -@Fluent -public final class BatchCertificatesListOptions { - - /* - * The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the - * value is larger than 30, the default will be used instead.". - */ - @Generated - private Long timeOutInSeconds; - - /* - * The maximum number of items to return in the response. A maximum of 1000 - * applications can be returned. - */ - @Generated - private Integer maxPageSize; - - /* - * An OData $filter clause. For more information on constructing this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates. - */ - @Generated - private String filter; - - /* - * An OData $select clause. - */ - @Generated - private List select; - - /** - * Creates an instance of BatchCertificatesListOptions class. - */ - @Generated - public BatchCertificatesListOptions() { - } - - /** - * Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @return the timeOutInSeconds value. - */ - @Generated - public Duration getTimeOutInSeconds() { - if (this.timeOutInSeconds == null) { - return null; - } - return Duration.ofSeconds(this.timeOutInSeconds); - } - - /** - * Get the maxPageSize property: The maximum number of items to return in the response. A maximum of 1000 - * applications can be returned. - * - * @return the maxPageSize value. - */ - @Generated - public Integer getMaxPageSize() { - return this.maxPageSize; - } - - /** - * Set the maxPageSize property: The maximum number of items to return in the response. A maximum of 1000 - * applications can be returned. - * - * @param maxPageSize the maxPageSize value to set. - * @return the BatchCertificatesListOptions object itself. - */ - @Generated - public BatchCertificatesListOptions setMaxPageSize(Integer maxPageSize) { - this.maxPageSize = maxPageSize; - return this; - } - - /** - * Get the filter property: An OData $filter clause. For more information on constructing this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates. - * - * @return the filter value. - */ - @Generated - public String getFilter() { - return this.filter; - } - - /** - * Set the filter property: An OData $filter clause. For more information on constructing this filter, see - * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates. - * - * @param filter the filter value to set. - * @return the BatchCertificatesListOptions object itself. - */ - @Generated - public BatchCertificatesListOptions setFilter(String filter) { - this.filter = filter; - return this; - } - - /** - * Get the select property: An OData $select clause. - * - * @return the select value. - */ - @Generated - public List getSelect() { - return this.select; - } - - /** - * Set the select property: An OData $select clause. - * - * @param select the select value to set. - * @return the BatchCertificatesListOptions object itself. - */ - @Generated - public BatchCertificatesListOptions setSelect(List select) { - this.select = select; - return this; - } - - /** - * Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. - * The default is 30 seconds. If the value is larger than 30, the default will be used instead.". - * - * @param timeOutInSeconds the timeOutInSeconds value to set. - * @return the BatchCertificatesListOptions object itself. - */ - @Generated - public BatchCertificatesListOptions setTimeOutInSeconds(Duration timeOutInSeconds) { - if (timeOutInSeconds == null) { - this.timeOutInSeconds = null; - } else { - this.timeOutInSeconds = timeOutInSeconds.getSeconds(); - } - return this; - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJob.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJob.java index b1c06ddd012f..cd1f989a0273 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJob.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJob.java @@ -99,18 +99,19 @@ public final class BatchJob implements JsonSerializable { private Integer priority; /* - * Whether Tasks in this job can be preempted by other high priority jobs. If the value is set to True, other high - * priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can - * update a job's allowTaskPreemption after it has been created using the update job API. + * Whether Tasks in this job can be preempted by other high priority jobs. (This property is not available by + * default. Please contact support for more information) If the value is set to True, other high priority jobs + * submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's + * allowTaskPreemption after it has been created using the update job API. */ @Generated private Boolean allowTaskPreemption; /* - * The maximum number of tasks that can be executed in parallel for the job. The value of maxParallelTasks must be - * -1 or greater than 0 if specified. If not specified, the default value is -1, which means there's no limit to the - * number of tasks that can be run at once. You can update a job's maxParallelTasks after it has been created using - * the update job API. + * The maximum number of tasks that can be executed in parallel for the job. (This property is not available by + * default. Please contact support for more information) The value of maxParallelTasks must be -1 or greater than 0 + * if specified. If not specified, the default value is -1, which means there's no limit to the number of tasks that + * can be run at once. You can update a job's maxParallelTasks after it has been created using the update job API. */ @Generated private Integer maxParallelTasks; @@ -156,7 +157,8 @@ public final class BatchJob implements JsonSerializable { private final BatchPoolInfo poolInfo; /* - * The network configuration for the Job. + * (This property is not available by default. Please contact support for more information) The network + * configuration for the Job. */ @Generated private BatchJobNetworkConfiguration networkConfiguration; @@ -327,10 +329,10 @@ public BatchJob setPriority(Integer priority) { } /** - * Get the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. If - * the value is set to True, other high priority jobs submitted to the system will take precedence and will be able - * requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the - * update job API. + * Get the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. + * (This property is not available by default. Please contact support for more information) If the value is set to + * True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from + * this job. You can update a job's allowTaskPreemption after it has been created using the update job API. * * @return the allowTaskPreemption value. */ @@ -340,10 +342,10 @@ public Boolean isAllowTaskPreemption() { } /** - * Set the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. If - * the value is set to True, other high priority jobs submitted to the system will take precedence and will be able - * requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the - * update job API. + * Set the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. + * (This property is not available by default. Please contact support for more information) If the value is set to + * True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from + * this job. You can update a job's allowTaskPreemption after it has been created using the update job API. * * @param allowTaskPreemption the allowTaskPreemption value to set. * @return the BatchJob object itself. @@ -355,10 +357,11 @@ public BatchJob setAllowTaskPreemption(Boolean allowTaskPreemption) { } /** - * Get the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. The - * value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, - * which means there's no limit to the number of tasks that can be run at once. You can update a job's - * maxParallelTasks after it has been created using the update job API. + * Get the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. + * (This property is not available by default. Please contact support for more information) The value of + * maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which + * means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks + * after it has been created using the update job API. * * @return the maxParallelTasks value. */ @@ -368,10 +371,11 @@ public Integer getMaxParallelTasks() { } /** - * Set the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. The - * value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, - * which means there's no limit to the number of tasks that can be run at once. You can update a job's - * maxParallelTasks after it has been created using the update job API. + * Set the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. + * (This property is not available by default. Please contact support for more information) The value of + * maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which + * means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks + * after it has been created using the update job API. * * @param maxParallelTasks the maxParallelTasks value to set. * @return the BatchJob object itself. @@ -460,7 +464,8 @@ public BatchPoolInfo getPoolInfo() { } /** - * Get the networkConfiguration property: The network configuration for the Job. + * Get the networkConfiguration property: (This property is not available by default. Please contact support for + * more information) The network configuration for the Job. * * @return the networkConfiguration value. */ @@ -533,16 +538,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static BatchJob fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BatchPoolInfo poolInfo = null; String id = null; - String displayName = null; - Boolean usesTaskDependencies = null; String url = null; String eTag = null; OffsetDateTime lastModified = null; OffsetDateTime creationTime = null; BatchJobState state = null; OffsetDateTime stateTransitionTime = null; + BatchPoolInfo poolInfo = null; + String displayName = null; + Boolean usesTaskDependencies = null; BatchJobState previousState = null; OffsetDateTime previousStateTransitionTime = null; Integer priority = null; @@ -562,14 +567,8 @@ public static BatchJob fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("poolInfo".equals(fieldName)) { - poolInfo = BatchPoolInfo.fromJson(reader); - } else if ("id".equals(fieldName)) { + if ("id".equals(fieldName)) { id = reader.getString(); - } else if ("displayName".equals(fieldName)) { - displayName = reader.getString(); - } else if ("usesTaskDependencies".equals(fieldName)) { - usesTaskDependencies = reader.getNullable(JsonReader::getBoolean); } else if ("url".equals(fieldName)) { url = reader.getString(); } else if ("eTag".equals(fieldName)) { @@ -585,6 +584,12 @@ public static BatchJob fromJson(JsonReader jsonReader) throws IOException { } else if ("stateTransitionTime".equals(fieldName)) { stateTransitionTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("poolInfo".equals(fieldName)) { + poolInfo = BatchPoolInfo.fromJson(reader); + } else if ("displayName".equals(fieldName)) { + displayName = reader.getString(); + } else if ("usesTaskDependencies".equals(fieldName)) { + usesTaskDependencies = reader.getNullable(JsonReader::getBoolean); } else if ("previousState".equals(fieldName)) { previousState = BatchJobState.fromString(reader.getString()); } else if ("previousStateTransitionTime".equals(fieldName)) { @@ -624,14 +629,14 @@ public static BatchJob fromJson(JsonReader jsonReader) throws IOException { } BatchJob deserializedBatchJob = new BatchJob(poolInfo); deserializedBatchJob.id = id; - deserializedBatchJob.displayName = displayName; - deserializedBatchJob.usesTaskDependencies = usesTaskDependencies; deserializedBatchJob.url = url; deserializedBatchJob.eTag = eTag; deserializedBatchJob.lastModified = lastModified; deserializedBatchJob.creationTime = creationTime; deserializedBatchJob.state = state; deserializedBatchJob.stateTransitionTime = stateTransitionTime; + deserializedBatchJob.displayName = displayName; + deserializedBatchJob.usesTaskDependencies = usesTaskDependencies; deserializedBatchJob.previousState = previousState; deserializedBatchJob.previousStateTransitionTime = previousStateTransitionTime; deserializedBatchJob.priority = priority; diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobCreateParameters.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobCreateParameters.java index 7f0de0c25009..9793359a588a 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobCreateParameters.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobCreateParameters.java @@ -48,18 +48,19 @@ public final class BatchJobCreateParameters implements JsonSerializable { + /** + * Tasks should be scheduled uniformly from all equal-priority jobs for the pool. + */ + @Generated + public static final BatchJobDefaultOrder NONE = fromString("none"); + + /** + * If jobs have equal priority, tasks from jobs that were created earlier should be scheduled first. + */ + @Generated + public static final BatchJobDefaultOrder CREATION_TIME = fromString("creationtime"); + + /** + * Creates a new instance of BatchJobDefaultOrder value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public BatchJobDefaultOrder() { + } + + /** + * Creates or finds a BatchJobDefaultOrder from its string representation. + * + * @param name a name to look for. + * @return the corresponding BatchJobDefaultOrder. + */ + @Generated + public static BatchJobDefaultOrder fromString(String name) { + return fromString(name, BatchJobDefaultOrder.class); + } + + /** + * Gets known BatchJobDefaultOrder values. + * + * @return known BatchJobDefaultOrder values. + */ + @Generated + public static Collection values() { + return values(BatchJobDefaultOrder.class); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobNetworkConfiguration.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobNetworkConfiguration.java index ad15771956b3..18ec7324f756 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobNetworkConfiguration.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobNetworkConfiguration.java @@ -12,7 +12,8 @@ import java.io.IOException; /** - * The network configuration for the Job. + * (This property is not available by default. Please contact support for more information) The network configuration + * for the Job. */ @Fluent public final class BatchJobNetworkConfiguration implements JsonSerializable { diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSchedule.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSchedule.java index 76e9ae433239..b7fbc03a904e 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSchedule.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSchedule.java @@ -323,30 +323,26 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static BatchJobSchedule fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BatchJobSpecification jobSpecification = null; String id = null; - String displayName = null; String url = null; String eTag = null; OffsetDateTime lastModified = null; OffsetDateTime creationTime = null; BatchJobScheduleState state = null; OffsetDateTime stateTransitionTime = null; + BatchJobSpecification jobSpecification = null; + BatchJobScheduleExecutionInfo executionInfo = null; + String displayName = null; BatchJobScheduleState previousState = null; OffsetDateTime previousStateTransitionTime = null; BatchJobScheduleConfiguration schedule = null; - BatchJobScheduleExecutionInfo executionInfo = null; List metadata = null; BatchJobScheduleStatistics jobScheduleStatistics = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("jobSpecification".equals(fieldName)) { - jobSpecification = BatchJobSpecification.fromJson(reader); - } else if ("id".equals(fieldName)) { + if ("id".equals(fieldName)) { id = reader.getString(); - } else if ("displayName".equals(fieldName)) { - displayName = reader.getString(); } else if ("url".equals(fieldName)) { url = reader.getString(); } else if ("eTag".equals(fieldName)) { @@ -362,6 +358,12 @@ public static BatchJobSchedule fromJson(JsonReader jsonReader) throws IOExceptio } else if ("stateTransitionTime".equals(fieldName)) { stateTransitionTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("jobSpecification".equals(fieldName)) { + jobSpecification = BatchJobSpecification.fromJson(reader); + } else if ("executionInfo".equals(fieldName)) { + executionInfo = BatchJobScheduleExecutionInfo.fromJson(reader); + } else if ("displayName".equals(fieldName)) { + displayName = reader.getString(); } else if ("previousState".equals(fieldName)) { previousState = BatchJobScheduleState.fromString(reader.getString()); } else if ("previousStateTransitionTime".equals(fieldName)) { @@ -369,8 +371,6 @@ public static BatchJobSchedule fromJson(JsonReader jsonReader) throws IOExceptio .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("schedule".equals(fieldName)) { schedule = BatchJobScheduleConfiguration.fromJson(reader); - } else if ("executionInfo".equals(fieldName)) { - executionInfo = BatchJobScheduleExecutionInfo.fromJson(reader); } else if ("metadata".equals(fieldName)) { metadata = reader.readArray(reader1 -> BatchMetadataItem.fromJson(reader1)); } else if ("stats".equals(fieldName)) { @@ -381,17 +381,17 @@ public static BatchJobSchedule fromJson(JsonReader jsonReader) throws IOExceptio } BatchJobSchedule deserializedBatchJobSchedule = new BatchJobSchedule(jobSpecification); deserializedBatchJobSchedule.id = id; - deserializedBatchJobSchedule.displayName = displayName; deserializedBatchJobSchedule.url = url; deserializedBatchJobSchedule.eTag = eTag; deserializedBatchJobSchedule.lastModified = lastModified; deserializedBatchJobSchedule.creationTime = creationTime; deserializedBatchJobSchedule.state = state; deserializedBatchJobSchedule.stateTransitionTime = stateTransitionTime; + deserializedBatchJobSchedule.executionInfo = executionInfo; + deserializedBatchJobSchedule.displayName = displayName; deserializedBatchJobSchedule.previousState = previousState; deserializedBatchJobSchedule.previousStateTransitionTime = previousStateTransitionTime; deserializedBatchJobSchedule.schedule = schedule; - deserializedBatchJobSchedule.executionInfo = executionInfo; deserializedBatchJobSchedule.metadata = metadata; deserializedBatchJobSchedule.jobScheduleStatistics = jobScheduleStatistics; return deserializedBatchJobSchedule; diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSpecification.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSpecification.java index ca501766790e..e7d73198a2ad 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSpecification.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchJobSpecification.java @@ -28,18 +28,19 @@ public final class BatchJobSpecification implements JsonSerializable metadata; /* - * The network configuration for the Job. + * (This property is not available by default. Please contact support for more information) The network + * configuration for the Job. */ @Generated private BatchJobNetworkConfiguration networkConfiguration; @@ -115,10 +117,10 @@ public BatchJobUpdateParameters setPriority(Integer priority) { } /** - * Get the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. If - * the value is set to True, other high priority jobs submitted to the system will take precedence and will be able - * requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the - * update job API. + * Get the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. + * (This property is not available by default. Please contact support for more information) If the value is set to + * True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from + * this job. You can update a job's allowTaskPreemption after it has been created using the update job API. * * @return the allowTaskPreemption value. */ @@ -128,10 +130,10 @@ public Boolean isAllowTaskPreemption() { } /** - * Set the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. If - * the value is set to True, other high priority jobs submitted to the system will take precedence and will be able - * requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the - * update job API. + * Set the allowTaskPreemption property: Whether Tasks in this job can be preempted by other high priority jobs. + * (This property is not available by default. Please contact support for more information) If the value is set to + * True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from + * this job. You can update a job's allowTaskPreemption after it has been created using the update job API. * * @param allowTaskPreemption the allowTaskPreemption value to set. * @return the BatchJobUpdateParameters object itself. @@ -143,10 +145,11 @@ public BatchJobUpdateParameters setAllowTaskPreemption(Boolean allowTaskPreempti } /** - * Get the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. The - * value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, - * which means there's no limit to the number of tasks that can be run at once. You can update a job's - * maxParallelTasks after it has been created using the update job API. + * Get the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. + * (This property is not available by default. Please contact support for more information) The value of + * maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which + * means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks + * after it has been created using the update job API. * * @return the maxParallelTasks value. */ @@ -156,10 +159,11 @@ public Integer getMaxParallelTasks() { } /** - * Set the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. The - * value of maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, - * which means there's no limit to the number of tasks that can be run at once. You can update a job's - * maxParallelTasks after it has been created using the update job API. + * Set the maxParallelTasks property: The maximum number of tasks that can be executed in parallel for the job. + * (This property is not available by default. Please contact support for more information) The value of + * maxParallelTasks must be -1 or greater than 0 if specified. If not specified, the default value is -1, which + * means there's no limit to the number of tasks that can be run at once. You can update a job's maxParallelTasks + * after it has been created using the update job API. * * @param maxParallelTasks the maxParallelTasks value to set. * @return the BatchJobUpdateParameters object itself. @@ -279,7 +283,8 @@ public BatchJobUpdateParameters setMetadata(List metadata) { } /** - * Get the networkConfiguration property: The network configuration for the Job. + * Get the networkConfiguration property: (This property is not available by default. Please contact support for + * more information) The network configuration for the Job. * * @return the networkConfiguration value. */ @@ -289,7 +294,8 @@ public BatchJobNetworkConfiguration getNetworkConfiguration() { } /** - * Set the networkConfiguration property: The network configuration for the Job. + * Set the networkConfiguration property: (This property is not available by default. Please contact support for + * more information) The network configuration for the Job. * * @param networkConfiguration the networkConfiguration value to set. * @return the BatchJobUpdateParameters object itself. diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNode.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNode.java index 568c23888350..83d675e42bfa 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNode.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNode.java @@ -12,7 +12,6 @@ import com.azure.json.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; import java.util.List; /** @@ -99,7 +98,7 @@ public final class BatchNode implements JsonSerializable { * but not Job Preparation, Job Release or Start Tasks. */ @Generated - private Integer totalTasksRun; + private int totalTasksRun; /* * The total number of currently running Job Tasks on the Compute Node. This includes Job Manager Tasks and normal @@ -141,18 +140,6 @@ public final class BatchNode implements JsonSerializable { @Generated private BatchStartTaskInfo startTaskInfo; - /* - * For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - */ - @Generated - private List certificateReferences; - /* * The list of errors that are currently being encountered by the Compute Node. */ @@ -312,7 +299,7 @@ public String getVmSize() { * @return the totalTasksRun value. */ @Generated - public Integer getTotalTasksRun() { + public int getTotalTasksRun() { return this.totalTasksRun; } @@ -382,23 +369,6 @@ public BatchStartTaskInfo getStartTaskInfo() { return this.startTaskInfo; } - /** - * Get the certificateReferences property: For Windows Nodes, the Batch service installs the Certificates to the - * specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @return the certificateReferences value. - */ - @Generated - public List getCertificateReferences() { - return this.certificateReferences; - } - /** * Get the errors property: The list of errors that are currently being encountered by the Compute Node. * @@ -458,36 +428,6 @@ public VirtualMachineInfo getVirtualMachineInfo() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("url", this.url); - jsonWriter.writeStringField("state", this.state == null ? null : this.state.toString()); - jsonWriter.writeStringField("schedulingState", - this.schedulingState == null ? null : this.schedulingState.toString()); - jsonWriter.writeStringField("stateTransitionTime", - this.stateTransitionTime == null - ? null - : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.stateTransitionTime)); - jsonWriter.writeStringField("lastBootTime", - this.lastBootTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.lastBootTime)); - jsonWriter.writeStringField("allocationTime", - this.allocationTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.allocationTime)); - jsonWriter.writeStringField("ipAddress", this.ipAddress); - jsonWriter.writeStringField("affinityId", this.affinityId); - jsonWriter.writeStringField("vmSize", this.vmSize); - jsonWriter.writeNumberField("totalTasksRun", this.totalTasksRun); - jsonWriter.writeNumberField("runningTasksCount", this.runningTasksCount); - jsonWriter.writeNumberField("runningTaskSlotsCount", this.runningTaskSlotsCount); - jsonWriter.writeNumberField("totalTasksSucceeded", this.totalTasksSucceeded); - jsonWriter.writeArrayField("recentTasks", this.recentTasks, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("startTask", this.startTask); - jsonWriter.writeJsonField("startTaskInfo", this.startTaskInfo); - jsonWriter.writeArrayField("certificateReferences", this.certificateReferences, - (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("errors", this.errors, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeBooleanField("isDedicated", this.isDedicated); - jsonWriter.writeJsonField("endpointConfiguration", this.endpointConfiguration); - jsonWriter.writeJsonField("nodeAgentInfo", this.nodeAgentInfo); - jsonWriter.writeJsonField("virtualMachineInfo", this.virtualMachineInfo); return jsonWriter.writeEndObject(); } @@ -497,6 +437,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BatchNode if the JsonReader was pointing to an instance of it, or null if it was pointing * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the BatchNode. */ @Generated @@ -512,8 +453,6 @@ public static BatchNode fromJson(JsonReader jsonReader) throws IOException { deserializedBatchNode.url = reader.getString(); } else if ("state".equals(fieldName)) { deserializedBatchNode.state = BatchNodeState.fromString(reader.getString()); - } else if ("schedulingState".equals(fieldName)) { - deserializedBatchNode.schedulingState = SchedulingState.fromString(reader.getString()); } else if ("stateTransitionTime".equals(fieldName)) { deserializedBatchNode.stateTransitionTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); @@ -525,12 +464,20 @@ public static BatchNode fromJson(JsonReader jsonReader) throws IOException { .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("ipAddress".equals(fieldName)) { deserializedBatchNode.ipAddress = reader.getString(); + } else if ("ipv6Address".equals(fieldName)) { + deserializedBatchNode.ipv6Address = reader.getString(); } else if ("affinityId".equals(fieldName)) { deserializedBatchNode.affinityId = reader.getString(); } else if ("vmSize".equals(fieldName)) { deserializedBatchNode.vmSize = reader.getString(); } else if ("totalTasksRun".equals(fieldName)) { - deserializedBatchNode.totalTasksRun = reader.getNullable(JsonReader::getInt); + deserializedBatchNode.totalTasksRun = reader.getInt(); + } else if ("nodeAgentInfo".equals(fieldName)) { + deserializedBatchNode.nodeAgentInfo = BatchNodeAgentInfo.fromJson(reader); + } else if ("virtualMachineInfo".equals(fieldName)) { + deserializedBatchNode.virtualMachineInfo = VirtualMachineInfo.fromJson(reader); + } else if ("schedulingState".equals(fieldName)) { + deserializedBatchNode.schedulingState = SchedulingState.fromString(reader.getString()); } else if ("runningTasksCount".equals(fieldName)) { deserializedBatchNode.runningTasksCount = reader.getNullable(JsonReader::getInt); } else if ("runningTaskSlotsCount".equals(fieldName)) { @@ -544,10 +491,6 @@ public static BatchNode fromJson(JsonReader jsonReader) throws IOException { deserializedBatchNode.startTask = BatchStartTask.fromJson(reader); } else if ("startTaskInfo".equals(fieldName)) { deserializedBatchNode.startTaskInfo = BatchStartTaskInfo.fromJson(reader); - } else if ("certificateReferences".equals(fieldName)) { - List certificateReferences - = reader.readArray(reader1 -> BatchCertificateReference.fromJson(reader1)); - deserializedBatchNode.certificateReferences = certificateReferences; } else if ("errors".equals(fieldName)) { List errors = reader.readArray(reader1 -> BatchNodeError.fromJson(reader1)); deserializedBatchNode.errors = errors; @@ -555,10 +498,6 @@ public static BatchNode fromJson(JsonReader jsonReader) throws IOException { deserializedBatchNode.isDedicated = reader.getNullable(JsonReader::getBoolean); } else if ("endpointConfiguration".equals(fieldName)) { deserializedBatchNode.endpointConfiguration = BatchNodeEndpointConfiguration.fromJson(reader); - } else if ("nodeAgentInfo".equals(fieldName)) { - deserializedBatchNode.nodeAgentInfo = BatchNodeAgentInfo.fromJson(reader); - } else if ("virtualMachineInfo".equals(fieldName)) { - deserializedBatchNode.virtualMachineInfo = VirtualMachineInfo.fromJson(reader); } else { reader.skipChildren(); } @@ -566,4 +505,26 @@ public static BatchNode fromJson(JsonReader jsonReader) throws IOException { return deserializedBatchNode; }); } + + /* + * The IPv6 address that other Nodes can use to communicate with this Compute Node. Every Compute Node that is added + * to a Pool is assigned a unique IP address. Whenever a Compute Node is removed from a Pool, all of its local files + * are deleted, and the IP address is reclaimed and could be reused for new Compute Nodes. This property will not be + * present if the Pool is not configured for IPv6. + */ + @Generated + private String ipv6Address; + + /** + * Get the ipv6Address property: The IPv6 address that other Nodes can use to communicate with this Compute Node. + * Every Compute Node that is added to a Pool is assigned a unique IP address. Whenever a Compute Node is removed + * from a Pool, all of its local files are deleted, and the IP address is reclaimed and could be reused for new + * Compute Nodes. This property will not be present if the Pool is not configured for IPv6. + * + * @return the ipv6Address value. + */ + @Generated + public String getIpv6Address() { + return this.ipv6Address; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNodeCommunicationMode.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNodeCommunicationMode.java deleted file mode 100644 index d836eef5bb4e..000000000000 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNodeCommunicationMode.java +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.compute.batch.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * BatchNodeCommunicationMode enums. - */ -public final class BatchNodeCommunicationMode extends ExpandableStringEnum { - - /** - * The node communication mode is automatically set by the Batch service. - */ - @Generated - public static final BatchNodeCommunicationMode DEFAULT = fromString("default"); - - /** - * Nodes using the classic communication mode require inbound TCP communication on ports 29876 and 29877 from the - * "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and - * "BatchNodeManagement.{region}" service tags. - */ - @Generated - public static final BatchNodeCommunicationMode CLASSIC = fromString("classic"); - - /** - * Nodes using the simplified communication mode require outbound TCP communication on port 443 to the - * "BatchNodeManagement.{region}" service tag. No open inbound ports are required. - */ - @Generated - public static final BatchNodeCommunicationMode SIMPLIFIED = fromString("simplified"); - - /** - * Creates a new instance of BatchNodeCommunicationMode value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public BatchNodeCommunicationMode() { - } - - /** - * Creates or finds a BatchNodeCommunicationMode from its string representation. - * - * @param name a name to look for. - * @return the corresponding BatchNodeCommunicationMode. - */ - @Generated - public static BatchNodeCommunicationMode fromString(String name) { - return fromString(name, BatchNodeCommunicationMode.class); - } - - /** - * Gets known BatchNodeCommunicationMode values. - * - * @return known BatchNodeCommunicationMode values. - */ - @Generated - public static Collection values() { - return values(BatchNodeCommunicationMode.class); - } -} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettings.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettings.java index 90873e10d025..72ea91c4db54 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettings.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettings.java @@ -70,6 +70,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("remoteLoginIPAddress", this.remoteLoginIpAddress); jsonWriter.writeIntField("remoteLoginPort", this.remoteLoginPort); + jsonWriter.writeStringField("ipv6RemoteLoginIPAddress", this.ipv6RemoteLoginIpAddress); + jsonWriter.writeNumberField("ipv6RemoteLoginPort", this.ipv6RemoteLoginPort); return jsonWriter.writeEndObject(); } @@ -87,6 +89,8 @@ public static BatchNodeRemoteLoginSettings fromJson(JsonReader jsonReader) throw return jsonReader.readObject(reader -> { String remoteLoginIpAddress = null; int remoteLoginPort = 0; + String ipv6RemoteLoginIpAddress = null; + Integer ipv6RemoteLoginPort = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -94,11 +98,51 @@ public static BatchNodeRemoteLoginSettings fromJson(JsonReader jsonReader) throw remoteLoginIpAddress = reader.getString(); } else if ("remoteLoginPort".equals(fieldName)) { remoteLoginPort = reader.getInt(); + } else if ("ipv6RemoteLoginIPAddress".equals(fieldName)) { + ipv6RemoteLoginIpAddress = reader.getString(); + } else if ("ipv6RemoteLoginPort".equals(fieldName)) { + ipv6RemoteLoginPort = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return new BatchNodeRemoteLoginSettings(remoteLoginIpAddress, remoteLoginPort); + BatchNodeRemoteLoginSettings deserializedBatchNodeRemoteLoginSettings + = new BatchNodeRemoteLoginSettings(remoteLoginIpAddress, remoteLoginPort); + deserializedBatchNodeRemoteLoginSettings.ipv6RemoteLoginIpAddress = ipv6RemoteLoginIpAddress; + deserializedBatchNodeRemoteLoginSettings.ipv6RemoteLoginPort = ipv6RemoteLoginPort; + return deserializedBatchNodeRemoteLoginSettings; }); } + + /* + * The IPv6 address used for remote login to the Compute Node. + */ + @Generated + private String ipv6RemoteLoginIpAddress; + + /* + * The port used for remote login to the Compute Node. + */ + @Generated + private Integer ipv6RemoteLoginPort; + + /** + * Get the ipv6RemoteLoginIpAddress property: The IPv6 address used for remote login to the Compute Node. + * + * @return the ipv6RemoteLoginIpAddress value. + */ + @Generated + public String getIpv6RemoteLoginIpAddress() { + return this.ipv6RemoteLoginIpAddress; + } + + /** + * Get the ipv6RemoteLoginPort property: The port used for remote login to the Compute Node. + * + * @return the ipv6RemoteLoginPort value. + */ + @Generated + public Integer getIpv6RemoteLoginPort() { + return this.ipv6RemoteLoginPort; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPool.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPool.java index 3eb910ac1209..0a1347b8cc43 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPool.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPool.java @@ -14,7 +14,6 @@ import java.time.Duration; import java.time.OffsetDateTime; import java.util.List; -import java.util.Map; /** * A Pool in the Azure Batch service. @@ -32,8 +31,7 @@ public final class BatchPool implements JsonSerializable { private String id; /* - * The display name for the Pool. The display name need not be unique and can contain any Unicode characters up to a - * maximum length of 1024. + * The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. */ @Generated private String displayName; @@ -92,9 +90,8 @@ public final class BatchPool implements JsonSerializable { /* * The size of virtual machines in the Pool. All virtual machines in a Pool are the same size. For information about - * available VM sizes, see Sizes for Virtual Machines in Azure - * (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except - * STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool + * (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes). */ @Generated private String vmSize; @@ -119,27 +116,18 @@ public final class BatchPool implements JsonSerializable { @Generated private List resizeErrors; - /* - * The user-specified tags associated with the pool. The user-defined tags to be associated with the Azure Batch - * Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This - * property can only be specified when the Batch account was created with the poolAllocationMode property set to - * 'UserSubscription'. - */ - @Generated - private Map resourceTags; - /* * The number of dedicated Compute Nodes currently in the Pool. */ @Generated - private Integer currentDedicatedNodes; + private int currentDedicatedNodes; /* * The number of Spot/Low-priority Compute Nodes currently in the Pool. Spot/Low-priority Compute Nodes which have * been preempted are included in this count. */ @Generated - private Integer currentLowPriorityNodes; + private int currentLowPriorityNodes; /* * The desired number of dedicated Compute Nodes in the Pool. @@ -183,9 +171,9 @@ public final class BatchPool implements JsonSerializable { private AutoScaleRun autoScaleRun; /* - * Whether the Pool permits direct communication between Compute Nodes. This imposes restrictions on which Compute - * Nodes can be assigned to the Pool. Specifying this value can reduce the chance of the requested number of Compute - * Nodes to be allocated in the Pool. + * Whether the Pool permits direct communication between Compute Nodes. Enabling inter-node communication limits the + * maximum size of the Pool due to deployment restrictions on the Compute Nodes of the Pool. This may result in the + * Pool not reaching its desired size. The default value is false. */ @Generated private Boolean enableInterNodeCommunication; @@ -202,18 +190,6 @@ public final class BatchPool implements JsonSerializable { @Generated private BatchStartTask startTask; - /* - * For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - */ - @Generated - private List certificateReferences; - /* * The list of Packages to be installed on each Compute Node in the Pool. Changes to Package references affect all * new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted @@ -249,7 +225,8 @@ public final class BatchPool implements JsonSerializable { private List metadata; /* - * A list of file systems to mount on each node in the pool. This supports Azure Files, NFS, CIFS/SMB, and Blobfuse. + * Mount storage using specified file system for the entire lifetime of the pool. Mount the storage using Azure + * fileshare, NFS, CIFS or Blobfuse based file system. */ @Generated private List mountConfiguration; @@ -263,18 +240,6 @@ public final class BatchPool implements JsonSerializable { @Generated private BatchPoolIdentity identity; - /* - * The desired node communication mode for the pool. If omitted, the default value is Default. - */ - @Generated - private BatchNodeCommunicationMode targetNodeCommunicationMode; - - /* - * The current state of the pool communication mode. - */ - @Generated - private BatchNodeCommunicationMode currentNodeCommunicationMode; - /* * The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, or rolling. */ @@ -302,8 +267,8 @@ public String getId() { } /** - * Get the displayName property: The display name for the Pool. The display name need not be unique and can contain - * any Unicode characters up to a maximum length of 1024. + * Get the displayName property: The display name need not be unique and can contain any Unicode characters up to a + * maximum length of 1024. * * @return the displayName value. */ @@ -398,9 +363,8 @@ public OffsetDateTime getAllocationStateTransitionTime() { /** * Get the vmSize property: The size of virtual machines in the Pool. All virtual machines in a Pool are the same - * size. For information about available VM sizes, see Sizes for Virtual Machines in Azure - * (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except - * STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * size. For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes + * in an Azure Batch Pool (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @return the vmSize value. */ @@ -444,26 +408,13 @@ public List getResizeErrors() { return this.resizeErrors; } - /** - * Get the resourceTags property: The user-specified tags associated with the pool. The user-defined tags to be - * associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources - * associated with the pool. This property can only be specified when the Batch account was created with the - * poolAllocationMode property set to 'UserSubscription'. - * - * @return the resourceTags value. - */ - @Generated - public Map getResourceTags() { - return this.resourceTags; - } - /** * Get the currentDedicatedNodes property: The number of dedicated Compute Nodes currently in the Pool. * * @return the currentDedicatedNodes value. */ @Generated - public Integer getCurrentDedicatedNodes() { + public int getCurrentDedicatedNodes() { return this.currentDedicatedNodes; } @@ -474,7 +425,7 @@ public Integer getCurrentDedicatedNodes() { * @return the currentLowPriorityNodes value. */ @Generated - public Integer getCurrentLowPriorityNodes() { + public int getCurrentLowPriorityNodes() { return this.currentLowPriorityNodes; } @@ -546,8 +497,9 @@ public AutoScaleRun getAutoScaleRun() { /** * Get the enableInterNodeCommunication property: Whether the Pool permits direct communication between Compute - * Nodes. This imposes restrictions on which Compute Nodes can be assigned to the Pool. Specifying this value can - * reduce the chance of the requested number of Compute Nodes to be allocated in the Pool. + * Nodes. Enabling inter-node communication limits the maximum size of the Pool due to deployment restrictions on + * the Compute Nodes of the Pool. This may result in the Pool not reaching its desired size. The default value is + * false. * * @return the enableInterNodeCommunication value. */ @@ -576,23 +528,6 @@ public BatchStartTask getStartTask() { return this.startTask; } - /** - * Get the certificateReferences property: For Windows Nodes, the Batch service installs the Certificates to the - * specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @return the certificateReferences value. - */ - @Generated - public List getCertificateReferences() { - return this.certificateReferences; - } - /** * Get the applicationPackageReferences property: The list of Packages to be installed on each Compute Node in the * Pool. Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that @@ -650,8 +585,8 @@ public List getMetadata() { } /** - * Get the mountConfiguration property: A list of file systems to mount on each node in the pool. This supports - * Azure Files, NFS, CIFS/SMB, and Blobfuse. + * Get the mountConfiguration property: Mount storage using specified file system for the entire lifetime of the + * pool. Mount the storage using Azure fileshare, NFS, CIFS or Blobfuse based file system. * * @return the mountConfiguration value. */ @@ -672,27 +607,6 @@ public BatchPoolIdentity getIdentity() { return this.identity; } - /** - * Get the targetNodeCommunicationMode property: The desired node communication mode for the pool. If omitted, the - * default value is Default. - * - * @return the targetNodeCommunicationMode value. - */ - @Generated - public BatchNodeCommunicationMode getTargetNodeCommunicationMode() { - return this.targetNodeCommunicationMode; - } - - /** - * Get the currentNodeCommunicationMode property: The current state of the pool communication mode. - * - * @return the currentNodeCommunicationMode value. - */ - @Generated - public BatchNodeCommunicationMode getCurrentNodeCommunicationMode() { - return this.currentNodeCommunicationMode; - } - /** * Get the upgradePolicy property: The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, * or rolling. @@ -712,8 +626,6 @@ public UpgradePolicy getUpgradePolicy() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("startTask", this.startTask); - jsonWriter.writeStringField("targetNodeCommunicationMode", - this.targetNodeCommunicationMode == null ? null : this.targetNodeCommunicationMode.toString()); jsonWriter.writeJsonField("upgradePolicy", this.upgradePolicy); return jsonWriter.writeEndObject(); } @@ -724,6 +636,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BatchPool if the JsonReader was pointing to an instance of it, or null if it was pointing * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the BatchPool. */ @Generated @@ -735,8 +648,6 @@ public static BatchPool fromJson(JsonReader jsonReader) throws IOException { reader.nextToken(); if ("id".equals(fieldName)) { deserializedBatchPool.id = reader.getString(); - } else if ("displayName".equals(fieldName)) { - deserializedBatchPool.displayName = reader.getString(); } else if ("url".equals(fieldName)) { deserializedBatchPool.url = reader.getString(); } else if ("eTag".equals(fieldName)) { @@ -752,13 +663,19 @@ public static BatchPool fromJson(JsonReader jsonReader) throws IOException { } else if ("stateTransitionTime".equals(fieldName)) { deserializedBatchPool.stateTransitionTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("vmSize".equals(fieldName)) { + deserializedBatchPool.vmSize = reader.getString(); + } else if ("currentDedicatedNodes".equals(fieldName)) { + deserializedBatchPool.currentDedicatedNodes = reader.getInt(); + } else if ("currentLowPriorityNodes".equals(fieldName)) { + deserializedBatchPool.currentLowPriorityNodes = reader.getInt(); + } else if ("displayName".equals(fieldName)) { + deserializedBatchPool.displayName = reader.getString(); } else if ("allocationState".equals(fieldName)) { deserializedBatchPool.allocationState = AllocationState.fromString(reader.getString()); } else if ("allocationStateTransitionTime".equals(fieldName)) { deserializedBatchPool.allocationStateTransitionTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("vmSize".equals(fieldName)) { - deserializedBatchPool.vmSize = reader.getString(); } else if ("virtualMachineConfiguration".equals(fieldName)) { deserializedBatchPool.virtualMachineConfiguration = VirtualMachineConfiguration.fromJson(reader); } else if ("resizeTimeout".equals(fieldName)) { @@ -767,13 +684,6 @@ public static BatchPool fromJson(JsonReader jsonReader) throws IOException { } else if ("resizeErrors".equals(fieldName)) { List resizeErrors = reader.readArray(reader1 -> ResizeError.fromJson(reader1)); deserializedBatchPool.resizeErrors = resizeErrors; - } else if ("resourceTags".equals(fieldName)) { - Map resourceTags = reader.readMap(reader1 -> reader1.getString()); - deserializedBatchPool.resourceTags = resourceTags; - } else if ("currentDedicatedNodes".equals(fieldName)) { - deserializedBatchPool.currentDedicatedNodes = reader.getNullable(JsonReader::getInt); - } else if ("currentLowPriorityNodes".equals(fieldName)) { - deserializedBatchPool.currentLowPriorityNodes = reader.getNullable(JsonReader::getInt); } else if ("targetDedicatedNodes".equals(fieldName)) { deserializedBatchPool.targetDedicatedNodes = reader.getNullable(JsonReader::getInt); } else if ("targetLowPriorityNodes".equals(fieldName)) { @@ -793,10 +703,6 @@ public static BatchPool fromJson(JsonReader jsonReader) throws IOException { deserializedBatchPool.networkConfiguration = NetworkConfiguration.fromJson(reader); } else if ("startTask".equals(fieldName)) { deserializedBatchPool.startTask = BatchStartTask.fromJson(reader); - } else if ("certificateReferences".equals(fieldName)) { - List certificateReferences - = reader.readArray(reader1 -> BatchCertificateReference.fromJson(reader1)); - deserializedBatchPool.certificateReferences = certificateReferences; } else if ("applicationPackageReferences".equals(fieldName)) { List applicationPackageReferences = reader.readArray(reader1 -> BatchApplicationPackageReference.fromJson(reader1)); @@ -819,12 +725,6 @@ public static BatchPool fromJson(JsonReader jsonReader) throws IOException { deserializedBatchPool.mountConfiguration = mountConfiguration; } else if ("identity".equals(fieldName)) { deserializedBatchPool.identity = BatchPoolIdentity.fromJson(reader); - } else if ("targetNodeCommunicationMode".equals(fieldName)) { - deserializedBatchPool.targetNodeCommunicationMode - = BatchNodeCommunicationMode.fromString(reader.getString()); - } else if ("currentNodeCommunicationMode".equals(fieldName)) { - deserializedBatchPool.currentNodeCommunicationMode - = BatchNodeCommunicationMode.fromString(reader.getString()); } else if ("upgradePolicy".equals(fieldName)) { deserializedBatchPool.upgradePolicy = UpgradePolicy.fromJson(reader); } else { diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolCreateParameters.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolCreateParameters.java index ab82258ae6e3..ba66c46d3501 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolCreateParameters.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolCreateParameters.java @@ -13,7 +13,6 @@ import java.io.IOException; import java.time.Duration; import java.util.List; -import java.util.Map; /** * Parameters for creating an Azure Batch Pool. @@ -62,15 +61,6 @@ public final class BatchPoolCreateParameters implements JsonSerializable resourceTags; - /* * The desired number of dedicated Compute Nodes in the Pool. This property must not be specified if enableAutoScale * is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, @@ -135,18 +125,6 @@ public final class BatchPoolCreateParameters implements JsonSerializable certificateReferences; - /* * The list of Packages to be installed on each Compute Node in the Pool. When creating a pool, the package's * application ID must be fully qualified @@ -192,12 +170,6 @@ public final class BatchPoolCreateParameters implements JsonSerializable mountConfiguration; - /* - * The desired node communication mode for the pool. If omitted, the default value is Default. - */ - @Generated - private BatchNodeCommunicationMode targetNodeCommunicationMode; - /* * The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, or rolling. */ @@ -320,34 +292,6 @@ public BatchPoolCreateParameters setResizeTimeout(Duration resizeTimeout) { return this; } - /** - * Get the resourceTags property: The user-specified tags associated with the pool. The user-defined tags to be - * associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources - * associated with the pool. This property can only be specified when the Batch account was created with the - * poolAllocationMode property set to 'UserSubscription'. - * - * @return the resourceTags value. - */ - @Generated - public Map getResourceTags() { - return this.resourceTags; - } - - /** - * Set the resourceTags property: The user-specified tags associated with the pool. The user-defined tags to be - * associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources - * associated with the pool. This property can only be specified when the Batch account was created with the - * poolAllocationMode property set to 'UserSubscription'. - * - * @param resourceTags the resourceTags value to set. - * @return the BatchPoolCreateParameters object itself. - */ - @Generated - public BatchPoolCreateParameters setResourceTags(Map resourceTags) { - this.resourceTags = resourceTags; - return this; - } - /** * Get the targetDedicatedNodes property: The desired number of dedicated Compute Nodes in the Pool. This property * must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set @@ -560,42 +504,6 @@ public BatchPoolCreateParameters setStartTask(BatchStartTask startTask) { return this; } - /** - * Get the certificateReferences property: For Windows Nodes, the Batch service installs the Certificates to the - * specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @return the certificateReferences value. - */ - @Generated - public List getCertificateReferences() { - return this.certificateReferences; - } - - /** - * Set the certificateReferences property: For Windows Nodes, the Batch service installs the Certificates to the - * specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @param certificateReferences the certificateReferences value to set. - * @return the BatchPoolCreateParameters object itself. - */ - @Generated - public BatchPoolCreateParameters setCertificateReferences(List certificateReferences) { - this.certificateReferences = certificateReferences; - return this; - } - /** * Get the applicationPackageReferences property: The list of Packages to be installed on each Compute Node in the * Pool. When creating a pool, the package's application ID must be fully qualified @@ -749,31 +657,6 @@ public BatchPoolCreateParameters setMountConfiguration(List return this; } - /** - * Get the targetNodeCommunicationMode property: The desired node communication mode for the pool. If omitted, the - * default value is Default. - * - * @return the targetNodeCommunicationMode value. - */ - @Generated - public BatchNodeCommunicationMode getTargetNodeCommunicationMode() { - return this.targetNodeCommunicationMode; - } - - /** - * Set the targetNodeCommunicationMode property: The desired node communication mode for the pool. If omitted, the - * default value is Default. - * - * @param targetNodeCommunicationMode the targetNodeCommunicationMode value to set. - * @return the BatchPoolCreateParameters object itself. - */ - @Generated - public BatchPoolCreateParameters - setTargetNodeCommunicationMode(BatchNodeCommunicationMode targetNodeCommunicationMode) { - this.targetNodeCommunicationMode = targetNodeCommunicationMode; - return this; - } - /** * Get the upgradePolicy property: The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, * or rolling. @@ -810,7 +693,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("displayName", this.displayName); jsonWriter.writeJsonField("virtualMachineConfiguration", this.virtualMachineConfiguration); jsonWriter.writeStringField("resizeTimeout", CoreUtils.durationToStringWithDays(this.resizeTimeout)); - jsonWriter.writeMapField("resourceTags", this.resourceTags, (writer, element) -> writer.writeString(element)); jsonWriter.writeNumberField("targetDedicatedNodes", this.targetDedicatedNodes); jsonWriter.writeNumberField("targetLowPriorityNodes", this.targetLowPriorityNodes); jsonWriter.writeBooleanField("enableAutoScale", this.enableAutoScale); @@ -820,8 +702,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeBooleanField("enableInterNodeCommunication", this.enableInterNodeCommunication); jsonWriter.writeJsonField("networkConfiguration", this.networkConfiguration); jsonWriter.writeJsonField("startTask", this.startTask); - jsonWriter.writeArrayField("certificateReferences", this.certificateReferences, - (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("applicationPackageReferences", this.applicationPackageReferences, (writer, element) -> writer.writeJson(element)); jsonWriter.writeNumberField("taskSlotsPerNode", this.taskSlotsPerNode); @@ -830,8 +710,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("metadata", this.metadata, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("mountConfiguration", this.mountConfiguration, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("targetNodeCommunicationMode", - this.targetNodeCommunicationMode == null ? null : this.targetNodeCommunicationMode.toString()); jsonWriter.writeJsonField("upgradePolicy", this.upgradePolicy); return jsonWriter.writeEndObject(); } @@ -853,7 +731,6 @@ public static BatchPoolCreateParameters fromJson(JsonReader jsonReader) throws I String displayName = null; VirtualMachineConfiguration virtualMachineConfiguration = null; Duration resizeTimeout = null; - Map resourceTags = null; Integer targetDedicatedNodes = null; Integer targetLowPriorityNodes = null; Boolean enableAutoScale = null; @@ -862,14 +739,12 @@ public static BatchPoolCreateParameters fromJson(JsonReader jsonReader) throws I Boolean enableInterNodeCommunication = null; NetworkConfiguration networkConfiguration = null; BatchStartTask startTask = null; - List certificateReferences = null; List applicationPackageReferences = null; Integer taskSlotsPerNode = null; BatchTaskSchedulingPolicy taskSchedulingPolicy = null; List userAccounts = null; List metadata = null; List mountConfiguration = null; - BatchNodeCommunicationMode targetNodeCommunicationMode = null; UpgradePolicy upgradePolicy = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -884,8 +759,6 @@ public static BatchPoolCreateParameters fromJson(JsonReader jsonReader) throws I virtualMachineConfiguration = VirtualMachineConfiguration.fromJson(reader); } else if ("resizeTimeout".equals(fieldName)) { resizeTimeout = reader.getNullable(nonNullReader -> Duration.parse(nonNullReader.getString())); - } else if ("resourceTags".equals(fieldName)) { - resourceTags = reader.readMap(reader1 -> reader1.getString()); } else if ("targetDedicatedNodes".equals(fieldName)) { targetDedicatedNodes = reader.getNullable(JsonReader::getInt); } else if ("targetLowPriorityNodes".equals(fieldName)) { @@ -903,8 +776,6 @@ public static BatchPoolCreateParameters fromJson(JsonReader jsonReader) throws I networkConfiguration = NetworkConfiguration.fromJson(reader); } else if ("startTask".equals(fieldName)) { startTask = BatchStartTask.fromJson(reader); - } else if ("certificateReferences".equals(fieldName)) { - certificateReferences = reader.readArray(reader1 -> BatchCertificateReference.fromJson(reader1)); } else if ("applicationPackageReferences".equals(fieldName)) { applicationPackageReferences = reader.readArray(reader1 -> BatchApplicationPackageReference.fromJson(reader1)); @@ -918,8 +789,6 @@ public static BatchPoolCreateParameters fromJson(JsonReader jsonReader) throws I metadata = reader.readArray(reader1 -> BatchMetadataItem.fromJson(reader1)); } else if ("mountConfiguration".equals(fieldName)) { mountConfiguration = reader.readArray(reader1 -> MountConfiguration.fromJson(reader1)); - } else if ("targetNodeCommunicationMode".equals(fieldName)) { - targetNodeCommunicationMode = BatchNodeCommunicationMode.fromString(reader.getString()); } else if ("upgradePolicy".equals(fieldName)) { upgradePolicy = UpgradePolicy.fromJson(reader); } else { @@ -930,7 +799,6 @@ public static BatchPoolCreateParameters fromJson(JsonReader jsonReader) throws I deserializedBatchPoolCreateParameters.displayName = displayName; deserializedBatchPoolCreateParameters.virtualMachineConfiguration = virtualMachineConfiguration; deserializedBatchPoolCreateParameters.resizeTimeout = resizeTimeout; - deserializedBatchPoolCreateParameters.resourceTags = resourceTags; deserializedBatchPoolCreateParameters.targetDedicatedNodes = targetDedicatedNodes; deserializedBatchPoolCreateParameters.targetLowPriorityNodes = targetLowPriorityNodes; deserializedBatchPoolCreateParameters.enableAutoScale = enableAutoScale; @@ -939,14 +807,12 @@ public static BatchPoolCreateParameters fromJson(JsonReader jsonReader) throws I deserializedBatchPoolCreateParameters.enableInterNodeCommunication = enableInterNodeCommunication; deserializedBatchPoolCreateParameters.networkConfiguration = networkConfiguration; deserializedBatchPoolCreateParameters.startTask = startTask; - deserializedBatchPoolCreateParameters.certificateReferences = certificateReferences; deserializedBatchPoolCreateParameters.applicationPackageReferences = applicationPackageReferences; deserializedBatchPoolCreateParameters.taskSlotsPerNode = taskSlotsPerNode; deserializedBatchPoolCreateParameters.taskSchedulingPolicy = taskSchedulingPolicy; deserializedBatchPoolCreateParameters.userAccounts = userAccounts; deserializedBatchPoolCreateParameters.metadata = metadata; deserializedBatchPoolCreateParameters.mountConfiguration = mountConfiguration; - deserializedBatchPoolCreateParameters.targetNodeCommunicationMode = targetNodeCommunicationMode; deserializedBatchPoolCreateParameters.upgradePolicy = upgradePolicy; return deserializedBatchPoolCreateParameters; }); diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolIdentityReference.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolIdentityReference.java new file mode 100644 index 000000000000..4fb37c5179ef --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolIdentityReference.java @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The reference of one of the pool identities to encrypt Disk. This identity will be used to access the key vault. + */ +@Fluent +public final class BatchPoolIdentityReference implements JsonSerializable { + /* + * The ARM resource id of the user assigned identity. This reference must be included in the pool identities. + */ + @Generated + private String resourceId; + + /** + * Creates an instance of BatchPoolIdentityReference class. + */ + @Generated + public BatchPoolIdentityReference() { + } + + /** + * Get the resourceId property: The ARM resource id of the user assigned identity. This reference must be included + * in the pool identities. + * + * @return the resourceId value. + */ + @Generated + public String getResourceId() { + return this.resourceId; + } + + /** + * Set the resourceId property: The ARM resource id of the user assigned identity. This reference must be included + * in the pool identities. + * + * @param resourceId the resourceId value to set. + * @return the BatchPoolIdentityReference object itself. + */ + @Generated + public BatchPoolIdentityReference setResourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("resourceId", this.resourceId); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of BatchPoolIdentityReference from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of BatchPoolIdentityReference if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IOException If an error occurs while reading the BatchPoolIdentityReference. + */ + @Generated + public static BatchPoolIdentityReference fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + BatchPoolIdentityReference deserializedBatchPoolIdentityReference = new BatchPoolIdentityReference(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("resourceId".equals(fieldName)) { + deserializedBatchPoolIdentityReference.resourceId = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedBatchPoolIdentityReference; + }); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolReplaceParameters.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolReplaceParameters.java index 0bb98ea6382b..681c0f204d28 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolReplaceParameters.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolReplaceParameters.java @@ -26,20 +26,6 @@ public final class BatchPoolReplaceParameters implements JsonSerializable certificateReferences; - /* * The list of Application Packages to be installed on each Compute Node in the Pool. The list replaces any existing * Application Package references on the Pool. Changes to Application Package references affect all new Compute @@ -59,28 +45,6 @@ public final class BatchPoolReplaceParameters implements JsonSerializable metadata; - /* - * The desired node communication mode for the pool. This setting replaces any existing targetNodeCommunication - * setting on the Pool. If omitted, the existing setting is default. - */ - @Generated - private BatchNodeCommunicationMode targetNodeCommunicationMode; - - /** - * Creates an instance of BatchPoolReplaceParameters class. - * - * @param certificateReferences the certificateReferences value to set. - * @param applicationPackageReferences the applicationPackageReferences value to set. - * @param metadata the metadata value to set. - */ - @Generated - public BatchPoolReplaceParameters(List certificateReferences, - List applicationPackageReferences, List metadata) { - this.certificateReferences = certificateReferences; - this.applicationPackageReferences = applicationPackageReferences; - this.metadata = metadata; - } - /** * Get the startTask property: A Task to run on each Compute Node as it joins the Pool. The Task runs when the * Compute Node is added to the Pool or when the Compute Node is restarted. If this element is present, it @@ -107,25 +71,6 @@ public BatchPoolReplaceParameters setStartTask(BatchStartTask startTask) { return this; } - /** - * Get the certificateReferences property: This list replaces any existing Certificate references configured on the - * Pool. - * If you specify an empty collection, any existing Certificate references are removed from the Pool. - * For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @return the certificateReferences value. - */ - @Generated - public List getCertificateReferences() { - return this.certificateReferences; - } - /** * Get the applicationPackageReferences property: The list of Application Packages to be installed on each Compute * Node in the Pool. The list replaces any existing Application Package references on the Pool. Changes to @@ -153,31 +98,6 @@ public List getMetadata() { return this.metadata; } - /** - * Get the targetNodeCommunicationMode property: The desired node communication mode for the pool. This setting - * replaces any existing targetNodeCommunication setting on the Pool. If omitted, the existing setting is default. - * - * @return the targetNodeCommunicationMode value. - */ - @Generated - public BatchNodeCommunicationMode getTargetNodeCommunicationMode() { - return this.targetNodeCommunicationMode; - } - - /** - * Set the targetNodeCommunicationMode property: The desired node communication mode for the pool. This setting - * replaces any existing targetNodeCommunication setting on the Pool. If omitted, the existing setting is default. - * - * @param targetNodeCommunicationMode the targetNodeCommunicationMode value to set. - * @return the BatchPoolReplaceParameters object itself. - */ - @Generated - public BatchPoolReplaceParameters - setTargetNodeCommunicationMode(BatchNodeCommunicationMode targetNodeCommunicationMode) { - this.targetNodeCommunicationMode = targetNodeCommunicationMode; - return this; - } - /** * {@inheritDoc} */ @@ -185,14 +105,10 @@ public BatchNodeCommunicationMode getTargetNodeCommunicationMode() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("certificateReferences", this.certificateReferences, - (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("applicationPackageReferences", this.applicationPackageReferences, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("metadata", this.metadata, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("startTask", this.startTask); - jsonWriter.writeStringField("targetNodeCommunicationMode", - this.targetNodeCommunicationMode == null ? null : this.targetNodeCommunicationMode.toString()); return jsonWriter.writeEndObject(); } @@ -208,34 +124,40 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { @Generated public static BatchPoolReplaceParameters fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - List certificateReferences = null; List applicationPackageReferences = null; List metadata = null; BatchStartTask startTask = null; - BatchNodeCommunicationMode targetNodeCommunicationMode = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("certificateReferences".equals(fieldName)) { - certificateReferences = reader.readArray(reader1 -> BatchCertificateReference.fromJson(reader1)); - } else if ("applicationPackageReferences".equals(fieldName)) { + if ("applicationPackageReferences".equals(fieldName)) { applicationPackageReferences = reader.readArray(reader1 -> BatchApplicationPackageReference.fromJson(reader1)); } else if ("metadata".equals(fieldName)) { metadata = reader.readArray(reader1 -> BatchMetadataItem.fromJson(reader1)); } else if ("startTask".equals(fieldName)) { startTask = BatchStartTask.fromJson(reader); - } else if ("targetNodeCommunicationMode".equals(fieldName)) { - targetNodeCommunicationMode = BatchNodeCommunicationMode.fromString(reader.getString()); } else { reader.skipChildren(); } } BatchPoolReplaceParameters deserializedBatchPoolReplaceParameters - = new BatchPoolReplaceParameters(certificateReferences, applicationPackageReferences, metadata); + = new BatchPoolReplaceParameters(applicationPackageReferences, metadata); deserializedBatchPoolReplaceParameters.startTask = startTask; - deserializedBatchPoolReplaceParameters.targetNodeCommunicationMode = targetNodeCommunicationMode; return deserializedBatchPoolReplaceParameters; }); } + + /** + * Creates an instance of BatchPoolReplaceParameters class. + * + * @param applicationPackageReferences the applicationPackageReferences value to set. + * @param metadata the metadata value to set. + */ + @Generated + public BatchPoolReplaceParameters(List applicationPackageReferences, + List metadata) { + this.applicationPackageReferences = applicationPackageReferences; + this.metadata = metadata; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolSpecification.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolSpecification.java index 8f95c8775760..de759c37217e 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolSpecification.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolSpecification.java @@ -64,15 +64,6 @@ public final class BatchPoolSpecification implements JsonSerializable certificateReferences; - /* * The list of Packages to be installed on each Compute Node in the Pool. When creating a pool, the package's * application ID must be fully qualified @@ -179,12 +157,6 @@ public final class BatchPoolSpecification implements JsonSerializable mountConfiguration; - /* - * The desired node communication mode for the pool. If omitted, the default value is Default. - */ - @Generated - private BatchNodeCommunicationMode targetNodeCommunicationMode; - /* * The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, or rolling. */ @@ -340,34 +312,6 @@ public BatchPoolSpecification setResizeTimeout(Duration resizeTimeout) { return this; } - /** - * Get the resourceTags property: The user-specified tags associated with the pool.The user-defined tags to be - * associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources - * associated with the pool. This property can only be specified when the Batch account was created with the - * poolAllocationMode property set to 'UserSubscription'. - * - * @return the resourceTags value. - */ - @Generated - public String getResourceTags() { - return this.resourceTags; - } - - /** - * Set the resourceTags property: The user-specified tags associated with the pool.The user-defined tags to be - * associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources - * associated with the pool. This property can only be specified when the Batch account was created with the - * poolAllocationMode property set to 'UserSubscription'. - * - * @param resourceTags the resourceTags value to set. - * @return the BatchPoolSpecification object itself. - */ - @Generated - public BatchPoolSpecification setResourceTags(String resourceTags) { - this.resourceTags = resourceTags; - return this; - } - /** * Get the targetDedicatedNodes property: The desired number of dedicated Compute Nodes in the Pool. This property * must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set @@ -578,42 +522,6 @@ public BatchPoolSpecification setStartTask(BatchStartTask startTask) { return this; } - /** - * Get the certificateReferences property: For Windows Nodes, the Batch service installs the Certificates to the - * specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory - * inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task - * to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in - * the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. - * Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @return the certificateReferences value. - */ - @Generated - public List getCertificateReferences() { - return this.certificateReferences; - } - - /** - * Set the certificateReferences property: For Windows Nodes, the Batch service installs the Certificates to the - * specified Certificate store and location. For Linux Compute Nodes, the Certificates are stored in a directory - * inside the Task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task - * to query for this location. For Certificates with visibility of 'remoteUser', a 'certs' directory is created in - * the user's home directory (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. - * Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @param certificateReferences the certificateReferences value to set. - * @return the BatchPoolSpecification object itself. - */ - @Generated - public BatchPoolSpecification setCertificateReferences(List certificateReferences) { - this.certificateReferences = certificateReferences; - return this; - } - /** * Get the applicationPackageReferences property: The list of Packages to be installed on each Compute Node in the * Pool. When creating a pool, the package's application ID must be fully qualified @@ -717,31 +625,6 @@ public BatchPoolSpecification setMountConfiguration(List mou return this; } - /** - * Get the targetNodeCommunicationMode property: The desired node communication mode for the pool. If omitted, the - * default value is Default. - * - * @return the targetNodeCommunicationMode value. - */ - @Generated - public BatchNodeCommunicationMode getTargetNodeCommunicationMode() { - return this.targetNodeCommunicationMode; - } - - /** - * Set the targetNodeCommunicationMode property: The desired node communication mode for the pool. If omitted, the - * default value is Default. - * - * @param targetNodeCommunicationMode the targetNodeCommunicationMode value to set. - * @return the BatchPoolSpecification object itself. - */ - @Generated - public BatchPoolSpecification - setTargetNodeCommunicationMode(BatchNodeCommunicationMode targetNodeCommunicationMode) { - this.targetNodeCommunicationMode = targetNodeCommunicationMode; - return this; - } - /** * Get the upgradePolicy property: The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, * or rolling. @@ -779,7 +662,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeNumberField("taskSlotsPerNode", this.taskSlotsPerNode); jsonWriter.writeJsonField("taskSchedulingPolicy", this.taskSchedulingPolicy); jsonWriter.writeStringField("resizeTimeout", CoreUtils.durationToStringWithDays(this.resizeTimeout)); - jsonWriter.writeStringField("resourceTags", this.resourceTags); jsonWriter.writeNumberField("targetDedicatedNodes", this.targetDedicatedNodes); jsonWriter.writeNumberField("targetLowPriorityNodes", this.targetLowPriorityNodes); jsonWriter.writeBooleanField("enableAutoScale", this.enableAutoScale); @@ -789,16 +671,12 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeBooleanField("enableInterNodeCommunication", this.enableInterNodeCommunication); jsonWriter.writeJsonField("networkConfiguration", this.networkConfiguration); jsonWriter.writeJsonField("startTask", this.startTask); - jsonWriter.writeArrayField("certificateReferences", this.certificateReferences, - (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("applicationPackageReferences", this.applicationPackageReferences, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("userAccounts", this.userAccounts, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("metadata", this.metadata, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("mountConfiguration", this.mountConfiguration, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("targetNodeCommunicationMode", - this.targetNodeCommunicationMode == null ? null : this.targetNodeCommunicationMode.toString()); jsonWriter.writeJsonField("upgradePolicy", this.upgradePolicy); return jsonWriter.writeEndObject(); } @@ -821,7 +699,6 @@ public static BatchPoolSpecification fromJson(JsonReader jsonReader) throws IOEx Integer taskSlotsPerNode = null; BatchTaskSchedulingPolicy taskSchedulingPolicy = null; Duration resizeTimeout = null; - String resourceTags = null; Integer targetDedicatedNodes = null; Integer targetLowPriorityNodes = null; Boolean enableAutoScale = null; @@ -830,12 +707,10 @@ public static BatchPoolSpecification fromJson(JsonReader jsonReader) throws IOEx Boolean enableInterNodeCommunication = null; NetworkConfiguration networkConfiguration = null; BatchStartTask startTask = null; - List certificateReferences = null; List applicationPackageReferences = null; List userAccounts = null; List metadata = null; List mountConfiguration = null; - BatchNodeCommunicationMode targetNodeCommunicationMode = null; UpgradePolicy upgradePolicy = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -852,8 +727,6 @@ public static BatchPoolSpecification fromJson(JsonReader jsonReader) throws IOEx taskSchedulingPolicy = BatchTaskSchedulingPolicy.fromJson(reader); } else if ("resizeTimeout".equals(fieldName)) { resizeTimeout = reader.getNullable(nonNullReader -> Duration.parse(nonNullReader.getString())); - } else if ("resourceTags".equals(fieldName)) { - resourceTags = reader.getString(); } else if ("targetDedicatedNodes".equals(fieldName)) { targetDedicatedNodes = reader.getNullable(JsonReader::getInt); } else if ("targetLowPriorityNodes".equals(fieldName)) { @@ -871,8 +744,6 @@ public static BatchPoolSpecification fromJson(JsonReader jsonReader) throws IOEx networkConfiguration = NetworkConfiguration.fromJson(reader); } else if ("startTask".equals(fieldName)) { startTask = BatchStartTask.fromJson(reader); - } else if ("certificateReferences".equals(fieldName)) { - certificateReferences = reader.readArray(reader1 -> BatchCertificateReference.fromJson(reader1)); } else if ("applicationPackageReferences".equals(fieldName)) { applicationPackageReferences = reader.readArray(reader1 -> BatchApplicationPackageReference.fromJson(reader1)); @@ -882,8 +753,6 @@ public static BatchPoolSpecification fromJson(JsonReader jsonReader) throws IOEx metadata = reader.readArray(reader1 -> BatchMetadataItem.fromJson(reader1)); } else if ("mountConfiguration".equals(fieldName)) { mountConfiguration = reader.readArray(reader1 -> MountConfiguration.fromJson(reader1)); - } else if ("targetNodeCommunicationMode".equals(fieldName)) { - targetNodeCommunicationMode = BatchNodeCommunicationMode.fromString(reader.getString()); } else if ("upgradePolicy".equals(fieldName)) { upgradePolicy = UpgradePolicy.fromJson(reader); } else { @@ -896,7 +765,6 @@ public static BatchPoolSpecification fromJson(JsonReader jsonReader) throws IOEx deserializedBatchPoolSpecification.taskSlotsPerNode = taskSlotsPerNode; deserializedBatchPoolSpecification.taskSchedulingPolicy = taskSchedulingPolicy; deserializedBatchPoolSpecification.resizeTimeout = resizeTimeout; - deserializedBatchPoolSpecification.resourceTags = resourceTags; deserializedBatchPoolSpecification.targetDedicatedNodes = targetDedicatedNodes; deserializedBatchPoolSpecification.targetLowPriorityNodes = targetLowPriorityNodes; deserializedBatchPoolSpecification.enableAutoScale = enableAutoScale; @@ -905,12 +773,10 @@ public static BatchPoolSpecification fromJson(JsonReader jsonReader) throws IOEx deserializedBatchPoolSpecification.enableInterNodeCommunication = enableInterNodeCommunication; deserializedBatchPoolSpecification.networkConfiguration = networkConfiguration; deserializedBatchPoolSpecification.startTask = startTask; - deserializedBatchPoolSpecification.certificateReferences = certificateReferences; deserializedBatchPoolSpecification.applicationPackageReferences = applicationPackageReferences; deserializedBatchPoolSpecification.userAccounts = userAccounts; deserializedBatchPoolSpecification.metadata = metadata; deserializedBatchPoolSpecification.mountConfiguration = mountConfiguration; - deserializedBatchPoolSpecification.targetNodeCommunicationMode = targetNodeCommunicationMode; deserializedBatchPoolSpecification.upgradePolicy = upgradePolicy; return deserializedBatchPoolSpecification; }); diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolUpdateParameters.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolUpdateParameters.java index abc41a402e9c..d0c124c418c9 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolUpdateParameters.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPoolUpdateParameters.java @@ -11,7 +11,6 @@ import com.azure.json.JsonWriter; import java.io.IOException; import java.util.List; -import java.util.Map; /** * Parameters for updating an Azure Batch Pool. @@ -52,20 +51,6 @@ public final class BatchPoolUpdateParameters implements JsonSerializable certificateReferences; - /* * A list of Packages to be installed on each Compute Node in the Pool. Changes to Package references affect all new * Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or @@ -91,13 +76,6 @@ public final class BatchPoolUpdateParameters implements JsonSerializable
This field can be updated only when the pool is empty. - */ - @Generated - private Map resourceTags; - /* * The list of user Accounts to be created on each Compute Node in the Pool. This field can be updated only when the * pool is empty. @@ -263,46 +232,6 @@ public BatchPoolUpdateParameters setStartTask(BatchStartTask startTask) { return this; } - /** - * Get the certificateReferences property: If this element is present, it replaces any existing Certificate - * references configured on the Pool. - * If omitted, any existing Certificate references are left unchanged. - * For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @return the certificateReferences value. - */ - @Generated - public List getCertificateReferences() { - return this.certificateReferences; - } - - /** - * Set the certificateReferences property: If this element is present, it replaces any existing Certificate - * references configured on the Pool. - * If omitted, any existing Certificate references are left unchanged. - * For Windows Nodes, the Batch service installs the Certificates to the specified Certificate store and location. - * For Linux Compute Nodes, the Certificates are stored in a directory inside the Task working directory and an - * environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the Task to query for this location. - * For Certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory - * (e.g., /home/{user-name}/certs) and Certificates are placed in that directory. - * Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault - * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead. - * - * @param certificateReferences the certificateReferences value to set. - * @return the BatchPoolUpdateParameters object itself. - */ - @Generated - public BatchPoolUpdateParameters setCertificateReferences(List certificateReferences) { - this.certificateReferences = certificateReferences; - return this; - } - /** * Get the applicationPackageReferences property: A list of Packages to be installed on each Compute Node in the * Pool. Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that @@ -385,33 +314,6 @@ public VirtualMachineConfiguration getVirtualMachineConfiguration() { return this; } - /** - * Get the targetNodeCommunicationMode property: The desired node communication mode for the pool. If this element - * is present, it replaces the existing targetNodeCommunicationMode configured on the Pool. If omitted, any existing - * metadata is left unchanged. - * - * @return the targetNodeCommunicationMode value. - */ - @Generated - public BatchNodeCommunicationMode getTargetNodeCommunicationMode() { - return this.targetNodeCommunicationMode; - } - - /** - * Set the targetNodeCommunicationMode property: The desired node communication mode for the pool. If this element - * is present, it replaces the existing targetNodeCommunicationMode configured on the Pool. If omitted, any existing - * metadata is left unchanged. - * - * @param targetNodeCommunicationMode the targetNodeCommunicationMode value to set. - * @return the BatchPoolUpdateParameters object itself. - */ - @Generated - public BatchPoolUpdateParameters - setTargetNodeCommunicationMode(BatchNodeCommunicationMode targetNodeCommunicationMode) { - this.targetNodeCommunicationMode = targetNodeCommunicationMode; - return this; - } - /** * Get the taskSlotsPerNode property: The number of task slots that can be used to run concurrent tasks on a single * compute node in the pool. The default value is 1. The maximum value is the smaller of 4 times the number of cores @@ -486,36 +388,6 @@ public BatchPoolUpdateParameters setNetworkConfiguration(NetworkConfiguration ne return this; } - /** - * Get the resourceTags property: The user-specified tags associated with the pool. The user-defined tags to be - * associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources - * associated with the pool. This property can only be specified when the Batch account was created with the - * poolAllocationMode property set to 'UserSubscription'.<br /><br />This field can be updated only when - * the pool is empty. - * - * @return the resourceTags value. - */ - @Generated - public Map getResourceTags() { - return this.resourceTags; - } - - /** - * Set the resourceTags property: The user-specified tags associated with the pool. The user-defined tags to be - * associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources - * associated with the pool. This property can only be specified when the Batch account was created with the - * poolAllocationMode property set to 'UserSubscription'.<br /><br />This field can be updated only when - * the pool is empty. - * - * @param resourceTags the resourceTags value to set. - * @return the BatchPoolUpdateParameters object itself. - */ - @Generated - public BatchPoolUpdateParameters setResourceTags(Map resourceTags) { - this.resourceTags = resourceTags; - return this; - } - /** * Get the userAccounts property: The list of user Accounts to be created on each Compute Node in the Pool. This * field can be updated only when the pool is empty. @@ -601,18 +473,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("vmSize", this.vmSize); jsonWriter.writeBooleanField("enableInterNodeCommunication", this.enableInterNodeCommunication); jsonWriter.writeJsonField("startTask", this.startTask); - jsonWriter.writeArrayField("certificateReferences", this.certificateReferences, - (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("applicationPackageReferences", this.applicationPackageReferences, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("metadata", this.metadata, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("virtualMachineConfiguration", this.virtualMachineConfiguration); - jsonWriter.writeStringField("targetNodeCommunicationMode", - this.targetNodeCommunicationMode == null ? null : this.targetNodeCommunicationMode.toString()); jsonWriter.writeNumberField("taskSlotsPerNode", this.taskSlotsPerNode); jsonWriter.writeJsonField("taskSchedulingPolicy", this.taskSchedulingPolicy); jsonWriter.writeJsonField("networkConfiguration", this.networkConfiguration); - jsonWriter.writeMapField("resourceTags", this.resourceTags, (writer, element) -> writer.writeString(element)); jsonWriter.writeArrayField("userAccounts", this.userAccounts, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("mountConfiguration", this.mountConfiguration, (writer, element) -> writer.writeJson(element)); @@ -644,10 +511,6 @@ public static BatchPoolUpdateParameters fromJson(JsonReader jsonReader) throws I = reader.getNullable(JsonReader::getBoolean); } else if ("startTask".equals(fieldName)) { deserializedBatchPoolUpdateParameters.startTask = BatchStartTask.fromJson(reader); - } else if ("certificateReferences".equals(fieldName)) { - List certificateReferences - = reader.readArray(reader1 -> BatchCertificateReference.fromJson(reader1)); - deserializedBatchPoolUpdateParameters.certificateReferences = certificateReferences; } else if ("applicationPackageReferences".equals(fieldName)) { List applicationPackageReferences = reader.readArray(reader1 -> BatchApplicationPackageReference.fromJson(reader1)); @@ -658,9 +521,6 @@ public static BatchPoolUpdateParameters fromJson(JsonReader jsonReader) throws I } else if ("virtualMachineConfiguration".equals(fieldName)) { deserializedBatchPoolUpdateParameters.virtualMachineConfiguration = VirtualMachineConfiguration.fromJson(reader); - } else if ("targetNodeCommunicationMode".equals(fieldName)) { - deserializedBatchPoolUpdateParameters.targetNodeCommunicationMode - = BatchNodeCommunicationMode.fromString(reader.getString()); } else if ("taskSlotsPerNode".equals(fieldName)) { deserializedBatchPoolUpdateParameters.taskSlotsPerNode = reader.getNullable(JsonReader::getInt); } else if ("taskSchedulingPolicy".equals(fieldName)) { @@ -668,9 +528,6 @@ public static BatchPoolUpdateParameters fromJson(JsonReader jsonReader) throws I = BatchTaskSchedulingPolicy.fromJson(reader); } else if ("networkConfiguration".equals(fieldName)) { deserializedBatchPoolUpdateParameters.networkConfiguration = NetworkConfiguration.fromJson(reader); - } else if ("resourceTags".equals(fieldName)) { - Map resourceTags = reader.readMap(reader1 -> reader1.getString()); - deserializedBatchPoolUpdateParameters.resourceTags = resourceTags; } else if ("userAccounts".equals(fieldName)) { List userAccounts = reader.readArray(reader1 -> UserAccount.fromJson(reader1)); deserializedBatchPoolUpdateParameters.userAccounts = userAccounts; diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPublicIpAddressConfiguration.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPublicIpAddressConfiguration.java index df288da6678b..7619b8b1244b 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPublicIpAddressConfiguration.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchPublicIpAddressConfiguration.java @@ -105,7 +105,10 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("provision", this.ipAddressProvisioningType == null ? null : this.ipAddressProvisioningType.toString()); + jsonWriter.writeArrayField("ipFamilies", this.ipFamilies, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); jsonWriter.writeArrayField("ipAddressIds", this.ipAddressIds, (writer, element) -> writer.writeString(element)); + jsonWriter.writeArrayField("ipTags", this.ipTags, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -128,9 +131,15 @@ public static BatchPublicIpAddressConfiguration fromJson(JsonReader jsonReader) if ("provision".equals(fieldName)) { deserializedBatchPublicIpAddressConfiguration.ipAddressProvisioningType = IpAddressProvisioningType.fromString(reader.getString()); + } else if ("ipFamilies".equals(fieldName)) { + List ipFamilies = reader.readArray(reader1 -> IPFamily.fromString(reader1.getString())); + deserializedBatchPublicIpAddressConfiguration.ipFamilies = ipFamilies; } else if ("ipAddressIds".equals(fieldName)) { List ipAddressIds = reader.readArray(reader1 -> reader1.getString()); deserializedBatchPublicIpAddressConfiguration.ipAddressIds = ipAddressIds; + } else if ("ipTags".equals(fieldName)) { + List ipTags = reader.readArray(reader1 -> IPTag.fromJson(reader1)); + deserializedBatchPublicIpAddressConfiguration.ipTags = ipTags; } else { reader.skipChildren(); } @@ -138,4 +147,69 @@ public static BatchPublicIpAddressConfiguration fromJson(JsonReader jsonReader) return deserializedBatchPublicIpAddressConfiguration; }); } + + /* + * The IP families used to specify IP versions available to the pool. IP families are used to determine single-stack + * or dual-stack pools. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 + * and IPv6. + */ + @Generated + private List ipFamilies; + + /* + * A list of IP tags associated with the public IP addresses of the Pool. IP tags are used to categorize and filter + * public IP addresses for billing and management purposes. + */ + @Generated + private List ipTags; + + /** + * Get the ipFamilies property: The IP families used to specify IP versions available to the pool. IP families are + * used to determine single-stack or dual-stack pools. For single-stack, the expected value is IPv4. For dual-stack, + * the expected values are IPv4 and IPv6. + * + * @return the ipFamilies value. + */ + @Generated + public List getIpFamilies() { + return this.ipFamilies; + } + + /** + * Set the ipFamilies property: The IP families used to specify IP versions available to the pool. IP families are + * used to determine single-stack or dual-stack pools. For single-stack, the expected value is IPv4. For dual-stack, + * the expected values are IPv4 and IPv6. + * + * @param ipFamilies the ipFamilies value to set. + * @return the BatchPublicIpAddressConfiguration object itself. + */ + @Generated + public BatchPublicIpAddressConfiguration setIpFamilies(List ipFamilies) { + this.ipFamilies = ipFamilies; + return this; + } + + /** + * Get the ipTags property: A list of IP tags associated with the public IP addresses of the Pool. IP tags are used + * to categorize and filter public IP addresses for billing and management purposes. + * + * @return the ipTags value. + */ + @Generated + public List getIpTags() { + return this.ipTags; + } + + /** + * Set the ipTags property: A list of IP tags associated with the public IP addresses of the Pool. IP tags are used + * to categorize and filter public IP addresses for billing and management purposes. + * + * @param ipTags the ipTags value to set. + * @return the BatchPublicIpAddressConfiguration object itself. + */ + @Generated + public BatchPublicIpAddressConfiguration setIpTags(List ipTags) { + this.ipTags = ipTags; + return this; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTask.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTask.java index 8e5f91dd349d..b0c0b49206d6 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTask.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTask.java @@ -561,6 +561,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BatchTask if the JsonReader was pointing to an instance of it, or null if it was pointing * to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the BatchTask. */ @Generated @@ -572,8 +573,6 @@ public static BatchTask fromJson(JsonReader jsonReader) throws IOException { reader.nextToken(); if ("id".equals(fieldName)) { deserializedBatchTask.id = reader.getString(); - } else if ("displayName".equals(fieldName)) { - deserializedBatchTask.displayName = reader.getString(); } else if ("url".equals(fieldName)) { deserializedBatchTask.url = reader.getString(); } else if ("eTag".equals(fieldName)) { @@ -584,20 +583,22 @@ public static BatchTask fromJson(JsonReader jsonReader) throws IOException { } else if ("creationTime".equals(fieldName)) { deserializedBatchTask.creationTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("exitConditions".equals(fieldName)) { - deserializedBatchTask.exitConditions = ExitConditions.fromJson(reader); } else if ("state".equals(fieldName)) { deserializedBatchTask.state = BatchTaskState.fromString(reader.getString()); } else if ("stateTransitionTime".equals(fieldName)) { deserializedBatchTask.stateTransitionTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("commandLine".equals(fieldName)) { + deserializedBatchTask.commandLine = reader.getString(); + } else if ("displayName".equals(fieldName)) { + deserializedBatchTask.displayName = reader.getString(); + } else if ("exitConditions".equals(fieldName)) { + deserializedBatchTask.exitConditions = ExitConditions.fromJson(reader); } else if ("previousState".equals(fieldName)) { deserializedBatchTask.previousState = BatchTaskState.fromString(reader.getString()); } else if ("previousStateTransitionTime".equals(fieldName)) { deserializedBatchTask.previousStateTransitionTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("commandLine".equals(fieldName)) { - deserializedBatchTask.commandLine = reader.getString(); } else if ("containerSettings".equals(fieldName)) { deserializedBatchTask.containerSettings = BatchTaskContainerSettings.fromJson(reader); } else if ("resourceFiles".equals(fieldName)) { diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTaskSchedulingPolicy.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTaskSchedulingPolicy.java index 3bdc1140b3a4..f4e10ae4eaf1 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTaskSchedulingPolicy.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/BatchTaskSchedulingPolicy.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.compute.batch.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Specifies how Tasks should be distributed across Compute Nodes. */ -@Immutable +@Fluent public final class BatchTaskSchedulingPolicy implements JsonSerializable { /* @@ -52,6 +52,8 @@ public BatchNodeFillType getNodeFillType() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("nodeFillType", this.nodeFillType == null ? null : this.nodeFillType.toString()); + jsonWriter.writeStringField("jobDefaultOrder", + this.jobDefaultOrder == null ? null : this.jobDefaultOrder.toString()); return jsonWriter.writeEndObject(); } @@ -68,16 +70,52 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static BatchTaskSchedulingPolicy fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { BatchNodeFillType nodeFillType = null; + BatchJobDefaultOrder jobDefaultOrder = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("nodeFillType".equals(fieldName)) { nodeFillType = BatchNodeFillType.fromString(reader.getString()); + } else if ("jobDefaultOrder".equals(fieldName)) { + jobDefaultOrder = BatchJobDefaultOrder.fromString(reader.getString()); } else { reader.skipChildren(); } } - return new BatchTaskSchedulingPolicy(nodeFillType); + BatchTaskSchedulingPolicy deserializedBatchTaskSchedulingPolicy + = new BatchTaskSchedulingPolicy(nodeFillType); + deserializedBatchTaskSchedulingPolicy.jobDefaultOrder = jobDefaultOrder; + return deserializedBatchTaskSchedulingPolicy; }); } + + /* + * The order for scheduling tasks from different jobs with the same priority. If not specified, the default is none. + */ + @Generated + private BatchJobDefaultOrder jobDefaultOrder; + + /** + * Get the jobDefaultOrder property: The order for scheduling tasks from different jobs with the same priority. If + * not specified, the default is none. + * + * @return the jobDefaultOrder value. + */ + @Generated + public BatchJobDefaultOrder getJobDefaultOrder() { + return this.jobDefaultOrder; + } + + /** + * Set the jobDefaultOrder property: The order for scheduling tasks from different jobs with the same priority. If + * not specified, the default is none. + * + * @param jobDefaultOrder the jobDefaultOrder value to set. + * @return the BatchTaskSchedulingPolicy object itself. + */ + @Generated + public BatchTaskSchedulingPolicy setJobDefaultOrder(BatchJobDefaultOrder jobDefaultOrder) { + this.jobDefaultOrder = jobDefaultOrder; + return this; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DataDisk.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DataDisk.java index ba6bfbc8449c..fa8befad586c 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DataDisk.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DataDisk.java @@ -140,6 +140,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeIntField("lun", this.logicalUnitNumber); jsonWriter.writeIntField("diskSizeGB", this.diskSizeGb); jsonWriter.writeStringField("caching", this.caching == null ? null : this.caching.toString()); + jsonWriter.writeJsonField("managedDisk", this.managedDisk); jsonWriter.writeStringField("storageAccountType", this.storageAccountType == null ? null : this.storageAccountType.toString()); return jsonWriter.writeEndObject(); @@ -160,6 +161,7 @@ public static DataDisk fromJson(JsonReader jsonReader) throws IOException { int logicalUnitNumber = 0; int diskSizeGb = 0; CachingType caching = null; + ManagedDisk managedDisk = null; StorageAccountType storageAccountType = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -170,6 +172,8 @@ public static DataDisk fromJson(JsonReader jsonReader) throws IOException { diskSizeGb = reader.getInt(); } else if ("caching".equals(fieldName)) { caching = CachingType.fromString(reader.getString()); + } else if ("managedDisk".equals(fieldName)) { + managedDisk = ManagedDisk.fromJson(reader); } else if ("storageAccountType".equals(fieldName)) { storageAccountType = StorageAccountType.fromString(reader.getString()); } else { @@ -178,8 +182,37 @@ public static DataDisk fromJson(JsonReader jsonReader) throws IOException { } DataDisk deserializedDataDisk = new DataDisk(logicalUnitNumber, diskSizeGb); deserializedDataDisk.caching = caching; + deserializedDataDisk.managedDisk = managedDisk; deserializedDataDisk.storageAccountType = storageAccountType; return deserializedDataDisk; }); } + + /* + * The managed disk parameters. + */ + @Generated + private ManagedDisk managedDisk; + + /** + * Get the managedDisk property: The managed disk parameters. + * + * @return the managedDisk value. + */ + @Generated + public ManagedDisk getManagedDisk() { + return this.managedDisk; + } + + /** + * Set the managedDisk property: The managed disk parameters. + * + * @param managedDisk the managedDisk value to set. + * @return the DataDisk object itself. + */ + @Generated + public DataDisk setManagedDisk(ManagedDisk managedDisk) { + this.managedDisk = managedDisk; + return this; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskCustomerManagedKey.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskCustomerManagedKey.java new file mode 100644 index 000000000000..ac50ef9ec222 --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskCustomerManagedKey.java @@ -0,0 +1,162 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The Customer Managed Key reference to encrypt the Disk. + */ +@Fluent +public final class DiskCustomerManagedKey implements JsonSerializable { + /* + * The reference of one of the pool identities to encrypt Disk. This identity will be used to access the KeyVault. + */ + @Generated + private BatchPoolIdentityReference identityReference; + + /* + * Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of + * rotationToLatestKeyVersionEnabled value. + */ + @Generated + private String keyUrl; + + /* + * Set this flag to true to enable auto-updating of the Disk Encryption to the latest key version. Default is false. + */ + @Generated + private Boolean rotationToLatestKeyVersionEnabled; + + /** + * Creates an instance of DiskCustomerManagedKey class. + */ + @Generated + public DiskCustomerManagedKey() { + } + + /** + * Get the identityReference property: The reference of one of the pool identities to encrypt Disk. This identity + * will be used to access the KeyVault. + * + * @return the identityReference value. + */ + @Generated + public BatchPoolIdentityReference getIdentityReference() { + return this.identityReference; + } + + /** + * Set the identityReference property: The reference of one of the pool identities to encrypt Disk. This identity + * will be used to access the KeyVault. + * + * @param identityReference the identityReference value to set. + * @return the DiskCustomerManagedKey object itself. + */ + @Generated + public DiskCustomerManagedKey setIdentityReference(BatchPoolIdentityReference identityReference) { + this.identityReference = identityReference; + return this; + } + + /** + * Get the keyUrl property: Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is + * required regardless of rotationToLatestKeyVersionEnabled value. + * + * @return the keyUrl value. + */ + @Generated + public String getKeyUrl() { + return this.keyUrl; + } + + /** + * Set the keyUrl property: Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is + * required regardless of rotationToLatestKeyVersionEnabled value. + * + * @param keyUrl the keyUrl value to set. + * @return the DiskCustomerManagedKey object itself. + */ + @Generated + public DiskCustomerManagedKey setKeyUrl(String keyUrl) { + this.keyUrl = keyUrl; + return this; + } + + /** + * Get the rotationToLatestKeyVersionEnabled property: Set this flag to true to enable auto-updating of the Disk + * Encryption to the latest key version. Default is false. + * + * @return the rotationToLatestKeyVersionEnabled value. + */ + @Generated + public Boolean isRotationToLatestKeyVersionEnabled() { + return this.rotationToLatestKeyVersionEnabled; + } + + /** + * Set the rotationToLatestKeyVersionEnabled property: Set this flag to true to enable auto-updating of the Disk + * Encryption to the latest key version. Default is false. + * + * @param rotationToLatestKeyVersionEnabled the rotationToLatestKeyVersionEnabled value to set. + * @return the DiskCustomerManagedKey object itself. + */ + @Generated + public DiskCustomerManagedKey setRotationToLatestKeyVersionEnabled(Boolean rotationToLatestKeyVersionEnabled) { + this.rotationToLatestKeyVersionEnabled = rotationToLatestKeyVersionEnabled; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("identityReference", this.identityReference); + jsonWriter.writeStringField("keyUrl", this.keyUrl); + jsonWriter.writeBooleanField("rotationToLatestKeyVersionEnabled", this.rotationToLatestKeyVersionEnabled); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DiskCustomerManagedKey from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DiskCustomerManagedKey if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the DiskCustomerManagedKey. + */ + @Generated + public static DiskCustomerManagedKey fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DiskCustomerManagedKey deserializedDiskCustomerManagedKey = new DiskCustomerManagedKey(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("identityReference".equals(fieldName)) { + deserializedDiskCustomerManagedKey.identityReference = BatchPoolIdentityReference.fromJson(reader); + } else if ("keyUrl".equals(fieldName)) { + deserializedDiskCustomerManagedKey.keyUrl = reader.getString(); + } else if ("rotationToLatestKeyVersionEnabled".equals(fieldName)) { + deserializedDiskCustomerManagedKey.rotationToLatestKeyVersionEnabled + = reader.getNullable(JsonReader::getBoolean); + } else { + reader.skipChildren(); + } + } + + return deserializedDiskCustomerManagedKey; + }); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskEncryptionConfiguration.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskEncryptionConfiguration.java index 165c27a8672c..04dd641eb97c 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskEncryptionConfiguration.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskEncryptionConfiguration.java @@ -65,6 +65,7 @@ public DiskEncryptionConfiguration setTargets(List targets @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("customerManagedKey", this.customerManagedKey); jsonWriter.writeArrayField("targets", this.targets, (writer, element) -> writer.writeString(element == null ? null : element.toString())); return jsonWriter.writeEndObject(); @@ -85,7 +86,10 @@ public static DiskEncryptionConfiguration fromJson(JsonReader jsonReader) throws while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("targets".equals(fieldName)) { + if ("customerManagedKey".equals(fieldName)) { + deserializedDiskEncryptionConfiguration.customerManagedKey + = DiskCustomerManagedKey.fromJson(reader); + } else if ("targets".equals(fieldName)) { List targets = reader.readArray(reader1 -> DiskEncryptionTarget.fromString(reader1.getString())); deserializedDiskEncryptionConfiguration.targets = targets; @@ -96,4 +100,38 @@ public static DiskEncryptionConfiguration fromJson(JsonReader jsonReader) throws return deserializedDiskEncryptionConfiguration; }); } + + /* + * The Customer Managed Key reference to encrypt the OS Disk. Customer Managed Key will encrypt OS Disk by + * EncryptionAtRest, and by default we will encrypt the data disk as well. It can be used only when the pool is + * configured with an identity and OsDisk is set as one of the targets of DiskEncryption. + */ + @Generated + private DiskCustomerManagedKey customerManagedKey; + + /** + * Get the customerManagedKey property: The Customer Managed Key reference to encrypt the OS Disk. Customer Managed + * Key will encrypt OS Disk by EncryptionAtRest, and by default we will encrypt the data disk as well. It can be + * used only when the pool is configured with an identity and OsDisk is set as one of the targets of DiskEncryption. + * + * @return the customerManagedKey value. + */ + @Generated + public DiskCustomerManagedKey getCustomerManagedKey() { + return this.customerManagedKey; + } + + /** + * Set the customerManagedKey property: The Customer Managed Key reference to encrypt the OS Disk. Customer Managed + * Key will encrypt OS Disk by EncryptionAtRest, and by default we will encrypt the data disk as well. It can be + * used only when the pool is configured with an identity and OsDisk is set as one of the targets of DiskEncryption. + * + * @param customerManagedKey the customerManagedKey value to set. + * @return the DiskEncryptionConfiguration object itself. + */ + @Generated + public DiskEncryptionConfiguration setCustomerManagedKey(DiskCustomerManagedKey customerManagedKey) { + this.customerManagedKey = customerManagedKey; + return this; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskEncryptionSetParameters.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskEncryptionSetParameters.java new file mode 100644 index 000000000000..7c1dfbdfc5fe --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/DiskEncryptionSetParameters.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The ARM resource id of the disk encryption set. + */ +@Fluent +public final class DiskEncryptionSetParameters implements JsonSerializable { + /* + * The ARM resource id of the disk encryption set. The resource must be in the same subscription as the Batch + * account. + */ + @Generated + private String id; + + /** + * Creates an instance of DiskEncryptionSetParameters class. + */ + @Generated + public DiskEncryptionSetParameters() { + } + + /** + * Get the id property: The ARM resource id of the disk encryption set. The resource must be in the same + * subscription as the Batch account. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Set the id property: The ARM resource id of the disk encryption set. The resource must be in the same + * subscription as the Batch account. + * + * @param id the id value to set. + * @return the DiskEncryptionSetParameters object itself. + */ + @Generated + public DiskEncryptionSetParameters setId(String id) { + this.id = id; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DiskEncryptionSetParameters from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DiskEncryptionSetParameters if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the DiskEncryptionSetParameters. + */ + @Generated + public static DiskEncryptionSetParameters fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DiskEncryptionSetParameters deserializedDiskEncryptionSetParameters = new DiskEncryptionSetParameters(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedDiskEncryptionSetParameters.id = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedDiskEncryptionSetParameters; + }); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/HostEndpointSettings.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/HostEndpointSettings.java new file mode 100644 index 000000000000..f1df7c62a814 --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/HostEndpointSettings.java @@ -0,0 +1,130 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Specifies particular host endpoint settings. + */ +@Fluent +public final class HostEndpointSettings implements JsonSerializable { + /* + * Specifies the reference to the InVMAccessControlProfileVersion resource id in the form of + * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{ + * galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}. + */ + @Generated + private String inVmAccessControlProfileReferenceId; + + /* + * Specifies the access control policy execution mode. + */ + @Generated + private HostEndpointSettingsModeTypes mode; + + /** + * Creates an instance of HostEndpointSettings class. + */ + @Generated + public HostEndpointSettings() { + } + + /** + * Get the inVmAccessControlProfileReferenceId property: Specifies the reference to the + * InVMAccessControlProfileVersion resource id in the form of + * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}. + * + * @return the inVmAccessControlProfileReferenceId value. + */ + @Generated + public String getInVmAccessControlProfileReferenceId() { + return this.inVmAccessControlProfileReferenceId; + } + + /** + * Set the inVmAccessControlProfileReferenceId property: Specifies the reference to the + * InVMAccessControlProfileVersion resource id in the form of + * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}. + * + * @param inVmAccessControlProfileReferenceId the inVmAccessControlProfileReferenceId value to set. + * @return the HostEndpointSettings object itself. + */ + @Generated + public HostEndpointSettings setInVmAccessControlProfileReferenceId(String inVmAccessControlProfileReferenceId) { + this.inVmAccessControlProfileReferenceId = inVmAccessControlProfileReferenceId; + return this; + } + + /** + * Get the mode property: Specifies the access control policy execution mode. + * + * @return the mode value. + */ + @Generated + public HostEndpointSettingsModeTypes getMode() { + return this.mode; + } + + /** + * Set the mode property: Specifies the access control policy execution mode. + * + * @param mode the mode value to set. + * @return the HostEndpointSettings object itself. + */ + @Generated + public HostEndpointSettings setMode(HostEndpointSettingsModeTypes mode) { + this.mode = mode; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("inVMAccessControlProfileReferenceId", this.inVmAccessControlProfileReferenceId); + jsonWriter.writeStringField("mode", this.mode == null ? null : this.mode.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of HostEndpointSettings from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of HostEndpointSettings if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the HostEndpointSettings. + */ + @Generated + public static HostEndpointSettings fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + HostEndpointSettings deserializedHostEndpointSettings = new HostEndpointSettings(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("inVMAccessControlProfileReferenceId".equals(fieldName)) { + deserializedHostEndpointSettings.inVmAccessControlProfileReferenceId = reader.getString(); + } else if ("mode".equals(fieldName)) { + deserializedHostEndpointSettings.mode + = HostEndpointSettingsModeTypes.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedHostEndpointSettings; + }); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/HostEndpointSettingsModeTypes.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/HostEndpointSettingsModeTypes.java new file mode 100644 index 000000000000..6d1ee0b42060 --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/HostEndpointSettingsModeTypes.java @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * HostEndpointSettingsModeTypes enums. + */ +public final class HostEndpointSettingsModeTypes extends ExpandableStringEnum { + /** + * In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial + * entries in the logs but it does not actually deny any requests to host endpoints. + */ + @Generated + public static final HostEndpointSettingsModeTypes AUDIT = fromString("Audit"); + + /** + * Enforce mode is the recommended mode of operation and system will enforce the access control policy. This + * property cannot be used together with 'inVMAccessControlProfileReferenceId'. + */ + @Generated + public static final HostEndpointSettingsModeTypes ENFORCE = fromString("Enforce"); + + /** + * Creates a new instance of HostEndpointSettingsModeTypes value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public HostEndpointSettingsModeTypes() { + } + + /** + * Creates or finds a HostEndpointSettingsModeTypes from its string representation. + * + * @param name a name to look for. + * @return the corresponding HostEndpointSettingsModeTypes. + */ + @Generated + public static HostEndpointSettingsModeTypes fromString(String name) { + return fromString(name, HostEndpointSettingsModeTypes.class); + } + + /** + * Gets known HostEndpointSettingsModeTypes values. + * + * @return known HostEndpointSettingsModeTypes values. + */ + @Generated + public static Collection values() { + return values(HostEndpointSettingsModeTypes.class); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/IPFamily.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/IPFamily.java new file mode 100644 index 000000000000..c6d3df5dfe6e --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/IPFamily.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The IP families used to specify IP versions available to the pool. + */ +public final class IPFamily extends ExpandableStringEnum { + /** + * IPv4 is available to the pool. + */ + @Generated + public static final IPFamily IPV4 = fromString("IPv4"); + + /** + * IPv6 is available to the pool. + */ + @Generated + public static final IPFamily IPV6 = fromString("IPv6"); + + /** + * Creates a new instance of IPFamily value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public IPFamily() { + } + + /** + * Creates or finds a IPFamily from its string representation. + * + * @param name a name to look for. + * @return the corresponding IPFamily. + */ + @Generated + public static IPFamily fromString(String name) { + return fromString(name, IPFamily.class); + } + + /** + * Gets known IPFamily values. + * + * @return known IPFamily values. + */ + @Generated + public static Collection values() { + return values(IPFamily.class); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/IPTag.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/IPTag.java new file mode 100644 index 000000000000..1ffd2848cbbb --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/IPTag.java @@ -0,0 +1,123 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Contains the IP tag associated with the public IP address. + */ +@Fluent +public final class IPTag implements JsonSerializable { + /* + * The IP Tag type. Example: FirstPartyUsage. + */ + @Generated + private String ipTagType; + + /* + * The value of the IP tag associated with the public IP. Example: SQL. + */ + @Generated + private String tag; + + /** + * Creates an instance of IPTag class. + */ + @Generated + public IPTag() { + } + + /** + * Get the ipTagType property: The IP Tag type. Example: FirstPartyUsage. + * + * @return the ipTagType value. + */ + @Generated + public String getIpTagType() { + return this.ipTagType; + } + + /** + * Set the ipTagType property: The IP Tag type. Example: FirstPartyUsage. + * + * @param ipTagType the ipTagType value to set. + * @return the IPTag object itself. + */ + @Generated + public IPTag setIpTagType(String ipTagType) { + this.ipTagType = ipTagType; + return this; + } + + /** + * Get the tag property: The value of the IP tag associated with the public IP. Example: SQL. + * + * @return the tag value. + */ + @Generated + public String getTag() { + return this.tag; + } + + /** + * Set the tag property: The value of the IP tag associated with the public IP. Example: SQL. + * + * @param tag the tag value to set. + * @return the IPTag object itself. + */ + @Generated + public IPTag setTag(String tag) { + this.tag = tag; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("ipTagType", this.ipTagType); + jsonWriter.writeStringField("tag", this.tag); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of IPTag from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of IPTag if the JsonReader was pointing to an instance of it, or null if it was pointing to + * JSON null. + * @throws IOException If an error occurs while reading the IPTag. + */ + @Generated + public static IPTag fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + IPTag deserializedIPTag = new IPTag(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("ipTagType".equals(fieldName)) { + deserializedIPTag.ipTagType = reader.getString(); + } else if ("tag".equals(fieldName)) { + deserializedIPTag.tag = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedIPTag; + }); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/ManagedDisk.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/ManagedDisk.java index 8f72dc394490..ef8f502ba2fc 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/ManagedDisk.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/ManagedDisk.java @@ -75,6 +75,7 @@ public BatchVmDiskSecurityProfile getSecurityProfile() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("diskEncryptionSet", this.diskEncryptionSet); jsonWriter.writeStringField("storageAccountType", this.storageAccountType == null ? null : this.storageAccountType.toString()); jsonWriter.writeJsonField("securityProfile", this.securityProfile); @@ -96,7 +97,9 @@ public static ManagedDisk fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("storageAccountType".equals(fieldName)) { + if ("diskEncryptionSet".equals(fieldName)) { + deserializedManagedDisk.diskEncryptionSet = DiskEncryptionSetParameters.fromJson(reader); + } else if ("storageAccountType".equals(fieldName)) { deserializedManagedDisk.storageAccountType = StorageAccountType.fromString(reader.getString()); } else if ("securityProfile".equals(fieldName)) { deserializedManagedDisk.securityProfile = BatchVmDiskSecurityProfile.fromJson(reader); @@ -119,4 +122,35 @@ public ManagedDisk setSecurityProfile(BatchVmDiskSecurityProfile securityProfile this.securityProfile = securityProfile; return this; } + + /* + * Specifies the customer managed disk encryption set resource id for the managed disk. It can be set only in + * UserSubscription mode. + */ + @Generated + private DiskEncryptionSetParameters diskEncryptionSet; + + /** + * Get the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the + * managed disk. It can be set only in UserSubscription mode. + * + * @return the diskEncryptionSet value. + */ + @Generated + public DiskEncryptionSetParameters getDiskEncryptionSet() { + return this.diskEncryptionSet; + } + + /** + * Set the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the + * managed disk. It can be set only in UserSubscription mode. + * + * @param diskEncryptionSet the diskEncryptionSet value to set. + * @return the ManagedDisk object itself. + */ + @Generated + public ManagedDisk setDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet) { + this.diskEncryptionSet = diskEncryptionSet; + return this; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/ProxyAgentSettings.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/ProxyAgentSettings.java new file mode 100644 index 000000000000..784616f3733e --- /dev/null +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/ProxyAgentSettings.java @@ -0,0 +1,157 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.compute.batch.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Specifies ProxyAgent settings while creating the virtual machine. + */ +@Fluent +public final class ProxyAgentSettings implements JsonSerializable { + /* + * Specifies whether Metadata Security Protocol feature should be enabled on the virtual machine or virtual machine + * scale set. Default is False. + */ + @Generated + private Boolean enabled; + + /* + * Settings for the IMDS endpoint. + */ + @Generated + private HostEndpointSettings imds; + + /* + * Settings for the WireServer endpoint. + */ + @Generated + private HostEndpointSettings wireServer; + + /** + * Creates an instance of ProxyAgentSettings class. + */ + @Generated + public ProxyAgentSettings() { + } + + /** + * Get the enabled property: Specifies whether Metadata Security Protocol feature should be enabled on the virtual + * machine or virtual machine scale set. Default is False. + * + * @return the enabled value. + */ + @Generated + public Boolean isEnabled() { + return this.enabled; + } + + /** + * Set the enabled property: Specifies whether Metadata Security Protocol feature should be enabled on the virtual + * machine or virtual machine scale set. Default is False. + * + * @param enabled the enabled value to set. + * @return the ProxyAgentSettings object itself. + */ + @Generated + public ProxyAgentSettings setEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get the imds property: Settings for the IMDS endpoint. + * + * @return the imds value. + */ + @Generated + public HostEndpointSettings getImds() { + return this.imds; + } + + /** + * Set the imds property: Settings for the IMDS endpoint. + * + * @param imds the imds value to set. + * @return the ProxyAgentSettings object itself. + */ + @Generated + public ProxyAgentSettings setImds(HostEndpointSettings imds) { + this.imds = imds; + return this; + } + + /** + * Get the wireServer property: Settings for the WireServer endpoint. + * + * @return the wireServer value. + */ + @Generated + public HostEndpointSettings getWireServer() { + return this.wireServer; + } + + /** + * Set the wireServer property: Settings for the WireServer endpoint. + * + * @param wireServer the wireServer value to set. + * @return the ProxyAgentSettings object itself. + */ + @Generated + public ProxyAgentSettings setWireServer(HostEndpointSettings wireServer) { + this.wireServer = wireServer; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeBooleanField("enabled", this.enabled); + jsonWriter.writeJsonField("imds", this.imds); + jsonWriter.writeJsonField("wireServer", this.wireServer); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ProxyAgentSettings from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ProxyAgentSettings if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the ProxyAgentSettings. + */ + @Generated + public static ProxyAgentSettings fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ProxyAgentSettings deserializedProxyAgentSettings = new ProxyAgentSettings(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("enabled".equals(fieldName)) { + deserializedProxyAgentSettings.enabled = reader.getNullable(JsonReader::getBoolean); + } else if ("imds".equals(fieldName)) { + deserializedProxyAgentSettings.imds = HostEndpointSettings.fromJson(reader); + } else if ("wireServer".equals(fieldName)) { + deserializedProxyAgentSettings.wireServer = HostEndpointSettings.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedProxyAgentSettings; + }); + } +} diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityEncryptionTypes.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityEncryptionTypes.java index a52ebe95d300..c8390b3960be 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityEncryptionTypes.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityEncryptionTypes.java @@ -13,13 +13,14 @@ public final class SecurityEncryptionTypes extends ExpandableStringEnum { /** - * NonPersistedTPM. + * EncryptionType of the managed disk is set to NonPersistedTPM for not persisting firmware state in the + * VMGuestState blob. */ @Generated public static final SecurityEncryptionTypes NON_PERSISTED_TPM = fromString("NonPersistedTPM"); /** - * VMGuestStateOnly. + * EncryptionType of the managed disk is set to VMGuestStateOnly for encryption of just the VMGuestState blob. */ @Generated public static final SecurityEncryptionTypes VMGUEST_STATE_ONLY = fromString("VMGuestStateOnly"); @@ -54,4 +55,11 @@ public static SecurityEncryptionTypes fromString(String name) { public static Collection values() { return values(SecurityEncryptionTypes.class); } + + /** + * EncryptionType of the managed disk is set to DiskWithVMGuestState for encryption of the managed disk along with + * VMGuestState blob. It is not supported in data disks. + */ + @Generated + public static final SecurityEncryptionTypes DISK_WITH_VMGUEST_STATE = fromString("DiskWithVMGuestState"); } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityProfile.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityProfile.java index eb94986b6f94..507eacff3bd6 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityProfile.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/SecurityProfile.java @@ -84,6 +84,7 @@ public BatchUefiSettings getUefiSettings() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeBooleanField("encryptionAtHost", this.encryptionAtHost); + jsonWriter.writeJsonField("proxyAgentSettings", this.proxyAgentSettings); jsonWriter.writeStringField("securityType", this.securityType == null ? null : this.securityType.toString()); jsonWriter.writeJsonField("uefiSettings", this.uefiSettings); return jsonWriter.writeEndObject(); @@ -106,6 +107,8 @@ public static SecurityProfile fromJson(JsonReader jsonReader) throws IOException reader.nextToken(); if ("encryptionAtHost".equals(fieldName)) { deserializedSecurityProfile.encryptionAtHost = reader.getNullable(JsonReader::getBoolean); + } else if ("proxyAgentSettings".equals(fieldName)) { + deserializedSecurityProfile.proxyAgentSettings = ProxyAgentSettings.fromJson(reader); } else if ("securityType".equals(fieldName)) { deserializedSecurityProfile.securityType = SecurityTypes.fromString(reader.getString()); } else if ("uefiSettings".equals(fieldName)) { @@ -166,4 +169,32 @@ public SecurityProfile setUefiSettings(BatchUefiSettings uefiSettings) { this.uefiSettings = uefiSettings; return this; } + + /* + * Specifies ProxyAgent settings while creating the virtual machine. + */ + @Generated + private ProxyAgentSettings proxyAgentSettings; + + /** + * Get the proxyAgentSettings property: Specifies ProxyAgent settings while creating the virtual machine. + * + * @return the proxyAgentSettings value. + */ + @Generated + public ProxyAgentSettings getProxyAgentSettings() { + return this.proxyAgentSettings; + } + + /** + * Set the proxyAgentSettings property: Specifies ProxyAgent settings while creating the virtual machine. + * + * @param proxyAgentSettings the proxyAgentSettings value to set. + * @return the SecurityProfile object itself. + */ + @Generated + public SecurityProfile setProxyAgentSettings(ProxyAgentSettings proxyAgentSettings) { + this.proxyAgentSettings = proxyAgentSettings; + return this; + } } diff --git a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/UpgradeMode.java b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/UpgradeMode.java index 51a0defa2327..94491f3000f5 100644 --- a/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/UpgradeMode.java +++ b/sdk/batch/azure-compute-batch/src/main/java/com/azure/compute/batch/models/UpgradeMode.java @@ -13,7 +13,7 @@ public final class UpgradeMode extends ExpandableStringEnum { /** - * TAll virtual machines in the scale set are automatically updated at the same time. + * All virtual machines in the scale set are automatically updated at the same time. */ @Generated public static final UpgradeMode AUTOMATIC = fromString("automatic"); diff --git a/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_apiview_properties.json b/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_apiview_properties.json index 9c9c17fe03cc..241aa50d3a0a 100644 --- a/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_apiview_properties.json +++ b/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_apiview_properties.json @@ -2,10 +2,6 @@ "flavor": "azure", "CrossLanguageDefinitionId": { "com.azure.compute.batch.BatchAsyncClient": "Client.BatchClient", - "com.azure.compute.batch.BatchAsyncClient.cancelCertificateDeletion": "Client.BatchClient.cancelCertificateDeletion", - "com.azure.compute.batch.BatchAsyncClient.cancelCertificateDeletionWithResponse": "Client.BatchClient.cancelCertificateDeletion", - "com.azure.compute.batch.BatchAsyncClient.createCertificate": "Client.BatchClient.createCertificate", - "com.azure.compute.batch.BatchAsyncClient.createCertificateWithResponse": "Client.BatchClient.createCertificate", "com.azure.compute.batch.BatchAsyncClient.createJob": "Client.BatchClient.createJob", "com.azure.compute.batch.BatchAsyncClient.createJobSchedule": "Client.BatchClient.createJobSchedule", "com.azure.compute.batch.BatchAsyncClient.createJobScheduleWithResponse": "Client.BatchClient.createJobSchedule", @@ -20,8 +16,6 @@ "com.azure.compute.batch.BatchAsyncClient.createTaskWithResponse": "Client.BatchClient.createTask", "com.azure.compute.batch.BatchAsyncClient.deallocateNode": "Client.BatchClient.deallocateNode", "com.azure.compute.batch.BatchAsyncClient.deallocateNodeWithResponse": "Client.BatchClient.deallocateNode", - "com.azure.compute.batch.BatchAsyncClient.deleteCertificate": "Client.BatchClient.deleteCertificate", - "com.azure.compute.batch.BatchAsyncClient.deleteCertificateWithResponse": "Client.BatchClient.deleteCertificate", "com.azure.compute.batch.BatchAsyncClient.deleteJob": "Client.BatchClient.deleteJob", "com.azure.compute.batch.BatchAsyncClient.deleteJobSchedule": "Client.BatchClient.deleteJobSchedule", "com.azure.compute.batch.BatchAsyncClient.deleteJobScheduleWithResponse": "Client.BatchClient.deleteJobSchedule", @@ -56,8 +50,6 @@ "com.azure.compute.batch.BatchAsyncClient.evaluatePoolAutoScaleWithResponse": "Client.BatchClient.evaluatePoolAutoScale", "com.azure.compute.batch.BatchAsyncClient.getApplication": "Client.BatchClient.getApplication", "com.azure.compute.batch.BatchAsyncClient.getApplicationWithResponse": "Client.BatchClient.getApplication", - "com.azure.compute.batch.BatchAsyncClient.getCertificate": "Client.BatchClient.getCertificate", - "com.azure.compute.batch.BatchAsyncClient.getCertificateWithResponse": "Client.BatchClient.getCertificate", "com.azure.compute.batch.BatchAsyncClient.getJob": "Client.BatchClient.getJob", "com.azure.compute.batch.BatchAsyncClient.getJobSchedule": "Client.BatchClient.getJobSchedule", "com.azure.compute.batch.BatchAsyncClient.getJobScheduleWithResponse": "Client.BatchClient.getJobSchedule", @@ -85,7 +77,6 @@ "com.azure.compute.batch.BatchAsyncClient.jobScheduleExists": "Client.BatchClient.jobScheduleExists", "com.azure.compute.batch.BatchAsyncClient.jobScheduleExistsWithResponse": "Client.BatchClient.jobScheduleExists", "com.azure.compute.batch.BatchAsyncClient.listApplications": "Client.BatchClient.listApplications", - "com.azure.compute.batch.BatchAsyncClient.listCertificates": "Client.BatchClient.listCertificates", "com.azure.compute.batch.BatchAsyncClient.listJobPreparationAndReleaseTaskStatus": "Client.BatchClient.listJobPreparationAndReleaseTaskStatus", "com.azure.compute.batch.BatchAsyncClient.listJobSchedules": "Client.BatchClient.listJobSchedules", "com.azure.compute.batch.BatchAsyncClient.listJobs": "Client.BatchClient.listJobs", @@ -141,10 +132,6 @@ "com.azure.compute.batch.BatchAsyncClient.uploadNodeLogs": "Client.BatchClient.uploadNodeLogs", "com.azure.compute.batch.BatchAsyncClient.uploadNodeLogsWithResponse": "Client.BatchClient.uploadNodeLogs", "com.azure.compute.batch.BatchClient": "Client.BatchClient", - "com.azure.compute.batch.BatchClient.cancelCertificateDeletion": "Client.BatchClient.cancelCertificateDeletion", - "com.azure.compute.batch.BatchClient.cancelCertificateDeletionWithResponse": "Client.BatchClient.cancelCertificateDeletion", - "com.azure.compute.batch.BatchClient.createCertificate": "Client.BatchClient.createCertificate", - "com.azure.compute.batch.BatchClient.createCertificateWithResponse": "Client.BatchClient.createCertificate", "com.azure.compute.batch.BatchClient.createJob": "Client.BatchClient.createJob", "com.azure.compute.batch.BatchClient.createJobSchedule": "Client.BatchClient.createJobSchedule", "com.azure.compute.batch.BatchClient.createJobScheduleWithResponse": "Client.BatchClient.createJobSchedule", @@ -159,8 +146,6 @@ "com.azure.compute.batch.BatchClient.createTaskWithResponse": "Client.BatchClient.createTask", "com.azure.compute.batch.BatchClient.deallocateNode": "Client.BatchClient.deallocateNode", "com.azure.compute.batch.BatchClient.deallocateNodeWithResponse": "Client.BatchClient.deallocateNode", - "com.azure.compute.batch.BatchClient.deleteCertificate": "Client.BatchClient.deleteCertificate", - "com.azure.compute.batch.BatchClient.deleteCertificateWithResponse": "Client.BatchClient.deleteCertificate", "com.azure.compute.batch.BatchClient.deleteJob": "Client.BatchClient.deleteJob", "com.azure.compute.batch.BatchClient.deleteJobSchedule": "Client.BatchClient.deleteJobSchedule", "com.azure.compute.batch.BatchClient.deleteJobScheduleWithResponse": "Client.BatchClient.deleteJobSchedule", @@ -195,8 +180,6 @@ "com.azure.compute.batch.BatchClient.evaluatePoolAutoScaleWithResponse": "Client.BatchClient.evaluatePoolAutoScale", "com.azure.compute.batch.BatchClient.getApplication": "Client.BatchClient.getApplication", "com.azure.compute.batch.BatchClient.getApplicationWithResponse": "Client.BatchClient.getApplication", - "com.azure.compute.batch.BatchClient.getCertificate": "Client.BatchClient.getCertificate", - "com.azure.compute.batch.BatchClient.getCertificateWithResponse": "Client.BatchClient.getCertificate", "com.azure.compute.batch.BatchClient.getJob": "Client.BatchClient.getJob", "com.azure.compute.batch.BatchClient.getJobSchedule": "Client.BatchClient.getJobSchedule", "com.azure.compute.batch.BatchClient.getJobScheduleWithResponse": "Client.BatchClient.getJobSchedule", @@ -224,7 +207,6 @@ "com.azure.compute.batch.BatchClient.jobScheduleExists": "Client.BatchClient.jobScheduleExists", "com.azure.compute.batch.BatchClient.jobScheduleExistsWithResponse": "Client.BatchClient.jobScheduleExists", "com.azure.compute.batch.BatchClient.listApplications": "Client.BatchClient.listApplications", - "com.azure.compute.batch.BatchClient.listCertificates": "Client.BatchClient.listCertificates", "com.azure.compute.batch.BatchClient.listJobPreparationAndReleaseTaskStatus": "Client.BatchClient.listJobPreparationAndReleaseTaskStatus", "com.azure.compute.batch.BatchClient.listJobSchedules": "Client.BatchClient.listJobSchedules", "com.azure.compute.batch.BatchClient.listJobs": "Client.BatchClient.listJobs", @@ -297,18 +279,6 @@ "com.azure.compute.batch.models.BatchApplicationPackageReference": "Azure.Batch.BatchApplicationPackageReference", "com.azure.compute.batch.models.BatchApplicationsListOptions": null, "com.azure.compute.batch.models.BatchAutoPoolSpecification": "Azure.Batch.BatchAutoPoolSpecification", - "com.azure.compute.batch.models.BatchCertificate": "Azure.Batch.BatchCertificate", - "com.azure.compute.batch.models.BatchCertificateCancelDeletionOptions": null, - "com.azure.compute.batch.models.BatchCertificateCreateOptions": null, - "com.azure.compute.batch.models.BatchCertificateDeleteError": "Azure.Batch.BatchCertificateDeleteError", - "com.azure.compute.batch.models.BatchCertificateDeleteOptions": null, - "com.azure.compute.batch.models.BatchCertificateFormat": "Azure.Batch.BatchCertificateFormat", - "com.azure.compute.batch.models.BatchCertificateGetOptions": null, - "com.azure.compute.batch.models.BatchCertificateReference": "Azure.Batch.BatchCertificateReference", - "com.azure.compute.batch.models.BatchCertificateState": "Azure.Batch.BatchCertificateState", - "com.azure.compute.batch.models.BatchCertificateStoreLocation": "Azure.Batch.BatchCertificateStoreLocation", - "com.azure.compute.batch.models.BatchCertificateVisibility": "Azure.Batch.BatchCertificateVisibility", - "com.azure.compute.batch.models.BatchCertificatesListOptions": null, "com.azure.compute.batch.models.BatchContainerConfiguration": "Azure.Batch.BatchContainerConfiguration", "com.azure.compute.batch.models.BatchCreateTaskCollectionResult": "Azure.Batch.BatchCreateTaskCollectionResult", "com.azure.compute.batch.models.BatchDiffDiskSettings": "Azure.Batch.BatchDiffDiskSettings", @@ -322,6 +292,7 @@ "com.azure.compute.batch.models.BatchJobConstraints": "Azure.Batch.BatchJobConstraints", "com.azure.compute.batch.models.BatchJobCreateOptions": null, "com.azure.compute.batch.models.BatchJobCreateParameters": "Azure.Batch.BatchJobCreateOptions", + "com.azure.compute.batch.models.BatchJobDefaultOrder": "Azure.Batch.BatchJobDefaultOrder", "com.azure.compute.batch.models.BatchJobDeleteOptions": null, "com.azure.compute.batch.models.BatchJobDisableOptions": null, "com.azure.compute.batch.models.BatchJobDisableParameters": "Azure.Batch.BatchJobDisableOptions", @@ -370,7 +341,6 @@ "com.azure.compute.batch.models.BatchMetadataItem": "Azure.Batch.BatchMetadataItem", "com.azure.compute.batch.models.BatchNode": "Azure.Batch.BatchNode", "com.azure.compute.batch.models.BatchNodeAgentInfo": "Azure.Batch.BatchNodeAgentInfo", - "com.azure.compute.batch.models.BatchNodeCommunicationMode": "Azure.Batch.BatchNodeCommunicationMode", "com.azure.compute.batch.models.BatchNodeCounts": "Azure.Batch.BatchNodeCounts", "com.azure.compute.batch.models.BatchNodeDeallocateOption": "Azure.Batch.BatchNodeDeallocateOption", "com.azure.compute.batch.models.BatchNodeDeallocateOptions": null, @@ -429,6 +399,7 @@ "com.azure.compute.batch.models.BatchPoolExistsOptions": null, "com.azure.compute.batch.models.BatchPoolGetOptions": null, "com.azure.compute.batch.models.BatchPoolIdentity": "Azure.Batch.BatchPoolIdentity", + "com.azure.compute.batch.models.BatchPoolIdentityReference": "Azure.Batch.BatchPoolIdentityReference", "com.azure.compute.batch.models.BatchPoolIdentityType": "Azure.Batch.BatchPoolIdentityType", "com.azure.compute.batch.models.BatchPoolInfo": "Azure.Batch.BatchPoolInfo", "com.azure.compute.batch.models.BatchPoolLifetimeOption": "Azure.Batch.BatchPoolLifetimeOption", @@ -505,7 +476,9 @@ "com.azure.compute.batch.models.DependencyAction": "Azure.Batch.DependencyAction", "com.azure.compute.batch.models.DiffDiskPlacement": "Azure.Batch.DiffDiskPlacement", "com.azure.compute.batch.models.DisableBatchJobOption": "Azure.Batch.DisableBatchJobOption", + "com.azure.compute.batch.models.DiskCustomerManagedKey": "Azure.Batch.DiskCustomerManagedKey", "com.azure.compute.batch.models.DiskEncryptionConfiguration": "Azure.Batch.DiskEncryptionConfiguration", + "com.azure.compute.batch.models.DiskEncryptionSetParameters": "Azure.Batch.DiskEncryptionSetParameters", "com.azure.compute.batch.models.DiskEncryptionTarget": "Azure.Batch.DiskEncryptionTarget", "com.azure.compute.batch.models.DynamicVNetAssignmentScope": "Azure.Batch.DynamicVNetAssignmentScope", "com.azure.compute.batch.models.ElevationLevel": "Azure.Batch.ElevationLevel", @@ -515,6 +488,10 @@ "com.azure.compute.batch.models.ExitConditions": "Azure.Batch.ExitConditions", "com.azure.compute.batch.models.ExitOptions": "Azure.Batch.ExitOptions", "com.azure.compute.batch.models.FileProperties": "Azure.Batch.FileProperties", + "com.azure.compute.batch.models.HostEndpointSettings": "Azure.Batch.HostEndpointSettings", + "com.azure.compute.batch.models.HostEndpointSettingsModeTypes": "Azure.Batch.HostEndpointSettingsModeTypes", + "com.azure.compute.batch.models.IPFamily": "Azure.Batch.IPFamily", + "com.azure.compute.batch.models.IPTag": "Azure.Batch.IPTag", "com.azure.compute.batch.models.ImageVerificationType": "Azure.Batch.ImageVerificationType", "com.azure.compute.batch.models.InboundEndpoint": "Azure.Batch.InboundEndpoint", "com.azure.compute.batch.models.InboundEndpointProtocol": "Azure.Batch.InboundEndpointProtocol", @@ -537,6 +514,7 @@ "com.azure.compute.batch.models.OutputFileUploadCondition": "Azure.Batch.OutputFileUploadCondition", "com.azure.compute.batch.models.OutputFileUploadConfig": "Azure.Batch.OutputFileUploadConfig", "com.azure.compute.batch.models.OutputFileUploadHeader": "Azure.Batch.OutputFileUploadHeader", + "com.azure.compute.batch.models.ProxyAgentSettings": "Azure.Batch.ProxyAgentSettings", "com.azure.compute.batch.models.RecentBatchJob": "Azure.Batch.RecentBatchJob", "com.azure.compute.batch.models.ResizeError": "Azure.Batch.ResizeError", "com.azure.compute.batch.models.ResourceFile": "Azure.Batch.ResourceFile", diff --git a/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_metadata.json b/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_metadata.json index 31c01c923b18..24f56930bac2 100644 --- a/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_metadata.json +++ b/sdk/batch/azure-compute-batch/src/main/resources/META-INF/azure-compute-batch_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersion":"2024-07-01.20.0","crossLanguageDefinitions":{"com.azure.compute.batch.BatchAsyncClient":"Client.BatchClient","com.azure.compute.batch.BatchAsyncClient.cancelCertificateDeletion":"Client.BatchClient.cancelCertificateDeletion","com.azure.compute.batch.BatchAsyncClient.cancelCertificateDeletionWithResponse":"Client.BatchClient.cancelCertificateDeletion","com.azure.compute.batch.BatchAsyncClient.createCertificate":"Client.BatchClient.createCertificate","com.azure.compute.batch.BatchAsyncClient.createCertificateWithResponse":"Client.BatchClient.createCertificate","com.azure.compute.batch.BatchAsyncClient.createJob":"Client.BatchClient.createJob","com.azure.compute.batch.BatchAsyncClient.createJobSchedule":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchAsyncClient.createJobScheduleWithResponse":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchAsyncClient.createJobWithResponse":"Client.BatchClient.createJob","com.azure.compute.batch.BatchAsyncClient.createNodeUser":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchAsyncClient.createNodeUserWithResponse":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchAsyncClient.createPool":"Client.BatchClient.createPool","com.azure.compute.batch.BatchAsyncClient.createPoolWithResponse":"Client.BatchClient.createPool","com.azure.compute.batch.BatchAsyncClient.createTask":"Client.BatchClient.createTask","com.azure.compute.batch.BatchAsyncClient.createTaskCollection":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchAsyncClient.createTaskCollectionWithResponse":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchAsyncClient.createTaskWithResponse":"Client.BatchClient.createTask","com.azure.compute.batch.BatchAsyncClient.deallocateNode":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchAsyncClient.deallocateNodeWithResponse":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchAsyncClient.deleteCertificate":"Client.BatchClient.deleteCertificate","com.azure.compute.batch.BatchAsyncClient.deleteCertificateWithResponse":"Client.BatchClient.deleteCertificate","com.azure.compute.batch.BatchAsyncClient.deleteJob":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchAsyncClient.deleteJobSchedule":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchAsyncClient.deleteJobScheduleWithResponse":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchAsyncClient.deleteJobWithResponse":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchAsyncClient.deleteNodeFile":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchAsyncClient.deleteNodeFileWithResponse":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchAsyncClient.deleteNodeUser":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchAsyncClient.deleteNodeUserWithResponse":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchAsyncClient.deletePool":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchAsyncClient.deletePoolWithResponse":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchAsyncClient.deleteTask":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchAsyncClient.deleteTaskFile":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchAsyncClient.deleteTaskFileWithResponse":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchAsyncClient.deleteTaskWithResponse":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchAsyncClient.disableJob":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchAsyncClient.disableJobSchedule":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchAsyncClient.disableJobScheduleWithResponse":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchAsyncClient.disableJobWithResponse":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchAsyncClient.disableNodeScheduling":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.disableNodeSchedulingWithResponse":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.disablePoolAutoScale":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.disablePoolAutoScaleWithResponse":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.enableJob":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchAsyncClient.enableJobSchedule":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchAsyncClient.enableJobScheduleWithResponse":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchAsyncClient.enableJobWithResponse":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchAsyncClient.enableNodeScheduling":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.enableNodeSchedulingWithResponse":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.enablePoolAutoScale":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.enablePoolAutoScaleWithResponse":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.evaluatePoolAutoScale":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.evaluatePoolAutoScaleWithResponse":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.getApplication":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchAsyncClient.getApplicationWithResponse":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchAsyncClient.getCertificate":"Client.BatchClient.getCertificate","com.azure.compute.batch.BatchAsyncClient.getCertificateWithResponse":"Client.BatchClient.getCertificate","com.azure.compute.batch.BatchAsyncClient.getJob":"Client.BatchClient.getJob","com.azure.compute.batch.BatchAsyncClient.getJobSchedule":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchAsyncClient.getJobScheduleWithResponse":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchAsyncClient.getJobTaskCounts":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchAsyncClient.getJobTaskCountsWithResponse":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchAsyncClient.getJobWithResponse":"Client.BatchClient.getJob","com.azure.compute.batch.BatchAsyncClient.getNode":"Client.BatchClient.getNode","com.azure.compute.batch.BatchAsyncClient.getNodeExtension":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchAsyncClient.getNodeExtensionWithResponse":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchAsyncClient.getNodeFile":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchAsyncClient.getNodeFileProperties":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchAsyncClient.getNodeFilePropertiesWithResponse":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchAsyncClient.getNodeFileWithResponse":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchAsyncClient.getNodeRemoteLoginSettings":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchAsyncClient.getNodeRemoteLoginSettingsWithResponse":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchAsyncClient.getNodeWithResponse":"Client.BatchClient.getNode","com.azure.compute.batch.BatchAsyncClient.getPool":"Client.BatchClient.getPool","com.azure.compute.batch.BatchAsyncClient.getPoolWithResponse":"Client.BatchClient.getPool","com.azure.compute.batch.BatchAsyncClient.getTask":"Client.BatchClient.getTask","com.azure.compute.batch.BatchAsyncClient.getTaskFile":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchAsyncClient.getTaskFileProperties":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchAsyncClient.getTaskFilePropertiesWithResponse":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchAsyncClient.getTaskFileWithResponse":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchAsyncClient.getTaskWithResponse":"Client.BatchClient.getTask","com.azure.compute.batch.BatchAsyncClient.jobScheduleExists":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchAsyncClient.jobScheduleExistsWithResponse":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchAsyncClient.listApplications":"Client.BatchClient.listApplications","com.azure.compute.batch.BatchAsyncClient.listCertificates":"Client.BatchClient.listCertificates","com.azure.compute.batch.BatchAsyncClient.listJobPreparationAndReleaseTaskStatus":"Client.BatchClient.listJobPreparationAndReleaseTaskStatus","com.azure.compute.batch.BatchAsyncClient.listJobSchedules":"Client.BatchClient.listJobSchedules","com.azure.compute.batch.BatchAsyncClient.listJobs":"Client.BatchClient.listJobs","com.azure.compute.batch.BatchAsyncClient.listJobsFromSchedule":"Client.BatchClient.listJobsFromSchedule","com.azure.compute.batch.BatchAsyncClient.listNodeExtensions":"Client.BatchClient.listNodeExtensions","com.azure.compute.batch.BatchAsyncClient.listNodeFiles":"Client.BatchClient.listNodeFiles","com.azure.compute.batch.BatchAsyncClient.listNodes":"Client.BatchClient.listNodes","com.azure.compute.batch.BatchAsyncClient.listPoolNodeCounts":"Client.BatchClient.listPoolNodeCounts","com.azure.compute.batch.BatchAsyncClient.listPoolUsageMetrics":"Client.BatchClient.listPoolUsageMetrics","com.azure.compute.batch.BatchAsyncClient.listPools":"Client.BatchClient.listPools","com.azure.compute.batch.BatchAsyncClient.listSubTasks":"Client.BatchClient.listSubTasks","com.azure.compute.batch.BatchAsyncClient.listSupportedImages":"Client.BatchClient.listSupportedImages","com.azure.compute.batch.BatchAsyncClient.listTaskFiles":"Client.BatchClient.listTaskFiles","com.azure.compute.batch.BatchAsyncClient.listTasks":"Client.BatchClient.listTasks","com.azure.compute.batch.BatchAsyncClient.poolExists":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchAsyncClient.poolExistsWithResponse":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchAsyncClient.reactivateTask":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchAsyncClient.reactivateTaskWithResponse":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchAsyncClient.rebootNode":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchAsyncClient.rebootNodeWithResponse":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchAsyncClient.reimageNode":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchAsyncClient.reimageNodeWithResponse":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchAsyncClient.removeNodes":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchAsyncClient.removeNodesWithResponse":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchAsyncClient.replaceJob":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchAsyncClient.replaceJobSchedule":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchAsyncClient.replaceJobScheduleWithResponse":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchAsyncClient.replaceJobWithResponse":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchAsyncClient.replaceNodeUser":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchAsyncClient.replaceNodeUserWithResponse":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchAsyncClient.replacePoolProperties":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchAsyncClient.replacePoolPropertiesWithResponse":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchAsyncClient.replaceTask":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchAsyncClient.replaceTaskWithResponse":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchAsyncClient.resizePool":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchAsyncClient.resizePoolWithResponse":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchAsyncClient.startNode":"Client.BatchClient.startNode","com.azure.compute.batch.BatchAsyncClient.startNodeWithResponse":"Client.BatchClient.startNode","com.azure.compute.batch.BatchAsyncClient.stopPoolResize":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchAsyncClient.stopPoolResizeWithResponse":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchAsyncClient.terminateJob":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchAsyncClient.terminateJobSchedule":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchAsyncClient.terminateJobScheduleWithResponse":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchAsyncClient.terminateJobWithResponse":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchAsyncClient.terminateTask":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchAsyncClient.terminateTaskWithResponse":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchAsyncClient.updateJob":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchAsyncClient.updateJobSchedule":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchAsyncClient.updateJobScheduleWithResponse":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchAsyncClient.updateJobWithResponse":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchAsyncClient.updatePool":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchAsyncClient.updatePoolWithResponse":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchAsyncClient.uploadNodeLogs":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchAsyncClient.uploadNodeLogsWithResponse":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchClient":"Client.BatchClient","com.azure.compute.batch.BatchClient.cancelCertificateDeletion":"Client.BatchClient.cancelCertificateDeletion","com.azure.compute.batch.BatchClient.cancelCertificateDeletionWithResponse":"Client.BatchClient.cancelCertificateDeletion","com.azure.compute.batch.BatchClient.createCertificate":"Client.BatchClient.createCertificate","com.azure.compute.batch.BatchClient.createCertificateWithResponse":"Client.BatchClient.createCertificate","com.azure.compute.batch.BatchClient.createJob":"Client.BatchClient.createJob","com.azure.compute.batch.BatchClient.createJobSchedule":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchClient.createJobScheduleWithResponse":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchClient.createJobWithResponse":"Client.BatchClient.createJob","com.azure.compute.batch.BatchClient.createNodeUser":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchClient.createNodeUserWithResponse":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchClient.createPool":"Client.BatchClient.createPool","com.azure.compute.batch.BatchClient.createPoolWithResponse":"Client.BatchClient.createPool","com.azure.compute.batch.BatchClient.createTask":"Client.BatchClient.createTask","com.azure.compute.batch.BatchClient.createTaskCollection":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchClient.createTaskCollectionWithResponse":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchClient.createTaskWithResponse":"Client.BatchClient.createTask","com.azure.compute.batch.BatchClient.deallocateNode":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchClient.deallocateNodeWithResponse":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchClient.deleteCertificate":"Client.BatchClient.deleteCertificate","com.azure.compute.batch.BatchClient.deleteCertificateWithResponse":"Client.BatchClient.deleteCertificate","com.azure.compute.batch.BatchClient.deleteJob":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchClient.deleteJobSchedule":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchClient.deleteJobScheduleWithResponse":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchClient.deleteJobWithResponse":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchClient.deleteNodeFile":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchClient.deleteNodeFileWithResponse":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchClient.deleteNodeUser":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchClient.deleteNodeUserWithResponse":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchClient.deletePool":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchClient.deletePoolWithResponse":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchClient.deleteTask":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchClient.deleteTaskFile":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchClient.deleteTaskFileWithResponse":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchClient.deleteTaskWithResponse":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchClient.disableJob":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchClient.disableJobSchedule":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchClient.disableJobScheduleWithResponse":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchClient.disableJobWithResponse":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchClient.disableNodeScheduling":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchClient.disableNodeSchedulingWithResponse":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchClient.disablePoolAutoScale":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchClient.disablePoolAutoScaleWithResponse":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchClient.enableJob":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchClient.enableJobSchedule":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchClient.enableJobScheduleWithResponse":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchClient.enableJobWithResponse":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchClient.enableNodeScheduling":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchClient.enableNodeSchedulingWithResponse":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchClient.enablePoolAutoScale":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchClient.enablePoolAutoScaleWithResponse":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchClient.evaluatePoolAutoScale":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchClient.evaluatePoolAutoScaleWithResponse":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchClient.getApplication":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchClient.getApplicationWithResponse":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchClient.getCertificate":"Client.BatchClient.getCertificate","com.azure.compute.batch.BatchClient.getCertificateWithResponse":"Client.BatchClient.getCertificate","com.azure.compute.batch.BatchClient.getJob":"Client.BatchClient.getJob","com.azure.compute.batch.BatchClient.getJobSchedule":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchClient.getJobScheduleWithResponse":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchClient.getJobTaskCounts":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchClient.getJobTaskCountsWithResponse":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchClient.getJobWithResponse":"Client.BatchClient.getJob","com.azure.compute.batch.BatchClient.getNode":"Client.BatchClient.getNode","com.azure.compute.batch.BatchClient.getNodeExtension":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchClient.getNodeExtensionWithResponse":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchClient.getNodeFile":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchClient.getNodeFileProperties":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchClient.getNodeFilePropertiesWithResponse":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchClient.getNodeFileWithResponse":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchClient.getNodeRemoteLoginSettings":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchClient.getNodeRemoteLoginSettingsWithResponse":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchClient.getNodeWithResponse":"Client.BatchClient.getNode","com.azure.compute.batch.BatchClient.getPool":"Client.BatchClient.getPool","com.azure.compute.batch.BatchClient.getPoolWithResponse":"Client.BatchClient.getPool","com.azure.compute.batch.BatchClient.getTask":"Client.BatchClient.getTask","com.azure.compute.batch.BatchClient.getTaskFile":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchClient.getTaskFileProperties":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchClient.getTaskFilePropertiesWithResponse":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchClient.getTaskFileWithResponse":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchClient.getTaskWithResponse":"Client.BatchClient.getTask","com.azure.compute.batch.BatchClient.jobScheduleExists":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchClient.jobScheduleExistsWithResponse":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchClient.listApplications":"Client.BatchClient.listApplications","com.azure.compute.batch.BatchClient.listCertificates":"Client.BatchClient.listCertificates","com.azure.compute.batch.BatchClient.listJobPreparationAndReleaseTaskStatus":"Client.BatchClient.listJobPreparationAndReleaseTaskStatus","com.azure.compute.batch.BatchClient.listJobSchedules":"Client.BatchClient.listJobSchedules","com.azure.compute.batch.BatchClient.listJobs":"Client.BatchClient.listJobs","com.azure.compute.batch.BatchClient.listJobsFromSchedule":"Client.BatchClient.listJobsFromSchedule","com.azure.compute.batch.BatchClient.listNodeExtensions":"Client.BatchClient.listNodeExtensions","com.azure.compute.batch.BatchClient.listNodeFiles":"Client.BatchClient.listNodeFiles","com.azure.compute.batch.BatchClient.listNodes":"Client.BatchClient.listNodes","com.azure.compute.batch.BatchClient.listPoolNodeCounts":"Client.BatchClient.listPoolNodeCounts","com.azure.compute.batch.BatchClient.listPoolUsageMetrics":"Client.BatchClient.listPoolUsageMetrics","com.azure.compute.batch.BatchClient.listPools":"Client.BatchClient.listPools","com.azure.compute.batch.BatchClient.listSubTasks":"Client.BatchClient.listSubTasks","com.azure.compute.batch.BatchClient.listSupportedImages":"Client.BatchClient.listSupportedImages","com.azure.compute.batch.BatchClient.listTaskFiles":"Client.BatchClient.listTaskFiles","com.azure.compute.batch.BatchClient.listTasks":"Client.BatchClient.listTasks","com.azure.compute.batch.BatchClient.poolExists":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchClient.poolExistsWithResponse":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchClient.reactivateTask":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchClient.reactivateTaskWithResponse":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchClient.rebootNode":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchClient.rebootNodeWithResponse":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchClient.reimageNode":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchClient.reimageNodeWithResponse":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchClient.removeNodes":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchClient.removeNodesWithResponse":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchClient.replaceJob":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchClient.replaceJobSchedule":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchClient.replaceJobScheduleWithResponse":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchClient.replaceJobWithResponse":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchClient.replaceNodeUser":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchClient.replaceNodeUserWithResponse":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchClient.replacePoolProperties":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchClient.replacePoolPropertiesWithResponse":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchClient.replaceTask":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchClient.replaceTaskWithResponse":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchClient.resizePool":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchClient.resizePoolWithResponse":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchClient.startNode":"Client.BatchClient.startNode","com.azure.compute.batch.BatchClient.startNodeWithResponse":"Client.BatchClient.startNode","com.azure.compute.batch.BatchClient.stopPoolResize":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchClient.stopPoolResizeWithResponse":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchClient.terminateJob":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchClient.terminateJobSchedule":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchClient.terminateJobScheduleWithResponse":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchClient.terminateJobWithResponse":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchClient.terminateTask":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchClient.terminateTaskWithResponse":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchClient.updateJob":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchClient.updateJobSchedule":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchClient.updateJobScheduleWithResponse":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchClient.updateJobWithResponse":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchClient.updatePool":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchClient.updatePoolWithResponse":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchClient.uploadNodeLogs":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchClient.uploadNodeLogsWithResponse":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchClientBuilder":"Client.BatchClient","com.azure.compute.batch.models.AllocationState":"Azure.Batch.AllocationState","com.azure.compute.batch.models.AuthenticationTokenSettings":"Azure.Batch.AuthenticationTokenSettings","com.azure.compute.batch.models.AutoScaleRun":"Azure.Batch.AutoScaleRun","com.azure.compute.batch.models.AutoScaleRunError":"Azure.Batch.AutoScaleRunError","com.azure.compute.batch.models.AutoUserScope":"Azure.Batch.AutoUserScope","com.azure.compute.batch.models.AutoUserSpecification":"Azure.Batch.AutoUserSpecification","com.azure.compute.batch.models.AutomaticOsUpgradePolicy":"Azure.Batch.AutomaticOsUpgradePolicy","com.azure.compute.batch.models.AzureBlobFileSystemConfiguration":"Azure.Batch.AzureBlobFileSystemConfiguration","com.azure.compute.batch.models.AzureFileShareConfiguration":"Azure.Batch.AzureFileShareConfiguration","com.azure.compute.batch.models.BatchAccessScope":"Azure.Batch.BatchAccessScope","com.azure.compute.batch.models.BatchAffinityInfo":"Azure.Batch.BatchAffinityInfo","com.azure.compute.batch.models.BatchAllTasksCompleteMode":"Azure.Batch.BatchAllTasksCompleteMode","com.azure.compute.batch.models.BatchApplication":"Azure.Batch.BatchApplication","com.azure.compute.batch.models.BatchApplicationGetOptions":null,"com.azure.compute.batch.models.BatchApplicationPackageReference":"Azure.Batch.BatchApplicationPackageReference","com.azure.compute.batch.models.BatchApplicationsListOptions":null,"com.azure.compute.batch.models.BatchAutoPoolSpecification":"Azure.Batch.BatchAutoPoolSpecification","com.azure.compute.batch.models.BatchCertificate":"Azure.Batch.BatchCertificate","com.azure.compute.batch.models.BatchCertificateCancelDeletionOptions":null,"com.azure.compute.batch.models.BatchCertificateCreateOptions":null,"com.azure.compute.batch.models.BatchCertificateDeleteError":"Azure.Batch.BatchCertificateDeleteError","com.azure.compute.batch.models.BatchCertificateDeleteOptions":null,"com.azure.compute.batch.models.BatchCertificateFormat":"Azure.Batch.BatchCertificateFormat","com.azure.compute.batch.models.BatchCertificateGetOptions":null,"com.azure.compute.batch.models.BatchCertificateReference":"Azure.Batch.BatchCertificateReference","com.azure.compute.batch.models.BatchCertificateState":"Azure.Batch.BatchCertificateState","com.azure.compute.batch.models.BatchCertificateStoreLocation":"Azure.Batch.BatchCertificateStoreLocation","com.azure.compute.batch.models.BatchCertificateVisibility":"Azure.Batch.BatchCertificateVisibility","com.azure.compute.batch.models.BatchCertificatesListOptions":null,"com.azure.compute.batch.models.BatchContainerConfiguration":"Azure.Batch.BatchContainerConfiguration","com.azure.compute.batch.models.BatchCreateTaskCollectionResult":"Azure.Batch.BatchCreateTaskCollectionResult","com.azure.compute.batch.models.BatchDiffDiskSettings":"Azure.Batch.BatchDiffDiskSettings","com.azure.compute.batch.models.BatchError":"Azure.Batch.BatchError","com.azure.compute.batch.models.BatchErrorDetail":"Azure.Batch.BatchErrorDetail","com.azure.compute.batch.models.BatchErrorMessage":"Azure.Batch.BatchErrorMessage","com.azure.compute.batch.models.BatchErrorSourceCategory":"Azure.Batch.BatchErrorSourceCategory","com.azure.compute.batch.models.BatchInboundNatPool":"Azure.Batch.BatchInboundNatPool","com.azure.compute.batch.models.BatchJob":"Azure.Batch.BatchJob","com.azure.compute.batch.models.BatchJobActionKind":"Azure.Batch.BatchJobActionKind","com.azure.compute.batch.models.BatchJobConstraints":"Azure.Batch.BatchJobConstraints","com.azure.compute.batch.models.BatchJobCreateOptions":null,"com.azure.compute.batch.models.BatchJobCreateParameters":"Azure.Batch.BatchJobCreateOptions","com.azure.compute.batch.models.BatchJobDeleteOptions":null,"com.azure.compute.batch.models.BatchJobDisableOptions":null,"com.azure.compute.batch.models.BatchJobDisableParameters":"Azure.Batch.BatchJobDisableOptions","com.azure.compute.batch.models.BatchJobEnableOptions":null,"com.azure.compute.batch.models.BatchJobExecutionInfo":"Azure.Batch.BatchJobExecutionInfo","com.azure.compute.batch.models.BatchJobGetOptions":null,"com.azure.compute.batch.models.BatchJobManagerTask":"Azure.Batch.BatchJobManagerTask","com.azure.compute.batch.models.BatchJobNetworkConfiguration":"Azure.Batch.BatchJobNetworkConfiguration","com.azure.compute.batch.models.BatchJobPreparationAndReleaseTaskStatus":"Azure.Batch.BatchJobPreparationAndReleaseTaskStatus","com.azure.compute.batch.models.BatchJobPreparationAndReleaseTaskStatusListOptions":null,"com.azure.compute.batch.models.BatchJobPreparationTask":"Azure.Batch.BatchJobPreparationTask","com.azure.compute.batch.models.BatchJobPreparationTaskExecutionInfo":"Azure.Batch.BatchJobPreparationTaskExecutionInfo","com.azure.compute.batch.models.BatchJobPreparationTaskState":"Azure.Batch.BatchJobPreparationTaskState","com.azure.compute.batch.models.BatchJobReleaseTask":"Azure.Batch.BatchJobReleaseTask","com.azure.compute.batch.models.BatchJobReleaseTaskExecutionInfo":"Azure.Batch.BatchJobReleaseTaskExecutionInfo","com.azure.compute.batch.models.BatchJobReleaseTaskState":"Azure.Batch.BatchJobReleaseTaskState","com.azure.compute.batch.models.BatchJobReplaceOptions":null,"com.azure.compute.batch.models.BatchJobSchedule":"Azure.Batch.BatchJobSchedule","com.azure.compute.batch.models.BatchJobScheduleConfiguration":"Azure.Batch.BatchJobScheduleConfiguration","com.azure.compute.batch.models.BatchJobScheduleCreateOptions":null,"com.azure.compute.batch.models.BatchJobScheduleCreateParameters":"Azure.Batch.BatchJobScheduleCreateOptions","com.azure.compute.batch.models.BatchJobScheduleDeleteOptions":null,"com.azure.compute.batch.models.BatchJobScheduleDisableOptions":null,"com.azure.compute.batch.models.BatchJobScheduleEnableOptions":null,"com.azure.compute.batch.models.BatchJobScheduleExecutionInfo":"Azure.Batch.BatchJobScheduleExecutionInfo","com.azure.compute.batch.models.BatchJobScheduleExistsOptions":null,"com.azure.compute.batch.models.BatchJobScheduleGetOptions":null,"com.azure.compute.batch.models.BatchJobScheduleReplaceOptions":null,"com.azure.compute.batch.models.BatchJobScheduleState":"Azure.Batch.BatchJobScheduleState","com.azure.compute.batch.models.BatchJobScheduleStatistics":"Azure.Batch.BatchJobScheduleStatistics","com.azure.compute.batch.models.BatchJobScheduleTerminateOptions":null,"com.azure.compute.batch.models.BatchJobScheduleUpdateOptions":null,"com.azure.compute.batch.models.BatchJobScheduleUpdateParameters":"Azure.Batch.BatchJobScheduleUpdateOptions","com.azure.compute.batch.models.BatchJobSchedulesListOptions":null,"com.azure.compute.batch.models.BatchJobSchedulingError":"Azure.Batch.BatchJobSchedulingError","com.azure.compute.batch.models.BatchJobSpecification":"Azure.Batch.BatchJobSpecification","com.azure.compute.batch.models.BatchJobState":"Azure.Batch.BatchJobState","com.azure.compute.batch.models.BatchJobStatistics":"Azure.Batch.BatchJobStatistics","com.azure.compute.batch.models.BatchJobTaskCountsGetOptions":null,"com.azure.compute.batch.models.BatchJobTerminateOptions":null,"com.azure.compute.batch.models.BatchJobTerminateParameters":"Azure.Batch.BatchJobTerminateOptions","com.azure.compute.batch.models.BatchJobUpdateOptions":null,"com.azure.compute.batch.models.BatchJobUpdateParameters":"Azure.Batch.BatchJobUpdateOptions","com.azure.compute.batch.models.BatchJobsFromScheduleListOptions":null,"com.azure.compute.batch.models.BatchJobsListOptions":null,"com.azure.compute.batch.models.BatchMetadataItem":"Azure.Batch.BatchMetadataItem","com.azure.compute.batch.models.BatchNode":"Azure.Batch.BatchNode","com.azure.compute.batch.models.BatchNodeAgentInfo":"Azure.Batch.BatchNodeAgentInfo","com.azure.compute.batch.models.BatchNodeCommunicationMode":"Azure.Batch.BatchNodeCommunicationMode","com.azure.compute.batch.models.BatchNodeCounts":"Azure.Batch.BatchNodeCounts","com.azure.compute.batch.models.BatchNodeDeallocateOption":"Azure.Batch.BatchNodeDeallocateOption","com.azure.compute.batch.models.BatchNodeDeallocateOptions":null,"com.azure.compute.batch.models.BatchNodeDeallocateParameters":"Azure.Batch.BatchNodeDeallocateOptions","com.azure.compute.batch.models.BatchNodeDeallocationOption":"Azure.Batch.BatchNodeDeallocationOption","com.azure.compute.batch.models.BatchNodeDisableSchedulingOption":"Azure.Batch.BatchNodeDisableSchedulingOption","com.azure.compute.batch.models.BatchNodeDisableSchedulingParameters":"Azure.Batch.BatchNodeDisableSchedulingOptions","com.azure.compute.batch.models.BatchNodeEndpointConfiguration":"Azure.Batch.BatchNodeEndpointConfiguration","com.azure.compute.batch.models.BatchNodeError":"Azure.Batch.BatchNodeError","com.azure.compute.batch.models.BatchNodeExtensionGetOptions":null,"com.azure.compute.batch.models.BatchNodeExtensionsListOptions":null,"com.azure.compute.batch.models.BatchNodeFile":"Azure.Batch.BatchNodeFile","com.azure.compute.batch.models.BatchNodeFileDeleteOptions":null,"com.azure.compute.batch.models.BatchNodeFileGetOptions":null,"com.azure.compute.batch.models.BatchNodeFilePropertiesGetOptions":null,"com.azure.compute.batch.models.BatchNodeFilesListOptions":null,"com.azure.compute.batch.models.BatchNodeFillType":"Azure.Batch.BatchNodeFillType","com.azure.compute.batch.models.BatchNodeGetOptions":null,"com.azure.compute.batch.models.BatchNodeIdentityReference":"Azure.Batch.BatchNodeIdentityReference","com.azure.compute.batch.models.BatchNodeInfo":"Azure.Batch.BatchNodeInfo","com.azure.compute.batch.models.BatchNodeLogsUploadOptions":null,"com.azure.compute.batch.models.BatchNodePlacementConfiguration":"Azure.Batch.BatchNodePlacementConfiguration","com.azure.compute.batch.models.BatchNodePlacementPolicyType":"Azure.Batch.BatchNodePlacementPolicyType","com.azure.compute.batch.models.BatchNodeRebootKind":"Azure.Batch.BatchNodeRebootKind","com.azure.compute.batch.models.BatchNodeRebootOptions":null,"com.azure.compute.batch.models.BatchNodeRebootParameters":"Azure.Batch.BatchNodeRebootOptions","com.azure.compute.batch.models.BatchNodeReimageOption":"Azure.Batch.BatchNodeReimageOption","com.azure.compute.batch.models.BatchNodeReimageOptions":null,"com.azure.compute.batch.models.BatchNodeReimageParameters":"Azure.Batch.BatchNodeReimageOptions","com.azure.compute.batch.models.BatchNodeRemoteLoginSettings":"Azure.Batch.BatchNodeRemoteLoginSettings","com.azure.compute.batch.models.BatchNodeRemoteLoginSettingsGetOptions":null,"com.azure.compute.batch.models.BatchNodeRemoveParameters":"Azure.Batch.BatchNodeRemoveOptions","com.azure.compute.batch.models.BatchNodeSchedulingDisableOptions":null,"com.azure.compute.batch.models.BatchNodeSchedulingEnableOptions":null,"com.azure.compute.batch.models.BatchNodeStartOptions":null,"com.azure.compute.batch.models.BatchNodeState":"Azure.Batch.BatchNodeState","com.azure.compute.batch.models.BatchNodeUserCreateOptions":null,"com.azure.compute.batch.models.BatchNodeUserCreateParameters":"Azure.Batch.BatchNodeUserCreateOptions","com.azure.compute.batch.models.BatchNodeUserDeleteOptions":null,"com.azure.compute.batch.models.BatchNodeUserReplaceOptions":null,"com.azure.compute.batch.models.BatchNodeUserUpdateParameters":"Azure.Batch.BatchNodeUserUpdateOptions","com.azure.compute.batch.models.BatchNodeVMExtension":"Azure.Batch.BatchNodeVMExtension","com.azure.compute.batch.models.BatchNodesListOptions":null,"com.azure.compute.batch.models.BatchNodesRemoveOptions":null,"com.azure.compute.batch.models.BatchOsDisk":"Azure.Batch.BatchOsDisk","com.azure.compute.batch.models.BatchPool":"Azure.Batch.BatchPool","com.azure.compute.batch.models.BatchPoolCreateOptions":null,"com.azure.compute.batch.models.BatchPoolCreateParameters":"Azure.Batch.BatchPoolCreateOptions","com.azure.compute.batch.models.BatchPoolDeleteOptions":null,"com.azure.compute.batch.models.BatchPoolDisableAutoScaleOptions":null,"com.azure.compute.batch.models.BatchPoolEnableAutoScaleOptions":null,"com.azure.compute.batch.models.BatchPoolEnableAutoScaleParameters":"Azure.Batch.BatchPoolEnableAutoScaleOptions","com.azure.compute.batch.models.BatchPoolEndpointConfiguration":"Azure.Batch.BatchPoolEndpointConfiguration","com.azure.compute.batch.models.BatchPoolEvaluateAutoScaleOptions":null,"com.azure.compute.batch.models.BatchPoolEvaluateAutoScaleParameters":"Azure.Batch.BatchPoolEvaluateAutoScaleOptions","com.azure.compute.batch.models.BatchPoolExistsOptions":null,"com.azure.compute.batch.models.BatchPoolGetOptions":null,"com.azure.compute.batch.models.BatchPoolIdentity":"Azure.Batch.BatchPoolIdentity","com.azure.compute.batch.models.BatchPoolIdentityType":"Azure.Batch.BatchPoolIdentityType","com.azure.compute.batch.models.BatchPoolInfo":"Azure.Batch.BatchPoolInfo","com.azure.compute.batch.models.BatchPoolLifetimeOption":"Azure.Batch.BatchPoolLifetimeOption","com.azure.compute.batch.models.BatchPoolNodeCounts":"Azure.Batch.BatchPoolNodeCounts","com.azure.compute.batch.models.BatchPoolNodeCountsListOptions":null,"com.azure.compute.batch.models.BatchPoolPropertiesReplaceOptions":null,"com.azure.compute.batch.models.BatchPoolReplaceParameters":"Azure.Batch.BatchPoolReplaceOptions","com.azure.compute.batch.models.BatchPoolResizeOptions":null,"com.azure.compute.batch.models.BatchPoolResizeParameters":"Azure.Batch.BatchPoolResizeOptions","com.azure.compute.batch.models.BatchPoolResizeStopOptions":null,"com.azure.compute.batch.models.BatchPoolResourceStatistics":"Azure.Batch.BatchPoolResourceStatistics","com.azure.compute.batch.models.BatchPoolSpecification":"Azure.Batch.BatchPoolSpecification","com.azure.compute.batch.models.BatchPoolState":"Azure.Batch.BatchPoolState","com.azure.compute.batch.models.BatchPoolStatistics":"Azure.Batch.BatchPoolStatistics","com.azure.compute.batch.models.BatchPoolUpdateOptions":null,"com.azure.compute.batch.models.BatchPoolUpdateParameters":"Azure.Batch.BatchPoolUpdateOptions","com.azure.compute.batch.models.BatchPoolUsageMetrics":"Azure.Batch.BatchPoolUsageMetrics","com.azure.compute.batch.models.BatchPoolUsageMetricsListOptions":null,"com.azure.compute.batch.models.BatchPoolUsageStatistics":"Azure.Batch.BatchPoolUsageStatistics","com.azure.compute.batch.models.BatchPoolsListOptions":null,"com.azure.compute.batch.models.BatchPublicIpAddressConfiguration":"Azure.Batch.BatchPublicIpAddressConfiguration","com.azure.compute.batch.models.BatchStartTask":"Azure.Batch.BatchStartTask","com.azure.compute.batch.models.BatchStartTaskInfo":"Azure.Batch.BatchStartTaskInfo","com.azure.compute.batch.models.BatchStartTaskState":"Azure.Batch.BatchStartTaskState","com.azure.compute.batch.models.BatchSubTasksListOptions":null,"com.azure.compute.batch.models.BatchSubtask":"Azure.Batch.BatchSubtask","com.azure.compute.batch.models.BatchSubtaskState":"Azure.Batch.BatchSubtaskState","com.azure.compute.batch.models.BatchSupportedImage":"Azure.Batch.BatchSupportedImage","com.azure.compute.batch.models.BatchTask":"Azure.Batch.BatchTask","com.azure.compute.batch.models.BatchTaskAddStatus":"Azure.Batch.BatchTaskAddStatus","com.azure.compute.batch.models.BatchTaskCollectionCreateOptions":null,"com.azure.compute.batch.models.BatchTaskConstraints":"Azure.Batch.BatchTaskConstraints","com.azure.compute.batch.models.BatchTaskContainerExecutionInfo":"Azure.Batch.BatchTaskContainerExecutionInfo","com.azure.compute.batch.models.BatchTaskContainerSettings":"Azure.Batch.BatchTaskContainerSettings","com.azure.compute.batch.models.BatchTaskCounts":"Azure.Batch.BatchTaskCounts","com.azure.compute.batch.models.BatchTaskCountsResult":"Azure.Batch.BatchTaskCountsResult","com.azure.compute.batch.models.BatchTaskCreateOptions":null,"com.azure.compute.batch.models.BatchTaskCreateParameters":"Azure.Batch.BatchTaskCreateOptions","com.azure.compute.batch.models.BatchTaskCreateResult":"Azure.Batch.BatchTaskCreateResult","com.azure.compute.batch.models.BatchTaskDeleteOptions":null,"com.azure.compute.batch.models.BatchTaskDependencies":"Azure.Batch.BatchTaskDependencies","com.azure.compute.batch.models.BatchTaskExecutionInfo":"Azure.Batch.BatchTaskExecutionInfo","com.azure.compute.batch.models.BatchTaskExecutionResult":"Azure.Batch.BatchTaskExecutionResult","com.azure.compute.batch.models.BatchTaskFailureInfo":"Azure.Batch.BatchTaskFailureInfo","com.azure.compute.batch.models.BatchTaskFailureMode":"Azure.Batch.BatchTaskFailureMode","com.azure.compute.batch.models.BatchTaskFileDeleteOptions":null,"com.azure.compute.batch.models.BatchTaskFileGetOptions":null,"com.azure.compute.batch.models.BatchTaskFilePropertiesGetOptions":null,"com.azure.compute.batch.models.BatchTaskFilesListOptions":null,"com.azure.compute.batch.models.BatchTaskGetOptions":null,"com.azure.compute.batch.models.BatchTaskGroup":"Azure.Batch.BatchTaskGroup","com.azure.compute.batch.models.BatchTaskIdRange":"Azure.Batch.BatchTaskIdRange","com.azure.compute.batch.models.BatchTaskInfo":"Azure.Batch.BatchTaskInfo","com.azure.compute.batch.models.BatchTaskReactivateOptions":null,"com.azure.compute.batch.models.BatchTaskReplaceOptions":null,"com.azure.compute.batch.models.BatchTaskSchedulingPolicy":"Azure.Batch.BatchTaskSchedulingPolicy","com.azure.compute.batch.models.BatchTaskSlotCounts":"Azure.Batch.BatchTaskSlotCounts","com.azure.compute.batch.models.BatchTaskState":"Azure.Batch.BatchTaskState","com.azure.compute.batch.models.BatchTaskStatistics":"Azure.Batch.BatchTaskStatistics","com.azure.compute.batch.models.BatchTaskTerminateOptions":null,"com.azure.compute.batch.models.BatchTasksListOptions":null,"com.azure.compute.batch.models.BatchUefiSettings":"Azure.Batch.BatchUefiSettings","com.azure.compute.batch.models.BatchUserAssignedIdentity":"Azure.Batch.BatchUserAssignedIdentity","com.azure.compute.batch.models.BatchVmDiskSecurityProfile":"Azure.Batch.BatchVmDiskSecurityProfile","com.azure.compute.batch.models.BatchVmImageReference":"Azure.Batch.BatchVmImageReference","com.azure.compute.batch.models.CachingType":"Azure.Batch.CachingType","com.azure.compute.batch.models.CifsMountConfiguration":"Azure.Batch.CifsMountConfiguration","com.azure.compute.batch.models.ContainerHostBatchBindMountEntry":"Azure.Batch.ContainerHostBatchBindMountEntry","com.azure.compute.batch.models.ContainerHostDataPath":"Azure.Batch.ContainerHostDataPath","com.azure.compute.batch.models.ContainerRegistryReference":"Azure.Batch.ContainerRegistryReference","com.azure.compute.batch.models.ContainerType":"Azure.Batch.ContainerType","com.azure.compute.batch.models.ContainerWorkingDirectory":"Azure.Batch.ContainerWorkingDirectory","com.azure.compute.batch.models.DataDisk":"Azure.Batch.DataDisk","com.azure.compute.batch.models.DependencyAction":"Azure.Batch.DependencyAction","com.azure.compute.batch.models.DiffDiskPlacement":"Azure.Batch.DiffDiskPlacement","com.azure.compute.batch.models.DisableBatchJobOption":"Azure.Batch.DisableBatchJobOption","com.azure.compute.batch.models.DiskEncryptionConfiguration":"Azure.Batch.DiskEncryptionConfiguration","com.azure.compute.batch.models.DiskEncryptionTarget":"Azure.Batch.DiskEncryptionTarget","com.azure.compute.batch.models.DynamicVNetAssignmentScope":"Azure.Batch.DynamicVNetAssignmentScope","com.azure.compute.batch.models.ElevationLevel":"Azure.Batch.ElevationLevel","com.azure.compute.batch.models.EnvironmentSetting":"Azure.Batch.EnvironmentSetting","com.azure.compute.batch.models.ExitCodeMapping":"Azure.Batch.ExitCodeMapping","com.azure.compute.batch.models.ExitCodeRangeMapping":"Azure.Batch.ExitCodeRangeMapping","com.azure.compute.batch.models.ExitConditions":"Azure.Batch.ExitConditions","com.azure.compute.batch.models.ExitOptions":"Azure.Batch.ExitOptions","com.azure.compute.batch.models.FileProperties":"Azure.Batch.FileProperties","com.azure.compute.batch.models.ImageVerificationType":"Azure.Batch.ImageVerificationType","com.azure.compute.batch.models.InboundEndpoint":"Azure.Batch.InboundEndpoint","com.azure.compute.batch.models.InboundEndpointProtocol":"Azure.Batch.InboundEndpointProtocol","com.azure.compute.batch.models.InstanceViewStatus":"Azure.Batch.InstanceViewStatus","com.azure.compute.batch.models.IpAddressProvisioningType":"Azure.Batch.IpAddressProvisioningType","com.azure.compute.batch.models.LinuxUserConfiguration":"Azure.Batch.LinuxUserConfiguration","com.azure.compute.batch.models.LoginMode":"Azure.Batch.LoginMode","com.azure.compute.batch.models.ManagedDisk":"Azure.Batch.ManagedDisk","com.azure.compute.batch.models.MountConfiguration":"Azure.Batch.MountConfiguration","com.azure.compute.batch.models.MultiInstanceSettings":"Azure.Batch.MultiInstanceSettings","com.azure.compute.batch.models.NameValuePair":"Azure.Batch.NameValuePair","com.azure.compute.batch.models.NetworkConfiguration":"Azure.Batch.NetworkConfiguration","com.azure.compute.batch.models.NetworkSecurityGroupRule":"Azure.Batch.NetworkSecurityGroupRule","com.azure.compute.batch.models.NetworkSecurityGroupRuleAccess":"Azure.Batch.NetworkSecurityGroupRuleAccess","com.azure.compute.batch.models.NfsMountConfiguration":"Azure.Batch.NfsMountConfiguration","com.azure.compute.batch.models.OSType":"Azure.Batch.OSType","com.azure.compute.batch.models.OutputFile":"Azure.Batch.OutputFile","com.azure.compute.batch.models.OutputFileBlobContainerDestination":"Azure.Batch.OutputFileBlobContainerDestination","com.azure.compute.batch.models.OutputFileDestination":"Azure.Batch.OutputFileDestination","com.azure.compute.batch.models.OutputFileUploadCondition":"Azure.Batch.OutputFileUploadCondition","com.azure.compute.batch.models.OutputFileUploadConfig":"Azure.Batch.OutputFileUploadConfig","com.azure.compute.batch.models.OutputFileUploadHeader":"Azure.Batch.OutputFileUploadHeader","com.azure.compute.batch.models.RecentBatchJob":"Azure.Batch.RecentBatchJob","com.azure.compute.batch.models.ResizeError":"Azure.Batch.ResizeError","com.azure.compute.batch.models.ResourceFile":"Azure.Batch.ResourceFile","com.azure.compute.batch.models.RollingUpgradePolicy":"Azure.Batch.RollingUpgradePolicy","com.azure.compute.batch.models.SchedulingState":"Azure.Batch.SchedulingState","com.azure.compute.batch.models.SecurityEncryptionTypes":"Azure.Batch.SecurityEncryptionTypes","com.azure.compute.batch.models.SecurityProfile":"Azure.Batch.SecurityProfile","com.azure.compute.batch.models.SecurityTypes":"Azure.Batch.SecurityTypes","com.azure.compute.batch.models.ServiceArtifactReference":"Azure.Batch.ServiceArtifactReference","com.azure.compute.batch.models.StatusLevelTypes":"Azure.Batch.StatusLevelTypes","com.azure.compute.batch.models.StorageAccountType":"Azure.Batch.StorageAccountType","com.azure.compute.batch.models.SupportedBatchImagesListOptions":null,"com.azure.compute.batch.models.UpgradeMode":"Azure.Batch.UpgradeMode","com.azure.compute.batch.models.UpgradePolicy":"Azure.Batch.UpgradePolicy","com.azure.compute.batch.models.UploadBatchServiceLogsParameters":"Azure.Batch.UploadBatchServiceLogsOptions","com.azure.compute.batch.models.UploadBatchServiceLogsResult":"Azure.Batch.UploadBatchServiceLogsResult","com.azure.compute.batch.models.UserAccount":"Azure.Batch.UserAccount","com.azure.compute.batch.models.UserIdentity":"Azure.Batch.UserIdentity","com.azure.compute.batch.models.VMExtension":"Azure.Batch.VMExtension","com.azure.compute.batch.models.VMExtensionInstanceView":"Azure.Batch.VMExtensionInstanceView","com.azure.compute.batch.models.VirtualMachineConfiguration":"Azure.Batch.VirtualMachineConfiguration","com.azure.compute.batch.models.VirtualMachineInfo":"Azure.Batch.VirtualMachineInfo","com.azure.compute.batch.models.WindowsConfiguration":"Azure.Batch.WindowsConfiguration","com.azure.compute.batch.models.WindowsUserConfiguration":"Azure.Batch.WindowsUserConfiguration"},"generatedFiles":["src/main/java/com/azure/compute/batch/BatchAsyncClient.java","src/main/java/com/azure/compute/batch/BatchClient.java","src/main/java/com/azure/compute/batch/BatchClientBuilder.java","src/main/java/com/azure/compute/batch/BatchServiceVersion.java","src/main/java/com/azure/compute/batch/implementation/BatchClientImpl.java","src/main/java/com/azure/compute/batch/implementation/package-info.java","src/main/java/com/azure/compute/batch/models/AllocationState.java","src/main/java/com/azure/compute/batch/models/AuthenticationTokenSettings.java","src/main/java/com/azure/compute/batch/models/AutoScaleRun.java","src/main/java/com/azure/compute/batch/models/AutoScaleRunError.java","src/main/java/com/azure/compute/batch/models/AutoUserScope.java","src/main/java/com/azure/compute/batch/models/AutoUserSpecification.java","src/main/java/com/azure/compute/batch/models/AutomaticOsUpgradePolicy.java","src/main/java/com/azure/compute/batch/models/AzureBlobFileSystemConfiguration.java","src/main/java/com/azure/compute/batch/models/AzureFileShareConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchAccessScope.java","src/main/java/com/azure/compute/batch/models/BatchAffinityInfo.java","src/main/java/com/azure/compute/batch/models/BatchAllTasksCompleteMode.java","src/main/java/com/azure/compute/batch/models/BatchApplication.java","src/main/java/com/azure/compute/batch/models/BatchApplicationGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchApplicationPackageReference.java","src/main/java/com/azure/compute/batch/models/BatchApplicationsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchAutoPoolSpecification.java","src/main/java/com/azure/compute/batch/models/BatchCertificate.java","src/main/java/com/azure/compute/batch/models/BatchCertificateCancelDeletionOptions.java","src/main/java/com/azure/compute/batch/models/BatchCertificateCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteError.java","src/main/java/com/azure/compute/batch/models/BatchCertificateDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchCertificateFormat.java","src/main/java/com/azure/compute/batch/models/BatchCertificateGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchCertificateReference.java","src/main/java/com/azure/compute/batch/models/BatchCertificateState.java","src/main/java/com/azure/compute/batch/models/BatchCertificateStoreLocation.java","src/main/java/com/azure/compute/batch/models/BatchCertificateVisibility.java","src/main/java/com/azure/compute/batch/models/BatchCertificatesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchContainerConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchCreateTaskCollectionResult.java","src/main/java/com/azure/compute/batch/models/BatchDiffDiskSettings.java","src/main/java/com/azure/compute/batch/models/BatchError.java","src/main/java/com/azure/compute/batch/models/BatchErrorDetail.java","src/main/java/com/azure/compute/batch/models/BatchErrorException.java","src/main/java/com/azure/compute/batch/models/BatchErrorMessage.java","src/main/java/com/azure/compute/batch/models/BatchErrorSourceCategory.java","src/main/java/com/azure/compute/batch/models/BatchInboundNatPool.java","src/main/java/com/azure/compute/batch/models/BatchJob.java","src/main/java/com/azure/compute/batch/models/BatchJobActionKind.java","src/main/java/com/azure/compute/batch/models/BatchJobConstraints.java","src/main/java/com/azure/compute/batch/models/BatchJobCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobDisableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobDisableParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobEnableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobManagerTask.java","src/main/java/com/azure/compute/batch/models/BatchJobNetworkConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationAndReleaseTaskStatus.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationAndReleaseTaskStatusListOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationTask.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationTaskExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationTaskState.java","src/main/java/com/azure/compute/batch/models/BatchJobReleaseTask.java","src/main/java/com/azure/compute/batch/models/BatchJobReleaseTaskExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobReleaseTaskState.java","src/main/java/com/azure/compute/batch/models/BatchJobReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobSchedule.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleDisableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleEnableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleExistsOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleState.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleStatistics.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleTerminateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleUpdateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobSchedulesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobSchedulingError.java","src/main/java/com/azure/compute/batch/models/BatchJobSpecification.java","src/main/java/com/azure/compute/batch/models/BatchJobState.java","src/main/java/com/azure/compute/batch/models/BatchJobStatistics.java","src/main/java/com/azure/compute/batch/models/BatchJobTaskCountsGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobTerminateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobTerminateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobUpdateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobsFromScheduleListOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchMetadataItem.java","src/main/java/com/azure/compute/batch/models/BatchNode.java","src/main/java/com/azure/compute/batch/models/BatchNodeAgentInfo.java","src/main/java/com/azure/compute/batch/models/BatchNodeCommunicationMode.java","src/main/java/com/azure/compute/batch/models/BatchNodeCounts.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocateOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocateOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocateParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocationOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeDisableSchedulingOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeDisableSchedulingParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeEndpointConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchNodeError.java","src/main/java/com/azure/compute/batch/models/BatchNodeExtensionGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeExtensionsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFile.java","src/main/java/com/azure/compute/batch/models/BatchNodeFileDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFileGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFilePropertiesGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFilesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFillType.java","src/main/java/com/azure/compute/batch/models/BatchNodeGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeIdentityReference.java","src/main/java/com/azure/compute/batch/models/BatchNodeInfo.java","src/main/java/com/azure/compute/batch/models/BatchNodeLogsUploadOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodePlacementConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchNodePlacementPolicyType.java","src/main/java/com/azure/compute/batch/models/BatchNodeRebootKind.java","src/main/java/com/azure/compute/batch/models/BatchNodeRebootOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeRebootParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeReimageOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeReimageOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeReimageParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettings.java","src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettingsGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeRemoveParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeSchedulingDisableOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeSchedulingEnableOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeStartOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeState.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeVMExtension.java","src/main/java/com/azure/compute/batch/models/BatchNodesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodesRemoveOptions.java","src/main/java/com/azure/compute/batch/models/BatchOsDisk.java","src/main/java/com/azure/compute/batch/models/BatchPool.java","src/main/java/com/azure/compute/batch/models/BatchPoolCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolDisableAutoScaleOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolEnableAutoScaleOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolEnableAutoScaleParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolEndpointConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchPoolEvaluateAutoScaleOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolEvaluateAutoScaleParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolExistsOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolIdentity.java","src/main/java/com/azure/compute/batch/models/BatchPoolIdentityType.java","src/main/java/com/azure/compute/batch/models/BatchPoolInfo.java","src/main/java/com/azure/compute/batch/models/BatchPoolLifetimeOption.java","src/main/java/com/azure/compute/batch/models/BatchPoolNodeCounts.java","src/main/java/com/azure/compute/batch/models/BatchPoolNodeCountsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolPropertiesReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolReplaceParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolResizeOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolResizeParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolResizeStopOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolResourceStatistics.java","src/main/java/com/azure/compute/batch/models/BatchPoolSpecification.java","src/main/java/com/azure/compute/batch/models/BatchPoolState.java","src/main/java/com/azure/compute/batch/models/BatchPoolStatistics.java","src/main/java/com/azure/compute/batch/models/BatchPoolUpdateOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolUsageMetrics.java","src/main/java/com/azure/compute/batch/models/BatchPoolUsageMetricsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolUsageStatistics.java","src/main/java/com/azure/compute/batch/models/BatchPoolsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchPublicIpAddressConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchStartTask.java","src/main/java/com/azure/compute/batch/models/BatchStartTaskInfo.java","src/main/java/com/azure/compute/batch/models/BatchStartTaskState.java","src/main/java/com/azure/compute/batch/models/BatchSubTasksListOptions.java","src/main/java/com/azure/compute/batch/models/BatchSubtask.java","src/main/java/com/azure/compute/batch/models/BatchSubtaskState.java","src/main/java/com/azure/compute/batch/models/BatchSupportedImage.java","src/main/java/com/azure/compute/batch/models/BatchTask.java","src/main/java/com/azure/compute/batch/models/BatchTaskAddStatus.java","src/main/java/com/azure/compute/batch/models/BatchTaskCollectionCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskConstraints.java","src/main/java/com/azure/compute/batch/models/BatchTaskContainerExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskContainerSettings.java","src/main/java/com/azure/compute/batch/models/BatchTaskCounts.java","src/main/java/com/azure/compute/batch/models/BatchTaskCountsResult.java","src/main/java/com/azure/compute/batch/models/BatchTaskCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchTaskCreateResult.java","src/main/java/com/azure/compute/batch/models/BatchTaskDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskDependencies.java","src/main/java/com/azure/compute/batch/models/BatchTaskExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskExecutionResult.java","src/main/java/com/azure/compute/batch/models/BatchTaskFailureInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskFailureMode.java","src/main/java/com/azure/compute/batch/models/BatchTaskFileDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskFileGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskFilePropertiesGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskFilesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskGroup.java","src/main/java/com/azure/compute/batch/models/BatchTaskIdRange.java","src/main/java/com/azure/compute/batch/models/BatchTaskInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskReactivateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskSchedulingPolicy.java","src/main/java/com/azure/compute/batch/models/BatchTaskSlotCounts.java","src/main/java/com/azure/compute/batch/models/BatchTaskState.java","src/main/java/com/azure/compute/batch/models/BatchTaskStatistics.java","src/main/java/com/azure/compute/batch/models/BatchTaskTerminateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTasksListOptions.java","src/main/java/com/azure/compute/batch/models/BatchUefiSettings.java","src/main/java/com/azure/compute/batch/models/BatchUserAssignedIdentity.java","src/main/java/com/azure/compute/batch/models/BatchVmDiskSecurityProfile.java","src/main/java/com/azure/compute/batch/models/BatchVmImageReference.java","src/main/java/com/azure/compute/batch/models/CachingType.java","src/main/java/com/azure/compute/batch/models/CifsMountConfiguration.java","src/main/java/com/azure/compute/batch/models/ContainerHostBatchBindMountEntry.java","src/main/java/com/azure/compute/batch/models/ContainerHostDataPath.java","src/main/java/com/azure/compute/batch/models/ContainerRegistryReference.java","src/main/java/com/azure/compute/batch/models/ContainerType.java","src/main/java/com/azure/compute/batch/models/ContainerWorkingDirectory.java","src/main/java/com/azure/compute/batch/models/DataDisk.java","src/main/java/com/azure/compute/batch/models/DependencyAction.java","src/main/java/com/azure/compute/batch/models/DiffDiskPlacement.java","src/main/java/com/azure/compute/batch/models/DisableBatchJobOption.java","src/main/java/com/azure/compute/batch/models/DiskEncryptionConfiguration.java","src/main/java/com/azure/compute/batch/models/DiskEncryptionTarget.java","src/main/java/com/azure/compute/batch/models/DynamicVNetAssignmentScope.java","src/main/java/com/azure/compute/batch/models/ElevationLevel.java","src/main/java/com/azure/compute/batch/models/EnvironmentSetting.java","src/main/java/com/azure/compute/batch/models/ExitCodeMapping.java","src/main/java/com/azure/compute/batch/models/ExitCodeRangeMapping.java","src/main/java/com/azure/compute/batch/models/ExitConditions.java","src/main/java/com/azure/compute/batch/models/ExitOptions.java","src/main/java/com/azure/compute/batch/models/FileProperties.java","src/main/java/com/azure/compute/batch/models/ImageVerificationType.java","src/main/java/com/azure/compute/batch/models/InboundEndpoint.java","src/main/java/com/azure/compute/batch/models/InboundEndpointProtocol.java","src/main/java/com/azure/compute/batch/models/InstanceViewStatus.java","src/main/java/com/azure/compute/batch/models/IpAddressProvisioningType.java","src/main/java/com/azure/compute/batch/models/LinuxUserConfiguration.java","src/main/java/com/azure/compute/batch/models/LoginMode.java","src/main/java/com/azure/compute/batch/models/ManagedDisk.java","src/main/java/com/azure/compute/batch/models/MountConfiguration.java","src/main/java/com/azure/compute/batch/models/MultiInstanceSettings.java","src/main/java/com/azure/compute/batch/models/NameValuePair.java","src/main/java/com/azure/compute/batch/models/NetworkConfiguration.java","src/main/java/com/azure/compute/batch/models/NetworkSecurityGroupRule.java","src/main/java/com/azure/compute/batch/models/NetworkSecurityGroupRuleAccess.java","src/main/java/com/azure/compute/batch/models/NfsMountConfiguration.java","src/main/java/com/azure/compute/batch/models/OSType.java","src/main/java/com/azure/compute/batch/models/OutputFile.java","src/main/java/com/azure/compute/batch/models/OutputFileBlobContainerDestination.java","src/main/java/com/azure/compute/batch/models/OutputFileDestination.java","src/main/java/com/azure/compute/batch/models/OutputFileUploadCondition.java","src/main/java/com/azure/compute/batch/models/OutputFileUploadConfig.java","src/main/java/com/azure/compute/batch/models/OutputFileUploadHeader.java","src/main/java/com/azure/compute/batch/models/RecentBatchJob.java","src/main/java/com/azure/compute/batch/models/ResizeError.java","src/main/java/com/azure/compute/batch/models/ResourceFile.java","src/main/java/com/azure/compute/batch/models/RollingUpgradePolicy.java","src/main/java/com/azure/compute/batch/models/SchedulingState.java","src/main/java/com/azure/compute/batch/models/SecurityEncryptionTypes.java","src/main/java/com/azure/compute/batch/models/SecurityProfile.java","src/main/java/com/azure/compute/batch/models/SecurityTypes.java","src/main/java/com/azure/compute/batch/models/ServiceArtifactReference.java","src/main/java/com/azure/compute/batch/models/StatusLevelTypes.java","src/main/java/com/azure/compute/batch/models/StorageAccountType.java","src/main/java/com/azure/compute/batch/models/SupportedBatchImagesListOptions.java","src/main/java/com/azure/compute/batch/models/UpgradeMode.java","src/main/java/com/azure/compute/batch/models/UpgradePolicy.java","src/main/java/com/azure/compute/batch/models/UploadBatchServiceLogsParameters.java","src/main/java/com/azure/compute/batch/models/UploadBatchServiceLogsResult.java","src/main/java/com/azure/compute/batch/models/UserAccount.java","src/main/java/com/azure/compute/batch/models/UserIdentity.java","src/main/java/com/azure/compute/batch/models/VMExtension.java","src/main/java/com/azure/compute/batch/models/VMExtensionInstanceView.java","src/main/java/com/azure/compute/batch/models/VirtualMachineConfiguration.java","src/main/java/com/azure/compute/batch/models/VirtualMachineInfo.java","src/main/java/com/azure/compute/batch/models/WindowsConfiguration.java","src/main/java/com/azure/compute/batch/models/WindowsUserConfiguration.java","src/main/java/com/azure/compute/batch/models/package-info.java","src/main/java/com/azure/compute/batch/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersion":"2025-06-01","crossLanguageDefinitions":{"com.azure.compute.batch.BatchAsyncClient":"Client.BatchClient","com.azure.compute.batch.BatchAsyncClient.createJob":"Client.BatchClient.createJob","com.azure.compute.batch.BatchAsyncClient.createJobSchedule":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchAsyncClient.createJobScheduleWithResponse":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchAsyncClient.createJobWithResponse":"Client.BatchClient.createJob","com.azure.compute.batch.BatchAsyncClient.createNodeUser":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchAsyncClient.createNodeUserWithResponse":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchAsyncClient.createPool":"Client.BatchClient.createPool","com.azure.compute.batch.BatchAsyncClient.createPoolWithResponse":"Client.BatchClient.createPool","com.azure.compute.batch.BatchAsyncClient.createTask":"Client.BatchClient.createTask","com.azure.compute.batch.BatchAsyncClient.createTaskCollection":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchAsyncClient.createTaskCollectionWithResponse":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchAsyncClient.createTaskWithResponse":"Client.BatchClient.createTask","com.azure.compute.batch.BatchAsyncClient.deallocateNode":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchAsyncClient.deallocateNodeWithResponse":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchAsyncClient.deleteJob":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchAsyncClient.deleteJobSchedule":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchAsyncClient.deleteJobScheduleWithResponse":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchAsyncClient.deleteJobWithResponse":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchAsyncClient.deleteNodeFile":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchAsyncClient.deleteNodeFileWithResponse":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchAsyncClient.deleteNodeUser":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchAsyncClient.deleteNodeUserWithResponse":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchAsyncClient.deletePool":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchAsyncClient.deletePoolWithResponse":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchAsyncClient.deleteTask":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchAsyncClient.deleteTaskFile":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchAsyncClient.deleteTaskFileWithResponse":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchAsyncClient.deleteTaskWithResponse":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchAsyncClient.disableJob":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchAsyncClient.disableJobSchedule":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchAsyncClient.disableJobScheduleWithResponse":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchAsyncClient.disableJobWithResponse":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchAsyncClient.disableNodeScheduling":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.disableNodeSchedulingWithResponse":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.disablePoolAutoScale":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.disablePoolAutoScaleWithResponse":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.enableJob":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchAsyncClient.enableJobSchedule":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchAsyncClient.enableJobScheduleWithResponse":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchAsyncClient.enableJobWithResponse":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchAsyncClient.enableNodeScheduling":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.enableNodeSchedulingWithResponse":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchAsyncClient.enablePoolAutoScale":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.enablePoolAutoScaleWithResponse":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.evaluatePoolAutoScale":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.evaluatePoolAutoScaleWithResponse":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchAsyncClient.getApplication":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchAsyncClient.getApplicationWithResponse":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchAsyncClient.getJob":"Client.BatchClient.getJob","com.azure.compute.batch.BatchAsyncClient.getJobSchedule":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchAsyncClient.getJobScheduleWithResponse":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchAsyncClient.getJobTaskCounts":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchAsyncClient.getJobTaskCountsWithResponse":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchAsyncClient.getJobWithResponse":"Client.BatchClient.getJob","com.azure.compute.batch.BatchAsyncClient.getNode":"Client.BatchClient.getNode","com.azure.compute.batch.BatchAsyncClient.getNodeExtension":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchAsyncClient.getNodeExtensionWithResponse":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchAsyncClient.getNodeFile":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchAsyncClient.getNodeFileProperties":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchAsyncClient.getNodeFilePropertiesWithResponse":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchAsyncClient.getNodeFileWithResponse":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchAsyncClient.getNodeRemoteLoginSettings":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchAsyncClient.getNodeRemoteLoginSettingsWithResponse":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchAsyncClient.getNodeWithResponse":"Client.BatchClient.getNode","com.azure.compute.batch.BatchAsyncClient.getPool":"Client.BatchClient.getPool","com.azure.compute.batch.BatchAsyncClient.getPoolWithResponse":"Client.BatchClient.getPool","com.azure.compute.batch.BatchAsyncClient.getTask":"Client.BatchClient.getTask","com.azure.compute.batch.BatchAsyncClient.getTaskFile":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchAsyncClient.getTaskFileProperties":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchAsyncClient.getTaskFilePropertiesWithResponse":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchAsyncClient.getTaskFileWithResponse":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchAsyncClient.getTaskWithResponse":"Client.BatchClient.getTask","com.azure.compute.batch.BatchAsyncClient.jobScheduleExists":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchAsyncClient.jobScheduleExistsWithResponse":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchAsyncClient.listApplications":"Client.BatchClient.listApplications","com.azure.compute.batch.BatchAsyncClient.listJobPreparationAndReleaseTaskStatus":"Client.BatchClient.listJobPreparationAndReleaseTaskStatus","com.azure.compute.batch.BatchAsyncClient.listJobSchedules":"Client.BatchClient.listJobSchedules","com.azure.compute.batch.BatchAsyncClient.listJobs":"Client.BatchClient.listJobs","com.azure.compute.batch.BatchAsyncClient.listJobsFromSchedule":"Client.BatchClient.listJobsFromSchedule","com.azure.compute.batch.BatchAsyncClient.listNodeExtensions":"Client.BatchClient.listNodeExtensions","com.azure.compute.batch.BatchAsyncClient.listNodeFiles":"Client.BatchClient.listNodeFiles","com.azure.compute.batch.BatchAsyncClient.listNodes":"Client.BatchClient.listNodes","com.azure.compute.batch.BatchAsyncClient.listPoolNodeCounts":"Client.BatchClient.listPoolNodeCounts","com.azure.compute.batch.BatchAsyncClient.listPoolUsageMetrics":"Client.BatchClient.listPoolUsageMetrics","com.azure.compute.batch.BatchAsyncClient.listPools":"Client.BatchClient.listPools","com.azure.compute.batch.BatchAsyncClient.listSubTasks":"Client.BatchClient.listSubTasks","com.azure.compute.batch.BatchAsyncClient.listSupportedImages":"Client.BatchClient.listSupportedImages","com.azure.compute.batch.BatchAsyncClient.listTaskFiles":"Client.BatchClient.listTaskFiles","com.azure.compute.batch.BatchAsyncClient.listTasks":"Client.BatchClient.listTasks","com.azure.compute.batch.BatchAsyncClient.poolExists":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchAsyncClient.poolExistsWithResponse":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchAsyncClient.reactivateTask":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchAsyncClient.reactivateTaskWithResponse":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchAsyncClient.rebootNode":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchAsyncClient.rebootNodeWithResponse":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchAsyncClient.reimageNode":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchAsyncClient.reimageNodeWithResponse":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchAsyncClient.removeNodes":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchAsyncClient.removeNodesWithResponse":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchAsyncClient.replaceJob":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchAsyncClient.replaceJobSchedule":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchAsyncClient.replaceJobScheduleWithResponse":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchAsyncClient.replaceJobWithResponse":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchAsyncClient.replaceNodeUser":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchAsyncClient.replaceNodeUserWithResponse":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchAsyncClient.replacePoolProperties":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchAsyncClient.replacePoolPropertiesWithResponse":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchAsyncClient.replaceTask":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchAsyncClient.replaceTaskWithResponse":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchAsyncClient.resizePool":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchAsyncClient.resizePoolWithResponse":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchAsyncClient.startNode":"Client.BatchClient.startNode","com.azure.compute.batch.BatchAsyncClient.startNodeWithResponse":"Client.BatchClient.startNode","com.azure.compute.batch.BatchAsyncClient.stopPoolResize":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchAsyncClient.stopPoolResizeWithResponse":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchAsyncClient.terminateJob":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchAsyncClient.terminateJobSchedule":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchAsyncClient.terminateJobScheduleWithResponse":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchAsyncClient.terminateJobWithResponse":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchAsyncClient.terminateTask":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchAsyncClient.terminateTaskWithResponse":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchAsyncClient.updateJob":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchAsyncClient.updateJobSchedule":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchAsyncClient.updateJobScheduleWithResponse":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchAsyncClient.updateJobWithResponse":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchAsyncClient.updatePool":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchAsyncClient.updatePoolWithResponse":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchAsyncClient.uploadNodeLogs":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchAsyncClient.uploadNodeLogsWithResponse":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchClient":"Client.BatchClient","com.azure.compute.batch.BatchClient.createJob":"Client.BatchClient.createJob","com.azure.compute.batch.BatchClient.createJobSchedule":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchClient.createJobScheduleWithResponse":"Client.BatchClient.createJobSchedule","com.azure.compute.batch.BatchClient.createJobWithResponse":"Client.BatchClient.createJob","com.azure.compute.batch.BatchClient.createNodeUser":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchClient.createNodeUserWithResponse":"Client.BatchClient.createNodeUser","com.azure.compute.batch.BatchClient.createPool":"Client.BatchClient.createPool","com.azure.compute.batch.BatchClient.createPoolWithResponse":"Client.BatchClient.createPool","com.azure.compute.batch.BatchClient.createTask":"Client.BatchClient.createTask","com.azure.compute.batch.BatchClient.createTaskCollection":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchClient.createTaskCollectionWithResponse":"Client.BatchClient.createTaskCollection","com.azure.compute.batch.BatchClient.createTaskWithResponse":"Client.BatchClient.createTask","com.azure.compute.batch.BatchClient.deallocateNode":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchClient.deallocateNodeWithResponse":"Client.BatchClient.deallocateNode","com.azure.compute.batch.BatchClient.deleteJob":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchClient.deleteJobSchedule":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchClient.deleteJobScheduleWithResponse":"Client.BatchClient.deleteJobSchedule","com.azure.compute.batch.BatchClient.deleteJobWithResponse":"Client.BatchClient.deleteJob","com.azure.compute.batch.BatchClient.deleteNodeFile":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchClient.deleteNodeFileWithResponse":"Client.BatchClient.deleteNodeFile","com.azure.compute.batch.BatchClient.deleteNodeUser":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchClient.deleteNodeUserWithResponse":"Client.BatchClient.deleteNodeUser","com.azure.compute.batch.BatchClient.deletePool":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchClient.deletePoolWithResponse":"Client.BatchClient.deletePool","com.azure.compute.batch.BatchClient.deleteTask":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchClient.deleteTaskFile":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchClient.deleteTaskFileWithResponse":"Client.BatchClient.deleteTaskFile","com.azure.compute.batch.BatchClient.deleteTaskWithResponse":"Client.BatchClient.deleteTask","com.azure.compute.batch.BatchClient.disableJob":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchClient.disableJobSchedule":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchClient.disableJobScheduleWithResponse":"Client.BatchClient.disableJobSchedule","com.azure.compute.batch.BatchClient.disableJobWithResponse":"Client.BatchClient.disableJob","com.azure.compute.batch.BatchClient.disableNodeScheduling":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchClient.disableNodeSchedulingWithResponse":"Client.BatchClient.disableNodeScheduling","com.azure.compute.batch.BatchClient.disablePoolAutoScale":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchClient.disablePoolAutoScaleWithResponse":"Client.BatchClient.disablePoolAutoScale","com.azure.compute.batch.BatchClient.enableJob":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchClient.enableJobSchedule":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchClient.enableJobScheduleWithResponse":"Client.BatchClient.enableJobSchedule","com.azure.compute.batch.BatchClient.enableJobWithResponse":"Client.BatchClient.enableJob","com.azure.compute.batch.BatchClient.enableNodeScheduling":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchClient.enableNodeSchedulingWithResponse":"Client.BatchClient.enableNodeScheduling","com.azure.compute.batch.BatchClient.enablePoolAutoScale":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchClient.enablePoolAutoScaleWithResponse":"Client.BatchClient.enablePoolAutoScale","com.azure.compute.batch.BatchClient.evaluatePoolAutoScale":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchClient.evaluatePoolAutoScaleWithResponse":"Client.BatchClient.evaluatePoolAutoScale","com.azure.compute.batch.BatchClient.getApplication":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchClient.getApplicationWithResponse":"Client.BatchClient.getApplication","com.azure.compute.batch.BatchClient.getJob":"Client.BatchClient.getJob","com.azure.compute.batch.BatchClient.getJobSchedule":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchClient.getJobScheduleWithResponse":"Client.BatchClient.getJobSchedule","com.azure.compute.batch.BatchClient.getJobTaskCounts":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchClient.getJobTaskCountsWithResponse":"Client.BatchClient.getJobTaskCounts","com.azure.compute.batch.BatchClient.getJobWithResponse":"Client.BatchClient.getJob","com.azure.compute.batch.BatchClient.getNode":"Client.BatchClient.getNode","com.azure.compute.batch.BatchClient.getNodeExtension":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchClient.getNodeExtensionWithResponse":"Client.BatchClient.getNodeExtension","com.azure.compute.batch.BatchClient.getNodeFile":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchClient.getNodeFileProperties":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchClient.getNodeFilePropertiesWithResponse":"Client.BatchClient.getNodeFileProperties","com.azure.compute.batch.BatchClient.getNodeFileWithResponse":"Client.BatchClient.getNodeFile","com.azure.compute.batch.BatchClient.getNodeRemoteLoginSettings":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchClient.getNodeRemoteLoginSettingsWithResponse":"Client.BatchClient.getNodeRemoteLoginSettings","com.azure.compute.batch.BatchClient.getNodeWithResponse":"Client.BatchClient.getNode","com.azure.compute.batch.BatchClient.getPool":"Client.BatchClient.getPool","com.azure.compute.batch.BatchClient.getPoolWithResponse":"Client.BatchClient.getPool","com.azure.compute.batch.BatchClient.getTask":"Client.BatchClient.getTask","com.azure.compute.batch.BatchClient.getTaskFile":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchClient.getTaskFileProperties":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchClient.getTaskFilePropertiesWithResponse":"Client.BatchClient.getTaskFileProperties","com.azure.compute.batch.BatchClient.getTaskFileWithResponse":"Client.BatchClient.getTaskFile","com.azure.compute.batch.BatchClient.getTaskWithResponse":"Client.BatchClient.getTask","com.azure.compute.batch.BatchClient.jobScheduleExists":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchClient.jobScheduleExistsWithResponse":"Client.BatchClient.jobScheduleExists","com.azure.compute.batch.BatchClient.listApplications":"Client.BatchClient.listApplications","com.azure.compute.batch.BatchClient.listJobPreparationAndReleaseTaskStatus":"Client.BatchClient.listJobPreparationAndReleaseTaskStatus","com.azure.compute.batch.BatchClient.listJobSchedules":"Client.BatchClient.listJobSchedules","com.azure.compute.batch.BatchClient.listJobs":"Client.BatchClient.listJobs","com.azure.compute.batch.BatchClient.listJobsFromSchedule":"Client.BatchClient.listJobsFromSchedule","com.azure.compute.batch.BatchClient.listNodeExtensions":"Client.BatchClient.listNodeExtensions","com.azure.compute.batch.BatchClient.listNodeFiles":"Client.BatchClient.listNodeFiles","com.azure.compute.batch.BatchClient.listNodes":"Client.BatchClient.listNodes","com.azure.compute.batch.BatchClient.listPoolNodeCounts":"Client.BatchClient.listPoolNodeCounts","com.azure.compute.batch.BatchClient.listPoolUsageMetrics":"Client.BatchClient.listPoolUsageMetrics","com.azure.compute.batch.BatchClient.listPools":"Client.BatchClient.listPools","com.azure.compute.batch.BatchClient.listSubTasks":"Client.BatchClient.listSubTasks","com.azure.compute.batch.BatchClient.listSupportedImages":"Client.BatchClient.listSupportedImages","com.azure.compute.batch.BatchClient.listTaskFiles":"Client.BatchClient.listTaskFiles","com.azure.compute.batch.BatchClient.listTasks":"Client.BatchClient.listTasks","com.azure.compute.batch.BatchClient.poolExists":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchClient.poolExistsWithResponse":"Client.BatchClient.poolExists","com.azure.compute.batch.BatchClient.reactivateTask":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchClient.reactivateTaskWithResponse":"Client.BatchClient.reactivateTask","com.azure.compute.batch.BatchClient.rebootNode":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchClient.rebootNodeWithResponse":"Client.BatchClient.rebootNode","com.azure.compute.batch.BatchClient.reimageNode":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchClient.reimageNodeWithResponse":"Client.BatchClient.reimageNode","com.azure.compute.batch.BatchClient.removeNodes":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchClient.removeNodesWithResponse":"Client.BatchClient.removeNodes","com.azure.compute.batch.BatchClient.replaceJob":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchClient.replaceJobSchedule":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchClient.replaceJobScheduleWithResponse":"Client.BatchClient.replaceJobSchedule","com.azure.compute.batch.BatchClient.replaceJobWithResponse":"Client.BatchClient.replaceJob","com.azure.compute.batch.BatchClient.replaceNodeUser":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchClient.replaceNodeUserWithResponse":"Client.BatchClient.replaceNodeUser","com.azure.compute.batch.BatchClient.replacePoolProperties":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchClient.replacePoolPropertiesWithResponse":"Client.BatchClient.replacePoolProperties","com.azure.compute.batch.BatchClient.replaceTask":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchClient.replaceTaskWithResponse":"Client.BatchClient.replaceTask","com.azure.compute.batch.BatchClient.resizePool":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchClient.resizePoolWithResponse":"Client.BatchClient.resizePool","com.azure.compute.batch.BatchClient.startNode":"Client.BatchClient.startNode","com.azure.compute.batch.BatchClient.startNodeWithResponse":"Client.BatchClient.startNode","com.azure.compute.batch.BatchClient.stopPoolResize":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchClient.stopPoolResizeWithResponse":"Client.BatchClient.stopPoolResize","com.azure.compute.batch.BatchClient.terminateJob":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchClient.terminateJobSchedule":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchClient.terminateJobScheduleWithResponse":"Client.BatchClient.terminateJobSchedule","com.azure.compute.batch.BatchClient.terminateJobWithResponse":"Client.BatchClient.terminateJob","com.azure.compute.batch.BatchClient.terminateTask":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchClient.terminateTaskWithResponse":"Client.BatchClient.terminateTask","com.azure.compute.batch.BatchClient.updateJob":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchClient.updateJobSchedule":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchClient.updateJobScheduleWithResponse":"Client.BatchClient.updateJobSchedule","com.azure.compute.batch.BatchClient.updateJobWithResponse":"Client.BatchClient.updateJob","com.azure.compute.batch.BatchClient.updatePool":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchClient.updatePoolWithResponse":"Client.BatchClient.updatePool","com.azure.compute.batch.BatchClient.uploadNodeLogs":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchClient.uploadNodeLogsWithResponse":"Client.BatchClient.uploadNodeLogs","com.azure.compute.batch.BatchClientBuilder":"Client.BatchClient","com.azure.compute.batch.models.AllocationState":"Azure.Batch.AllocationState","com.azure.compute.batch.models.AuthenticationTokenSettings":"Azure.Batch.AuthenticationTokenSettings","com.azure.compute.batch.models.AutoScaleRun":"Azure.Batch.AutoScaleRun","com.azure.compute.batch.models.AutoScaleRunError":"Azure.Batch.AutoScaleRunError","com.azure.compute.batch.models.AutoUserScope":"Azure.Batch.AutoUserScope","com.azure.compute.batch.models.AutoUserSpecification":"Azure.Batch.AutoUserSpecification","com.azure.compute.batch.models.AutomaticOsUpgradePolicy":"Azure.Batch.AutomaticOsUpgradePolicy","com.azure.compute.batch.models.AzureBlobFileSystemConfiguration":"Azure.Batch.AzureBlobFileSystemConfiguration","com.azure.compute.batch.models.AzureFileShareConfiguration":"Azure.Batch.AzureFileShareConfiguration","com.azure.compute.batch.models.BatchAccessScope":"Azure.Batch.BatchAccessScope","com.azure.compute.batch.models.BatchAffinityInfo":"Azure.Batch.BatchAffinityInfo","com.azure.compute.batch.models.BatchAllTasksCompleteMode":"Azure.Batch.BatchAllTasksCompleteMode","com.azure.compute.batch.models.BatchApplication":"Azure.Batch.BatchApplication","com.azure.compute.batch.models.BatchApplicationGetOptions":null,"com.azure.compute.batch.models.BatchApplicationPackageReference":"Azure.Batch.BatchApplicationPackageReference","com.azure.compute.batch.models.BatchApplicationsListOptions":null,"com.azure.compute.batch.models.BatchAutoPoolSpecification":"Azure.Batch.BatchAutoPoolSpecification","com.azure.compute.batch.models.BatchContainerConfiguration":"Azure.Batch.BatchContainerConfiguration","com.azure.compute.batch.models.BatchCreateTaskCollectionResult":"Azure.Batch.BatchCreateTaskCollectionResult","com.azure.compute.batch.models.BatchDiffDiskSettings":"Azure.Batch.BatchDiffDiskSettings","com.azure.compute.batch.models.BatchError":"Azure.Batch.BatchError","com.azure.compute.batch.models.BatchErrorDetail":"Azure.Batch.BatchErrorDetail","com.azure.compute.batch.models.BatchErrorMessage":"Azure.Batch.BatchErrorMessage","com.azure.compute.batch.models.BatchErrorSourceCategory":"Azure.Batch.BatchErrorSourceCategory","com.azure.compute.batch.models.BatchInboundNatPool":"Azure.Batch.BatchInboundNatPool","com.azure.compute.batch.models.BatchJob":"Azure.Batch.BatchJob","com.azure.compute.batch.models.BatchJobActionKind":"Azure.Batch.BatchJobActionKind","com.azure.compute.batch.models.BatchJobConstraints":"Azure.Batch.BatchJobConstraints","com.azure.compute.batch.models.BatchJobCreateOptions":null,"com.azure.compute.batch.models.BatchJobCreateParameters":"Azure.Batch.BatchJobCreateOptions","com.azure.compute.batch.models.BatchJobDefaultOrder":"Azure.Batch.BatchJobDefaultOrder","com.azure.compute.batch.models.BatchJobDeleteOptions":null,"com.azure.compute.batch.models.BatchJobDisableOptions":null,"com.azure.compute.batch.models.BatchJobDisableParameters":"Azure.Batch.BatchJobDisableOptions","com.azure.compute.batch.models.BatchJobEnableOptions":null,"com.azure.compute.batch.models.BatchJobExecutionInfo":"Azure.Batch.BatchJobExecutionInfo","com.azure.compute.batch.models.BatchJobGetOptions":null,"com.azure.compute.batch.models.BatchJobManagerTask":"Azure.Batch.BatchJobManagerTask","com.azure.compute.batch.models.BatchJobNetworkConfiguration":"Azure.Batch.BatchJobNetworkConfiguration","com.azure.compute.batch.models.BatchJobPreparationAndReleaseTaskStatus":"Azure.Batch.BatchJobPreparationAndReleaseTaskStatus","com.azure.compute.batch.models.BatchJobPreparationAndReleaseTaskStatusListOptions":null,"com.azure.compute.batch.models.BatchJobPreparationTask":"Azure.Batch.BatchJobPreparationTask","com.azure.compute.batch.models.BatchJobPreparationTaskExecutionInfo":"Azure.Batch.BatchJobPreparationTaskExecutionInfo","com.azure.compute.batch.models.BatchJobPreparationTaskState":"Azure.Batch.BatchJobPreparationTaskState","com.azure.compute.batch.models.BatchJobReleaseTask":"Azure.Batch.BatchJobReleaseTask","com.azure.compute.batch.models.BatchJobReleaseTaskExecutionInfo":"Azure.Batch.BatchJobReleaseTaskExecutionInfo","com.azure.compute.batch.models.BatchJobReleaseTaskState":"Azure.Batch.BatchJobReleaseTaskState","com.azure.compute.batch.models.BatchJobReplaceOptions":null,"com.azure.compute.batch.models.BatchJobSchedule":"Azure.Batch.BatchJobSchedule","com.azure.compute.batch.models.BatchJobScheduleConfiguration":"Azure.Batch.BatchJobScheduleConfiguration","com.azure.compute.batch.models.BatchJobScheduleCreateOptions":null,"com.azure.compute.batch.models.BatchJobScheduleCreateParameters":"Azure.Batch.BatchJobScheduleCreateOptions","com.azure.compute.batch.models.BatchJobScheduleDeleteOptions":null,"com.azure.compute.batch.models.BatchJobScheduleDisableOptions":null,"com.azure.compute.batch.models.BatchJobScheduleEnableOptions":null,"com.azure.compute.batch.models.BatchJobScheduleExecutionInfo":"Azure.Batch.BatchJobScheduleExecutionInfo","com.azure.compute.batch.models.BatchJobScheduleExistsOptions":null,"com.azure.compute.batch.models.BatchJobScheduleGetOptions":null,"com.azure.compute.batch.models.BatchJobScheduleReplaceOptions":null,"com.azure.compute.batch.models.BatchJobScheduleState":"Azure.Batch.BatchJobScheduleState","com.azure.compute.batch.models.BatchJobScheduleStatistics":"Azure.Batch.BatchJobScheduleStatistics","com.azure.compute.batch.models.BatchJobScheduleTerminateOptions":null,"com.azure.compute.batch.models.BatchJobScheduleUpdateOptions":null,"com.azure.compute.batch.models.BatchJobScheduleUpdateParameters":"Azure.Batch.BatchJobScheduleUpdateOptions","com.azure.compute.batch.models.BatchJobSchedulesListOptions":null,"com.azure.compute.batch.models.BatchJobSchedulingError":"Azure.Batch.BatchJobSchedulingError","com.azure.compute.batch.models.BatchJobSpecification":"Azure.Batch.BatchJobSpecification","com.azure.compute.batch.models.BatchJobState":"Azure.Batch.BatchJobState","com.azure.compute.batch.models.BatchJobStatistics":"Azure.Batch.BatchJobStatistics","com.azure.compute.batch.models.BatchJobTaskCountsGetOptions":null,"com.azure.compute.batch.models.BatchJobTerminateOptions":null,"com.azure.compute.batch.models.BatchJobTerminateParameters":"Azure.Batch.BatchJobTerminateOptions","com.azure.compute.batch.models.BatchJobUpdateOptions":null,"com.azure.compute.batch.models.BatchJobUpdateParameters":"Azure.Batch.BatchJobUpdateOptions","com.azure.compute.batch.models.BatchJobsFromScheduleListOptions":null,"com.azure.compute.batch.models.BatchJobsListOptions":null,"com.azure.compute.batch.models.BatchMetadataItem":"Azure.Batch.BatchMetadataItem","com.azure.compute.batch.models.BatchNode":"Azure.Batch.BatchNode","com.azure.compute.batch.models.BatchNodeAgentInfo":"Azure.Batch.BatchNodeAgentInfo","com.azure.compute.batch.models.BatchNodeCounts":"Azure.Batch.BatchNodeCounts","com.azure.compute.batch.models.BatchNodeDeallocateOption":"Azure.Batch.BatchNodeDeallocateOption","com.azure.compute.batch.models.BatchNodeDeallocateOptions":null,"com.azure.compute.batch.models.BatchNodeDeallocateParameters":"Azure.Batch.BatchNodeDeallocateOptions","com.azure.compute.batch.models.BatchNodeDeallocationOption":"Azure.Batch.BatchNodeDeallocationOption","com.azure.compute.batch.models.BatchNodeDisableSchedulingOption":"Azure.Batch.BatchNodeDisableSchedulingOption","com.azure.compute.batch.models.BatchNodeDisableSchedulingParameters":"Azure.Batch.BatchNodeDisableSchedulingOptions","com.azure.compute.batch.models.BatchNodeEndpointConfiguration":"Azure.Batch.BatchNodeEndpointConfiguration","com.azure.compute.batch.models.BatchNodeError":"Azure.Batch.BatchNodeError","com.azure.compute.batch.models.BatchNodeExtensionGetOptions":null,"com.azure.compute.batch.models.BatchNodeExtensionsListOptions":null,"com.azure.compute.batch.models.BatchNodeFile":"Azure.Batch.BatchNodeFile","com.azure.compute.batch.models.BatchNodeFileDeleteOptions":null,"com.azure.compute.batch.models.BatchNodeFileGetOptions":null,"com.azure.compute.batch.models.BatchNodeFilePropertiesGetOptions":null,"com.azure.compute.batch.models.BatchNodeFilesListOptions":null,"com.azure.compute.batch.models.BatchNodeFillType":"Azure.Batch.BatchNodeFillType","com.azure.compute.batch.models.BatchNodeGetOptions":null,"com.azure.compute.batch.models.BatchNodeIdentityReference":"Azure.Batch.BatchNodeIdentityReference","com.azure.compute.batch.models.BatchNodeInfo":"Azure.Batch.BatchNodeInfo","com.azure.compute.batch.models.BatchNodeLogsUploadOptions":null,"com.azure.compute.batch.models.BatchNodePlacementConfiguration":"Azure.Batch.BatchNodePlacementConfiguration","com.azure.compute.batch.models.BatchNodePlacementPolicyType":"Azure.Batch.BatchNodePlacementPolicyType","com.azure.compute.batch.models.BatchNodeRebootKind":"Azure.Batch.BatchNodeRebootKind","com.azure.compute.batch.models.BatchNodeRebootOptions":null,"com.azure.compute.batch.models.BatchNodeRebootParameters":"Azure.Batch.BatchNodeRebootOptions","com.azure.compute.batch.models.BatchNodeReimageOption":"Azure.Batch.BatchNodeReimageOption","com.azure.compute.batch.models.BatchNodeReimageOptions":null,"com.azure.compute.batch.models.BatchNodeReimageParameters":"Azure.Batch.BatchNodeReimageOptions","com.azure.compute.batch.models.BatchNodeRemoteLoginSettings":"Azure.Batch.BatchNodeRemoteLoginSettings","com.azure.compute.batch.models.BatchNodeRemoteLoginSettingsGetOptions":null,"com.azure.compute.batch.models.BatchNodeRemoveParameters":"Azure.Batch.BatchNodeRemoveOptions","com.azure.compute.batch.models.BatchNodeSchedulingDisableOptions":null,"com.azure.compute.batch.models.BatchNodeSchedulingEnableOptions":null,"com.azure.compute.batch.models.BatchNodeStartOptions":null,"com.azure.compute.batch.models.BatchNodeState":"Azure.Batch.BatchNodeState","com.azure.compute.batch.models.BatchNodeUserCreateOptions":null,"com.azure.compute.batch.models.BatchNodeUserCreateParameters":"Azure.Batch.BatchNodeUserCreateOptions","com.azure.compute.batch.models.BatchNodeUserDeleteOptions":null,"com.azure.compute.batch.models.BatchNodeUserReplaceOptions":null,"com.azure.compute.batch.models.BatchNodeUserUpdateParameters":"Azure.Batch.BatchNodeUserUpdateOptions","com.azure.compute.batch.models.BatchNodeVMExtension":"Azure.Batch.BatchNodeVMExtension","com.azure.compute.batch.models.BatchNodesListOptions":null,"com.azure.compute.batch.models.BatchNodesRemoveOptions":null,"com.azure.compute.batch.models.BatchOsDisk":"Azure.Batch.BatchOsDisk","com.azure.compute.batch.models.BatchPool":"Azure.Batch.BatchPool","com.azure.compute.batch.models.BatchPoolCreateOptions":null,"com.azure.compute.batch.models.BatchPoolCreateParameters":"Azure.Batch.BatchPoolCreateOptions","com.azure.compute.batch.models.BatchPoolDeleteOptions":null,"com.azure.compute.batch.models.BatchPoolDisableAutoScaleOptions":null,"com.azure.compute.batch.models.BatchPoolEnableAutoScaleOptions":null,"com.azure.compute.batch.models.BatchPoolEnableAutoScaleParameters":"Azure.Batch.BatchPoolEnableAutoScaleOptions","com.azure.compute.batch.models.BatchPoolEndpointConfiguration":"Azure.Batch.BatchPoolEndpointConfiguration","com.azure.compute.batch.models.BatchPoolEvaluateAutoScaleOptions":null,"com.azure.compute.batch.models.BatchPoolEvaluateAutoScaleParameters":"Azure.Batch.BatchPoolEvaluateAutoScaleOptions","com.azure.compute.batch.models.BatchPoolExistsOptions":null,"com.azure.compute.batch.models.BatchPoolGetOptions":null,"com.azure.compute.batch.models.BatchPoolIdentity":"Azure.Batch.BatchPoolIdentity","com.azure.compute.batch.models.BatchPoolIdentityReference":"Azure.Batch.BatchPoolIdentityReference","com.azure.compute.batch.models.BatchPoolIdentityType":"Azure.Batch.BatchPoolIdentityType","com.azure.compute.batch.models.BatchPoolInfo":"Azure.Batch.BatchPoolInfo","com.azure.compute.batch.models.BatchPoolLifetimeOption":"Azure.Batch.BatchPoolLifetimeOption","com.azure.compute.batch.models.BatchPoolNodeCounts":"Azure.Batch.BatchPoolNodeCounts","com.azure.compute.batch.models.BatchPoolNodeCountsListOptions":null,"com.azure.compute.batch.models.BatchPoolPropertiesReplaceOptions":null,"com.azure.compute.batch.models.BatchPoolReplaceParameters":"Azure.Batch.BatchPoolReplaceOptions","com.azure.compute.batch.models.BatchPoolResizeOptions":null,"com.azure.compute.batch.models.BatchPoolResizeParameters":"Azure.Batch.BatchPoolResizeOptions","com.azure.compute.batch.models.BatchPoolResizeStopOptions":null,"com.azure.compute.batch.models.BatchPoolResourceStatistics":"Azure.Batch.BatchPoolResourceStatistics","com.azure.compute.batch.models.BatchPoolSpecification":"Azure.Batch.BatchPoolSpecification","com.azure.compute.batch.models.BatchPoolState":"Azure.Batch.BatchPoolState","com.azure.compute.batch.models.BatchPoolStatistics":"Azure.Batch.BatchPoolStatistics","com.azure.compute.batch.models.BatchPoolUpdateOptions":null,"com.azure.compute.batch.models.BatchPoolUpdateParameters":"Azure.Batch.BatchPoolUpdateOptions","com.azure.compute.batch.models.BatchPoolUsageMetrics":"Azure.Batch.BatchPoolUsageMetrics","com.azure.compute.batch.models.BatchPoolUsageMetricsListOptions":null,"com.azure.compute.batch.models.BatchPoolUsageStatistics":"Azure.Batch.BatchPoolUsageStatistics","com.azure.compute.batch.models.BatchPoolsListOptions":null,"com.azure.compute.batch.models.BatchPublicIpAddressConfiguration":"Azure.Batch.BatchPublicIpAddressConfiguration","com.azure.compute.batch.models.BatchStartTask":"Azure.Batch.BatchStartTask","com.azure.compute.batch.models.BatchStartTaskInfo":"Azure.Batch.BatchStartTaskInfo","com.azure.compute.batch.models.BatchStartTaskState":"Azure.Batch.BatchStartTaskState","com.azure.compute.batch.models.BatchSubTasksListOptions":null,"com.azure.compute.batch.models.BatchSubtask":"Azure.Batch.BatchSubtask","com.azure.compute.batch.models.BatchSubtaskState":"Azure.Batch.BatchSubtaskState","com.azure.compute.batch.models.BatchSupportedImage":"Azure.Batch.BatchSupportedImage","com.azure.compute.batch.models.BatchTask":"Azure.Batch.BatchTask","com.azure.compute.batch.models.BatchTaskAddStatus":"Azure.Batch.BatchTaskAddStatus","com.azure.compute.batch.models.BatchTaskCollectionCreateOptions":null,"com.azure.compute.batch.models.BatchTaskConstraints":"Azure.Batch.BatchTaskConstraints","com.azure.compute.batch.models.BatchTaskContainerExecutionInfo":"Azure.Batch.BatchTaskContainerExecutionInfo","com.azure.compute.batch.models.BatchTaskContainerSettings":"Azure.Batch.BatchTaskContainerSettings","com.azure.compute.batch.models.BatchTaskCounts":"Azure.Batch.BatchTaskCounts","com.azure.compute.batch.models.BatchTaskCountsResult":"Azure.Batch.BatchTaskCountsResult","com.azure.compute.batch.models.BatchTaskCreateOptions":null,"com.azure.compute.batch.models.BatchTaskCreateParameters":"Azure.Batch.BatchTaskCreateOptions","com.azure.compute.batch.models.BatchTaskCreateResult":"Azure.Batch.BatchTaskCreateResult","com.azure.compute.batch.models.BatchTaskDeleteOptions":null,"com.azure.compute.batch.models.BatchTaskDependencies":"Azure.Batch.BatchTaskDependencies","com.azure.compute.batch.models.BatchTaskExecutionInfo":"Azure.Batch.BatchTaskExecutionInfo","com.azure.compute.batch.models.BatchTaskExecutionResult":"Azure.Batch.BatchTaskExecutionResult","com.azure.compute.batch.models.BatchTaskFailureInfo":"Azure.Batch.BatchTaskFailureInfo","com.azure.compute.batch.models.BatchTaskFailureMode":"Azure.Batch.BatchTaskFailureMode","com.azure.compute.batch.models.BatchTaskFileDeleteOptions":null,"com.azure.compute.batch.models.BatchTaskFileGetOptions":null,"com.azure.compute.batch.models.BatchTaskFilePropertiesGetOptions":null,"com.azure.compute.batch.models.BatchTaskFilesListOptions":null,"com.azure.compute.batch.models.BatchTaskGetOptions":null,"com.azure.compute.batch.models.BatchTaskGroup":"Azure.Batch.BatchTaskGroup","com.azure.compute.batch.models.BatchTaskIdRange":"Azure.Batch.BatchTaskIdRange","com.azure.compute.batch.models.BatchTaskInfo":"Azure.Batch.BatchTaskInfo","com.azure.compute.batch.models.BatchTaskReactivateOptions":null,"com.azure.compute.batch.models.BatchTaskReplaceOptions":null,"com.azure.compute.batch.models.BatchTaskSchedulingPolicy":"Azure.Batch.BatchTaskSchedulingPolicy","com.azure.compute.batch.models.BatchTaskSlotCounts":"Azure.Batch.BatchTaskSlotCounts","com.azure.compute.batch.models.BatchTaskState":"Azure.Batch.BatchTaskState","com.azure.compute.batch.models.BatchTaskStatistics":"Azure.Batch.BatchTaskStatistics","com.azure.compute.batch.models.BatchTaskTerminateOptions":null,"com.azure.compute.batch.models.BatchTasksListOptions":null,"com.azure.compute.batch.models.BatchUefiSettings":"Azure.Batch.BatchUefiSettings","com.azure.compute.batch.models.BatchUserAssignedIdentity":"Azure.Batch.BatchUserAssignedIdentity","com.azure.compute.batch.models.BatchVmDiskSecurityProfile":"Azure.Batch.BatchVmDiskSecurityProfile","com.azure.compute.batch.models.BatchVmImageReference":"Azure.Batch.BatchVmImageReference","com.azure.compute.batch.models.CachingType":"Azure.Batch.CachingType","com.azure.compute.batch.models.CifsMountConfiguration":"Azure.Batch.CifsMountConfiguration","com.azure.compute.batch.models.ContainerHostBatchBindMountEntry":"Azure.Batch.ContainerHostBatchBindMountEntry","com.azure.compute.batch.models.ContainerHostDataPath":"Azure.Batch.ContainerHostDataPath","com.azure.compute.batch.models.ContainerRegistryReference":"Azure.Batch.ContainerRegistryReference","com.azure.compute.batch.models.ContainerType":"Azure.Batch.ContainerType","com.azure.compute.batch.models.ContainerWorkingDirectory":"Azure.Batch.ContainerWorkingDirectory","com.azure.compute.batch.models.DataDisk":"Azure.Batch.DataDisk","com.azure.compute.batch.models.DependencyAction":"Azure.Batch.DependencyAction","com.azure.compute.batch.models.DiffDiskPlacement":"Azure.Batch.DiffDiskPlacement","com.azure.compute.batch.models.DisableBatchJobOption":"Azure.Batch.DisableBatchJobOption","com.azure.compute.batch.models.DiskCustomerManagedKey":"Azure.Batch.DiskCustomerManagedKey","com.azure.compute.batch.models.DiskEncryptionConfiguration":"Azure.Batch.DiskEncryptionConfiguration","com.azure.compute.batch.models.DiskEncryptionSetParameters":"Azure.Batch.DiskEncryptionSetParameters","com.azure.compute.batch.models.DiskEncryptionTarget":"Azure.Batch.DiskEncryptionTarget","com.azure.compute.batch.models.DynamicVNetAssignmentScope":"Azure.Batch.DynamicVNetAssignmentScope","com.azure.compute.batch.models.ElevationLevel":"Azure.Batch.ElevationLevel","com.azure.compute.batch.models.EnvironmentSetting":"Azure.Batch.EnvironmentSetting","com.azure.compute.batch.models.ExitCodeMapping":"Azure.Batch.ExitCodeMapping","com.azure.compute.batch.models.ExitCodeRangeMapping":"Azure.Batch.ExitCodeRangeMapping","com.azure.compute.batch.models.ExitConditions":"Azure.Batch.ExitConditions","com.azure.compute.batch.models.ExitOptions":"Azure.Batch.ExitOptions","com.azure.compute.batch.models.FileProperties":"Azure.Batch.FileProperties","com.azure.compute.batch.models.HostEndpointSettings":"Azure.Batch.HostEndpointSettings","com.azure.compute.batch.models.HostEndpointSettingsModeTypes":"Azure.Batch.HostEndpointSettingsModeTypes","com.azure.compute.batch.models.IPFamily":"Azure.Batch.IPFamily","com.azure.compute.batch.models.IPTag":"Azure.Batch.IPTag","com.azure.compute.batch.models.ImageVerificationType":"Azure.Batch.ImageVerificationType","com.azure.compute.batch.models.InboundEndpoint":"Azure.Batch.InboundEndpoint","com.azure.compute.batch.models.InboundEndpointProtocol":"Azure.Batch.InboundEndpointProtocol","com.azure.compute.batch.models.InstanceViewStatus":"Azure.Batch.InstanceViewStatus","com.azure.compute.batch.models.IpAddressProvisioningType":"Azure.Batch.IpAddressProvisioningType","com.azure.compute.batch.models.LinuxUserConfiguration":"Azure.Batch.LinuxUserConfiguration","com.azure.compute.batch.models.LoginMode":"Azure.Batch.LoginMode","com.azure.compute.batch.models.ManagedDisk":"Azure.Batch.ManagedDisk","com.azure.compute.batch.models.MountConfiguration":"Azure.Batch.MountConfiguration","com.azure.compute.batch.models.MultiInstanceSettings":"Azure.Batch.MultiInstanceSettings","com.azure.compute.batch.models.NameValuePair":"Azure.Batch.NameValuePair","com.azure.compute.batch.models.NetworkConfiguration":"Azure.Batch.NetworkConfiguration","com.azure.compute.batch.models.NetworkSecurityGroupRule":"Azure.Batch.NetworkSecurityGroupRule","com.azure.compute.batch.models.NetworkSecurityGroupRuleAccess":"Azure.Batch.NetworkSecurityGroupRuleAccess","com.azure.compute.batch.models.NfsMountConfiguration":"Azure.Batch.NfsMountConfiguration","com.azure.compute.batch.models.OSType":"Azure.Batch.OSType","com.azure.compute.batch.models.OutputFile":"Azure.Batch.OutputFile","com.azure.compute.batch.models.OutputFileBlobContainerDestination":"Azure.Batch.OutputFileBlobContainerDestination","com.azure.compute.batch.models.OutputFileDestination":"Azure.Batch.OutputFileDestination","com.azure.compute.batch.models.OutputFileUploadCondition":"Azure.Batch.OutputFileUploadCondition","com.azure.compute.batch.models.OutputFileUploadConfig":"Azure.Batch.OutputFileUploadConfig","com.azure.compute.batch.models.OutputFileUploadHeader":"Azure.Batch.OutputFileUploadHeader","com.azure.compute.batch.models.ProxyAgentSettings":"Azure.Batch.ProxyAgentSettings","com.azure.compute.batch.models.RecentBatchJob":"Azure.Batch.RecentBatchJob","com.azure.compute.batch.models.ResizeError":"Azure.Batch.ResizeError","com.azure.compute.batch.models.ResourceFile":"Azure.Batch.ResourceFile","com.azure.compute.batch.models.RollingUpgradePolicy":"Azure.Batch.RollingUpgradePolicy","com.azure.compute.batch.models.SchedulingState":"Azure.Batch.SchedulingState","com.azure.compute.batch.models.SecurityEncryptionTypes":"Azure.Batch.SecurityEncryptionTypes","com.azure.compute.batch.models.SecurityProfile":"Azure.Batch.SecurityProfile","com.azure.compute.batch.models.SecurityTypes":"Azure.Batch.SecurityTypes","com.azure.compute.batch.models.ServiceArtifactReference":"Azure.Batch.ServiceArtifactReference","com.azure.compute.batch.models.StatusLevelTypes":"Azure.Batch.StatusLevelTypes","com.azure.compute.batch.models.StorageAccountType":"Azure.Batch.StorageAccountType","com.azure.compute.batch.models.SupportedBatchImagesListOptions":null,"com.azure.compute.batch.models.UpgradeMode":"Azure.Batch.UpgradeMode","com.azure.compute.batch.models.UpgradePolicy":"Azure.Batch.UpgradePolicy","com.azure.compute.batch.models.UploadBatchServiceLogsParameters":"Azure.Batch.UploadBatchServiceLogsOptions","com.azure.compute.batch.models.UploadBatchServiceLogsResult":"Azure.Batch.UploadBatchServiceLogsResult","com.azure.compute.batch.models.UserAccount":"Azure.Batch.UserAccount","com.azure.compute.batch.models.UserIdentity":"Azure.Batch.UserIdentity","com.azure.compute.batch.models.VMExtension":"Azure.Batch.VMExtension","com.azure.compute.batch.models.VMExtensionInstanceView":"Azure.Batch.VMExtensionInstanceView","com.azure.compute.batch.models.VirtualMachineConfiguration":"Azure.Batch.VirtualMachineConfiguration","com.azure.compute.batch.models.VirtualMachineInfo":"Azure.Batch.VirtualMachineInfo","com.azure.compute.batch.models.WindowsConfiguration":"Azure.Batch.WindowsConfiguration","com.azure.compute.batch.models.WindowsUserConfiguration":"Azure.Batch.WindowsUserConfiguration"},"generatedFiles":["src/main/java/com/azure/compute/batch/BatchAsyncClient.java","src/main/java/com/azure/compute/batch/BatchClient.java","src/main/java/com/azure/compute/batch/BatchClientBuilder.java","src/main/java/com/azure/compute/batch/BatchServiceVersion.java","src/main/java/com/azure/compute/batch/implementation/BatchClientImpl.java","src/main/java/com/azure/compute/batch/implementation/package-info.java","src/main/java/com/azure/compute/batch/models/AllocationState.java","src/main/java/com/azure/compute/batch/models/AuthenticationTokenSettings.java","src/main/java/com/azure/compute/batch/models/AutoScaleRun.java","src/main/java/com/azure/compute/batch/models/AutoScaleRunError.java","src/main/java/com/azure/compute/batch/models/AutoUserScope.java","src/main/java/com/azure/compute/batch/models/AutoUserSpecification.java","src/main/java/com/azure/compute/batch/models/AutomaticOsUpgradePolicy.java","src/main/java/com/azure/compute/batch/models/AzureBlobFileSystemConfiguration.java","src/main/java/com/azure/compute/batch/models/AzureFileShareConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchAccessScope.java","src/main/java/com/azure/compute/batch/models/BatchAffinityInfo.java","src/main/java/com/azure/compute/batch/models/BatchAllTasksCompleteMode.java","src/main/java/com/azure/compute/batch/models/BatchApplication.java","src/main/java/com/azure/compute/batch/models/BatchApplicationGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchApplicationPackageReference.java","src/main/java/com/azure/compute/batch/models/BatchApplicationsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchAutoPoolSpecification.java","src/main/java/com/azure/compute/batch/models/BatchContainerConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchCreateTaskCollectionResult.java","src/main/java/com/azure/compute/batch/models/BatchDiffDiskSettings.java","src/main/java/com/azure/compute/batch/models/BatchError.java","src/main/java/com/azure/compute/batch/models/BatchErrorDetail.java","src/main/java/com/azure/compute/batch/models/BatchErrorException.java","src/main/java/com/azure/compute/batch/models/BatchErrorMessage.java","src/main/java/com/azure/compute/batch/models/BatchErrorSourceCategory.java","src/main/java/com/azure/compute/batch/models/BatchInboundNatPool.java","src/main/java/com/azure/compute/batch/models/BatchJob.java","src/main/java/com/azure/compute/batch/models/BatchJobActionKind.java","src/main/java/com/azure/compute/batch/models/BatchJobConstraints.java","src/main/java/com/azure/compute/batch/models/BatchJobCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobDefaultOrder.java","src/main/java/com/azure/compute/batch/models/BatchJobDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobDisableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobDisableParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobEnableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobManagerTask.java","src/main/java/com/azure/compute/batch/models/BatchJobNetworkConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationAndReleaseTaskStatus.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationAndReleaseTaskStatusListOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationTask.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationTaskExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobPreparationTaskState.java","src/main/java/com/azure/compute/batch/models/BatchJobReleaseTask.java","src/main/java/com/azure/compute/batch/models/BatchJobReleaseTaskExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobReleaseTaskState.java","src/main/java/com/azure/compute/batch/models/BatchJobReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobSchedule.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleDisableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleEnableOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleExistsOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleState.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleStatistics.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleTerminateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleUpdateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobScheduleUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobSchedulesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobSchedulingError.java","src/main/java/com/azure/compute/batch/models/BatchJobSpecification.java","src/main/java/com/azure/compute/batch/models/BatchJobState.java","src/main/java/com/azure/compute/batch/models/BatchJobStatistics.java","src/main/java/com/azure/compute/batch/models/BatchJobTaskCountsGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobTerminateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobTerminateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobUpdateOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchJobsFromScheduleListOptions.java","src/main/java/com/azure/compute/batch/models/BatchJobsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchMetadataItem.java","src/main/java/com/azure/compute/batch/models/BatchNode.java","src/main/java/com/azure/compute/batch/models/BatchNodeAgentInfo.java","src/main/java/com/azure/compute/batch/models/BatchNodeCounts.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocateOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocateOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocateParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeDeallocationOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeDisableSchedulingOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeDisableSchedulingParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeEndpointConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchNodeError.java","src/main/java/com/azure/compute/batch/models/BatchNodeExtensionGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeExtensionsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFile.java","src/main/java/com/azure/compute/batch/models/BatchNodeFileDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFileGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFilePropertiesGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFilesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeFillType.java","src/main/java/com/azure/compute/batch/models/BatchNodeGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeIdentityReference.java","src/main/java/com/azure/compute/batch/models/BatchNodeInfo.java","src/main/java/com/azure/compute/batch/models/BatchNodeLogsUploadOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodePlacementConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchNodePlacementPolicyType.java","src/main/java/com/azure/compute/batch/models/BatchNodeRebootKind.java","src/main/java/com/azure/compute/batch/models/BatchNodeRebootOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeRebootParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeReimageOption.java","src/main/java/com/azure/compute/batch/models/BatchNodeReimageOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeReimageParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettings.java","src/main/java/com/azure/compute/batch/models/BatchNodeRemoteLoginSettingsGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeRemoveParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeSchedulingDisableOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeSchedulingEnableOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeStartOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeState.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodeUserUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchNodeVMExtension.java","src/main/java/com/azure/compute/batch/models/BatchNodesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchNodesRemoveOptions.java","src/main/java/com/azure/compute/batch/models/BatchOsDisk.java","src/main/java/com/azure/compute/batch/models/BatchPool.java","src/main/java/com/azure/compute/batch/models/BatchPoolCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolDisableAutoScaleOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolEnableAutoScaleOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolEnableAutoScaleParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolEndpointConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchPoolEvaluateAutoScaleOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolEvaluateAutoScaleParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolExistsOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolIdentity.java","src/main/java/com/azure/compute/batch/models/BatchPoolIdentityReference.java","src/main/java/com/azure/compute/batch/models/BatchPoolIdentityType.java","src/main/java/com/azure/compute/batch/models/BatchPoolInfo.java","src/main/java/com/azure/compute/batch/models/BatchPoolLifetimeOption.java","src/main/java/com/azure/compute/batch/models/BatchPoolNodeCounts.java","src/main/java/com/azure/compute/batch/models/BatchPoolNodeCountsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolPropertiesReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolReplaceParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolResizeOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolResizeParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolResizeStopOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolResourceStatistics.java","src/main/java/com/azure/compute/batch/models/BatchPoolSpecification.java","src/main/java/com/azure/compute/batch/models/BatchPoolState.java","src/main/java/com/azure/compute/batch/models/BatchPoolStatistics.java","src/main/java/com/azure/compute/batch/models/BatchPoolUpdateOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolUpdateParameters.java","src/main/java/com/azure/compute/batch/models/BatchPoolUsageMetrics.java","src/main/java/com/azure/compute/batch/models/BatchPoolUsageMetricsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchPoolUsageStatistics.java","src/main/java/com/azure/compute/batch/models/BatchPoolsListOptions.java","src/main/java/com/azure/compute/batch/models/BatchPublicIpAddressConfiguration.java","src/main/java/com/azure/compute/batch/models/BatchStartTask.java","src/main/java/com/azure/compute/batch/models/BatchStartTaskInfo.java","src/main/java/com/azure/compute/batch/models/BatchStartTaskState.java","src/main/java/com/azure/compute/batch/models/BatchSubTasksListOptions.java","src/main/java/com/azure/compute/batch/models/BatchSubtask.java","src/main/java/com/azure/compute/batch/models/BatchSubtaskState.java","src/main/java/com/azure/compute/batch/models/BatchSupportedImage.java","src/main/java/com/azure/compute/batch/models/BatchTask.java","src/main/java/com/azure/compute/batch/models/BatchTaskAddStatus.java","src/main/java/com/azure/compute/batch/models/BatchTaskCollectionCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskConstraints.java","src/main/java/com/azure/compute/batch/models/BatchTaskContainerExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskContainerSettings.java","src/main/java/com/azure/compute/batch/models/BatchTaskCounts.java","src/main/java/com/azure/compute/batch/models/BatchTaskCountsResult.java","src/main/java/com/azure/compute/batch/models/BatchTaskCreateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskCreateParameters.java","src/main/java/com/azure/compute/batch/models/BatchTaskCreateResult.java","src/main/java/com/azure/compute/batch/models/BatchTaskDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskDependencies.java","src/main/java/com/azure/compute/batch/models/BatchTaskExecutionInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskExecutionResult.java","src/main/java/com/azure/compute/batch/models/BatchTaskFailureInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskFailureMode.java","src/main/java/com/azure/compute/batch/models/BatchTaskFileDeleteOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskFileGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskFilePropertiesGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskFilesListOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskGetOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskGroup.java","src/main/java/com/azure/compute/batch/models/BatchTaskIdRange.java","src/main/java/com/azure/compute/batch/models/BatchTaskInfo.java","src/main/java/com/azure/compute/batch/models/BatchTaskReactivateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskReplaceOptions.java","src/main/java/com/azure/compute/batch/models/BatchTaskSchedulingPolicy.java","src/main/java/com/azure/compute/batch/models/BatchTaskSlotCounts.java","src/main/java/com/azure/compute/batch/models/BatchTaskState.java","src/main/java/com/azure/compute/batch/models/BatchTaskStatistics.java","src/main/java/com/azure/compute/batch/models/BatchTaskTerminateOptions.java","src/main/java/com/azure/compute/batch/models/BatchTasksListOptions.java","src/main/java/com/azure/compute/batch/models/BatchUefiSettings.java","src/main/java/com/azure/compute/batch/models/BatchUserAssignedIdentity.java","src/main/java/com/azure/compute/batch/models/BatchVmDiskSecurityProfile.java","src/main/java/com/azure/compute/batch/models/BatchVmImageReference.java","src/main/java/com/azure/compute/batch/models/CachingType.java","src/main/java/com/azure/compute/batch/models/CifsMountConfiguration.java","src/main/java/com/azure/compute/batch/models/ContainerHostBatchBindMountEntry.java","src/main/java/com/azure/compute/batch/models/ContainerHostDataPath.java","src/main/java/com/azure/compute/batch/models/ContainerRegistryReference.java","src/main/java/com/azure/compute/batch/models/ContainerType.java","src/main/java/com/azure/compute/batch/models/ContainerWorkingDirectory.java","src/main/java/com/azure/compute/batch/models/DataDisk.java","src/main/java/com/azure/compute/batch/models/DependencyAction.java","src/main/java/com/azure/compute/batch/models/DiffDiskPlacement.java","src/main/java/com/azure/compute/batch/models/DisableBatchJobOption.java","src/main/java/com/azure/compute/batch/models/DiskCustomerManagedKey.java","src/main/java/com/azure/compute/batch/models/DiskEncryptionConfiguration.java","src/main/java/com/azure/compute/batch/models/DiskEncryptionSetParameters.java","src/main/java/com/azure/compute/batch/models/DiskEncryptionTarget.java","src/main/java/com/azure/compute/batch/models/DynamicVNetAssignmentScope.java","src/main/java/com/azure/compute/batch/models/ElevationLevel.java","src/main/java/com/azure/compute/batch/models/EnvironmentSetting.java","src/main/java/com/azure/compute/batch/models/ExitCodeMapping.java","src/main/java/com/azure/compute/batch/models/ExitCodeRangeMapping.java","src/main/java/com/azure/compute/batch/models/ExitConditions.java","src/main/java/com/azure/compute/batch/models/ExitOptions.java","src/main/java/com/azure/compute/batch/models/FileProperties.java","src/main/java/com/azure/compute/batch/models/HostEndpointSettings.java","src/main/java/com/azure/compute/batch/models/HostEndpointSettingsModeTypes.java","src/main/java/com/azure/compute/batch/models/IPFamily.java","src/main/java/com/azure/compute/batch/models/IPTag.java","src/main/java/com/azure/compute/batch/models/ImageVerificationType.java","src/main/java/com/azure/compute/batch/models/InboundEndpoint.java","src/main/java/com/azure/compute/batch/models/InboundEndpointProtocol.java","src/main/java/com/azure/compute/batch/models/InstanceViewStatus.java","src/main/java/com/azure/compute/batch/models/IpAddressProvisioningType.java","src/main/java/com/azure/compute/batch/models/LinuxUserConfiguration.java","src/main/java/com/azure/compute/batch/models/LoginMode.java","src/main/java/com/azure/compute/batch/models/ManagedDisk.java","src/main/java/com/azure/compute/batch/models/MountConfiguration.java","src/main/java/com/azure/compute/batch/models/MultiInstanceSettings.java","src/main/java/com/azure/compute/batch/models/NameValuePair.java","src/main/java/com/azure/compute/batch/models/NetworkConfiguration.java","src/main/java/com/azure/compute/batch/models/NetworkSecurityGroupRule.java","src/main/java/com/azure/compute/batch/models/NetworkSecurityGroupRuleAccess.java","src/main/java/com/azure/compute/batch/models/NfsMountConfiguration.java","src/main/java/com/azure/compute/batch/models/OSType.java","src/main/java/com/azure/compute/batch/models/OutputFile.java","src/main/java/com/azure/compute/batch/models/OutputFileBlobContainerDestination.java","src/main/java/com/azure/compute/batch/models/OutputFileDestination.java","src/main/java/com/azure/compute/batch/models/OutputFileUploadCondition.java","src/main/java/com/azure/compute/batch/models/OutputFileUploadConfig.java","src/main/java/com/azure/compute/batch/models/OutputFileUploadHeader.java","src/main/java/com/azure/compute/batch/models/ProxyAgentSettings.java","src/main/java/com/azure/compute/batch/models/RecentBatchJob.java","src/main/java/com/azure/compute/batch/models/ResizeError.java","src/main/java/com/azure/compute/batch/models/ResourceFile.java","src/main/java/com/azure/compute/batch/models/RollingUpgradePolicy.java","src/main/java/com/azure/compute/batch/models/SchedulingState.java","src/main/java/com/azure/compute/batch/models/SecurityEncryptionTypes.java","src/main/java/com/azure/compute/batch/models/SecurityProfile.java","src/main/java/com/azure/compute/batch/models/SecurityTypes.java","src/main/java/com/azure/compute/batch/models/ServiceArtifactReference.java","src/main/java/com/azure/compute/batch/models/StatusLevelTypes.java","src/main/java/com/azure/compute/batch/models/StorageAccountType.java","src/main/java/com/azure/compute/batch/models/SupportedBatchImagesListOptions.java","src/main/java/com/azure/compute/batch/models/UpgradeMode.java","src/main/java/com/azure/compute/batch/models/UpgradePolicy.java","src/main/java/com/azure/compute/batch/models/UploadBatchServiceLogsParameters.java","src/main/java/com/azure/compute/batch/models/UploadBatchServiceLogsResult.java","src/main/java/com/azure/compute/batch/models/UserAccount.java","src/main/java/com/azure/compute/batch/models/UserIdentity.java","src/main/java/com/azure/compute/batch/models/VMExtension.java","src/main/java/com/azure/compute/batch/models/VMExtensionInstanceView.java","src/main/java/com/azure/compute/batch/models/VirtualMachineConfiguration.java","src/main/java/com/azure/compute/batch/models/VirtualMachineInfo.java","src/main/java/com/azure/compute/batch/models/WindowsConfiguration.java","src/main/java/com/azure/compute/batch/models/WindowsUserConfiguration.java","src/main/java/com/azure/compute/batch/models/package-info.java","src/main/java/com/azure/compute/batch/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/batch/azure-compute-batch/src/samples/java/com/azure/compute/batch/ReadmeSamples.java b/sdk/batch/azure-compute-batch/src/samples/java/com/azure/compute/batch/ReadmeSamples.java index f18fc4818b2e..37dc00e8d4f0 100644 --- a/sdk/batch/azure-compute-batch/src/samples/java/com/azure/compute/batch/ReadmeSamples.java +++ b/sdk/batch/azure-compute-batch/src/samples/java/com/azure/compute/batch/ReadmeSamples.java @@ -19,10 +19,6 @@ import com.azure.compute.batch.models.AutoUserSpecification; import com.azure.compute.batch.models.BatchApplication; import com.azure.compute.batch.models.BatchApplicationsListOptions; -import com.azure.compute.batch.models.BatchCertificate; -import com.azure.compute.batch.models.BatchCertificateFormat; -import com.azure.compute.batch.models.BatchCertificateGetOptions; -import com.azure.compute.batch.models.BatchCertificatesListOptions; import com.azure.compute.batch.models.BatchCreateTaskCollectionResult; import com.azure.compute.batch.models.BatchError; import com.azure.compute.batch.models.BatchErrorException; @@ -592,35 +588,6 @@ public void readmeSamples() { }); // END: com.azure.compute.batch.upload-node-logs.upload-batch-service-logs-async - // BEGIN: com.azure.compute.batch.create-certificate.certificate-create - batchClient.createCertificate( - new BatchCertificate("0123456789abcdef0123456789abcdef01234567", "sha1", "U3dhZ2randomByb2Hash==".getBytes()) - .setCertificateFormat(BatchCertificateFormat.PFX) - .setPassword("fakeTokenPlaceholder"), - null); - // END: com.azure.compute.batch.create-certificate.certificate-create - - // BEGIN: com.azure.compute.batch.get-certificate.certificate-get - BatchCertificate certificateResponse = batchClient.getCertificate("sha1", "0123456789abcdef0123456789abcdef01234567", - new BatchCertificateGetOptions()); - // END: com.azure.compute.batch.get-certificate.certificate-get - - // BEGIN: com.azure.compute.batch.list-certificates.certificate-list - PagedIterable certificateList = batchClient.listCertificates(new BatchCertificatesListOptions()); - // END: com.azure.compute.batch.list-certificates.certificate-list - - // BEGIN: com.azure.compute.batch.certificate.delete-certificate - String thumbprintAlgorithm = "sha1"; - String thumbprint = "your-thumbprint"; - SyncPoller deleteCertificatePoller = batchClient.beginDeleteCertificate(thumbprintAlgorithm, thumbprint); - deleteCertificatePoller.waitForCompletion(); - PollResponse finalDeleteCertificateResponse = deleteCertificatePoller.poll(); - // END: com.azure.compute.batch.certificate.delete-certificate - - // BEGIN: com.azure.compute.batch.cancel-certificate-deletion.certificate-cancel-delete - batchClient.cancelCertificateDeletion("sha1", "0123456789abcdef0123456789abcdef01234567", null); - // END: com.azure.compute.batch.cancel-certificate-deletion.certificate-cancel-delete - // BEGIN: com.azure.compute.batch.get-application.get-applications BatchApplication application = batchClient.getApplication("my_application_id", null); // END: com.azure.compute.batch.get-application.get-applications diff --git a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/FileTests.java b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/FileTests.java index 83b421c817ed..a1c5e1d96e33 100644 --- a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/FileTests.java +++ b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/FileTests.java @@ -56,71 +56,68 @@ public void canReadFromTaskFile() throws Exception { String taskId = "mytask"; int taskCompleteTimeoutInSeconds = 60; // 60 seconds timeout - try { - BatchPoolInfo poolInfo = new BatchPoolInfo(); - poolInfo.setPoolId(poolId); - - // Create job - SyncAsyncExtension.execute(() -> batchClient.createJob(new BatchJobCreateParameters(jobId, poolInfo)), - () -> batchAsyncClient.createJob(new BatchJobCreateParameters(jobId, poolInfo))); - - // Create task - BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "cmd /c echo hello"); - - SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), - () -> batchAsyncClient.createTask(jobId, taskToCreate)); - - // Use matching client for wait logic - boolean completed = SyncAsyncExtension - .execute(() -> waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds), () -> Mono - .fromCallable(() -> waitForTasksToComplete(batchAsyncClient, jobId, taskCompleteTimeoutInSeconds))); - - if (completed) { - // List task files - Iterable filesIterable - = SyncAsyncExtension.execute(() -> batchClient.listTaskFiles(jobId, taskId), - () -> Mono.fromCallable(() -> batchAsyncClient.listTaskFiles(jobId, taskId).toIterable())); - - boolean found = false; - for (BatchNodeFile f : filesIterable) { - if (f.getName().equals("stdout.txt")) { - found = true; - break; - } + BatchPoolInfo poolInfo = new BatchPoolInfo(); + poolInfo.setPoolId(poolId); + + // Create job + SyncAsyncExtension.execute(() -> batchClient.createJob(new BatchJobCreateParameters(jobId, poolInfo)), + () -> batchAsyncClient.createJob(new BatchJobCreateParameters(jobId, poolInfo))); + + // Create task + BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "cmd /c echo hello"); + + SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), + () -> batchAsyncClient.createTask(jobId, taskToCreate)); + + // Use matching client for wait logic + boolean completed = SyncAsyncExtension + .execute(() -> waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds), () -> Mono + .fromCallable(() -> waitForTasksToComplete(batchAsyncClient, jobId, taskCompleteTimeoutInSeconds))); + + if (completed) { + // List task files + Iterable filesIterable + = SyncAsyncExtension.execute(() -> batchClient.listTaskFiles(jobId, taskId), + () -> Mono.fromCallable(() -> batchAsyncClient.listTaskFiles(jobId, taskId).toIterable())); + + boolean found = false; + for (BatchNodeFile f : filesIterable) { + if (f.getName().equals("stdout.txt")) { + found = true; + break; } - Assertions.assertTrue(found); + } + Assertions.assertTrue(found); - // Get task file content - BinaryData binaryData - = SyncAsyncExtension.execute(() -> batchClient.getTaskFile(jobId, taskId, "stdout.txt"), - () -> batchAsyncClient.getTaskFile(jobId, taskId, "stdout.txt")); + // Get task file content + BinaryData binaryData + = SyncAsyncExtension.execute(() -> batchClient.getTaskFile(jobId, taskId, "stdout.txt"), + () -> batchAsyncClient.getTaskFile(jobId, taskId, "stdout.txt")); - String fileContent = new String(binaryData.toBytes(), StandardCharsets.UTF_8); - Assertions.assertEquals("hello\r\n", fileContent); + String fileContent = new String(binaryData.toBytes(), StandardCharsets.UTF_8); + Assertions.assertEquals("hello\r\n", fileContent); - // Get task file properties - Response getFilePropertiesResponse = SyncAsyncExtension.execute( - () -> batchClient.getTaskFilePropertiesWithResponse(jobId, taskId, "stdout.txt", null), - () -> batchAsyncClient.getTaskFilePropertiesWithResponse(jobId, taskId, "stdout.txt", null)); + // Get task file properties + Response getFilePropertiesResponse = SyncAsyncExtension.execute( + () -> batchClient.getTaskFilePropertiesWithResponse(jobId, taskId, "stdout.txt", null), + () -> batchAsyncClient.getTaskFilePropertiesWithResponse(jobId, taskId, "stdout.txt", null)); - Assertions.assertEquals("7", - getFilePropertiesResponse.getHeaders().getValue(HttpHeaderName.CONTENT_LENGTH)); - } else { - throw new TimeoutException("Task did not complete within the specified timeout"); - } + Assertions.assertEquals("7", + getFilePropertiesResponse.getHeaders().getValue(HttpHeaderName.CONTENT_LENGTH)); + } else { + throw new TimeoutException("Task did not complete within the specified timeout"); + } - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + // DELETE + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } @@ -132,85 +129,82 @@ public void canReadFromNode() throws Exception { String taskId = "mytask-"; int taskCompleteTimeoutInSeconds = 60; // 60 seconds timeout - try { - BatchPoolInfo poolInfo = new BatchPoolInfo(); - poolInfo.setPoolId(poolId); + BatchPoolInfo poolInfo = new BatchPoolInfo(); + poolInfo.setPoolId(poolId); - // Create job - SyncAsyncExtension.execute(() -> batchClient.createJob(new BatchJobCreateParameters(jobId, poolInfo)), - () -> batchAsyncClient.createJob(new BatchJobCreateParameters(jobId, poolInfo))); + // Create job + SyncAsyncExtension.execute(() -> batchClient.createJob(new BatchJobCreateParameters(jobId, poolInfo)), + () -> batchAsyncClient.createJob(new BatchJobCreateParameters(jobId, poolInfo))); - // Create task - BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "cmd /c echo hello"); + // Create task + BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "cmd /c echo hello"); - SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), - () -> batchAsyncClient.createTask(jobId, taskToCreate)); + SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), + () -> batchAsyncClient.createTask(jobId, taskToCreate)); - // Wait for task completion - boolean completed = SyncAsyncExtension - .execute(() -> waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds), () -> Mono - .fromCallable(() -> waitForTasksToComplete(batchAsyncClient, jobId, taskCompleteTimeoutInSeconds))); + // Wait for task completion + boolean completed = SyncAsyncExtension + .execute(() -> waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds), () -> Mono + .fromCallable(() -> waitForTasksToComplete(batchAsyncClient, jobId, taskCompleteTimeoutInSeconds))); - if (completed) { - // Get task - BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); + if (completed) { + // Get task + BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); - String nodeId = task.getNodeInfo().getNodeId(); + String nodeId = task.getNodeInfo().getNodeId(); - // List node files - BatchNodeFilesListOptions options = new BatchNodeFilesListOptions(); - options.setRecursive(true); + // List node files + BatchNodeFilesListOptions options = new BatchNodeFilesListOptions(); + options.setRecursive(true); - Iterable files - = SyncAsyncExtension.execute(() -> batchClient.listNodeFiles(poolId, nodeId, options), () -> Mono - .fromCallable(() -> batchAsyncClient.listNodeFiles(poolId, nodeId, options).toIterable())); + Iterable files = SyncAsyncExtension.execute( + () -> batchClient.listNodeFiles(poolId, nodeId, options), + () -> Mono.fromCallable(() -> batchAsyncClient.listNodeFiles(poolId, nodeId, options).toIterable())); - String fileName = null; - for (BatchNodeFile f : files) { - if (f.getName().endsWith("stdout.txt")) { - fileName = f.getName(); - break; - } + String fileName = null; + for (BatchNodeFile f : files) { + if (f.getName().endsWith("stdout.txt")) { + fileName = f.getName(); + break; } - Assertions.assertNotNull(fileName); + } + Assertions.assertNotNull(fileName); - final String finalFileName = fileName; + final String finalFileName = fileName; - // Get node file content - BinaryData binaryData = SyncAsyncExtension.execute( - () -> batchClient.getNodeFileWithResponse(poolId, nodeId, finalFileName, null).getValue(), - () -> Mono.fromCallable( - () -> batchAsyncClient.getNodeFileWithResponse(poolId, nodeId, finalFileName, null) - .block() - .getValue())); + // Get node file content + BinaryData binaryData = SyncAsyncExtension.execute( + () -> batchClient.getNodeFileWithResponse(poolId, nodeId, finalFileName, null).getValue(), + () -> Mono + .fromCallable(() -> batchAsyncClient.getNodeFileWithResponse(poolId, nodeId, finalFileName, null) + .block() + .getValue())); - String fileContent = new String(binaryData.toBytes(), StandardCharsets.UTF_8); - Assertions.assertEquals("hello\r\n", fileContent); + String fileContent = new String(binaryData.toBytes(), StandardCharsets.UTF_8); + Assertions.assertEquals("hello\r\n", fileContent); - // Get node file properties - BatchFileProperties fileProperties - = SyncAsyncExtension.execute(() -> batchClient.getNodeFileProperties(poolId, nodeId, finalFileName), - () -> batchAsyncClient.getNodeFileProperties(poolId, nodeId, finalFileName)); + // Get node file properties + BatchFileProperties fileProperties + = SyncAsyncExtension.execute(() -> batchClient.getNodeFileProperties(poolId, nodeId, finalFileName), + () -> batchAsyncClient.getNodeFileProperties(poolId, nodeId, finalFileName)); - Assertions.assertEquals(7, fileProperties.getContentLength()); + Assertions.assertEquals(7, fileProperties.getContentLength()); - } else { - throw new TimeoutException("Task did not complete within the specified timeout"); - } + } else { + throw new TimeoutException("Task did not complete within the specified timeout"); + } - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + // DELETE + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } diff --git a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobScheduleTests.java b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobScheduleTests.java index b52db63a6c6d..290df763d901 100644 --- a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobScheduleTests.java +++ b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobScheduleTests.java @@ -183,52 +183,49 @@ public void canUpdateJobScheduleState() { () -> batchAsyncClient .createJobSchedule(new BatchJobScheduleCreateParameters(jobScheduleId, schedule, spec))); - try { - // GET - BatchJobSchedule jobSchedule = SyncAsyncExtension.execute(() -> batchClient.getJobSchedule(jobScheduleId), - () -> batchAsyncClient.getJobSchedule(jobScheduleId)); - Assertions.assertEquals(BatchJobScheduleState.ACTIVE, jobSchedule.getState()); - - SyncAsyncExtension.execute(() -> { - batchClient.disableJobSchedule(jobScheduleId); - return null; - }, () -> batchAsyncClient.disableJobSchedule(jobScheduleId).then()); - - jobSchedule = SyncAsyncExtension.execute(() -> batchClient.getJobSchedule(jobScheduleId), - () -> batchAsyncClient.getJobSchedule(jobScheduleId)); - Assertions.assertEquals(BatchJobScheduleState.DISABLED, jobSchedule.getState()); + // GET + BatchJobSchedule jobSchedule = SyncAsyncExtension.execute(() -> batchClient.getJobSchedule(jobScheduleId), + () -> batchAsyncClient.getJobSchedule(jobScheduleId)); + Assertions.assertEquals(BatchJobScheduleState.ACTIVE, jobSchedule.getState()); + + SyncAsyncExtension.execute(() -> { + batchClient.disableJobSchedule(jobScheduleId); + return null; + }, () -> batchAsyncClient.disableJobSchedule(jobScheduleId).then()); + + jobSchedule = SyncAsyncExtension.execute(() -> batchClient.getJobSchedule(jobScheduleId), + () -> batchAsyncClient.getJobSchedule(jobScheduleId)); + Assertions.assertEquals(BatchJobScheduleState.DISABLED, jobSchedule.getState()); + + SyncAsyncExtension.execute(() -> { + batchClient.enableJobSchedule(jobScheduleId); + return null; + }, () -> batchAsyncClient.enableJobSchedule(jobScheduleId).then()); + + jobSchedule = SyncAsyncExtension.execute(() -> batchClient.getJobSchedule(jobScheduleId), + () -> batchAsyncClient.getJobSchedule(jobScheduleId)); + Assertions.assertEquals(BatchJobScheduleState.ACTIVE, jobSchedule.getState()); + + // TERMINATE + SyncPoller terminatePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginTerminateJobSchedule(jobScheduleId), () -> Mono + .fromCallable(() -> batchAsyncClient.beginTerminateJobSchedule(jobScheduleId).getSyncPoller()))); + + terminatePoller.waitForCompletion(); + jobSchedule = terminatePoller.getFinalResult(); + Assertions.assertNotNull(jobSchedule); + Assertions.assertEquals(BatchJobScheduleState.COMPLETED, jobSchedule.getState()); - SyncAsyncExtension.execute(() -> { - batchClient.enableJobSchedule(jobScheduleId); - return null; - }, () -> batchAsyncClient.enableJobSchedule(jobScheduleId).then()); + // DELETE + try { + SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginDeleteJobSchedule(jobScheduleId), () -> Mono + .fromCallable(() -> batchAsyncClient.beginDeleteJobSchedule(jobScheduleId).getSyncPoller()))); - jobSchedule = SyncAsyncExtension.execute(() -> batchClient.getJobSchedule(jobScheduleId), - () -> batchAsyncClient.getJobSchedule(jobScheduleId)); - Assertions.assertEquals(BatchJobScheduleState.ACTIVE, jobSchedule.getState()); - - // TERMINATE - SyncPoller terminatePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginTerminateJobSchedule(jobScheduleId), () -> Mono - .fromCallable(() -> batchAsyncClient.beginTerminateJobSchedule(jobScheduleId).getSyncPoller()))); - - terminatePoller.waitForCompletion(); - jobSchedule = terminatePoller.getFinalResult(); - Assertions.assertNotNull(jobSchedule); - Assertions.assertEquals(BatchJobScheduleState.COMPLETED, jobSchedule.getState()); - - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJobSchedule(jobScheduleId), () -> Mono - .fromCallable(() -> batchAsyncClient.beginDeleteJobSchedule(jobScheduleId).getSyncPoller()))); - - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job schedule: " + jobScheduleId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job schedule: " + jobScheduleId); + e.printStackTrace(); } } diff --git a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobTests.java b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobTests.java index 253f9d7dd2d4..757849ae6c47 100644 --- a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobTests.java +++ b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/JobTests.java @@ -133,115 +133,112 @@ public void canUpdateJobState() { SyncAsyncExtension.execute(() -> batchClient.createJob(jobToCreate), () -> batchAsyncClient.createJob(jobToCreate)); - try { - // GET - BatchJob job - = SyncAsyncExtension.execute(() -> batchClient.getJob(jobId), () -> batchAsyncClient.getJob(jobId)); - Assertions.assertEquals(BatchJobState.ACTIVE, job.getState()); - - // REPLACE - Integer maxTaskRetryCount = 3; - Integer priority = 500; - BatchJob replacementJob = job; - replacementJob.setPriority(priority); - replacementJob.setConstraints(new BatchJobConstraints().setMaxTaskRetryCount(maxTaskRetryCount)); - replacementJob.getPoolInfo().setPoolId(poolId); - - SyncAsyncExtension.execute(() -> batchClient.replaceJob(jobId, replacementJob), - () -> batchAsyncClient.replaceJob(jobId, replacementJob)); - - job = SyncAsyncExtension.execute(() -> batchClient.getJob(jobId), () -> batchAsyncClient.getJob(jobId)); - Assertions.assertEquals(priority, job.getPriority()); - Assertions.assertEquals(maxTaskRetryCount, job.getConstraints().getMaxTaskRetryCount()); - - // DISABLE - BatchJobDisableParameters disableParams = new BatchJobDisableParameters(DisableBatchJobOption.REQUEUE); - - SyncPoller disablePoller = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute( - () -> batchClient.beginDisableJob(jobId, disableParams), + // GET + BatchJob job + = SyncAsyncExtension.execute(() -> batchClient.getJob(jobId), () -> batchAsyncClient.getJob(jobId)); + Assertions.assertEquals(BatchJobState.ACTIVE, job.getState()); + + // REPLACE + Integer maxTaskRetryCount = 3; + Integer priority = 500; + BatchJob replacementJob = job; + replacementJob.setPriority(priority); + replacementJob.setConstraints(new BatchJobConstraints().setMaxTaskRetryCount(maxTaskRetryCount)); + replacementJob.getPoolInfo().setPoolId(poolId); + + SyncAsyncExtension.execute(() -> batchClient.replaceJob(jobId, replacementJob), + () -> batchAsyncClient.replaceJob(jobId, replacementJob)); + + job = SyncAsyncExtension.execute(() -> batchClient.getJob(jobId), () -> batchAsyncClient.getJob(jobId)); + Assertions.assertEquals(priority, job.getPriority()); + Assertions.assertEquals(maxTaskRetryCount, job.getConstraints().getMaxTaskRetryCount()); + + // DISABLE + BatchJobDisableParameters disableParams = new BatchJobDisableParameters(DisableBatchJobOption.REQUEUE); + + SyncPoller disablePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginDisableJob(jobId, disableParams), () -> Mono.fromCallable(() -> batchAsyncClient.beginDisableJob(jobId, disableParams).getSyncPoller()))); - // Inspect first poll - PollResponse disableFirst = disablePoller.poll(); - if (disableFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - BatchJob disableDuringPoll = disableFirst.getValue(); - Assertions.assertNotNull(disableDuringPoll); - Assertions.assertEquals(jobId, disableDuringPoll.getId()); - Assertions.assertEquals(BatchJobState.DISABLING, disableDuringPoll.getState()); - } + // Inspect first poll + PollResponse disableFirst = disablePoller.poll(); + if (disableFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + BatchJob disableDuringPoll = disableFirst.getValue(); + Assertions.assertNotNull(disableDuringPoll); + Assertions.assertEquals(jobId, disableDuringPoll.getId()); + Assertions.assertEquals(BatchJobState.DISABLING, disableDuringPoll.getState()); + } - disablePoller.waitForCompletion(); - - BatchJob disabledJob = disablePoller.getFinalResult(); - Assertions.assertNotNull(disabledJob); - Assertions.assertEquals(BatchJobState.DISABLED, disabledJob.getState()); - Assertions.assertEquals(BatchAllTasksCompleteMode.NO_ACTION, disabledJob.getAllTasksCompleteMode()); - - // UPDATE - BatchJobUpdateParameters updateParams - = new BatchJobUpdateParameters().setAllTasksCompleteMode(BatchAllTasksCompleteMode.TERMINATE_JOB); - SyncAsyncExtension.execute(() -> batchClient.updateJob(jobId, updateParams), - () -> batchAsyncClient.updateJob(jobId, updateParams)); - - job = SyncAsyncExtension.execute(() -> batchClient.getJob(jobId), () -> batchAsyncClient.getJob(jobId)); - Assertions.assertEquals(BatchAllTasksCompleteMode.TERMINATE_JOB, job.getAllTasksCompleteMode()); - - // ENABLE - SyncPoller enablePoller - = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginEnableJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginEnableJob(jobId).getSyncPoller()))); - - // Inspect first poll - PollResponse enableFirst = enablePoller.poll(); - if (enableFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - BatchJob enableDuringPoll = enableFirst.getValue(); - Assertions.assertNotNull(enableDuringPoll); - Assertions.assertEquals(jobId, enableDuringPoll.getId()); - Assertions.assertEquals(BatchJobState.ENABLING, enableDuringPoll.getState()); - } + disablePoller.waitForCompletion(); - enablePoller.waitForCompletion(); + BatchJob disabledJob = disablePoller.getFinalResult(); + Assertions.assertNotNull(disabledJob); + Assertions.assertEquals(BatchJobState.DISABLED, disabledJob.getState()); + Assertions.assertEquals(BatchAllTasksCompleteMode.NO_ACTION, disabledJob.getAllTasksCompleteMode()); - BatchJob enabledJob = enablePoller.getFinalResult(); - Assertions.assertNotNull(enabledJob); - Assertions.assertEquals(BatchJobState.ACTIVE, enabledJob.getState()); + // UPDATE + BatchJobUpdateParameters updateParams + = new BatchJobUpdateParameters().setAllTasksCompleteMode(BatchAllTasksCompleteMode.TERMINATE_JOB); + SyncAsyncExtension.execute(() -> batchClient.updateJob(jobId, updateParams), + () -> batchAsyncClient.updateJob(jobId, updateParams)); - // TERMINATE - BatchJobTerminateParameters terminateParams - = new BatchJobTerminateParameters().setTerminationReason("myreason"); - BatchJobTerminateOptions terminateOptions = new BatchJobTerminateOptions().setParameters(terminateParams); + job = SyncAsyncExtension.execute(() -> batchClient.getJob(jobId), () -> batchAsyncClient.getJob(jobId)); + Assertions.assertEquals(BatchAllTasksCompleteMode.TERMINATE_JOB, job.getAllTasksCompleteMode()); + + // ENABLE + SyncPoller enablePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginEnableJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginEnableJob(jobId).getSyncPoller()))); + + // Inspect first poll + PollResponse enableFirst = enablePoller.poll(); + if (enableFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + BatchJob enableDuringPoll = enableFirst.getValue(); + Assertions.assertNotNull(enableDuringPoll); + Assertions.assertEquals(jobId, enableDuringPoll.getId()); + Assertions.assertEquals(BatchJobState.ENABLING, enableDuringPoll.getState()); + } - SyncPoller terminatePoller = setPlaybackSyncPollerPollInterval(SyncAsyncExtension - .execute(() -> batchClient.beginTerminateJob(jobId, terminateOptions, null), () -> Mono.fromCallable( - () -> batchAsyncClient.beginTerminateJob(jobId, terminateOptions, null).getSyncPoller()))); + enablePoller.waitForCompletion(); - // Inspect the first poll - PollResponse first = terminatePoller.poll(); - if (first.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - BatchJob pollingJob = first.getValue(); - Assertions.assertNotNull(pollingJob); - Assertions.assertEquals(jobId, pollingJob.getId()); - Assertions.assertEquals(BatchJobState.TERMINATING, pollingJob.getState()); - } + BatchJob enabledJob = enablePoller.getFinalResult(); + Assertions.assertNotNull(enabledJob); + Assertions.assertEquals(BatchJobState.ACTIVE, enabledJob.getState()); - terminatePoller.waitForCompletion(); + // TERMINATE + BatchJobTerminateParameters terminateParams + = new BatchJobTerminateParameters().setTerminationReason("myreason"); + BatchJobTerminateOptions terminateOptions = new BatchJobTerminateOptions().setParameters(terminateParams); - BatchJob finalJob = terminatePoller.getFinalResult(); - Assertions.assertNotNull(finalJob); - Assertions.assertEquals(BatchJobState.COMPLETED, finalJob.getState()); + SyncPoller terminatePoller = setPlaybackSyncPollerPollInterval(SyncAsyncExtension + .execute(() -> batchClient.beginTerminateJob(jobId, terminateOptions, null), () -> Mono.fromCallable( + () -> batchAsyncClient.beginTerminateJob(jobId, terminateOptions, null).getSyncPoller()))); - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + // Inspect the first poll + PollResponse first = terminatePoller.poll(); + if (first.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + BatchJob pollingJob = first.getValue(); + Assertions.assertNotNull(pollingJob); + Assertions.assertEquals(jobId, pollingJob.getId()); + Assertions.assertEquals(BatchJobState.TERMINATING, pollingJob.getState()); + } - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + terminatePoller.waitForCompletion(); + + BatchJob finalJob = terminatePoller.getFinalResult(); + Assertions.assertNotNull(finalJob); + Assertions.assertEquals(BatchJobState.COMPLETED, finalJob.getState()); + + // DELETE + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } @@ -249,7 +246,6 @@ public void canUpdateJobState() { public void canCRUDJobWithPoolNodeCommunicationMode() { String testModeSuffix = SyncAsyncExtension.execute(() -> "sync", () -> Mono.just("async")); String jobId = getStringIdWithUserNamePrefix("-Job-canCRUDWithPoolNodeComm" + testModeSuffix); - BatchNodeCommunicationMode targetMode = BatchNodeCommunicationMode.SIMPLIFIED; BatchVmImageReference imgRef = new BatchVmImageReference().setPublisher("microsoftwindowsserver") .setOffer("windowsserver") @@ -258,8 +254,7 @@ public void canCRUDJobWithPoolNodeCommunicationMode() { VirtualMachineConfiguration configuration = new VirtualMachineConfiguration(imgRef, "batch.node.windows amd64"); BatchPoolSpecification poolSpec - = new BatchPoolSpecification("STANDARD_D1_V2").setVirtualMachineConfiguration(configuration) - .setTargetNodeCommunicationMode(targetMode); + = new BatchPoolSpecification("STANDARD_D1_V2").setVirtualMachineConfiguration(configuration); BatchPoolInfo poolInfo = new BatchPoolInfo() .setAutoPoolSpecification(new BatchAutoPoolSpecification(BatchPoolLifetimeOption.JOB).setPool(poolSpec)); @@ -275,8 +270,6 @@ public void canCRUDJobWithPoolNodeCommunicationMode() { = SyncAsyncExtension.execute(() -> batchClient.getJob(jobId), () -> batchAsyncClient.getJob(jobId)); Assertions.assertNotNull(job); Assertions.assertEquals(jobId, job.getId()); - Assertions.assertEquals(targetMode, - job.getPoolInfo().getAutoPoolSpecification().getPool().getTargetNodeCommunicationMode()); // DELETE using LRO SyncPoller poller diff --git a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/PoolTests.java b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/PoolTests.java index 1b4d43e1dce3..97569a4c717e 100644 --- a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/PoolTests.java +++ b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/PoolTests.java @@ -103,28 +103,25 @@ public void canCreateDataDisk() { .setTargetDedicatedNodes(poolVmCount) .setVirtualMachineConfiguration(configuration); + SyncAsyncExtension.execute(() -> batchClient.createPool(poolToCreate), + () -> batchAsyncClient.createPool(poolToCreate)); + + BatchPool pool + = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); + Assertions.assertEquals(lun, + pool.getVirtualMachineConfiguration().getDataDisks().get(0).getLogicalUnitNumber()); + Assertions.assertEquals(diskSizeGB, + pool.getVirtualMachineConfiguration().getDataDisks().get(0).getDiskSizeGb()); + // DELETE try { - SyncAsyncExtension.execute(() -> batchClient.createPool(poolToCreate), - () -> batchAsyncClient.createPool(poolToCreate)); - - BatchPool pool - = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); - Assertions.assertEquals(lun, - pool.getVirtualMachineConfiguration().getDataDisks().get(0).getLogicalUnitNumber()); - Assertions.assertEquals(diskSizeGB, - pool.getVirtualMachineConfiguration().getDataDisks().get(0).getDiskSizeGb()); - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); + SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for pool: " + poolId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for pool: " + poolId); + e.printStackTrace(); } } @@ -165,154 +162,144 @@ public void canCRUDLowPriIaaSPool() { poolToCreate.setTargetDedicatedNodes(poolVmCount) .setTargetLowPriorityNodes(poolLowPriVmCount) .setVirtualMachineConfiguration(configuration) - .setNetworkConfiguration(netConfig) - .setTargetNodeCommunicationMode(BatchNodeCommunicationMode.DEFAULT); + .setNetworkConfiguration(netConfig); SyncAsyncExtension.execute(() -> batchClient.createPool(poolToCreate), () -> batchAsyncClient.createPool(poolToCreate)); } - try { - // GET - boolean poolExists = SyncAsyncExtension.execute(() -> poolExists(batchClient, poolId), - () -> poolExists(batchAsyncClient, poolId)); - Assertions.assertTrue(poolExists, "Pool should exist after creation"); - - // Wait for the VM to be allocated - BatchPool pool = SyncAsyncExtension.execute( - () -> waitForPoolState(poolId, AllocationState.STEADY, poolSteadyTimeoutInMilliseconds), - () -> Mono.fromCallable( - () -> waitForPoolStateAsync(poolId, AllocationState.STEADY, poolSteadyTimeoutInMilliseconds))); - - Assertions.assertEquals(poolVmCount, (long) pool.getCurrentDedicatedNodes()); - Assertions.assertEquals(poolLowPriVmCount, (long) pool.getCurrentLowPriorityNodes()); - Assertions.assertNotNull(pool.getCurrentNodeCommunicationMode(), - "CurrentNodeCommunicationMode should be defined for pool with more than one target dedicated node"); - Assertions.assertEquals(BatchNodeCommunicationMode.DEFAULT, pool.getTargetNodeCommunicationMode()); - - Iterable nodeListIterator = SyncAsyncExtension.execute(() -> batchClient.listNodes(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.listNodes(poolId).toIterable())); - List computeNodes = new ArrayList(); - - for (BatchNode node : nodeListIterator) { - computeNodes.add(node); - } - - List inboundEndpoints - = computeNodes.get(0).getEndpointConfiguration().getInboundEndpoints(); - Assertions.assertEquals(2, inboundEndpoints.size()); - InboundEndpoint inboundEndpoint = inboundEndpoints.get(0); - Assertions.assertEquals(5000, inboundEndpoint.getBackendPort()); - Assertions.assertTrue(inboundEndpoint.getFrontendPort() >= 60000); - Assertions.assertTrue(inboundEndpoint.getFrontendPort() <= 60040); - Assertions.assertTrue(inboundEndpoint.getName().startsWith("testinbound.")); - Assertions.assertTrue(inboundEndpoints.get(1).getName().startsWith("SSHRule")); - - // CHECK POOL NODE COUNTS - BatchPoolNodeCounts poolNodeCount = null; - Iterable poolNodeCountIterator - = SyncAsyncExtension.execute(() -> batchClient.listPoolNodeCounts(), - () -> Mono.fromCallable(() -> batchAsyncClient.listPoolNodeCounts().toIterable())); - - for (BatchPoolNodeCounts tmp : poolNodeCountIterator) { - if (tmp.getPoolId().equals(poolId)) { - poolNodeCount = tmp; - break; - } - } - Assertions.assertNotNull(poolNodeCount); // Single pool only - Assertions.assertNotNull(poolNodeCount.getLowPriority()); - - Assertions.assertEquals(poolLowPriVmCount, poolNodeCount.getLowPriority().getTotal()); - Assertions.assertEquals(poolVmCount, poolNodeCount.getDedicated().getTotal()); - - // Update NodeCommunicationMode to Simplified - - BatchPoolUpdateParameters poolUpdateParameters = new BatchPoolUpdateParameters(); - poolUpdateParameters.setApplicationPackageReferences(new LinkedList()) - .setMetadata(new LinkedList()); - - poolUpdateParameters.setTargetNodeCommunicationMode(BatchNodeCommunicationMode.SIMPLIFIED); - - SyncAsyncExtension.execute(() -> batchClient.updatePool(poolId, poolUpdateParameters), - () -> batchAsyncClient.updatePool(poolId, poolUpdateParameters)); - - pool = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), - () -> batchAsyncClient.getPool(poolId)); - Assertions.assertNotNull(pool.getCurrentNodeCommunicationMode(), - "CurrentNodeCommunicationMode should be defined for pool with more than one target dedicated node"); - Assertions.assertEquals(BatchNodeCommunicationMode.SIMPLIFIED, pool.getTargetNodeCommunicationMode()); - - // Patch NodeCommunicationMode to Classic + // try { + // GET + boolean poolExists = SyncAsyncExtension.execute(() -> poolExists(batchClient, poolId), + () -> poolExists(batchAsyncClient, poolId)); + Assertions.assertTrue(poolExists, "Pool should exist after creation"); - BatchPoolUpdateParameters poolUpdateParameters2 = new BatchPoolUpdateParameters(); - poolUpdateParameters2.setTargetNodeCommunicationMode(BatchNodeCommunicationMode.CLASSIC); - SyncAsyncExtension.execute(() -> batchClient.updatePool(poolId, poolUpdateParameters2), - () -> batchAsyncClient.updatePool(poolId, poolUpdateParameters2)); + // Wait for the VM to be allocated + BatchPool pool = SyncAsyncExtension.execute( + () -> waitForPoolState(poolId, AllocationState.STEADY, poolSteadyTimeoutInMilliseconds), + () -> Mono.fromCallable( + () -> waitForPoolStateAsync(poolId, AllocationState.STEADY, poolSteadyTimeoutInMilliseconds))); - pool = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), - () -> batchAsyncClient.getPool(poolId)); - Assertions.assertNotNull(pool.getCurrentNodeCommunicationMode(), - "CurrentNodeCommunicationMode should be defined for pool with more than one target dedicated node"); - Assertions.assertEquals(BatchNodeCommunicationMode.CLASSIC, pool.getTargetNodeCommunicationMode()); + Assertions.assertEquals(poolVmCount, (long) pool.getCurrentDedicatedNodes()); + Assertions.assertEquals(poolLowPriVmCount, (long) pool.getCurrentLowPriorityNodes()); - // RESIZE - BatchPoolResizeParameters resizeParameters - = new BatchPoolResizeParameters().setTargetDedicatedNodes(1).setTargetLowPriorityNodes(1); + Iterable nodeListIterator = SyncAsyncExtension.execute(() -> batchClient.listNodes(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.listNodes(poolId).toIterable())); + List computeNodes = new ArrayList(); - SyncPoller resizePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginResizePool(poolId, resizeParameters), () -> Mono - .fromCallable(() -> batchAsyncClient.beginResizePool(poolId, resizeParameters).getSyncPoller()))); + for (BatchNode node : nodeListIterator) { + computeNodes.add(node); + } - // Inspect first poll - PollResponse resizeFirst = resizePoller.poll(); - if (resizeFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - BatchPool poolDuringResize = resizeFirst.getValue(); - Assertions.assertNotNull(poolDuringResize); - Assertions.assertEquals(AllocationState.RESIZING, poolDuringResize.getAllocationState()); + List inboundEndpoints = computeNodes.get(0).getEndpointConfiguration().getInboundEndpoints(); + Assertions.assertEquals(2, inboundEndpoints.size()); + InboundEndpoint inboundEndpoint = inboundEndpoints.get(0); + Assertions.assertEquals(5000, inboundEndpoint.getBackendPort()); + Assertions.assertTrue(inboundEndpoint.getFrontendPort() >= 60000); + Assertions.assertTrue(inboundEndpoint.getFrontendPort() <= 60040); + Assertions.assertTrue(inboundEndpoint.getName().startsWith("testinbound.")); + Assertions.assertTrue(inboundEndpoints.get(1).getName().startsWith("SSHRule")); + + // CHECK POOL NODE COUNTS + BatchPoolNodeCounts poolNodeCount = null; + Iterable poolNodeCountIterator + = SyncAsyncExtension.execute(() -> batchClient.listPoolNodeCounts(), + () -> Mono.fromCallable(() -> batchAsyncClient.listPoolNodeCounts().toIterable())); + + for (BatchPoolNodeCounts tmp : poolNodeCountIterator) { + if (tmp.getPoolId().equals(poolId)) { + poolNodeCount = tmp; + break; } + } + Assertions.assertNotNull(poolNodeCount); // Single pool only + Assertions.assertNotNull(poolNodeCount.getLowPriority()); + + Assertions.assertEquals(poolLowPriVmCount, poolNodeCount.getLowPriority().getTotal()); + Assertions.assertEquals(poolVmCount, poolNodeCount.getDedicated().getTotal()); + + // REPLACE with poolReplaceParameters + // Metadata, startTask, and applicationPackageReferences are replaceable + BatchPoolReplaceParameters poolReplaceParameters + = new BatchPoolReplaceParameters(new ArrayList<>(), Arrays.asList(new BatchMetadataItem("bar", "foo"))); + + SyncAsyncExtension.execute(() -> batchClient.replacePoolProperties(poolId, poolReplaceParameters), + () -> batchAsyncClient.replacePoolProperties(poolId, poolReplaceParameters)); + + pool = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); + + Assertions.assertEquals(pool.getMetadata().get(0).getName(), + poolReplaceParameters.getMetadata().get(0).getName()); + Assertions.assertEquals(pool.getMetadata().get(0).getValue(), + poolReplaceParameters.getMetadata().get(0).getValue()); + + // PATCH with poolUpdateParameters + // Metadata, startTask, and applicationPackageReferences are updatable when pool isn't empty + BatchPoolUpdateParameters poolUpdateParameters = new BatchPoolUpdateParameters(); + poolUpdateParameters.setMetadata(Arrays.asList(new BatchMetadataItem("foo", "bar"))); + + SyncAsyncExtension.execute(() -> batchClient.updatePool(poolId, poolUpdateParameters), + () -> batchAsyncClient.updatePool(poolId, poolUpdateParameters)); + + pool = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); + Assertions.assertEquals(pool.getMetadata().get(0).getName(), + poolUpdateParameters.getMetadata().get(0).getName()); + Assertions.assertEquals(pool.getMetadata().get(0).getValue(), + poolUpdateParameters.getMetadata().get(0).getValue()); + + // RESIZE + BatchPoolResizeParameters resizeParameters + = new BatchPoolResizeParameters().setTargetDedicatedNodes(1).setTargetLowPriorityNodes(1); + + SyncPoller resizePoller = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute( + () -> batchClient.beginResizePool(poolId, resizeParameters), + () -> Mono.fromCallable(() -> batchAsyncClient.beginResizePool(poolId, resizeParameters).getSyncPoller()))); + + // Inspect first poll + PollResponse resizeFirst = resizePoller.poll(); + if (resizeFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + BatchPool poolDuringResize = resizeFirst.getValue(); + Assertions.assertNotNull(poolDuringResize); + Assertions.assertEquals(AllocationState.RESIZING, poolDuringResize.getAllocationState()); + } - // Wait for completion - resizePoller.waitForCompletion(); - - // Final pool after resize - BatchPool resizedPool = resizePoller.getFinalResult(); - Assertions.assertNotNull(resizedPool); - Assertions.assertEquals(AllocationState.STEADY, resizedPool.getAllocationState()); - Assertions.assertEquals(1, (long) resizedPool.getTargetDedicatedNodes()); - Assertions.assertEquals(1, (long) resizedPool.getTargetLowPriorityNodes()); - - // DELETE using LRO - SyncPoller poller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); + // Wait for completion + resizePoller.waitForCompletion(); + + // Final pool after resize + BatchPool resizedPool = resizePoller.getFinalResult(); + Assertions.assertNotNull(resizedPool); + Assertions.assertEquals(AllocationState.STEADY, resizedPool.getAllocationState()); + Assertions.assertEquals(1, (long) resizedPool.getTargetDedicatedNodes()); + Assertions.assertEquals(1, (long) resizedPool.getTargetLowPriorityNodes()); + + // DELETE using LRO + SyncPoller poller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); + + // Validate initial poll result (pool should be in DELETING state) + PollResponse initialResponse = poller.poll(); + if (initialResponse.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + BatchPool poolDuringPoll = initialResponse.getValue(); + Assertions.assertNotNull(poolDuringPoll, "Expected pool data during polling"); + Assertions.assertEquals(poolId, poolDuringPoll.getId()); + Assertions.assertEquals(BatchPoolState.DELETING, poolDuringPoll.getState()); + } - // Validate initial poll result (pool should be in DELETING state) - PollResponse initialResponse = poller.poll(); - if (initialResponse.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - BatchPool poolDuringPoll = initialResponse.getValue(); - Assertions.assertNotNull(poolDuringPoll, "Expected pool data during polling"); - Assertions.assertEquals(poolId, poolDuringPoll.getId()); - Assertions.assertEquals(BatchPoolState.DELETING, poolDuringPoll.getState()); - } + // Wait for LRO to finish + poller.waitForCompletion(); - // Wait for LRO to finish - poller.waitForCompletion(); + // Confirm pool is not retrievable + HttpResponseException httpErrorRes = Assertions.assertThrows(HttpResponseException.class, () -> { + SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); + }, "Expected pool to be deleted."); - // Final result should be null after successful deletion - PollResponse finalResponse = poller.poll(); - Assertions.assertNull(finalResponse.getValue(), - "Expected final result to be null after successful deletion"); + Assertions.assertEquals(404, httpErrorRes.getResponse().getStatusCode()); - } finally { - // Confirm pool is no longer retrievable - try { - SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); - Assertions.fail("Expected pool to be deleted."); - } catch (HttpResponseException ex) { - Assertions.assertEquals(404, ex.getResponse().getStatusCode()); - } - } + // Final result should be null after successful deletion + PollResponse finalResponse = poller.poll(); + Assertions.assertNull(finalResponse.getValue(), "Expected final result to be null after successful deletion"); } @Test @@ -391,33 +378,30 @@ public void canCreatePoolWithConfidentialVM() throws Exception { () -> batchAsyncClient.createPool(poolCreateParameters)); } + BatchPool pool + = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); + Assertions.assertNotNull(pool); + + SecurityProfile sp = pool.getVirtualMachineConfiguration().getSecurityProfile(); + Assertions + .assertTrue(SecurityTypes.CONFIDENTIAL_VM.toString().equalsIgnoreCase(sp.getSecurityType().toString())); + Assertions.assertTrue(sp.isEncryptionAtHost()); + Assertions.assertTrue(sp.getUefiSettings().isSecureBootEnabled()); + Assertions.assertTrue(sp.getUefiSettings().isVTpmEnabled()); + + BatchOsDisk disk = pool.getVirtualMachineConfiguration().getOsDisk(); + Assertions.assertEquals(SecurityEncryptionTypes.VMGUEST_STATE_ONLY, + disk.getManagedDisk().getSecurityProfile().getSecurityEncryptionType()); + // DELETE try { - BatchPool pool - = SyncAsyncExtension.execute(() -> batchClient.getPool(poolId), () -> batchAsyncClient.getPool(poolId)); - Assertions.assertNotNull(pool); - - SecurityProfile sp = pool.getVirtualMachineConfiguration().getSecurityProfile(); - Assertions - .assertTrue(SecurityTypes.CONFIDENTIAL_VM.toString().equalsIgnoreCase(sp.getSecurityType().toString())); - Assertions.assertTrue(sp.isEncryptionAtHost()); - Assertions.assertTrue(sp.getUefiSettings().isSecureBootEnabled()); - Assertions.assertTrue(sp.getUefiSettings().isVTpmEnabled()); - - BatchOsDisk disk = pool.getVirtualMachineConfiguration().getOsDisk(); - Assertions.assertEquals(SecurityEncryptionTypes.VMGUEST_STATE_ONLY, - disk.getManagedDisk().getSecurityProfile().getSecurityEncryptionType()); - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); + SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for pool: " + poolId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for pool: " + poolId); + e.printStackTrace(); } } @@ -448,100 +432,95 @@ public void canDeallocateAndStartComputeNode() throws Exception { () -> batchAsyncClient.createPool(poolCreateParameters)); } - try { - // Wait for the pool to become steady and nodes to become idle - BatchPool pool = SyncAsyncExtension.execute( - () -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), + // Wait for the pool to become steady and nodes to become idle + BatchPool pool + = SyncAsyncExtension.execute(() -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), () -> Mono.fromCallable(() -> waitForPoolStateAsync(poolId, AllocationState.STEADY, 15 * 60 * 1000))); - Assertions.assertNotNull(pool); - Assertions.assertEquals(AllocationState.STEADY, pool.getAllocationState()); + Assertions.assertNotNull(pool); + Assertions.assertEquals(AllocationState.STEADY, pool.getAllocationState()); - // Retrieve the nodes - Iterable nodesPaged = SyncAsyncExtension.execute(() -> batchClient.listNodes(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.listNodes(poolId).toIterable())); + // Retrieve the nodes + Iterable nodesPaged = SyncAsyncExtension.execute(() -> batchClient.listNodes(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.listNodes(poolId).toIterable())); - BatchNode firstNode = null; - for (BatchNode node : nodesPaged) { - firstNode = node; // Get the first node - break; - } - Assertions.assertNotNull(firstNode, "Expected at least one compute node in pool"); + BatchNode firstNode = null; + for (BatchNode node : nodesPaged) { + firstNode = node; // Get the first node + break; + } + Assertions.assertNotNull(firstNode, "Expected at least one compute node in pool"); - String nodeId = firstNode.getId(); + String nodeId = firstNode.getId(); - sleepIfRunningAgainstService(15000); + sleepIfRunningAgainstService(15000); - // DEALLOCATE using LRO - BatchNodeDeallocateParameters deallocateParams - = new BatchNodeDeallocateParameters().setNodeDeallocateOption(BatchNodeDeallocateOption.TERMINATE); + // DEALLOCATE using LRO + BatchNodeDeallocateParameters deallocateParams + = new BatchNodeDeallocateParameters().setNodeDeallocateOption(BatchNodeDeallocateOption.TERMINATE); - BatchNodeDeallocateOptions deallocateOptions - = new BatchNodeDeallocateOptions().setTimeOutInSeconds(Duration.ofSeconds(30)) - .setParameters(deallocateParams); + BatchNodeDeallocateOptions deallocateOptions + = new BatchNodeDeallocateOptions().setTimeOutInSeconds(Duration.ofSeconds(30)) + .setParameters(deallocateParams); - SyncPoller deallocatePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeallocateNode(poolId, nodeId, deallocateOptions), - () -> Mono - .fromCallable(() -> batchAsyncClient.beginDeallocateNode(poolId, nodeId, deallocateOptions) - .getSyncPoller()))); + SyncPoller deallocatePoller = setPlaybackSyncPollerPollInterval(SyncAsyncExtension + .execute(() -> batchClient.beginDeallocateNode(poolId, nodeId, deallocateOptions), () -> Mono.fromCallable( + () -> batchAsyncClient.beginDeallocateNode(poolId, nodeId, deallocateOptions).getSyncPoller()))); - // Validate first poll - PollResponse firstPoll = deallocatePoller.poll(); - if (firstPoll.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - BatchNode nodeDuringPoll = firstPoll.getValue(); - Assertions.assertNotNull(nodeDuringPoll); - Assertions.assertEquals(nodeId, nodeDuringPoll.getId()); - Assertions.assertEquals(BatchNodeState.DEALLOCATING, nodeDuringPoll.getState()); - } + // Validate first poll + PollResponse firstPoll = deallocatePoller.poll(); + if (firstPoll.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + BatchNode nodeDuringPoll = firstPoll.getValue(); + Assertions.assertNotNull(nodeDuringPoll); + Assertions.assertEquals(nodeId, nodeDuringPoll.getId()); + Assertions.assertEquals(BatchNodeState.DEALLOCATING, nodeDuringPoll.getState()); + } - // Wait for completion and validate final state - deallocatePoller.waitForCompletion(); - BatchNode deallocatedNode = deallocatePoller.getFinalResult(); - - Assertions.assertNotNull(deallocatedNode, "Final result should contain the node object"); - Assertions.assertEquals(BatchNodeState.DEALLOCATED, deallocatedNode.getState()); - - // Start the node - SyncPoller startPoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginStartNode(poolId, nodeId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginStartNode(poolId, nodeId).getSyncPoller()))); - - // First poll - PollResponse startFirst = startPoller.poll(); - BatchNode firstVal = startFirst.getValue(); - - if (startFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - // Only possible while the node is STARTING - Assertions.assertNotNull(firstVal, "Expected node payload during polling"); - Assertions.assertEquals(BatchNodeState.STARTING, firstVal.getState(), - "When IN_PROGRESS the node must be in STARTING state"); - } else { - // Operation completed in a single poll - Assertions.assertEquals(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, startFirst.getStatus()); - Assertions.assertNotNull(firstVal); - Assertions.assertNotEquals(BatchNodeState.STARTING, firstVal.getState(), - "Node should have left STARTING when operation already completed"); - } + // Wait for completion and validate final state + deallocatePoller.waitForCompletion(); + BatchNode deallocatedNode = deallocatePoller.getFinalResult(); + + Assertions.assertNotNull(deallocatedNode, "Final result should contain the node object"); + Assertions.assertEquals(BatchNodeState.DEALLOCATED, deallocatedNode.getState()); + + // Start the node + SyncPoller startPoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginStartNode(poolId, nodeId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginStartNode(poolId, nodeId).getSyncPoller()))); + + // First poll + PollResponse startFirst = startPoller.poll(); + BatchNode firstVal = startFirst.getValue(); + + if (startFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + // Only possible while the node is STARTING + Assertions.assertNotNull(firstVal, "Expected node payload during polling"); + Assertions.assertEquals(BatchNodeState.STARTING, firstVal.getState(), + "When IN_PROGRESS the node must be in STARTING state"); + } else { + // Operation completed in a single poll + Assertions.assertEquals(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, startFirst.getStatus()); + Assertions.assertNotNull(firstVal); + Assertions.assertNotEquals(BatchNodeState.STARTING, firstVal.getState(), + "Node should have left STARTING when operation already completed"); + } - startPoller.waitForCompletion(); - BatchNode startedNode = startPoller.getFinalResult(); - Assertions.assertNotNull(startedNode, "Final result of beginStartNode should not be null"); - Assertions.assertEquals(BatchNodeState.IDLE, startedNode.getState(), - "Node should reach IDLE once it has started"); + startPoller.waitForCompletion(); + BatchNode startedNode = startPoller.getFinalResult(); + Assertions.assertNotNull(startedNode, "Final result of beginStartNode should not be null"); + Assertions.assertEquals(BatchNodeState.IDLE, startedNode.getState(), + "Node should reach IDLE once it has started"); - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); + // DELETE + try { + SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for pool: " + poolId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for pool: " + poolId); + e.printStackTrace(); } } @@ -571,157 +550,154 @@ public void canRebootReimageRemoveNodesAndStopResize() throws Exception { () -> batchAsyncClient.createPool(createParams)); } - try { - // Wait for pool to reach steady state - BatchPool pool = SyncAsyncExtension.execute( - () -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), + // Wait for pool to reach steady state + BatchPool pool + = SyncAsyncExtension.execute(() -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), () -> Mono.fromCallable(() -> waitForPoolStateAsync(poolId, AllocationState.STEADY, 15 * 60 * 1000))); - // Grab two node IDs - List nodes = new ArrayList<>(); - SyncAsyncExtension - .execute(() -> batchClient.listNodes(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.listNodes(poolId).toIterable())) - .forEach(nodes::add); - - Assertions.assertTrue(nodes.size() >= 2, "Need at least two nodes for this test."); - String nodeIdA = nodes.get(0).getId(); - String nodeIdB = nodes.get(1).getId(); - - // Reboot node - SyncPoller rebootPoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginRebootNode(poolId, nodeIdA), - () -> Mono.fromCallable(() -> batchAsyncClient.beginRebootNode(poolId, nodeIdA).getSyncPoller()))); - - // Validate first poll (node should be rebooting) - PollResponse rebootFirst = rebootPoller.poll(); - if (rebootFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - BatchNode nodeDuringReboot = rebootFirst.getValue(); - Assertions.assertNotNull(nodeDuringReboot); - Assertions.assertEquals(nodeIdA, nodeDuringReboot.getId()); - Assertions.assertEquals(BatchNodeState.REBOOTING, nodeDuringReboot.getState(), - "When in progress the node must be REBOOTING"); - } + // Grab two node IDs + List nodes = new ArrayList<>(); + SyncAsyncExtension + .execute(() -> batchClient.listNodes(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.listNodes(poolId).toIterable())) + .forEach(nodes::add); + + Assertions.assertTrue(nodes.size() >= 2, "Need at least two nodes for this test."); + String nodeIdA = nodes.get(0).getId(); + String nodeIdB = nodes.get(1).getId(); + + // Reboot node + SyncPoller rebootPoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginRebootNode(poolId, nodeIdA), + () -> Mono.fromCallable(() -> batchAsyncClient.beginRebootNode(poolId, nodeIdA).getSyncPoller()))); + + // Validate first poll (node should be rebooting) + PollResponse rebootFirst = rebootPoller.poll(); + if (rebootFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + BatchNode nodeDuringReboot = rebootFirst.getValue(); + Assertions.assertNotNull(nodeDuringReboot); + Assertions.assertEquals(nodeIdA, nodeDuringReboot.getId()); + Assertions.assertEquals(BatchNodeState.REBOOTING, nodeDuringReboot.getState(), + "When in progress the node must be REBOOTING"); + } - rebootPoller.waitForCompletion(); - BatchNode rebootedNode = rebootPoller.getFinalResult(); - Assertions.assertNotNull(rebootedNode, "Final result of beginRebootNode should not be null"); - - // Reimage node - SyncPoller reimagePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginReimageNode(poolId, nodeIdB), - () -> Mono.fromCallable(() -> batchAsyncClient.beginReimageNode(poolId, nodeIdB).getSyncPoller()))); - - // First poll – should still be re-imaging OR may already have finished - PollResponse reimageFirst = reimagePoller.poll(); - BatchNode nodeDuringReimage = reimageFirst.getValue(); - - if (reimageFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { - // Only possible when state is REIMAGING - Assertions.assertNotNull(nodeDuringReimage); - Assertions.assertEquals(BatchNodeState.REIMAGING, nodeDuringReimage.getState(), - "When IN_PROGRESS the node must be REIMAGING"); - } else { - // Operation finished in a single poll - Assertions.assertEquals(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, reimageFirst.getStatus()); - Assertions.assertNotNull(nodeDuringReimage); - Assertions.assertNotEquals(BatchNodeState.REIMAGING, nodeDuringReimage.getState(), - "Node should have left REIMAGING when operation already completed"); - } + rebootPoller.waitForCompletion(); + BatchNode rebootedNode = rebootPoller.getFinalResult(); + Assertions.assertNotNull(rebootedNode, "Final result of beginRebootNode should not be null"); + + // Reimage node + SyncPoller reimagePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginReimageNode(poolId, nodeIdB), + () -> Mono.fromCallable(() -> batchAsyncClient.beginReimageNode(poolId, nodeIdB).getSyncPoller()))); + + // First poll – should still be re-imaging OR may already have finished + PollResponse reimageFirst = reimagePoller.poll(); + BatchNode nodeDuringReimage = reimageFirst.getValue(); + + if (reimageFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS) { + // Only possible when state is REIMAGING + Assertions.assertNotNull(nodeDuringReimage); + Assertions.assertEquals(BatchNodeState.REIMAGING, nodeDuringReimage.getState(), + "When IN_PROGRESS the node must be REIMAGING"); + } else { + // Operation finished in a single poll + Assertions.assertEquals(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, reimageFirst.getStatus()); + Assertions.assertNotNull(nodeDuringReimage); + Assertions.assertNotEquals(BatchNodeState.REIMAGING, nodeDuringReimage.getState(), + "Node should have left REIMAGING when operation already completed"); + } - // Wait until the OS has been re-applied and the node is usable - reimagePoller.waitForCompletion(); - BatchNode reimagedNode = reimagePoller.getFinalResult(); - Assertions.assertNotNull(reimagedNode, "Final result of beginReimageNode should not be null"); + // Wait until the OS has been re-applied and the node is usable + reimagePoller.waitForCompletion(); + BatchNode reimagedNode = reimagePoller.getFinalResult(); + Assertions.assertNotNull(reimagedNode, "Final result of beginReimageNode should not be null"); - Assertions.assertNotEquals(BatchNodeState.REIMAGING, reimagedNode.getState(), - "Node should have left the REIMAGING state once the operation completes"); + Assertions.assertNotEquals(BatchNodeState.REIMAGING, reimagedNode.getState(), + "Node should have left the REIMAGING state once the operation completes"); - // Shrink pool by one node - BatchNodeRemoveParameters removeParams = new BatchNodeRemoveParameters(Collections.singletonList(nodeIdB)) - .setNodeDeallocationOption(BatchNodeDeallocationOption.TASK_COMPLETION); + // Shrink pool by one node + BatchNodeRemoveParameters removeParams = new BatchNodeRemoveParameters(Collections.singletonList(nodeIdB)) + .setNodeDeallocationOption(BatchNodeDeallocationOption.TASK_COMPLETION); - SyncPoller removePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginRemoveNodes(poolId, removeParams), () -> Mono - .fromCallable(() -> batchAsyncClient.beginRemoveNodes(poolId, removeParams).getSyncPoller()))); + SyncPoller removePoller = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute( + () -> batchClient.beginRemoveNodes(poolId, removeParams), + () -> Mono.fromCallable(() -> batchAsyncClient.beginRemoveNodes(poolId, removeParams).getSyncPoller()))); - // First poll – pool should have entered RESIZING (value may be null on the first activation in playback mode) - PollResponse removeFirst = removePoller.poll(); - if (removeFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS && removeFirst.getValue() != null) { - Assertions.assertEquals(AllocationState.RESIZING, removeFirst.getValue().getAllocationState(), - "Pool should be in RESIZING immediately after removeNodes starts."); - } + // First poll – pool should have entered RESIZING (value may be null on the first activation in playback mode) + PollResponse removeFirst = removePoller.poll(); + if (removeFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS && removeFirst.getValue() != null) { + Assertions.assertEquals(AllocationState.RESIZING, removeFirst.getValue().getAllocationState(), + "Pool should be in RESIZING immediately after removeNodes starts."); + } - // Wait for the LRO to finish and grab the final pool object - removePoller.waitForCompletion(); - BatchPool poolAfterRemove = removePoller.getFinalResult(); + // Wait for the LRO to finish and grab the final pool object + removePoller.waitForCompletion(); + BatchPool poolAfterRemove = removePoller.getFinalResult(); - Assertions.assertNotNull(poolAfterRemove, "Final result of beginRemoveNodes should be the updated pool."); - Assertions.assertEquals(AllocationState.STEADY, poolAfterRemove.getAllocationState(), - "Pool must return to STEADY after node removal."); - Assertions.assertEquals(Integer.valueOf(1), poolAfterRemove.getTargetDedicatedNodes(), - "Pool should have shrunk to one dedicated node after beginRemoveNodes."); + Assertions.assertNotNull(poolAfterRemove, "Final result of beginRemoveNodes should be the updated pool."); + Assertions.assertEquals(AllocationState.STEADY, poolAfterRemove.getAllocationState(), + "Pool must return to STEADY after node removal."); + Assertions.assertEquals(Integer.valueOf(1), poolAfterRemove.getTargetDedicatedNodes(), + "Pool should have shrunk to one dedicated node after beginRemoveNodes."); - // Wait again for STEADY after auto-resize - pool = SyncAsyncExtension.execute(() -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), - () -> Mono.fromCallable(() -> waitForPoolStateAsync(poolId, AllocationState.STEADY, 15 * 60 * 1000))); + // Wait again for STEADY after auto-resize + pool = SyncAsyncExtension.execute(() -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), + () -> Mono.fromCallable(() -> waitForPoolStateAsync(poolId, AllocationState.STEADY, 15 * 60 * 1000))); - Assertions.assertEquals(Integer.valueOf(1), pool.getTargetDedicatedNodes(), - "Pool should have shrunk to one dedicated node after removeNodes."); + Assertions.assertEquals(Integer.valueOf(1), pool.getTargetDedicatedNodes(), + "Pool should have shrunk to one dedicated node after removeNodes."); - // Start a resize, then stop pool resize - BatchPoolResizeParameters grow = new BatchPoolResizeParameters().setTargetDedicatedNodes(2); + // Start a resize, then stop pool resize + BatchPoolResizeParameters grow = new BatchPoolResizeParameters().setTargetDedicatedNodes(2); - // Start the resize as an LRO - SyncPoller growPoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginResizePool(poolId, grow), - () -> Mono.fromCallable(() -> batchAsyncClient.beginResizePool(poolId, grow).getSyncPoller()))); + // Start the resize as an LRO + SyncPoller growPoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginResizePool(poolId, grow), + () -> Mono.fromCallable(() -> batchAsyncClient.beginResizePool(poolId, grow).getSyncPoller()))); - // Validate the very first poll – pool should be RESIZING - PollResponse growFirst = growPoller.poll(); - if (growFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS && growFirst.getValue() != null) { - Assertions.assertEquals(AllocationState.RESIZING, growFirst.getValue().getAllocationState(), - "Pool should enter RESIZING when beginResizePool starts."); - } + // Validate the very first poll – pool should be RESIZING + PollResponse growFirst = growPoller.poll(); + if (growFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS && growFirst.getValue() != null) { + Assertions.assertEquals(AllocationState.RESIZING, growFirst.getValue().getAllocationState(), + "Pool should enter RESIZING when beginResizePool starts."); + } - // Immediately stop it - SyncPoller stopPoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginStopPoolResize(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginStopPoolResize(poolId).getSyncPoller()))); - - // First poll – allocation state should be STOPPING or still RESIZING - PollResponse stopFirst = stopPoller.poll(); - if (stopFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS && stopFirst.getValue() != null) { - AllocationState interim = stopFirst.getValue().getAllocationState(); - Assertions.assertTrue(interim == AllocationState.STOPPING || interim == AllocationState.RESIZING, - "Unexpected interim allocation state: " + interim); - } + // Immediately stop it + SyncPoller stopPoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginStopPoolResize(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginStopPoolResize(poolId).getSyncPoller()))); + + // First poll – allocation state should be STOPPING or still RESIZING + PollResponse stopFirst = stopPoller.poll(); + if (stopFirst.getStatus() == LongRunningOperationStatus.IN_PROGRESS && stopFirst.getValue() != null) { + AllocationState interim = stopFirst.getValue().getAllocationState(); + Assertions.assertTrue(interim == AllocationState.STOPPING || interim == AllocationState.RESIZING, + "Unexpected interim allocation state: " + interim); + } - // Wait for completion - stopPoller.waitForCompletion(); - BatchPool stoppedPool = stopPoller.getFinalResult(); + // Wait for completion + stopPoller.waitForCompletion(); + BatchPool stoppedPool = stopPoller.getFinalResult(); - Assertions.assertNotNull(stoppedPool, "Final result of beginStopPoolResize should be the updated pool."); - Assertions.assertEquals(AllocationState.STEADY, stoppedPool.getAllocationState(), - "Pool should return to STEADY after stop-resize."); + Assertions.assertNotNull(stoppedPool, "Final result of beginStopPoolResize should be the updated pool."); + Assertions.assertEquals(AllocationState.STEADY, stoppedPool.getAllocationState(), + "Pool should return to STEADY after stop-resize."); - pool = SyncAsyncExtension.execute(() -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), - () -> Mono.fromCallable(() -> waitForPoolStateAsync(poolId, AllocationState.STEADY, 15 * 60 * 1000))); + pool = SyncAsyncExtension.execute(() -> waitForPoolState(poolId, AllocationState.STEADY, 15 * 60 * 1000), + () -> Mono.fromCallable(() -> waitForPoolStateAsync(poolId, AllocationState.STEADY, 15 * 60 * 1000))); - Assertions.assertNotEquals(AllocationState.RESIZING, pool.getAllocationState(), - "Pool should not remain in RESIZING after stopPoolResize."); + Assertions.assertNotEquals(AllocationState.RESIZING, pool.getAllocationState(), + "Pool should not remain in RESIZING after stopPoolResize."); - } finally { - // Clean-up - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for pool: " + poolId); - e.printStackTrace(); - } + // Clean-up + try { + SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( + SyncAsyncExtension.execute(() -> batchClient.beginDeletePool(poolId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeletePool(poolId).getSyncPoller()))); + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for pool: " + poolId); + e.printStackTrace(); } } } diff --git a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/SharedKeyTests.java b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/SharedKeyTests.java index 801104081280..9f5f0df08d39 100644 --- a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/SharedKeyTests.java +++ b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/SharedKeyTests.java @@ -3,7 +3,6 @@ package com.azure.compute.batch; import com.azure.compute.batch.models.BatchMetadataItem; -import com.azure.compute.batch.models.BatchNodeCommunicationMode; import com.azure.compute.batch.models.BatchPool; import com.azure.compute.batch.models.BatchPoolCreateParameters; import com.azure.compute.batch.models.BatchPoolReplaceParameters; @@ -51,120 +50,93 @@ public void testPoolCRUD() { // Generate a jobId that is unique per test mode (sync vs async) String testModeSuffix = SyncAsyncExtension.execute(() -> "sync", () -> Mono.just("async")); String poolId = sharedKeyPoolPrefix + "-" + testModeSuffix; + + // Creating Pool + BatchVmImageReference imgRef = new BatchVmImageReference().setPublisher("microsoftwindowsserver") + .setOffer("windowsserver") + .setSku("2022-datacenter-smalldisk"); + + VirtualMachineConfiguration configuration = new VirtualMachineConfiguration(imgRef, nodeAgentSkuId); + + BatchPoolCreateParameters poolCreateParameters = new BatchPoolCreateParameters(poolId, vmSize); + poolCreateParameters.setTargetDedicatedNodes(2).setVirtualMachineConfiguration(configuration); + + Response response = SyncAsyncExtension.execute( + () -> batchClientWithSharedKey.createPoolWithResponse(BinaryData.fromObject(poolCreateParameters), null), + () -> batchAsyncClientWithSharedKey.createPoolWithResponse(BinaryData.fromObject(poolCreateParameters), + null)); + + String authorizationValue = response.getRequest().getHeaders().getValue(HttpHeaderName.AUTHORIZATION); + Assertions.assertTrue(authorizationValue.contains("SharedKey"), "Test is not using SharedKey authentication"); + + // Getting Pool + boolean exists = SyncAsyncExtension.execute(() -> poolExists(batchClientWithSharedKey, poolId), + () -> poolExists(batchAsyncClientWithSharedKey, poolId)); + Assertions.assertTrue(exists, "Pool should exist after creation"); + + BatchPool pool = SyncAsyncExtension.execute(() -> batchClientWithSharedKey.getPool(poolId), + () -> batchAsyncClientWithSharedKey.getPool(poolId)); + Assertions.assertEquals(pool.getId(), poolId); + Assertions.assertEquals(pool.getVirtualMachineConfiguration().getNodeAgentSkuId(), nodeAgentSkuId); + Assertions.assertEquals(vmSize.toLowerCase(), pool.getVmSize().toLowerCase()); + + // Replacing Pool Properties + ArrayList updatedMetadata = new ArrayList(); + updatedMetadata.add(new BatchMetadataItem("foo", "bar")); + + BatchPoolReplaceParameters poolReplaceParameters + = new BatchPoolReplaceParameters(new ArrayList<>(), updatedMetadata); + + SyncAsyncExtension.execute(() -> batchClientWithSharedKey.replacePoolProperties(poolId, poolReplaceParameters), + () -> batchAsyncClientWithSharedKey.replacePoolProperties(poolId, poolReplaceParameters)); + + pool = SyncAsyncExtension.execute(() -> batchClientWithSharedKey.getPool(poolId), + () -> batchAsyncClientWithSharedKey.getPool(poolId)); + List metadata = pool.getMetadata(); + Assertions.assertTrue(metadata.size() == 1 && metadata.get(0).getName().equals("foo")); + + //Update Pool + updatedMetadata.clear(); + updatedMetadata.add(new BatchMetadataItem("key1", "value1")); + BatchPoolUpdateParameters poolUpdateParameters = new BatchPoolUpdateParameters().setMetadata(updatedMetadata); + Response updatePoolResponse = SyncAsyncExtension.execute( + () -> batchClientWithSharedKey.updatePoolWithResponse(poolId, BinaryData.fromObject(poolUpdateParameters), + null), + () -> batchAsyncClientWithSharedKey.updatePoolWithResponse(poolId, + BinaryData.fromObject(poolUpdateParameters), null)); + HttpRequest updatePoolRequest = updatePoolResponse.getRequest(); + HttpHeader ocpDateHeader = updatePoolRequest.getHeaders().get(HttpHeaderName.fromString("ocp-date")); + Assertions.assertNull(ocpDateHeader); + HttpHeader dateHeader = updatePoolRequest.getHeaders().get(HttpHeaderName.DATE); + Assertions.assertNotNull(dateHeader); + authorizationValue = updatePoolRequest.getHeaders().getValue(HttpHeaderName.AUTHORIZATION); + Assertions.assertTrue(authorizationValue.contains("SharedKey"), "Test is not using SharedKey authentication"); + + // Get Pool With ocp-Date header + RequestOptions requestOptions = new RequestOptions(); + requestOptions.setHeader(HttpHeaderName.fromString("ocp-date"), new DateTimeRfc1123(now()).toString()); + Response poolGetResponse + = SyncAsyncExtension.execute(() -> batchClientWithSharedKey.getPoolWithResponse(poolId, requestOptions), + () -> batchAsyncClientWithSharedKey.getPoolWithResponse(poolId, requestOptions)); + HttpRequest getPoolRequest = poolGetResponse.getRequest(); + ocpDateHeader = getPoolRequest.getHeaders().get(HttpHeaderName.fromString("ocp-date")); + Assertions.assertNotNull(ocpDateHeader); + Assertions.assertFalse(ocpDateHeader.getValue().isEmpty()); + pool = poolGetResponse.getValue().toObject(BatchPool.class); + + authorizationValue = getPoolRequest.getHeaders().getValue(HttpHeaderName.AUTHORIZATION); + Assertions.assertTrue(authorizationValue.contains("SharedKey"), "Test is not using SharedKey authentication"); + + metadata = pool.getMetadata(); + Assertions.assertTrue(metadata.size() == 1 && metadata.get(0).getName().equals("key1")); + + // Deleting Pool try { - /* - * Creating Pool - */ - BatchVmImageReference imgRef = new BatchVmImageReference().setPublisher("microsoftwindowsserver") - .setOffer("windowsserver") - .setSku("2022-datacenter-smalldisk"); - - VirtualMachineConfiguration configuration = new VirtualMachineConfiguration(imgRef, nodeAgentSkuId); - - BatchPoolCreateParameters poolCreateParameters = new BatchPoolCreateParameters(poolId, vmSize); - poolCreateParameters.setTargetDedicatedNodes(2) - .setVirtualMachineConfiguration(configuration) - .setTargetNodeCommunicationMode(BatchNodeCommunicationMode.DEFAULT); - - Response response = SyncAsyncExtension.execute( - () -> batchClientWithSharedKey.createPoolWithResponse(BinaryData.fromObject(poolCreateParameters), - null), - () -> batchAsyncClientWithSharedKey.createPoolWithResponse(BinaryData.fromObject(poolCreateParameters), - null)); - - String authorizationValue = response.getRequest().getHeaders().getValue(HttpHeaderName.AUTHORIZATION); - Assertions.assertTrue(authorizationValue.contains("SharedKey"), - "Test is not using SharedKey authentication"); - - /* - * Getting Pool - */ - boolean exists = SyncAsyncExtension.execute(() -> poolExists(batchClientWithSharedKey, poolId), - () -> poolExists(batchAsyncClientWithSharedKey, poolId)); - Assertions.assertTrue(exists, "Pool should exist after creation"); - - BatchPool pool = SyncAsyncExtension.execute(() -> batchClientWithSharedKey.getPool(poolId), - () -> batchAsyncClientWithSharedKey.getPool(poolId)); - Assertions.assertEquals(pool.getId(), poolId); - Assertions.assertEquals(pool.getVirtualMachineConfiguration().getNodeAgentSkuId(), nodeAgentSkuId); - Assertions.assertEquals(vmSize.toLowerCase(), pool.getVmSize().toLowerCase()); - - /* - * Replacing Pool Properties - */ - ArrayList updatedMetadata = new ArrayList(); - updatedMetadata.add(new BatchMetadataItem("foo", "bar")); - - BatchPoolReplaceParameters poolReplaceParameters - = new BatchPoolReplaceParameters(new ArrayList<>(), new ArrayList<>(), updatedMetadata); - - poolReplaceParameters.setTargetNodeCommunicationMode(BatchNodeCommunicationMode.SIMPLIFIED); - - SyncAsyncExtension.execute( - () -> batchClientWithSharedKey.replacePoolProperties(poolId, poolReplaceParameters), - () -> batchAsyncClientWithSharedKey.replacePoolProperties(poolId, poolReplaceParameters)); - - pool = SyncAsyncExtension.execute(() -> batchClientWithSharedKey.getPool(poolId), - () -> batchAsyncClientWithSharedKey.getPool(poolId)); - Assertions.assertEquals(BatchNodeCommunicationMode.SIMPLIFIED, pool.getTargetNodeCommunicationMode()); - List metadata = pool.getMetadata(); - Assertions.assertTrue(metadata.size() == 1 && metadata.get(0).getName().equals("foo")); - - /* - * Update Pool - */ - updatedMetadata.clear(); - updatedMetadata.add(new BatchMetadataItem("key1", "value1")); - BatchPoolUpdateParameters poolUpdateParameters - = new BatchPoolUpdateParameters().setMetadata(updatedMetadata) - .setTargetNodeCommunicationMode(BatchNodeCommunicationMode.CLASSIC); - Response updatePoolResponse = SyncAsyncExtension.execute( - () -> batchClientWithSharedKey.updatePoolWithResponse(poolId, - BinaryData.fromObject(poolUpdateParameters), null), - () -> batchAsyncClientWithSharedKey.updatePoolWithResponse(poolId, - BinaryData.fromObject(poolUpdateParameters), null)); - HttpRequest updatePoolRequest = updatePoolResponse.getRequest(); - HttpHeader ocpDateHeader = updatePoolRequest.getHeaders().get(HttpHeaderName.fromString("ocp-date")); - Assertions.assertNull(ocpDateHeader); - HttpHeader dateHeader = updatePoolRequest.getHeaders().get(HttpHeaderName.DATE); - Assertions.assertNotNull(dateHeader); - authorizationValue = updatePoolRequest.getHeaders().getValue(HttpHeaderName.AUTHORIZATION); - Assertions.assertTrue(authorizationValue.contains("SharedKey"), - "Test is not using SharedKey authentication"); - - /* - * Get Pool With ocp-Date header - */ - RequestOptions requestOptions = new RequestOptions(); - requestOptions.setHeader(HttpHeaderName.fromString("ocp-date"), new DateTimeRfc1123(now()).toString()); - Response poolGetResponse - = SyncAsyncExtension.execute(() -> batchClientWithSharedKey.getPoolWithResponse(poolId, requestOptions), - () -> batchAsyncClientWithSharedKey.getPoolWithResponse(poolId, requestOptions)); - HttpRequest getPoolRequest = poolGetResponse.getRequest(); - ocpDateHeader = getPoolRequest.getHeaders().get(HttpHeaderName.fromString("ocp-date")); - Assertions.assertNotNull(ocpDateHeader); - Assertions.assertFalse(ocpDateHeader.getValue().isEmpty()); - pool = poolGetResponse.getValue().toObject(BatchPool.class); - - authorizationValue = getPoolRequest.getHeaders().getValue(HttpHeaderName.AUTHORIZATION); - Assertions.assertTrue(authorizationValue.contains("SharedKey"), - "Test is not using SharedKey authentication"); - - Assertions.assertEquals(BatchNodeCommunicationMode.CLASSIC, pool.getTargetNodeCommunicationMode()); - metadata = pool.getMetadata(); - Assertions.assertTrue(metadata.size() == 1 && metadata.get(0).getName().equals("key1")); - - } finally { - /* - * Deleting Pool - */ - try { - SyncAsyncExtension.execute(() -> batchClientWithSharedKey.deletePool(poolId), - () -> batchAsyncClientWithSharedKey.deletePool(poolId)); - } catch (Exception e) { - System.err.println("Cleanup failed for pool: " + poolId); - e.printStackTrace(); - } + SyncAsyncExtension.execute(() -> batchClientWithSharedKey.deletePool(poolId), + () -> batchAsyncClientWithSharedKey.deletePool(poolId)); + } catch (Exception e) { + System.err.println("Cleanup failed for pool: " + poolId); + e.printStackTrace(); } } } diff --git a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/TaskTests.java b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/TaskTests.java index 518452437539..730a5cda9086 100644 --- a/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/TaskTests.java +++ b/sdk/batch/azure-compute-batch/src/test/java/com/azure/compute/batch/TaskTests.java @@ -79,58 +79,57 @@ public void testTaskUnifiedModel() { String testModeSuffix = SyncAsyncExtension.execute(() -> "sync", () -> Mono.just("async")); String taskId = "task-canPut" + testModeSuffix; String jobId = getStringIdWithUserNamePrefix("-SampleJob" + testModeSuffix); - try { - //CREATE JOB - BatchPoolInfo poolInfo = new BatchPoolInfo(); - poolInfo.setPoolId(livePoolId); - BatchJobCreateParameters jobToCreate = new BatchJobCreateParameters(jobId, poolInfo); - SyncAsyncExtension.execute(() -> batchClient.createJob(jobToCreate), - () -> batchAsyncClient.createJob(jobToCreate)); - - //CREATE TASK - BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "echo hello world"); - SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), - () -> batchAsyncClient.createTask(jobId, taskToCreate)); - - // GET - BatchTask taskBeforeUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); - //UPDATE - Integer maxRetrycount = 5; - Duration retentionPeriod = Duration.ofDays(5); - taskBeforeUpdate.setConstraints( - new BatchTaskConstraints().setMaxTaskRetryCount(maxRetrycount).setRetentionTime(retentionPeriod)); + //CREATE JOB + BatchPoolInfo poolInfo = new BatchPoolInfo(); + poolInfo.setPoolId(livePoolId); + BatchJobCreateParameters jobToCreate = new BatchJobCreateParameters(jobId, poolInfo); + SyncAsyncExtension.execute(() -> batchClient.createJob(jobToCreate), + () -> batchAsyncClient.createJob(jobToCreate)); - SyncAsyncExtension.execute(() -> batchClient.replaceTask(jobId, taskId, taskBeforeUpdate), - () -> batchAsyncClient.replaceTask(jobId, taskId, taskBeforeUpdate)); + //CREATE TASK + BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "echo hello world"); + SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), + () -> batchAsyncClient.createTask(jobId, taskToCreate)); - //GET After UPDATE - BatchTask taskAfterUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); + // GET + BatchTask taskBeforeUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); - Assertions.assertEquals(maxRetrycount, taskAfterUpdate.getConstraints().getMaxTaskRetryCount()); - Assertions.assertEquals(retentionPeriod, taskAfterUpdate.getConstraints().getRetentionTime()); - } finally { - try { - SyncAsyncExtension.execute(() -> batchClient.deleteTask(jobId, taskId), - () -> batchAsyncClient.deleteTask(jobId, taskId)); - } catch (Exception e) { - System.err.println("Cleanup failed for task: " + taskId); - e.printStackTrace(); - } + //UPDATE + Integer maxRetrycount = 5; + Duration retentionPeriod = Duration.ofDays(5); + taskBeforeUpdate.setConstraints( + new BatchTaskConstraints().setMaxTaskRetryCount(maxRetrycount).setRetentionTime(retentionPeriod)); - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + SyncAsyncExtension.execute(() -> batchClient.replaceTask(jobId, taskId, taskBeforeUpdate), + () -> batchAsyncClient.replaceTask(jobId, taskId, taskBeforeUpdate)); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + //GET After UPDATE + BatchTask taskAfterUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); + + Assertions.assertEquals(maxRetrycount, taskAfterUpdate.getConstraints().getMaxTaskRetryCount()); + Assertions.assertEquals(retentionPeriod, taskAfterUpdate.getConstraints().getRetentionTime()); + + try { + SyncAsyncExtension.execute(() -> batchClient.deleteTask(jobId, taskId), + () -> batchAsyncClient.deleteTask(jobId, taskId)); + } catch (Exception e) { + System.err.println("Cleanup failed for task: " + taskId); + e.printStackTrace(); + } + + // DELETE + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } @@ -147,41 +146,38 @@ public void testJobUser() { SyncAsyncExtension.execute(() -> batchClient.createJob(jobToCreate), () -> batchAsyncClient.createJob(jobToCreate)); - try { - // CREATE - List apps = new ArrayList<>(); - apps.add(new BatchApplicationPackageReference("MSMPI")); - BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "echo hello\"") - .setUserIdentity(new UserIdentity().setUsername("test-user")) - .setApplicationPackageReferences(apps); + // CREATE + List apps = new ArrayList<>(); + apps.add(new BatchApplicationPackageReference("MSMPI")); + BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "echo hello\"") + .setUserIdentity(new UserIdentity().setUsername("test-user")) + .setApplicationPackageReferences(apps); - SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), - () -> batchAsyncClient.createTask(jobId, taskToCreate)); + SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), + () -> batchAsyncClient.createTask(jobId, taskToCreate)); - // GET - BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); - Assertions.assertNotNull(task); - Assertions.assertEquals(taskId, task.getId()); - Assertions.assertEquals("test-user", task.getUserIdentity().getUsername()); + // GET + BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); + Assertions.assertNotNull(task); + Assertions.assertEquals(taskId, task.getId()); + Assertions.assertEquals("test-user", task.getUserIdentity().getUsername()); - //Recording file automatically sanitizes Application Id - Only verify App Id in Record Mode - if (getTestMode() == TestMode.RECORD) { - Assertions.assertEquals("msmpi", task.getApplicationPackageReferences().get(0).getApplicationId()); - } + //Recording file automatically sanitizes Application Id - Only verify App Id in Record Mode + if (getTestMode() == TestMode.RECORD) { + Assertions.assertEquals("msmpi", task.getApplicationPackageReferences().get(0).getApplicationId()); + } - } finally { - // DELETE - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + // DELETE + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } @@ -209,145 +205,141 @@ public void canCRUDTest() throws Exception { String storageAccountKey = Configuration.getGlobalConfiguration().get("STORAGE_ACCOUNT_KEY"); BlobContainerClient container = null; - try { - String sas = ""; + String sas = ""; - //The Storage operations run only in Record mode. - // Playback mode is configured to test Batch operations only. - if (getTestMode() != TestMode.PLAYBACK) { - // Create storage container - String containerName = "testingtaskcreate" + testModeSuffix; - container = createBlobContainer(storageAccountName, storageAccountKey, containerName); - sas = uploadFileToCloud(container, blobFileName, temp.getAbsolutePath()); - } else { - sas = redacted; + //The Storage operations run only in Record mode. + // Playback mode is configured to test Batch operations only. + if (getTestMode() != TestMode.PLAYBACK) { + // Create storage container + String containerName = "testingtaskcreate" + testModeSuffix; + container = createBlobContainer(storageAccountName, storageAccountKey, containerName); + sas = uploadFileToCloud(container, blobFileName, temp.getAbsolutePath()); + } else { + sas = redacted; + } + + // Associate resource file with task + ResourceFile file = new ResourceFile(); + file.setFilePath(blobFileName); + file.setHttpUrl(sas); + List files = new ArrayList<>(); + files.add(file); + + // CREATE + BatchTaskCreateParameters taskToCreate + = new BatchTaskCreateParameters(taskId, String.format("type %s", blobFileName)).setResourceFiles(files); + SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), + () -> batchAsyncClient.createTask(jobId, taskToCreate)); + + // GET + BatchTask taskBeforeUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); + Assertions.assertNotNull(taskBeforeUpdate); + Assertions.assertEquals(taskId, taskBeforeUpdate.getId()); + + // Verify default retention time + Assertions.assertEquals(Duration.ofDays(7), taskBeforeUpdate.getConstraints().getRetentionTime()); + + // UPDATE + taskBeforeUpdate.setConstraints(new BatchTaskConstraints().setMaxTaskRetryCount(5)); + SyncAsyncExtension.execute(() -> batchClient.replaceTask(jobId, taskId, taskBeforeUpdate), + () -> batchAsyncClient.replaceTask(jobId, taskId, taskBeforeUpdate)); + + BatchTask taskAfterUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); + + Assertions.assertEquals((Integer) 5, taskAfterUpdate.getConstraints().getMaxTaskRetryCount()); + + // LIST + Iterable tasks = SyncAsyncExtension.execute(() -> batchClient.listTasks(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.listTasks(jobId).toIterable())); + Assertions.assertNotNull(tasks); + + boolean found = false; + for (BatchTask t : tasks) { + if (t.getId().equals(taskId)) { + found = true; + break; } + } - // Associate resource file with task - ResourceFile file = new ResourceFile(); - file.setFilePath(blobFileName); - file.setHttpUrl(sas); - List files = new ArrayList<>(); - files.add(file); + Assertions.assertTrue(found); - // CREATE - BatchTaskCreateParameters taskToCreate - = new BatchTaskCreateParameters(taskId, String.format("type %s", blobFileName)).setResourceFiles(files); - SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), - () -> batchAsyncClient.createTask(jobId, taskToCreate)); + boolean completed = SyncAsyncExtension + .execute(() -> waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds), () -> Mono + .fromCallable(() -> waitForTasksToComplete(batchAsyncClient, jobId, taskCompleteTimeoutInSeconds))); - // GET - BatchTask taskBeforeUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + if (completed) { + // Get the task command output file + BatchTask taskAfterUpdate2 = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), () -> batchAsyncClient.getTask(jobId, taskId)); - Assertions.assertNotNull(taskBeforeUpdate); - Assertions.assertEquals(taskId, taskBeforeUpdate.getId()); - // Verify default retention time - Assertions.assertEquals(Duration.ofDays(7), taskBeforeUpdate.getConstraints().getRetentionTime()); + BinaryData binaryData = SyncAsyncExtension.execute( + () -> batchClient.getTaskFile(jobId, taskId, standardConsoleOutputFilename), + () -> batchAsyncClient.getTaskFile(jobId, taskId, standardConsoleOutputFilename)); - // UPDATE - taskBeforeUpdate.setConstraints(new BatchTaskConstraints().setMaxTaskRetryCount(5)); - SyncAsyncExtension.execute(() -> batchClient.replaceTask(jobId, taskId, taskBeforeUpdate), - () -> batchAsyncClient.replaceTask(jobId, taskId, taskBeforeUpdate)); + String fileContent = new String(binaryData.toBytes(), StandardCharsets.UTF_8); + Assertions.assertEquals("This is an example", fileContent); - BatchTask taskAfterUpdate = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); + String outputSas = ""; - Assertions.assertEquals((Integer) 5, taskAfterUpdate.getConstraints().getMaxTaskRetryCount()); - - // LIST - Iterable tasks = SyncAsyncExtension.execute(() -> batchClient.listTasks(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.listTasks(jobId).toIterable())); - Assertions.assertNotNull(tasks); - - boolean found = false; - for (BatchTask t : tasks) { - if (t.getId().equals(taskId)) { - found = true; - break; - } + //The Storage operations run only in Record mode. + // Playback mode is configured to test Batch operations only. + if (getTestMode() != TestMode.PLAYBACK) { + outputSas = generateContainerSasToken(container); + } else { + outputSas = redacted; } + // UPLOAD LOG + UploadBatchServiceLogsParameters logsParameters + = new UploadBatchServiceLogsParameters(outputSas, OffsetDateTime.now().minusMinutes(-10)); + UploadBatchServiceLogsResult uploadBatchServiceLogsResult = SyncAsyncExtension.execute( + () -> batchClient.uploadNodeLogs(liveIaasPoolId, taskAfterUpdate2.getNodeInfo().getNodeId(), + logsParameters), + () -> batchAsyncClient.uploadNodeLogs(liveIaasPoolId, taskAfterUpdate2.getNodeInfo().getNodeId(), + logsParameters)); + + Assertions.assertNotNull(uploadBatchServiceLogsResult); + Assertions.assertTrue(uploadBatchServiceLogsResult.getNumberOfFilesUploaded() > 0); + Assertions.assertTrue(uploadBatchServiceLogsResult.getVirtualDirectoryName() + .toLowerCase() + .contains(liveIaasPoolId.toLowerCase())); + } - Assertions.assertTrue(found); - - boolean completed = SyncAsyncExtension - .execute(() -> waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds), () -> Mono - .fromCallable(() -> waitForTasksToComplete(batchAsyncClient, jobId, taskCompleteTimeoutInSeconds))); - - if (completed) { - // Get the task command output file - BatchTask taskAfterUpdate2 = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); - - BinaryData binaryData = SyncAsyncExtension.execute( - () -> batchClient.getTaskFile(jobId, taskId, standardConsoleOutputFilename), - () -> batchAsyncClient.getTaskFile(jobId, taskId, standardConsoleOutputFilename)); - - String fileContent = new String(binaryData.toBytes(), StandardCharsets.UTF_8); - Assertions.assertEquals("This is an example", fileContent); - - String outputSas = ""; - - //The Storage operations run only in Record mode. - // Playback mode is configured to test Batch operations only. - if (getTestMode() != TestMode.PLAYBACK) { - outputSas = generateContainerSasToken(container); - } else { - outputSas = redacted; - } - // UPLOAD LOG - UploadBatchServiceLogsParameters logsParameters - = new UploadBatchServiceLogsParameters(outputSas, OffsetDateTime.now().minusMinutes(-10)); - UploadBatchServiceLogsResult uploadBatchServiceLogsResult = SyncAsyncExtension.execute( - () -> batchClient.uploadNodeLogs(liveIaasPoolId, taskAfterUpdate2.getNodeInfo().getNodeId(), - logsParameters), - () -> batchAsyncClient.uploadNodeLogs(liveIaasPoolId, taskAfterUpdate2.getNodeInfo().getNodeId(), - logsParameters)); - - Assertions.assertNotNull(uploadBatchServiceLogsResult); - Assertions.assertTrue(uploadBatchServiceLogsResult.getNumberOfFilesUploaded() > 0); - Assertions.assertTrue(uploadBatchServiceLogsResult.getVirtualDirectoryName() - .toLowerCase() - .contains(liveIaasPoolId.toLowerCase())); + // DELETE + SyncAsyncExtension.execute(() -> batchClient.deleteTask(jobId, taskId), + () -> batchAsyncClient.deleteTask(jobId, taskId)); + try { + SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); + Assertions.assertTrue(true, "Shouldn't be here, the job should be deleted"); + } catch (Exception e) { + if (!e.getMessage().contains("Status code 404")) { + throw e; } + } - // DELETE - SyncAsyncExtension.execute(() -> batchClient.deleteTask(jobId, taskId), - () -> batchAsyncClient.deleteTask(jobId, taskId)); - try { - SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); - Assertions.assertTrue(true, "Shouldn't be here, the job should be deleted"); - } catch (Exception e) { - if (!e.getMessage().contains("Status code 404")) { - throw e; - } - } - } catch (Exception e) { - throw e; - } finally { - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } - try { - container.deleteIfExists(); - } catch (Exception e) { - e.printStackTrace(); - } - try { - SyncAsyncExtension.execute(() -> batchClient.deletePool(liveIaasPoolId), - () -> batchAsyncClient.deletePool(liveIaasPoolId)); - } catch (Exception e) { - System.err.println("Cleanup failed for pool: " + liveIaasPoolId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); + } + try { + container.deleteIfExists(); + } catch (Exception e) { + e.printStackTrace(); + } + try { + SyncAsyncExtension.execute(() -> batchClient.deletePool(liveIaasPoolId), + () -> batchAsyncClient.deletePool(liveIaasPoolId)); + } catch (Exception e) { + System.err.println("Cleanup failed for pool: " + liveIaasPoolId); + e.printStackTrace(); } } @@ -364,42 +356,40 @@ public void testAddMultiTasks() { int taskCount = 1000; - try { - // CREATE - List tasksToAdd = new ArrayList<>(); - for (int i = 0; i < taskCount; i++) { - BatchTaskCreateParameters taskCreateParameters = new BatchTaskCreateParameters( - String.format("mytask%d", i) + testModeSuffix, String.format("echo hello %d", i)); - tasksToAdd.add(taskCreateParameters); - } - BatchTaskBulkCreateOptions option = new BatchTaskBulkCreateOptions(); - option.setMaxConcurrency(10); - SyncAsyncExtension.execute(() -> batchClient.createTasks(jobId, tasksToAdd, option), - () -> batchAsyncClient.createTasks(jobId, tasksToAdd, option)); - - // Wait to ensure all tasks are visible in listTasks() - sleepIfRunningAgainstService(15000); + // CREATE + List tasksToAdd = new ArrayList<>(); + for (int i = 0; i < taskCount; i++) { + BatchTaskCreateParameters taskCreateParameters = new BatchTaskCreateParameters( + String.format("mytask%d", i) + testModeSuffix, String.format("echo hello %d", i)); + tasksToAdd.add(taskCreateParameters); + } + BatchTaskBulkCreateOptions option = new BatchTaskBulkCreateOptions(); + option.setMaxConcurrency(10); + SyncAsyncExtension.execute(() -> batchClient.createTasks(jobId, tasksToAdd, option), + () -> batchAsyncClient.createTasks(jobId, tasksToAdd, option)); + + // Wait to ensure all tasks are visible in listTasks() + sleepIfRunningAgainstService(15000); + + // LIST + Iterable tasks = SyncAsyncExtension.execute(() -> batchClient.listTasks(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.listTasks(jobId).toIterable())); + Assertions.assertNotNull(tasks); + int taskListCount = 0; + for (BatchTask task : tasks) { + ++taskListCount; + } + Assertions.assertEquals(taskListCount, taskCount); - // LIST - Iterable tasks = SyncAsyncExtension.execute(() -> batchClient.listTasks(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.listTasks(jobId).toIterable())); - Assertions.assertNotNull(tasks); - int taskListCount = 0; - for (BatchTask task : tasks) { - ++taskListCount; - } - Assertions.assertEquals(taskListCount, taskCount); - } finally { - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } @@ -681,55 +671,52 @@ public void testGetTaskCounts() { int taskCount = 1000; - try { - // Test Job count - BatchTaskCountsResult countResult = SyncAsyncExtension.execute(() -> batchClient.getJobTaskCounts(jobId), - () -> batchAsyncClient.getJobTaskCounts(jobId)); + // Test Job count + BatchTaskCountsResult countResult = SyncAsyncExtension.execute(() -> batchClient.getJobTaskCounts(jobId), + () -> batchAsyncClient.getJobTaskCounts(jobId)); - BatchTaskCounts counts = countResult.getTaskCounts(); - int all = counts.getActive() + counts.getCompleted() + counts.getRunning(); - Assertions.assertEquals(0, all); + BatchTaskCounts counts = countResult.getTaskCounts(); + int all = counts.getActive() + counts.getCompleted() + counts.getRunning(); + Assertions.assertEquals(0, all); - BatchTaskSlotCounts slotCounts = countResult.getTaskSlotCounts(); - int allSlots = slotCounts.getActive() + slotCounts.getCompleted() + slotCounts.getRunning(); - Assertions.assertEquals(0, allSlots); + BatchTaskSlotCounts slotCounts = countResult.getTaskSlotCounts(); + int allSlots = slotCounts.getActive() + slotCounts.getCompleted() + slotCounts.getRunning(); + Assertions.assertEquals(0, allSlots); - // CREATE - List tasksToAdd = new ArrayList<>(); - for (int i = 0; i < taskCount; i++) { - BatchTaskCreateParameters taskCreateParameters - = new BatchTaskCreateParameters(String.format("mytask%d", i), String.format("echo hello %d", i)); - tasksToAdd.add(taskCreateParameters); - } - BatchTaskBulkCreateOptions option = new BatchTaskBulkCreateOptions(); - option.setMaxConcurrency(10); - SyncAsyncExtension.execute(() -> batchClient.createTasks(jobId, tasksToAdd, option), - () -> batchAsyncClient.createTasks(jobId, tasksToAdd, option)); - - //The Waiting period is only needed in record mode. - sleepIfRunningAgainstService(30 * 1000); - - // Test Job count - countResult = SyncAsyncExtension.execute(() -> batchClient.getJobTaskCounts(jobId), - () -> batchAsyncClient.getJobTaskCounts(jobId)); - counts = countResult.getTaskCounts(); - all = counts.getActive() + counts.getCompleted() + counts.getRunning(); - Assertions.assertEquals(taskCount, all); - - slotCounts = countResult.getTaskSlotCounts(); - allSlots = slotCounts.getActive() + slotCounts.getCompleted() + slotCounts.getRunning(); - // One slot per task - Assertions.assertEquals(taskCount, allSlots); - } finally { - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + // CREATE + List tasksToAdd = new ArrayList<>(); + for (int i = 0; i < taskCount; i++) { + BatchTaskCreateParameters taskCreateParameters + = new BatchTaskCreateParameters(String.format("mytask%d", i), String.format("echo hello %d", i)); + tasksToAdd.add(taskCreateParameters); + } + BatchTaskBulkCreateOptions option = new BatchTaskBulkCreateOptions(); + option.setMaxConcurrency(10); + SyncAsyncExtension.execute(() -> batchClient.createTasks(jobId, tasksToAdd, option), + () -> batchAsyncClient.createTasks(jobId, tasksToAdd, option)); + + //The Waiting period is only needed in record mode. + sleepIfRunningAgainstService(30 * 1000); + + // Test Job count + countResult = SyncAsyncExtension.execute(() -> batchClient.getJobTaskCounts(jobId), + () -> batchAsyncClient.getJobTaskCounts(jobId)); + counts = countResult.getTaskCounts(); + all = counts.getActive() + counts.getCompleted() + counts.getRunning(); + Assertions.assertEquals(taskCount, all); + + slotCounts = countResult.getTaskSlotCounts(); + allSlots = slotCounts.getActive() + slotCounts.getCompleted() + slotCounts.getRunning(); + // One slot per task + Assertions.assertEquals(taskCount, allSlots); + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } @@ -758,85 +745,82 @@ public void testOutputFiles() { containerUrl = generateContainerSasToken(containerClient); } - try { - // CREATE - List outputs = new ArrayList<>(); - OutputFileBlobContainerDestination fileBlobContainerDestination - = new OutputFileBlobContainerDestination(containerUrl); - fileBlobContainerDestination.setPath("taskLogs/output.txt"); + // CREATE + List outputs = new ArrayList<>(); + OutputFileBlobContainerDestination fileBlobContainerDestination + = new OutputFileBlobContainerDestination(containerUrl); + fileBlobContainerDestination.setPath("taskLogs/output.txt"); - OutputFileDestination fileDestination = new OutputFileDestination(); - fileDestination.setContainer(fileBlobContainerDestination); + OutputFileDestination fileDestination = new OutputFileDestination(); + fileDestination.setContainer(fileBlobContainerDestination); - outputs.add(new OutputFile("../stdout.txt", fileDestination, - new OutputFileUploadConfig(OutputFileUploadCondition.TASK_COMPLETION))); + outputs.add(new OutputFile("../stdout.txt", fileDestination, + new OutputFileUploadConfig(OutputFileUploadCondition.TASK_COMPLETION))); - OutputFileBlobContainerDestination fileBlobErrContainerDestination - = new OutputFileBlobContainerDestination(containerUrl); - fileBlobErrContainerDestination.setPath("taskLogs/err.txt"); + OutputFileBlobContainerDestination fileBlobErrContainerDestination + = new OutputFileBlobContainerDestination(containerUrl); + fileBlobErrContainerDestination.setPath("taskLogs/err.txt"); - outputs.add(new OutputFile("../stderr.txt", - new OutputFileDestination().setContainer(fileBlobErrContainerDestination), + outputs.add( + new OutputFile("../stderr.txt", new OutputFileDestination().setContainer(fileBlobErrContainerDestination), new OutputFileUploadConfig(OutputFileUploadCondition.TASK_FAILURE))); - BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "echo hello"); - taskToCreate.setOutputFiles(outputs); + BatchTaskCreateParameters taskToCreate = new BatchTaskCreateParameters(taskId, "echo hello"); + taskToCreate.setOutputFiles(outputs); - SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), - () -> batchAsyncClient.createTask(jobId, taskToCreate)); + SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, taskToCreate), + () -> batchAsyncClient.createTask(jobId, taskToCreate)); - if (waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds)) { - BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), - () -> batchAsyncClient.getTask(jobId, taskId)); - Assertions.assertNotNull(task); - Assertions.assertEquals(BatchTaskExecutionResult.SUCCESS, task.getExecutionInfo().getResult()); - Assertions.assertNull(task.getExecutionInfo().getFailureInfo()); + if (waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds)) { + BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, taskId), + () -> batchAsyncClient.getTask(jobId, taskId)); + Assertions.assertNotNull(task); + Assertions.assertEquals(BatchTaskExecutionResult.SUCCESS, task.getExecutionInfo().getResult()); + Assertions.assertNull(task.getExecutionInfo().getFailureInfo()); - if (getTestMode() == TestMode.RECORD) { - // Get the task command output file - String result = getContentFromContainer(containerClient, "taskLogs/output.txt"); - Assertions.assertEquals("hello", result.trim()); - } + if (getTestMode() == TestMode.RECORD) { + // Get the task command output file + String result = getContentFromContainer(containerClient, "taskLogs/output.txt"); + Assertions.assertEquals("hello", result.trim()); } + } + + BatchTaskCreateParameters badTask + = new BatchTaskCreateParameters(badTaskId, "badcommand").setOutputFiles(outputs); + + SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, badTask), + () -> batchAsyncClient.createTask(jobId, badTask)); + + if (waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds)) { + BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, badTaskId), + () -> batchAsyncClient.getTask(jobId, badTaskId)); + Assertions.assertNotNull(task); + Assertions.assertEquals(BatchTaskExecutionResult.FAILURE, task.getExecutionInfo().getResult()); + Assertions.assertNotNull(task.getExecutionInfo().getFailureInfo()); + Assertions.assertEquals(BatchErrorSourceCategory.USER_ERROR.toString().toLowerCase(), + task.getExecutionInfo().getFailureInfo().getCategory().toString().toLowerCase()); + Assertions.assertEquals("FailureExitCode", task.getExecutionInfo().getFailureInfo().getCode()); - BatchTaskCreateParameters badTask - = new BatchTaskCreateParameters(badTaskId, "badcommand").setOutputFiles(outputs); - - SyncAsyncExtension.execute(() -> batchClient.createTask(jobId, badTask), - () -> batchAsyncClient.createTask(jobId, badTask)); - - if (waitForTasksToComplete(batchClient, jobId, taskCompleteTimeoutInSeconds)) { - BatchTask task = SyncAsyncExtension.execute(() -> batchClient.getTask(jobId, badTaskId), - () -> batchAsyncClient.getTask(jobId, badTaskId)); - Assertions.assertNotNull(task); - Assertions.assertEquals(BatchTaskExecutionResult.FAILURE, task.getExecutionInfo().getResult()); - Assertions.assertNotNull(task.getExecutionInfo().getFailureInfo()); - Assertions.assertEquals(BatchErrorSourceCategory.USER_ERROR.toString().toLowerCase(), - task.getExecutionInfo().getFailureInfo().getCategory().toString().toLowerCase()); - Assertions.assertEquals("FailureExitCode", task.getExecutionInfo().getFailureInfo().getCode()); - - //The Storage operations run only in Record mode. - // Playback mode is configured to test Batch operations only. - if (getTestMode() == TestMode.RECORD) { - // Get the task command output file - String result = getContentFromContainer(containerClient, "taskLogs/err.txt"); - Assertions.assertTrue(result.toLowerCase().contains("not recognized")); - } + //The Storage operations run only in Record mode. + // Playback mode is configured to test Batch operations only. + if (getTestMode() == TestMode.RECORD) { + // Get the task command output file + String result = getContentFromContainer(containerClient, "taskLogs/err.txt"); + Assertions.assertTrue(result.toLowerCase().contains("not recognized")); } + } - } finally { - try { - if (getTestMode() == TestMode.RECORD) { - containerClient.deleteIfExists(); - } - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); + try { + if (getTestMode() == TestMode.RECORD) { + containerClient.deleteIfExists(); } + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } } @@ -850,44 +834,41 @@ public void testCreateTasks() { SyncAsyncExtension.execute(() -> batchClient.createJob(jobToCreate), () -> batchAsyncClient.createJob(jobToCreate)); - try { - // Prepare tasks to add - int taskCount = 10; // Adjust the number of tasks as needed - List tasksToAdd = new ArrayList<>(); - for (int i = 0; i < taskCount; i++) { - String taskId = "task" + i; - String commandLine = String.format("echo Task %d", i); - tasksToAdd.add(new BatchTaskCreateParameters(taskId, commandLine)); - } + // Prepare tasks to add + int taskCount = 10; // Adjust the number of tasks as needed + List tasksToAdd = new ArrayList<>(); + for (int i = 0; i < taskCount; i++) { + String taskId = "task" + i; + String commandLine = String.format("echo Task %d", i); + tasksToAdd.add(new BatchTaskCreateParameters(taskId, commandLine)); + } - // Call createTasks method - SyncAsyncExtension.execute(() -> batchClient.createTasks(jobId, tasksToAdd), - () -> batchAsyncClient.createTasks(jobId, tasksToAdd)); + // Call createTasks method + SyncAsyncExtension.execute(() -> batchClient.createTasks(jobId, tasksToAdd), + () -> batchAsyncClient.createTasks(jobId, tasksToAdd)); - // Wait to ensure all tasks are visible in listTasks() - sleepIfRunningAgainstService(15000); + // Wait to ensure all tasks are visible in listTasks() + sleepIfRunningAgainstService(15000); - // Verify tasks are created - Iterable tasks = SyncAsyncExtension.execute(() -> batchClient.listTasks(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.listTasks(jobId).toIterable())); - int createdTaskCount = 0; - for (BatchTask task : tasks) { - createdTaskCount++; - } - Assertions.assertEquals(taskCount, createdTaskCount); + // Verify tasks are created + Iterable tasks = SyncAsyncExtension.execute(() -> batchClient.listTasks(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.listTasks(jobId).toIterable())); + int createdTaskCount = 0; + for (BatchTask task : tasks) { + createdTaskCount++; + } + Assertions.assertEquals(taskCount, createdTaskCount); - } finally { - // Clean up - try { - SyncPoller deletePoller = setPlaybackSyncPollerPollInterval( - SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), - () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); + // Clean up + try { + SyncPoller deletePoller + = setPlaybackSyncPollerPollInterval(SyncAsyncExtension.execute(() -> batchClient.beginDeleteJob(jobId), + () -> Mono.fromCallable(() -> batchAsyncClient.beginDeleteJob(jobId).getSyncPoller()))); - deletePoller.waitForCompletion(); - } catch (Exception e) { - System.err.println("Cleanup failed for job: " + jobId); - e.printStackTrace(); - } + deletePoller.waitForCompletion(); + } catch (Exception e) { + System.err.println("Cleanup failed for job: " + jobId); + e.printStackTrace(); } }