Skip to content

[AutoPR azure-compute-batch] test batch #16399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
import com.azure.compute.batch.models.GetBatchTaskFileOptions;
import com.azure.compute.batch.models.GetBatchTaskFilePropertiesOptions;
import com.azure.compute.batch.models.GetBatchTaskOptions;
import com.azure.compute.batch.models.GetCertificateResponse;
import com.azure.compute.batch.models.ListBatchApplicationsOptions;
import com.azure.compute.batch.models.ListBatchCertificatesOptions;
import com.azure.compute.batch.models.ListBatchJobPreparationAndReleaseTaskStatusOptions;
Expand Down Expand Up @@ -5790,6 +5789,9 @@ public Mono<Response<Void>> deleteCertificateWithResponse(String thumbprintAlgor
* }
* ]
* }
* data: String (Required)
* certificateFormat: String(pfx/cer) (Optional)
* password: String (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -13699,7 +13701,7 @@ public Mono<Void> deleteCertificate(String thumbprintAlgorithm, String thumbprin
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<GetCertificateResponse> getCertificate(String thumbprintAlgorithm, String thumbprint,
public Mono<BatchCertificate> getCertificate(String thumbprintAlgorithm, String thumbprint,
GetBatchCertificateOptions options) {
// Generated convenience method for getCertificateWithResponse
RequestOptions requestOptions = new RequestOptions();
Expand All @@ -13716,7 +13718,7 @@ public Mono<GetCertificateResponse> getCertificate(String thumbprintAlgorithm, S
false);
}
return getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).flatMap(FluxUtil::toMono)
.map(protocolMethodData -> protocolMethodData.toObject(GetCertificateResponse.class));
.map(protocolMethodData -> protocolMethodData.toObject(BatchCertificate.class));
}

/**
Expand All @@ -13734,11 +13736,11 @@ public Mono<GetCertificateResponse> getCertificate(String thumbprintAlgorithm, S
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<GetCertificateResponse> getCertificate(String thumbprintAlgorithm, String thumbprint) {
public Mono<BatchCertificate> 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(GetCertificateResponse.class));
.map(protocolMethodData -> protocolMethodData.toObject(BatchCertificate.class));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
import com.azure.compute.batch.models.GetBatchTaskFileOptions;
import com.azure.compute.batch.models.GetBatchTaskFilePropertiesOptions;
import com.azure.compute.batch.models.GetBatchTaskOptions;
import com.azure.compute.batch.models.GetCertificateResponse;
import com.azure.compute.batch.models.ListBatchApplicationsOptions;
import com.azure.compute.batch.models.ListBatchCertificatesOptions;
import com.azure.compute.batch.models.ListBatchJobPreparationAndReleaseTaskStatusOptions;
Expand Down Expand Up @@ -5780,6 +5779,9 @@ public Response<Void> deleteCertificateWithResponse(String thumbprintAlgorithm,
* }
* ]
* }
* data: String (Required)
* certificateFormat: String(pfx/cer) (Optional)
* password: String (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -13418,7 +13420,7 @@ public void deleteCertificate(String thumbprintAlgorithm, String thumbprint) {
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
public GetCertificateResponse getCertificate(String thumbprintAlgorithm, String thumbprint,
public BatchCertificate getCertificate(String thumbprintAlgorithm, String thumbprint,
GetBatchCertificateOptions options) {
// Generated convenience method for getCertificateWithResponse
RequestOptions requestOptions = new RequestOptions();
Expand All @@ -13435,7 +13437,7 @@ public GetCertificateResponse getCertificate(String thumbprintAlgorithm, String
false);
}
return getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue()
.toObject(GetCertificateResponse.class);
.toObject(BatchCertificate.class);
}

/**
Expand All @@ -13453,11 +13455,11 @@ public GetCertificateResponse getCertificate(String thumbprintAlgorithm, String
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
public GetCertificateResponse getCertificate(String thumbprintAlgorithm, String thumbprint) {
public BatchCertificate getCertificate(String thumbprintAlgorithm, String thumbprint) {
// Generated convenience method for getCertificateWithResponse
RequestOptions requestOptions = new RequestOptions();
return getCertificateWithResponse(thumbprintAlgorithm, thumbprint, requestOptions).getValue()
.toObject(GetCertificateResponse.class);
.toObject(BatchCertificate.class);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17240,6 +17240,9 @@ public Response<Void> deleteCertificateWithResponse(String thumbprintAlgorithm,
* }
* ]
* }
* data: String (Required)
* certificateFormat: String(pfx/cer) (Optional)
* password: String (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -17298,6 +17301,9 @@ public Mono<Response<BinaryData>> getCertificateWithResponseAsync(String thumbpr
* }
* ]
* }
* data: String (Required)
* certificateFormat: String(pfx/cer) (Optional)
* password: String (Optional)
* }
* }
* </pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* <!-- start generated doc -->
* Package containing the implementations for Batch.
* Azure Batch provides Cloud-scale job scheduling and compute management.
* Azure Batch provides Cloud-scale job scheduling and compute management test.
* <!-- end generated doc -->
*/
package com.azure.compute.batch.implementation;
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* <!-- start generated doc -->
* Package containing the data models for Batch.
* Azure Batch provides Cloud-scale job scheduling and compute management.
* Azure Batch provides Cloud-scale job scheduling and compute management test.
* <!-- end generated doc -->
*/
package com.azure.compute.batch.models;
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* <!-- start generated doc -->
* Package containing the classes for Batch.
* Azure Batch provides Cloud-scale job scheduling and compute management.
* Azure Batch provides Cloud-scale job scheduling and compute management test.
* <!-- end generated doc -->
*/
package com.azure.compute.batch;
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@
"com.azure.compute.batch.models.GetBatchTaskFileOptions": null,
"com.azure.compute.batch.models.GetBatchTaskFilePropertiesOptions": null,
"com.azure.compute.batch.models.GetBatchTaskOptions": null,
"com.azure.compute.batch.models.GetCertificateResponse": "Client.getCertificate.Response.anonymous",
"com.azure.compute.batch.models.HttpHeader": "Azure.Batch.HttpHeader",
"com.azure.compute.batch.models.ImageReference": "Azure.Batch.ImageReference",
"com.azure.compute.batch.models.ImageVerificationType": "Azure.Batch.ImageVerificationType",
Expand Down
4 changes: 2 additions & 2 deletions sdk/batch/azure-compute-batch/tsp-location.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
directory: specification/batch/Azure.Batch
commit: 80ea1faf49a5f7c655529d312fe886daed0069ad
commit: 6a439da0fa799a27aef35d4fac4a29455cc86fec
repo: Azure/azure-rest-api-specs
cleanup: false
additionalDirectories: