forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new API version 2020-09-01 (Azure#10737)
* Add previous API version as baseline. * Add new data plane API version 2020-09-01 * Update management plane with new API 2020-09-01. * Update readme to add new API version. * Fix example errors. * Update comment based on feedback
- Loading branch information
Showing
150 changed files
with
27,601 additions
and
3 deletions.
There are no files selected for viewing
16,718 changes: 16,718 additions & 0 deletions
16,718
specification/batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/BatchService.json
Large diffs are not rendered by default.
Oops, something went wrong.
121 changes: 121 additions & 0 deletions
121
...data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/AccountListPoolNodeCounts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"poolId": "pool1", | ||
"dedicated": { | ||
"creating": 0, | ||
"idle": 0, | ||
"leavingPool": 0, | ||
"offline": 0, | ||
"preempted": 0, | ||
"rebooting": 0, | ||
"reimaging": 0, | ||
"running": 0, | ||
"starting": 0, | ||
"startTaskFailed": 0, | ||
"unknown": 0, | ||
"unusable": 0, | ||
"waitingForStartTask": 0, | ||
"total": 0 | ||
}, | ||
"lowPriority": { | ||
"creating": 0, | ||
"idle": 0, | ||
"leavingPool": 0, | ||
"offline": 0, | ||
"preempted": 0, | ||
"rebooting": 0, | ||
"reimaging": 0, | ||
"running": 2, | ||
"starting": 1, | ||
"startTaskFailed": 0, | ||
"unknown": 0, | ||
"unusable": 0, | ||
"waitingForStartTask": 0, | ||
"total": 3 | ||
} | ||
}, | ||
{ | ||
"poolId": "pool2", | ||
"dedicated": { | ||
"creating": 0, | ||
"idle": 1, | ||
"leavingPool": 0, | ||
"offline": 3, | ||
"preempted": 0, | ||
"rebooting": 0, | ||
"reimaging": 0, | ||
"running": 0, | ||
"starting": 0, | ||
"startTaskFailed": 0, | ||
"unknown": 0, | ||
"unusable": 0, | ||
"waitingForStartTask": 0, | ||
"total": 4 | ||
}, | ||
"lowPriority": { | ||
"creating": 0, | ||
"idle": 0, | ||
"leavingPool": 0, | ||
"offline": 0, | ||
"preempted": 0, | ||
"rebooting": 0, | ||
"reimaging": 0, | ||
"running": 0, | ||
"starting": 0, | ||
"startTaskFailed": 0, | ||
"unknown": 0, | ||
"unusable": 0, | ||
"waitingForStartTask": 0, | ||
"total": 0 | ||
} | ||
}, | ||
{ | ||
"poolId": "pool3", | ||
"dedicated": { | ||
"creating": 0, | ||
"idle": 5, | ||
"leavingPool": 0, | ||
"offline": 0, | ||
"preempted": 0, | ||
"rebooting": 0, | ||
"reimaging": 4, | ||
"running": 0, | ||
"starting": 0, | ||
"startTaskFailed": 0, | ||
"unknown": 0, | ||
"unusable": 0, | ||
"waitingForStartTask": 0, | ||
"total": 9 | ||
}, | ||
"lowPriority": { | ||
"creating": 7, | ||
"idle": 0, | ||
"leavingPool": 0, | ||
"offline": 0, | ||
"preempted": 0, | ||
"rebooting": 0, | ||
"reimaging": 0, | ||
"running": 4, | ||
"starting": 0, | ||
"startTaskFailed": 0, | ||
"unknown": 0, | ||
"unusable": 0, | ||
"waitingForStartTask": 0, | ||
"total": 11 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
...ata-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/AccountListSupportedImages.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"nodeAgentSKUId": "batch.node.centos 7", | ||
"imageReference": { | ||
"publisher": "OpenLogic", | ||
"offer": "CentOS", | ||
"sku": "7.2", | ||
"version": "latest" | ||
}, | ||
"verificationType": "verified", | ||
"capabilities": [ | ||
"DockerCompatible", | ||
"NvidiaTeslaDriverInstalled" | ||
], | ||
"osType": "linux" | ||
}, | ||
{ | ||
"nodeAgentSKUId": "batch.node.centos 7", | ||
"imageReference": { | ||
"publisher": "OpenLogic", | ||
"offer": "CentOS", | ||
"sku": "7.1", | ||
"version": "latest" | ||
}, | ||
"verificationType": "unverified", | ||
"osType": "linux", | ||
"batchSupportEndOfLife": "2019-11-01T00:00:00.0Z" | ||
}, | ||
{ | ||
"nodeAgentSKUId": "batch.node.debian 8", | ||
"imageReference": { | ||
"publisher": "Credativ", | ||
"offer": "Debian", | ||
"sku": "8", | ||
"version": "latest" | ||
}, | ||
"verificationType": "verified", | ||
"osType": "linux" | ||
}, | ||
{ | ||
"nodeAgentSKUId": "batch.node.windows amd64", | ||
"imageReference": { | ||
"publisher": "MicrosoftWindowsServer", | ||
"offer": "WindowsServer", | ||
"sku": "2012-R2-Datacenter", | ||
"version": "latest" | ||
}, | ||
"verificationType": "verified", | ||
"osType": "windows" | ||
}, | ||
{ | ||
"nodeAgentSKUId": "batch.node.windows amd64", | ||
"imageReference": { | ||
"publisher": "MicrosoftWindowsServer", | ||
"offer": "WindowsServer", | ||
"sku": "2012-Datacenter", | ||
"version": "latest" | ||
}, | ||
"verificationType": "verified", | ||
"osType": "windows" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...tion/batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/ApplicationGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", | ||
"applicationId": "my_application_id" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "my_application_id", | ||
"versions": [ | ||
"v1.0" | ||
], | ||
"displayName": "my_display_name" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...ion/batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/ApplicationList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "my_application_id", | ||
"versions": [ | ||
"v1.0" | ||
], | ||
"displayName": "my_display_name" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...tion/batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/CertificateAdd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", | ||
"certificate": { | ||
"thumbprintAlgorithm": "sha1", | ||
"thumbprint": "0123456789abcdef0123456789abcdef01234567", | ||
"data": "#####...", | ||
"certificateFormat": "pfx", | ||
"password": "certpassword" | ||
} | ||
}, | ||
"responses": { | ||
"201": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...h/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/CertificateCancelDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"thumbprintAlgorithm": "sha1", | ||
"thumbprint": "0123456789abcdef0123456789abcdef01234567", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...n/batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/CertificateDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"thumbprintAlgorithm": "sha1", | ||
"thumbprint": "0123456789abcdef0123456789abcdef01234567", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" | ||
}, | ||
"responses": { | ||
"202": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...tion/batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/CertificateGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"thumbprintAlgorithm": "sha1", | ||
"thumbprint": "0123456789abcdef0123456789abcdef01234567", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"thumbprint": "0123456789abcdef0123456789abcdef01234567", | ||
"thumbprintAlgorithm": "sha1", | ||
"url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)", | ||
"state": "deletefailed", | ||
"stateTransitionTime": "2014-07-31T21:12:58.236Z", | ||
"previousState": "deleting", | ||
"previousStateTransitionTime": "2014-07-31T21:11:58.236Z", | ||
"publicData": "#####...", | ||
"deleteCertificateError": { | ||
"code": "PoolsReferencingCertificate", | ||
"message": "The specified certificate is being used by the below mentioned pool(s)", | ||
"values": [ | ||
{ | ||
"name": "Pools", | ||
"value": "mypool1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...ion/batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/CertificateList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"thumbprint": "0123456789abcdef0123456789abcdef01234567", | ||
"thumbprintAlgorithm": "sha1", | ||
"url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)", | ||
"state": "deletefailed", | ||
"stateTransitionTime": "2014-07-31T21:12:58.236Z", | ||
"previousState": "deleting", | ||
"previousStateTransitionTime": "2014-07-31T21:11:58.236Z", | ||
"publicData": "#####...", | ||
"deleteCertificateError": { | ||
"code": "PoolsReferencingCertificate", | ||
"message": "The specified certificate is being used by the below mentioned pool(s)", | ||
"values": [ | ||
{ | ||
"name": "Pools", | ||
"value": "mypool1" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
.../batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/FileDeleteFromNode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"poolId": "poolId", | ||
"nodeId": "tvm-1695681911_1-20161122t193202z", | ||
"filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", | ||
"recursive": false | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
.../batch/data-plane/Microsoft.Batch/stable/2020-09-01.12.0/examples/FileDeleteFromTask.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"batchUrl": "account.region.batch.azure.com", | ||
"api-version": "2020-09-01.12.0", | ||
"jobId": "jobId", | ||
"taskId": "task1", | ||
"filePath": "wd\\testFile.txt", | ||
"client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT", | ||
"recursive": false | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
Oops, something went wrong.