Skip to content

Commit 6c02b97

Browse files
[Hub Generated] Review request for Microsoft.ContainerInstance to add version stable/2021-07-01 (#15721)
* Adds base for updating Microsoft.ContainerInstance from version stable/2021-03-01 to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * Adding subnet IDs * Adding fixes from pending 03-01 update * Changing definition name to match convention * Adding network dependencies API * Adding MSI+ACR properties * Removing network profile * Updating example * Fixing JSON error * Removing network profile reference * Adding Integer format where missing * Removing comma * Fixing example * Fixing example * Ran Prettier to resolve check failure * Running prettier again for format
1 parent 0d3b1a8 commit 6c02b97

19 files changed

+3278
-4
lines changed

specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-07-01/containerInstance.json

Lines changed: 2223 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"location": "westcentralus",
5+
"api-version": "2021-07-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"osType": "Linux",
13+
"image": "ubuntu:16.04"
14+
},
15+
{
16+
"osType": "Linux",
17+
"image": "alpine:3.6"
18+
},
19+
{
20+
"osType": "Windows",
21+
"image": "microsoft/nanoserver:10.0.14393.2485"
22+
}
23+
]
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"location": "westus",
5+
"api-version": "2021-07-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"resourceType": "containerGroups",
13+
"osType": "Linux",
14+
"location": "West US",
15+
"ipAddressType": "Public",
16+
"gpu": "K80",
17+
"capabilities": {
18+
"maxMemoryInGB": 14,
19+
"maxCpu": 4,
20+
"maxGpuCount": 4
21+
}
22+
},
23+
{
24+
"resourceType": "containerGroups",
25+
"osType": "Windows",
26+
"location": "West US",
27+
"ipAddressType": "Public",
28+
"gpu": "None",
29+
"capabilities": {
30+
"maxMemoryInGB": 14,
31+
"maxCpu": 4,
32+
"maxGpuCount": 0
33+
}
34+
}
35+
]
36+
}
37+
}
38+
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"api-version": "2021-07-01",
5+
"resourceGroupName": "demo",
6+
"containerGroupName": "demo1",
7+
"containerName": "container1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"webSocketUri": "wss://web-socket-uri",
13+
"password": "password"
14+
}
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"api-version": "2021-07-01",
5+
"resourceGroupName": "demo",
6+
"containerGroupName": "demo1",
7+
"containerName": "container1",
8+
"containerExecRequest": {
9+
"command": "/bin/bash",
10+
"terminalSize": {
11+
"rows": 12,
12+
"cols": 12
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"webSocketUri": "wss://web-socket-uri",
20+
"password": "password"
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"location": "westcentralus",
5+
"api-version": "2021-07-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"unit": "Count",
13+
"currentValue": 1,
14+
"limit": 2000,
15+
"name": {
16+
"value": "ContainerGroups",
17+
"localizedValue": "Container Groups"
18+
}
19+
}
20+
]
21+
}
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)