Skip to content

Commit e645ecd

Browse files
wiborisanandanthony
authored andcommitted
[Hub Generated] Review request for Microsoft.Batch to add version stable/2022-10-01 (Azure#21195)
* Adds base for updating Microsoft.Batch from version stable/2022-06-01 to version 2022-10-01 * Adding in development changes
1 parent 41fdf6f commit e645ecd

File tree

71 files changed

+11142
-8
lines changed

Some content is hidden

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

71 files changed

+11142
-8
lines changed

specification/batch/resource-manager/Microsoft.Batch/stable/2022-10-01/BatchManagement.json

Lines changed: 6371 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1",
8+
"parameters": {
9+
"properties": {
10+
"allowUpdates": false,
11+
"displayName": "myAppName"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"headers": {
18+
"ETag": "W/\"0x8D64F8EBB3DC411\""
19+
},
20+
"body": {
21+
"type": "Microsoft.Batch/batchAccounts/applications",
22+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1",
23+
"name": "app1",
24+
"etag": "W/\"0x8D64F8EBB3DC411\"",
25+
"properties": {
26+
"allowUpdates": false,
27+
"displayName": "myAppName"
28+
}
29+
}
30+
}
31+
}
32+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {
12+
"ETag": "W/\"0x8D64F915BDF7F00\""
13+
},
14+
"body": {
15+
"type": "Microsoft.Batch/batchAccounts/applications",
16+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1",
17+
"name": "app1",
18+
"etag": "W/\"0x8D64F915BDF7F00\"",
19+
"properties": {
20+
"allowUpdates": true,
21+
"displayName": "Sample Application"
22+
}
23+
}
24+
}
25+
}
26+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"type": "Microsoft.Batch/batchAccounts/applications",
14+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1",
15+
"name": "app1",
16+
"etag": "W/\"0x8D64F91A9089879\"",
17+
"properties": {
18+
"allowUpdates": false,
19+
"defaultVersion": "1"
20+
}
21+
},
22+
{
23+
"type": "Microsoft.Batch/batchAccounts/applications",
24+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2",
25+
"name": "app1",
26+
"etag": "W/\"0x8D64F91A9089879\"",
27+
"properties": {
28+
"allowUpdates": false,
29+
"defaultVersion": "2.0",
30+
"displayName": "myAppName"
31+
}
32+
}
33+
]
34+
}
35+
}
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1",
8+
"versionName": "1",
9+
"parameters": {
10+
"format": "zip"
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"headers": {
16+
"ETag": "W/\"0x8D64FEC83A3B436\""
17+
},
18+
"body": {
19+
"type": "Microsoft.Batch/batchAccounts/applications/versions",
20+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1",
21+
"name": "1",
22+
"etag": "W/\"0x8D64FEC83A3B436\"",
23+
"properties": {
24+
"state": "Active",
25+
"format": "zip",
26+
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
27+
}
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1",
8+
"versionName": "1"
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"ETag": "W/\"0x8D64FEC83A3B436\""
14+
},
15+
"body": {
16+
"type": "Microsoft.Batch/batchAccounts/applications/versions",
17+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1",
18+
"name": "1",
19+
"etag": "W/\"0x8D64FEC83A3B436\"",
20+
"properties": {
21+
"storageUrl": "http://mystorage1.blob.core.windows.net/myapp?mysas",
22+
"storageUrlExpiry": "2017-06-27T18:48:09.9330991Z",
23+
"state": "Pending"
24+
}
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1",
8+
"versionName": "1"
9+
},
10+
"responses": {
11+
"200": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1",
8+
"versionName": "1"
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"ETag": "W/\"0x8D64FEC83A3B436\""
14+
},
15+
"body": {
16+
"type": "Microsoft.Batch/batchAccounts/applications/versions",
17+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1",
18+
"name": "1",
19+
"etag": "W/\"0x8D64FEC83A3B436\"",
20+
"properties": {
21+
"state": "Active",
22+
"format": "zip",
23+
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
24+
}
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"accountName": "sampleacct",
4+
"resourceGroupName": "default-azurebatch-japaneast",
5+
"api-version": "2022-10-01",
6+
"subscriptionId": "subid",
7+
"applicationName": "app1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"type": "Microsoft.Batch/batchAccounts/applications/versions",
15+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1.0",
16+
"name": "1.0",
17+
"etag": "W/\"0x8D64FF0B9F47F67\"",
18+
"properties": {
19+
"state": "Pending"
20+
}
21+
},
22+
{
23+
"type": "Microsoft.Batch/batchAccounts/applications/versions",
24+
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/2.0",
25+
"name": "2.0",
26+
"etag": "W/\"0x8D64FF0B9F47F67\"",
27+
"properties": {
28+
"state": "Active",
29+
"format": "zip",
30+
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
31+
}
32+
}
33+
]
34+
}
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)