Skip to content

Commit 110584e

Browse files
authored
Batch DataPlane 2025-06-01 (#34962)
* 2025-06-01 changes
1 parent dbdbc75 commit 110584e

File tree

313 files changed

+2510
-21996
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

313 files changed

+2510
-21996
lines changed

specification/batch/Azure.Batch/client.tsp

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "./java-client.tsp";
44

55
using Azure.ClientGenerator.Core;
66

7-
@TypeSpec.Versioning.useDependency(Azure.Batch.Versions.v2024_07_01)
7+
@TypeSpec.Versioning.useDependency(Azure.Batch.Versions.v2025_06_01)
88
namespace Client;
99
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" ""
1010
#suppress "@azure-tools/typespec-azure-core/no-rpc-path-params" ""
@@ -47,12 +47,6 @@ interface BatchClient {
4747
listJobPreparationAndReleaseTaskStatus is Azure.Batch.Jobs.listJobPreparationAndReleaseTaskStatus;
4848
getJobTaskCounts is Azure.Batch.Jobs.getJobTaskCounts;
4949

50-
createCertificate is Azure.Batch.Certificates.createCertificate;
51-
listCertificates is Azure.Batch.Certificates.listCertificates;
52-
cancelCertificateDeletion is Azure.Batch.Certificates.cancelCertificateDeletion;
53-
deleteCertificate is Azure.Batch.Certificates.deleteCertificate;
54-
getCertificate is Azure.Batch.Certificates.getCertificate;
55-
5650
jobScheduleExists is Azure.Batch.JobSchedules.jobScheduleExists;
5751
deleteJobSchedule is Azure.Batch.JobSchedules.deleteJobSchedule;
5852
getJobSchedule is Azure.Batch.JobSchedules.getJobSchedule;
@@ -127,11 +121,7 @@ interface BatchClient {
127121
);
128122
@@access(Azure.Batch.Pools.deletePool, Access.internal, "csharp");
129123
@@clientName(BatchClient.deletePool, "deletePoolInternal", "csharp");
130-
@@access(Azure.Batch.Certificates.deleteCertificate, Access.internal, "csharp");
131-
@@clientName(BatchClient.deleteCertificate,
132-
"deleteCertificateInternal",
133-
"csharp"
134-
);
124+
135125
@@access(Azure.Batch.Nodes.deallocateNode, Access.internal, "csharp");
136126
@@clientName(BatchClient.deallocateNode, "deallocateNodeInternal", "csharp");
137127
@@access(Azure.Batch.Nodes.startNode, Access.internal, "csharp");
@@ -194,11 +184,6 @@ interface BatchClient {
194184
);
195185
@@access(Azure.Batch.Pools.deletePool, Access.internal, "python");
196186
@@clientName(BatchClient.deletePool, "deletePoolInternal", "python");
197-
@@access(Azure.Batch.Certificates.deleteCertificate, Access.internal, "python");
198-
@@clientName(BatchClient.deleteCertificate,
199-
"deleteCertificateInternal",
200-
"python"
201-
);
202187
@@access(Azure.Batch.Nodes.deallocateNode, Access.internal, "python");
203188
@@clientName(BatchClient.deallocateNode, "deallocateNodeInternal", "python");
204189
@@access(Azure.Batch.Nodes.startNode, Access.internal, "python");
@@ -231,10 +216,6 @@ interface BatchClient {
231216
"NextLink",
232217
"go"
233218
);
234-
@@clientName(Azure.Batch.BatchCertificateListResult.`odata.nextLink`,
235-
"NextLink",
236-
"go"
237-
);
238219
@@clientName(Azure.Batch.BatchJobListResult.`odata.nextLink`, "NextLink", "go");
239220
@@clientName(Azure.Batch.BatchJobPreparationAndReleaseTaskStatusListResult.`odata.nextLink`,
240221
"NextLink",
@@ -285,9 +266,6 @@ interface BatchClient {
285266
"SASKey",
286267
"go"
287268
);
288-
@@clientName(Azure.Batch.BatchCertificate.certificateFormat, "Format", "go");
289-
@@clientName(Azure.Batch.BatchCertificateFormat.Cer, "CER", "go");
290-
@@clientName(Azure.Batch.BatchCertificateFormat.Pfx, "PFX", "go");
291269
@@clientName(Azure.Batch.BatchJobScheduleStatistics.readIOps, "ReadIOPS", "go");
292270
@@clientName(Azure.Batch.BatchJobScheduleStatistics.writeIOps,
293271
"WriteIOPS",
@@ -378,10 +356,6 @@ interface BatchClient {
378356
"UpdateNodeUserOptions",
379357
"go"
380358
);
381-
@@clientName(Azure.Batch.BatchCertificateDeleteError,
382-
"DeleteCertificateError",
383-
"go"
384-
);
385359
@@clientName(Azure.Batch.UploadBatchServiceLogsOptions,
386360
"UploadNodeLogsOptions",
387361
"go"

specification/batch/Azure.Batch/common.tsp

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -767,71 +767,6 @@ alias GetJobTaskCountsRequiredParameters = {
767767
jobId: string;
768768
};
769769

770-
// Certificate Aliases
771-
alias CreateCertificateRequiredParameters = {
772-
@doc("The Certificate to be created.")
773-
@body
774-
certificate: BatchCertificate;
775-
};
776-
777-
alias ListCertificatesOptionalParameters = {
778-
@doc("""
779-
An OData $filter clause. For more information on constructing this filter, see
780-
https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
781-
""")
782-
@query
783-
@clientName("filter")
784-
$filter?: string;
785-
786-
@doc("An OData $select clause.")
787-
@query
788-
@clientName("select")
789-
$select?: string[];
790-
};
791-
792-
alias CancelCertificateDeletionRequiredParameters = {
793-
@doc("The algorithm used to derive the thumbprint parameter. This must be sha1.")
794-
@path
795-
thumbprintAlgorithm: string;
796-
797-
@doc("The thumbprint of the Certificate being deleted.")
798-
@path
799-
thumbprint: string;
800-
};
801-
802-
alias DeleteCertificateRequiredParameters = {
803-
@doc("The algorithm used to derive the thumbprint parameter. This must be sha1.")
804-
@path
805-
thumbprintAlgorithm: string;
806-
807-
@doc("The thumbprint of the Certificate to be deleted.")
808-
@path
809-
thumbprint: string;
810-
};
811-
812-
alias DeleteCertificateResponse = BatchResponseHeaders & {
813-
@doc("A process exit code.")
814-
@statusCode
815-
code: "202";
816-
};
817-
818-
alias GetCertificateRequiredParameters = {
819-
@doc("The algorithm used to derive the thumbprint parameter. This must be sha1.")
820-
@path
821-
thumbprintAlgorithm: string;
822-
823-
@doc("The thumbprint of the Certificate to get.")
824-
@path
825-
thumbprint: string;
826-
};
827-
828-
alias GetCertificateOptionalParameters = {
829-
@doc("An OData $select clause.")
830-
@query
831-
@clientName("select")
832-
$select?: string[];
833-
};
834-
835770
// Job Schedule Aliases
836771
alias JobScheduleExistsRequiredParameters = {
837772
@doc("The ID of the Job Schedule which you want to check.")

specification/batch/Azure.Batch/examples/2024-07-01.20.0/Certificates_CancelCertificateDeletion.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

specification/batch/Azure.Batch/examples/2024-07-01.20.0/Certificates_CreateCertificate.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

specification/batch/Azure.Batch/examples/2024-07-01.20.0/Certificates_DeleteCertificate.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

specification/batch/Azure.Batch/examples/2024-07-01.20.0/Certificates_GetCertificate.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

specification/batch/Azure.Batch/examples/2024-07-01.20.0/Certificates_ListCertificates.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

specification/batch/Azure.Batch/examples/2024-07-01.20.0/JobSchedules_EnableJobSchedule.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

specification/batch/Azure.Batch/examples/2024-07-01.20.0/JobSchedules_GetJobSchedule.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

specification/batch/Azure.Batch/examples/2024-07-01.20.0/JobSchedules_JobScheduleExists.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)