Skip to content

Commit 2db1fcf

Browse files
fnuarnavdiyellap
authored andcommitted
[Hub Generated] Review request for Microsoft.ContainerInstance to add version preview/2022-10-01-preview (Azure#21530)
* Adds base for updating Microsoft.ContainerInstance from version stable/2022-09-01 to version 2022-10-01-preview * Updates readme * Updates API version in new specs and examples * added ConfidentialComputeProperties, and Confidential ContainerGroupSku * added Untested confidential container example * Add priority property to ContainerGroup * Add examples with priority property * removed IsolationType from ConfidentialComputeProperties * fixed spellcheck issues * Change priority description Co-authored-by: Divya Bharadwaj Yellapragada <[email protected]>
1 parent 153e370 commit 2db1fcf

25 files changed

+4359
-2
lines changed

specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2022-10-01-preview/containerInstance.json

Lines changed: 2489 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": "2022-10-01-preview"
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": "2022-10-01-preview"
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": "2022-10-01-preview",
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": "2022-10-01-preview",
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,158 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"api-version": "2022-10-01-preview",
5+
"resourceGroupName": "demo",
6+
"containerGroupName": "demo1",
7+
"zones": [
8+
"1"
9+
],
10+
"containerGroup": {
11+
"location": "westeurope",
12+
"properties": {
13+
"containers": [
14+
{
15+
"name": "accdemo",
16+
"properties": {
17+
"command": [],
18+
"environmentVariables": [],
19+
"image": "confiimage",
20+
"ports": [
21+
{
22+
"port": 8000
23+
}
24+
],
25+
"resources": {
26+
"requests": {
27+
"cpu": 1,
28+
"memoryInGB": 1.5
29+
}
30+
}
31+
}
32+
}
33+
],
34+
"imageRegistryCredentials": [],
35+
"ipAddress": {
36+
"ports": [
37+
{
38+
"protocol": "TCP",
39+
"port": 8000
40+
}
41+
],
42+
"type": "Public"
43+
},
44+
"osType": "Linux",
45+
"sku": "Confidential",
46+
"confidentialComputeProperties": {
47+
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19"
48+
}
49+
}
50+
}
51+
},
52+
"responses": {
53+
"200": {
54+
"body": {
55+
"properties": {
56+
"sku": "Confidential",
57+
"provisioningState": "Succeeded",
58+
"containers": [
59+
{
60+
"name": "accdemo",
61+
"properties": {
62+
"image": "confiimage",
63+
"command": [],
64+
"ports": [
65+
{
66+
"port": 8000
67+
}
68+
],
69+
"environmentVariables": [],
70+
"resources": {
71+
"requests": {
72+
"memoryInGB": 1.5,
73+
"cpu": 1.0
74+
}
75+
}
76+
}
77+
}
78+
],
79+
"ipAddress": {
80+
"ports": [
81+
{
82+
"protocol": "TCP",
83+
"port": 8000
84+
}
85+
],
86+
"type": "Public"
87+
},
88+
"initContainers": [],
89+
"imageRegistryCredentials": [],
90+
"osType": "Linux",
91+
"instanceView": {
92+
"events": [],
93+
"state": "Running"
94+
},
95+
"confidentialComputeProperties": {
96+
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19"
97+
}
98+
},
99+
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1",
100+
"name": "demo1",
101+
"type": "Microsoft.ContainerInstance/containerGroups",
102+
"location": "westeurope"
103+
}
104+
},
105+
"201": {
106+
"body": {
107+
"properties": {
108+
"sku": "Confidential",
109+
"provisioningState": "Succeeded",
110+
"containers": [
111+
{
112+
"name": "accdemo",
113+
"properties": {
114+
"image": "confiimage",
115+
"command": [],
116+
"ports": [
117+
{
118+
"port": 8000
119+
}
120+
],
121+
"environmentVariables": [],
122+
"resources": {
123+
"requests": {
124+
"memoryInGB": 1.5,
125+
"cpu": 1.0
126+
}
127+
}
128+
}
129+
}
130+
],
131+
"ipAddress": {
132+
"ports": [
133+
{
134+
"protocol": "TCP",
135+
"port": 8000
136+
}
137+
],
138+
"type": "Public"
139+
},
140+
"initContainers": [],
141+
"imageRegistryCredentials": [],
142+
"osType": "Linux",
143+
"instanceView": {
144+
"events": [],
145+
"state": "Running"
146+
},
147+
"confidentialComputeProperties": {
148+
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19"
149+
}
150+
},
151+
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1",
152+
"name": "demo1",
153+
"type": "Microsoft.ContainerInstance/containerGroups",
154+
"location": "westeurope"
155+
}
156+
}
157+
}
158+
}

0 commit comments

Comments
 (0)