Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Azure Container Instance API Version 2024-10-01-preview #30569

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
238478f
Copy files from stable/2023-05-01
jamezlim Sep 13, 2024
d9de423
Update version to preview/2024-10-01-preview
jamezlim Sep 13, 2024
7bc506b
Added tag for 2024-10-01-preview in readme file
jamezlim Sep 13, 2024
ab56599
added 2024-10-01-preview
jamezlim Sep 13, 2024
b1871c6
remove additionalProperties
jamezlim Sep 14, 2024
a330cd9
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim Sep 14, 2024
7b38efa
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim Sep 16, 2024
f4f701c
Merge remote-tracking branch 'upstream/main' into MicroJamesLim/conta…
jamezlim Sep 16, 2024
d6474c3
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim Sep 16, 2024
59799b7
Copy files from stable/2023-05-01
jamezlim Sep 13, 2024
f09a2d3
Update version to preview/2024-10-01-preview
jamezlim Sep 13, 2024
e786c7a
Added tag for 2024-10-01-preview in readme file
jamezlim Sep 13, 2024
f9bddd8
added 2024-10-01-preview
jamezlim Sep 13, 2024
f40381f
remove additionalProperties
jamezlim Sep 14, 2024
250d610
resolved PR comment
jamezlim Sep 18, 2024
605c91e
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim Sep 18, 2024
66cc743
update from secrets to secretReferences
jamezlim Sep 20, 2024
251baec
suppress additionalProperties
jamezlim Sep 20, 2024
0e0386c
delete file
jamezlim Sep 20, 2024
b8da33a
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim Sep 20, 2024
574b260
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
jamezlim Sep 20, 2024
2e412bb
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim Sep 20, 2024
3e4cf82
update to 'arm-id' format
jamezlim Sep 25, 2024
c0a4e26
Merge branch 'main' into MicroJamesLim/containerinstances-2024-10-01-…
MicroJamesLim Sep 26, 2024
923200c
Merge remote-tracking branch 'upstream/main' into MicroJamesLim/conta…
jamezlim Sep 26, 2024
27badf3
Merge branch 'MicroJamesLim/containerinstances-2024-10-01-preview' of…
jamezlim Sep 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

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"
}
]
}
}
}
}
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
}
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading