Skip to content

Commit

Permalink
[Automation] Generate SDK based on TypeSpec 0.20.0 (Azure#41666)
Browse files Browse the repository at this point in the history
* [Automation] Generate SDK based on TypeSpec 0.20.0

* update assets.json

* revert healthinsights changes

---------

Co-authored-by: Haoling Dong <[email protected]>
  • Loading branch information
2 people authored and jairmyree committed Sep 23, 2024
1 parent d6d50b4 commit 9c0a2fd
Show file tree
Hide file tree
Showing 102 changed files with 2,758 additions and 1,816 deletions.
14 changes: 7 additions & 7 deletions eng/emitter-package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion eng/emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-tools/typespec-java": "0.19.3"
"@azure-tools/typespec-java": "0.20.0"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.45.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/azure-compute-batch/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/batch/azure-compute-batch",
"Tag": "java/batch/azure-compute-batch_70c93036ed"
"Tag": "java/batch/azure-compute-batch_f58320abba"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3233,7 +3233,10 @@ PagedIterable<BinaryData> listApplications(RequestOptions requestOptions) {
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @return contains information about an application in an Azure Batch Account along with {@link Response}.
* @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}.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -6364,7 +6367,10 @@ public Response<Void> enablePoolAutoScaleWithResponse(String poolId, BinaryData
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @return the results and errors from an execution of a Pool autoscale formula along with {@link Response}.
* @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}.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -13234,7 +13240,10 @@ PagedIterable<BinaryData> listJobPreparationAndReleaseTaskStatus(String jobId, R
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @return the Task and TaskSlot counts for a Job along with {@link Response}.
* @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}.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -20038,11 +20047,10 @@ public Response<Void> deleteTaskWithResponse(String jobId, String taskId, Reques
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @return batch will retry Tasks when a recovery operation is triggered on a Node.
* Examples of recovery operations include (but are not limited to) when an
* unhealthy Node is rebooted or a Compute Node disappeared due to host failure.
* Retries due to recovery operations are independent of and are not counted
* against the maxTaskRetryCount along with {@link Response}.
* @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}.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -22351,7 +22359,10 @@ public Response<Void> enableNodeSchedulingWithResponse(String poolId, String nod
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @return the remote login settings for a Compute Node along with {@link Response}.
* @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}.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -23753,7 +23764,10 @@ PagedIterable<BatchApplication> listApplicationsInternal() {
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return contains information about an application in an Azure Batch Account.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -23783,7 +23797,10 @@ BatchApplication getApplicationInternal(String applicationId, Integer timeOutInS
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return contains information about an application in an Azure Batch Account.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -24632,7 +24649,10 @@ PagedIterable<BatchJob> listJobsFromScheduleInternal(String jobScheduleId) {
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Task and TaskSlot counts for a Job.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -24661,7 +24681,10 @@ BatchTaskCountsResult getJobTaskCountsInternal(String jobId, Integer timeOutInSe
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Task and TaskSlot counts for a Job.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -25306,11 +25329,10 @@ void deleteTaskInternal(String jobId, String taskId) {
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return batch will retry Tasks when a recovery operation is triggered on a Node.
* Examples of recovery operations include (but are not limited to) when an
* unhealthy Node is rebooted or a Compute Node disappeared due to host failure.
* Retries due to recovery operations are independent of and are not counted
* against the maxTaskRetryCount.
* @return information about the specified Task.
*
* For multi-instance Tasks, information such as affinityId, executionInfo and
* nodeInfo refer to the primary Task.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -25371,11 +25393,10 @@ BatchTask getTaskInternal(String jobId, String taskId, Integer timeOutInSeconds,
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return batch will retry Tasks when a recovery operation is triggered on a Node.
* Examples of recovery operations include (but are not limited to) when an
* unhealthy Node is rebooted or a Compute Node disappeared due to host failure.
* Retries due to recovery operations are independent of and are not counted
* against the maxTaskRetryCount.
* @return information about the specified Task.
*
* For multi-instance Tasks, information such as affinityId, executionInfo and
* nodeInfo refer to the primary Task.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -26057,7 +26078,10 @@ void enableNodeSchedulingInternal(String poolId, String nodeId) {
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the remote login settings for a Compute Node.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -26087,7 +26111,10 @@ BatchNodeRemoteLoginSettings getNodeRemoteLoginSettingsInternal(String poolId, S
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the remote login settings for a Compute Node.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -26433,6 +26460,8 @@ PagedIterable<BatchNodeFile> listNodeFilesInternal(String poolId, String nodeId)
* <table border="1">
* <caption>Header Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
* <tr><td>Content-Type</td><td>String</td><td>No</td><td>The content type. Allowed values: "application/json;
* odata=minimalmetadata".</td></tr>
* <tr><td>If-Modified-Since</td><td>OffsetDateTime</td><td>No</td><td>A timestamp indicating the last modified time
* of the resource known to the
* client. The operation will be performed only if the resource on the service has
Expand Down Expand Up @@ -26587,6 +26616,14 @@ public Response<Void> terminateJobWithResponse(String jobId, RequestOptions requ
* instead.".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addQueryParam}
* <p><strong>Header Parameters</strong></p>
* <table border="1">
* <caption>Header Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
* <tr><td>Content-Type</td><td>String</td><td>No</td><td>The content type. Allowed values: "application/json;
* odata=minimalmetadata".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addHeader}
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
Expand Down Expand Up @@ -26675,6 +26712,14 @@ public Response<Void> rebootNodeWithResponse(String poolId, String nodeId, Reque
* instead.".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addQueryParam}
* <p><strong>Header Parameters</strong></p>
* <table border="1">
* <caption>Header Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
* <tr><td>Content-Type</td><td>String</td><td>No</td><td>The content type. Allowed values: "application/json;
* odata=minimalmetadata".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addHeader}
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
Expand Down Expand Up @@ -27792,7 +27837,10 @@ void enablePoolAutoScaleInternal(String poolId, BatchPoolEnableAutoScaleContent
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the results and errors from an execution of a Pool autoscale formula.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down Expand Up @@ -27823,7 +27871,10 @@ AutoScaleRun evaluatePoolAutoScaleInternal(String poolId, BatchPoolEvaluateAutoS
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the results and errors from an execution of a Pool autoscale formula.
* @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.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
Expand Down
Loading

0 comments on commit 9c0a2fd

Please sign in to comment.