Skip to content

Commit 18b54ea

Browse files
authored
Batch DataPlane 2021-06-01.14 update (#14830)
* Copy of 2020-09-01 for ease of review * Azure Batch updated to 2021-06-01.14 Suppressions Fixed property name. Fixed type Fixed casing Fixed casing Spelling fix Fixed enums Fixed enum Fixed EOF and casing from PR feedback Markdown fixes Added Managed Identity and Authentication Mode APIs. Fixed example Spot cleanup Casing fix Fixed spacing Added maxParallelTasks. Formatting. Removed newline Reverted markdown change to satisfy Avocado http://azure.github.io/autorest/user/literate-file-formats/configuration.html#the-file-format
1 parent 91ac145 commit 18b54ea

File tree

95 files changed

+20581
-108
lines changed

Some content is hidden

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

95 files changed

+20581
-108
lines changed

specification/batch/data-plane/Microsoft.Batch/stable/2021-06-01.14.0/BatchService.json

Lines changed: 17532 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"client-request-id": "00000000-0000-0000-0000-000000000000",
6+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"poolId": "pool1",
14+
"dedicated": {
15+
"creating": 0,
16+
"idle": 0,
17+
"leavingPool": 0,
18+
"offline": 0,
19+
"preempted": 0,
20+
"rebooting": 0,
21+
"reimaging": 0,
22+
"running": 0,
23+
"starting": 0,
24+
"startTaskFailed": 0,
25+
"unknown": 0,
26+
"unusable": 0,
27+
"waitingForStartTask": 0,
28+
"total": 0
29+
},
30+
"lowPriority": {
31+
"creating": 0,
32+
"idle": 0,
33+
"leavingPool": 0,
34+
"offline": 0,
35+
"preempted": 0,
36+
"rebooting": 0,
37+
"reimaging": 0,
38+
"running": 2,
39+
"starting": 1,
40+
"startTaskFailed": 0,
41+
"unknown": 0,
42+
"unusable": 0,
43+
"waitingForStartTask": 0,
44+
"total": 3
45+
}
46+
},
47+
{
48+
"poolId": "pool2",
49+
"dedicated": {
50+
"creating": 0,
51+
"idle": 1,
52+
"leavingPool": 0,
53+
"offline": 3,
54+
"preempted": 0,
55+
"rebooting": 0,
56+
"reimaging": 0,
57+
"running": 0,
58+
"starting": 0,
59+
"startTaskFailed": 0,
60+
"unknown": 0,
61+
"unusable": 0,
62+
"waitingForStartTask": 0,
63+
"total": 4
64+
},
65+
"lowPriority": {
66+
"creating": 0,
67+
"idle": 0,
68+
"leavingPool": 0,
69+
"offline": 0,
70+
"preempted": 0,
71+
"rebooting": 0,
72+
"reimaging": 0,
73+
"running": 0,
74+
"starting": 0,
75+
"startTaskFailed": 0,
76+
"unknown": 0,
77+
"unusable": 0,
78+
"waitingForStartTask": 0,
79+
"total": 0
80+
}
81+
},
82+
{
83+
"poolId": "pool3",
84+
"dedicated": {
85+
"creating": 0,
86+
"idle": 5,
87+
"leavingPool": 0,
88+
"offline": 0,
89+
"preempted": 0,
90+
"rebooting": 0,
91+
"reimaging": 4,
92+
"running": 0,
93+
"starting": 0,
94+
"startTaskFailed": 0,
95+
"unknown": 0,
96+
"unusable": 0,
97+
"waitingForStartTask": 0,
98+
"total": 9
99+
},
100+
"lowPriority": {
101+
"creating": 7,
102+
"idle": 0,
103+
"leavingPool": 0,
104+
"offline": 0,
105+
"preempted": 0,
106+
"rebooting": 0,
107+
"reimaging": 0,
108+
"running": 4,
109+
"starting": 0,
110+
"startTaskFailed": 0,
111+
"unknown": 0,
112+
"unusable": 0,
113+
"waitingForStartTask": 0,
114+
"total": 11
115+
}
116+
}
117+
]
118+
}
119+
}
120+
}
121+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"client-request-id": "00000000-0000-0000-0000-000000000000",
6+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"nodeAgentSKUId": "batch.node.centos 7",
14+
"imageReference": {
15+
"publisher": "OpenLogic",
16+
"offer": "CentOS",
17+
"sku": "7.2",
18+
"version": "latest"
19+
},
20+
"verificationType": "verified",
21+
"capabilities": [
22+
"DockerCompatible",
23+
"NvidiaTeslaDriverInstalled"
24+
],
25+
"osType": "linux"
26+
},
27+
{
28+
"nodeAgentSKUId": "batch.node.centos 7",
29+
"imageReference": {
30+
"publisher": "OpenLogic",
31+
"offer": "CentOS",
32+
"sku": "7.1",
33+
"version": "latest"
34+
},
35+
"verificationType": "unverified",
36+
"osType": "linux",
37+
"batchSupportEndOfLife": "2019-11-01T00:00:00.0Z"
38+
},
39+
{
40+
"nodeAgentSKUId": "batch.node.debian 8",
41+
"imageReference": {
42+
"publisher": "Credativ",
43+
"offer": "Debian",
44+
"sku": "8",
45+
"version": "latest"
46+
},
47+
"verificationType": "verified",
48+
"osType": "linux"
49+
},
50+
{
51+
"nodeAgentSKUId": "batch.node.windows amd64",
52+
"imageReference": {
53+
"publisher": "MicrosoftWindowsServer",
54+
"offer": "WindowsServer",
55+
"sku": "2012-R2-Datacenter",
56+
"version": "latest"
57+
},
58+
"verificationType": "verified",
59+
"osType": "windows"
60+
},
61+
{
62+
"nodeAgentSKUId": "batch.node.windows amd64",
63+
"imageReference": {
64+
"publisher": "MicrosoftWindowsServer",
65+
"offer": "WindowsServer",
66+
"sku": "2012-Datacenter",
67+
"version": "latest"
68+
},
69+
"verificationType": "verified",
70+
"osType": "windows"
71+
}
72+
]
73+
}
74+
}
75+
}
76+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"client-request-id": "00000000-0000-0000-0000-000000000000",
6+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
7+
"applicationId": "my_application_id"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "my_application_id",
13+
"versions": [
14+
"v1.0"
15+
],
16+
"displayName": "my_display_name"
17+
}
18+
}
19+
}
20+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"client-request-id": "00000000-0000-0000-0000-000000000000",
6+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "my_application_id",
14+
"versions": [
15+
"v1.0"
16+
],
17+
"displayName": "my_display_name"
18+
}
19+
]
20+
}
21+
}
22+
}
23+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"client-request-id": "00000000-0000-0000-0000-000000000000",
6+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
7+
"certificate": {
8+
"thumbprintAlgorithm": "sha1",
9+
"thumbprint": "0123456789abcdef0123456789abcdef01234567",
10+
"data": "#####...",
11+
"certificateFormat": "pfx",
12+
"password": "<ExamplePassword>"
13+
}
14+
},
15+
"responses": {
16+
"201": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"thumbprintAlgorithm": "sha1",
6+
"thumbprint": "0123456789abcdef0123456789abcdef01234567",
7+
"client-request-id": "00000000-0000-0000-0000-000000000000",
8+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
9+
},
10+
"responses": {
11+
"204": {}
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"thumbprintAlgorithm": "sha1",
6+
"thumbprint": "0123456789abcdef0123456789abcdef01234567",
7+
"client-request-id": "00000000-0000-0000-0000-000000000000",
8+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
9+
},
10+
"responses": {
11+
"202": {}
12+
}
13+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"thumbprintAlgorithm": "sha1",
6+
"thumbprint": "0123456789abcdef0123456789abcdef01234567",
7+
"client-request-id": "00000000-0000-0000-0000-000000000000",
8+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"thumbprint": "0123456789abcdef0123456789abcdef01234567",
14+
"thumbprintAlgorithm": "sha1",
15+
"url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)",
16+
"state": "deletefailed",
17+
"stateTransitionTime": "2014-07-31T21:12:58.236Z",
18+
"previousState": "deleting",
19+
"previousStateTransitionTime": "2014-07-31T21:11:58.236Z",
20+
"publicData": "#####...",
21+
"deleteCertificateError": {
22+
"code": "PoolsReferencingCertificate",
23+
"message": "The specified certificate is being used by the below mentioned pool(s)",
24+
"values": [
25+
{
26+
"name": "Pools",
27+
"value": "mypool1"
28+
}
29+
]
30+
}
31+
}
32+
}
33+
}
34+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"batchUrl": "account.region.batch.azure.com",
4+
"api-version": "2021-06-01.14.0",
5+
"client-request-id": "00000000-0000-0000-0000-000000000000",
6+
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"thumbprint": "0123456789abcdef0123456789abcdef01234567",
14+
"thumbprintAlgorithm": "sha1",
15+
"url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)",
16+
"state": "deletefailed",
17+
"stateTransitionTime": "2014-07-31T21:12:58.236Z",
18+
"previousState": "deleting",
19+
"previousStateTransitionTime": "2014-07-31T21:11:58.236Z",
20+
"publicData": "#####...",
21+
"deleteCertificateError": {
22+
"code": "PoolsReferencingCertificate",
23+
"message": "The specified certificate is being used by the below mentioned pool(s)",
24+
"values": [
25+
{
26+
"name": "Pools",
27+
"value": "mypool1"
28+
}
29+
]
30+
}
31+
}
32+
]
33+
}
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)