-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Azure Container Instance API Version 2024-10-01-preview (#30569)
* Copy files from stable/2023-05-01 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2024-10-01-preview Updated the API version from stable/2023-05-01 to preview/2024-10-01-preview. * Added tag for 2024-10-01-preview in readme file * added 2024-10-01-preview * remove additionalProperties * Copy files from stable/2023-05-01 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2024-10-01-preview Updated the API version from stable/2023-05-01 to preview/2024-10-01-preview. * Added tag for 2024-10-01-preview in readme file * added 2024-10-01-preview * remove additionalProperties * resolved PR comment * update from secrets to secretReferences * suppress additionalProperties * delete file * update to 'arm-id' format --------- Co-authored-by: jameszlim <limcheolhyun930421@gmail.com>
- Loading branch information
1 parent
1e028c5
commit 1b9c5da
Showing
26 changed files
with
4,954 additions
and
1 deletion.
There are no files selected for viewing
2,610 changes: 2,610 additions & 0 deletions
2,610
...rce-manager/Microsoft.ContainerInstance/preview/2024-10-01-preview/containerInstance.json
Large diffs are not rendered by default.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
...ger/Microsoft.ContainerInstance/preview/2024-10-01-preview/examples/CachedImagesList.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,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"location": "westcentralus", | ||
"api-version": "2024-10-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"osType": "Linux", | ||
"image": "ubuntu:16.04" | ||
}, | ||
{ | ||
"osType": "Linux", | ||
"image": "alpine:3.6" | ||
}, | ||
{ | ||
"osType": "Windows", | ||
"image": "microsoft/nanoserver:10.0.14393.2485" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...ger/Microsoft.ContainerInstance/preview/2024-10-01-preview/examples/CapabilitiesList.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,39 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"location": "westus", | ||
"api-version": "2024-10-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"resourceType": "containerGroups", | ||
"osType": "Linux", | ||
"location": "West US", | ||
"ipAddressType": "Public", | ||
"gpu": "K80", | ||
"capabilities": { | ||
"maxMemoryInGB": 14, | ||
"maxCpu": 4, | ||
"maxGpuCount": 4 | ||
} | ||
}, | ||
{ | ||
"resourceType": "containerGroups", | ||
"osType": "Windows", | ||
"location": "West US", | ||
"ipAddressType": "Public", | ||
"gpu": "None", | ||
"capabilities": { | ||
"maxMemoryInGB": 14, | ||
"maxCpu": 4, | ||
"maxGpuCount": 0 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ager/Microsoft.ContainerInstance/preview/2024-10-01-preview/examples/ContainerAttach.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,17 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"api-version": "2024-10-01-preview", | ||
"resourceGroupName": "demo", | ||
"containerGroupName": "demo1", | ||
"containerName": "container1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"webSocketUri": "wss://web-socket-uri", | ||
"password": "password" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...anager/Microsoft.ContainerInstance/preview/2024-10-01-preview/examples/ContainerExec.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"api-version": "2024-10-01-preview", | ||
"resourceGroupName": "demo", | ||
"containerGroupName": "demo1", | ||
"containerName": "container1", | ||
"containerExecRequest": { | ||
"command": "/bin/bash", | ||
"terminalSize": { | ||
"rows": 12, | ||
"cols": 12 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"webSocketUri": "wss://web-socket-uri", | ||
"password": "password" | ||
} | ||
} | ||
} | ||
} |
182 changes: 182 additions & 0 deletions
182
...ntainerInstance/preview/2024-10-01-preview/examples/ContainerGroupCreateConfidential.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,182 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"api-version": "2024-10-01-preview", | ||
"resourceGroupName": "demo", | ||
"containerGroupName": "demo1", | ||
"zones": [ | ||
"1" | ||
], | ||
"containerGroup": { | ||
"location": "westeurope", | ||
"properties": { | ||
"containers": [ | ||
{ | ||
"name": "accdemo", | ||
"properties": { | ||
"command": [], | ||
"environmentVariables": [], | ||
"image": "confiimage", | ||
"ports": [ | ||
{ | ||
"port": 8000 | ||
} | ||
], | ||
"resources": { | ||
"requests": { | ||
"cpu": 1, | ||
"memoryInGB": 1.5 | ||
} | ||
}, | ||
"securityContext": { | ||
"privileged": false, | ||
"capabilities": { | ||
"add": [ | ||
"CAP_NET_ADMIN" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"imageRegistryCredentials": [], | ||
"ipAddress": { | ||
"ports": [ | ||
{ | ||
"protocol": "TCP", | ||
"port": 8000 | ||
} | ||
], | ||
"type": "Public" | ||
}, | ||
"osType": "Linux", | ||
"sku": "Confidential", | ||
"confidentialComputeProperties": { | ||
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"sku": "Confidential", | ||
"provisioningState": "Succeeded", | ||
"containers": [ | ||
{ | ||
"name": "accdemo", | ||
"properties": { | ||
"image": "confiimage", | ||
"command": [], | ||
"ports": [ | ||
{ | ||
"port": 8000 | ||
} | ||
], | ||
"environmentVariables": [], | ||
"resources": { | ||
"requests": { | ||
"memoryInGB": 1.5, | ||
"cpu": 1.0 | ||
} | ||
}, | ||
"securityContext": { | ||
"privileged": false, | ||
"capabilities": { | ||
"add": [ | ||
"CAP_NET_ADMIN" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"ipAddress": { | ||
"ports": [ | ||
{ | ||
"protocol": "TCP", | ||
"port": 8000 | ||
} | ||
], | ||
"type": "Public" | ||
}, | ||
"initContainers": [], | ||
"imageRegistryCredentials": [], | ||
"osType": "Linux", | ||
"instanceView": { | ||
"events": [], | ||
"state": "Running" | ||
}, | ||
"confidentialComputeProperties": { | ||
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", | ||
"name": "demo1", | ||
"type": "Microsoft.ContainerInstance/containerGroups", | ||
"location": "westeurope" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"sku": "Confidential", | ||
"provisioningState": "Succeeded", | ||
"containers": [ | ||
{ | ||
"name": "accdemo", | ||
"properties": { | ||
"image": "confiimage", | ||
"command": [], | ||
"ports": [ | ||
{ | ||
"port": 8000 | ||
} | ||
], | ||
"environmentVariables": [], | ||
"resources": { | ||
"requests": { | ||
"memoryInGB": 1.5, | ||
"cpu": 1.0 | ||
} | ||
}, | ||
"securityContext": { | ||
"privileged": false, | ||
"capabilities": { | ||
"add": [ | ||
"CAP_NET_ADMIN" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"ipAddress": { | ||
"ports": [ | ||
{ | ||
"protocol": "TCP", | ||
"port": 8000 | ||
} | ||
], | ||
"type": "Public" | ||
}, | ||
"initContainers": [], | ||
"imageRegistryCredentials": [], | ||
"osType": "Linux", | ||
"instanceView": { | ||
"events": [], | ||
"state": "Running" | ||
}, | ||
"confidentialComputeProperties": { | ||
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", | ||
"name": "demo1", | ||
"type": "Microsoft.ContainerInstance/containerGroups", | ||
"location": "westeurope" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.