Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
bee2c01
Added the container group profile model , api paths related to the cg…
drishtipeshwani09 Sep 23, 2024
0f6881f
Merge branch 'main' into dpeshwani/cgProfiletolatestAPI
drishtipeshwani09 Sep 23, 2024
5aa1bb4
Modifed cg profile properties struction, added pattern for cg profile…
drishtipeshwani09 Sep 23, 2024
5bc9d65
Merge branch 'dpeshwani/cgProfiletolatestAPI' of https://github.com/d…
drishtipeshwani09 Sep 23, 2024
c367a53
Modified files names for better context and removed deregister path f…
drishtipeshwani09 Sep 24, 2024
88cd85c
Merge branch 'main' into dpeshwani/cgProfiletolatestAPI
drishtipeshwani09 Sep 24, 2024
0441514
Updated container group profiles patch path and added pattern for con…
drishtipeshwani09 Sep 25, 2024
7544b03
Merge branch 'dpeshwani/cgProfiletolatestAPI' of https://github.com/d…
drishtipeshwani09 Sep 25, 2024
a4066e1
Merge branch 'main' into dpeshwani/cgProfiletolatestAPI
drishtipeshwani09 Sep 25, 2024
b4208b4
Updated the file name
drishtipeshwani09 Sep 25, 2024
2d68e85
Merge branch 'dpeshwani/cgProfiletolatestAPI' of https://github.com/d…
drishtipeshwani09 Sep 25, 2024
8f940c0
Replaced all the standard parameter references in order to use them d…
drishtipeshwani09 Sep 25, 2024
e8b9220
Corrected the relative path
drishtipeshwani09 Sep 25, 2024
480c1e7
Updated the sub id parameter to a uuid format
drishtipeshwani09 Sep 25, 2024
555d0d9
Merge branch 'main' into dpeshwani/cgProfiletolatestAPI
drishtipeshwani09 Sep 25, 2024
ef0c9db
Merge branch 'main' into dpeshwani/cgProfiletolatestAPI
drishtipeshwani09 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
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "westcentralus",
"api-version": "2024-05-01-preview"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "westus",
"api-version": "2024-05-01-preview"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"resourceGroupName": "demo",
"containerGroupName": "demo1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"resourceGroupName": "demo",
"containerGroupName": "demo1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"resourceGroupName": "demo",
"containerGroupName": "demo1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"resourceGroupName": "demo",
"containerGroupName": "demo1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"resourceGroupName": "demo",
"containerGroupName": "demo1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "subid",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"resourceGroupName": "demo",
"containerGroupName": "demo1",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"resourceGroupName": "demo",
"containerGroupProfileName": "demo1",
"containerGroupProfile": {
"location": "westeurope",
"zones": [
"1"
],
"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",
"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",
"confidentialComputeProperties": {
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19"
},
"revision": 0
},
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1",
"name": "demo1",
"type": "Microsoft.ContainerInstance/containerGroupProfiles",
"location": "westeurope",
"zones": [
"1"
]
}
},
"201": {
"body": {
"properties": {
"sku": "Confidential",
"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",
"confidentialComputeProperties": {
"ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19"
},
"revision": 1
},
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1",
"name": "demo1",
"type": "Microsoft.ContainerInstance/containerGroupProfiles",
"location": "westeurope",
"zones": [
"1"
]
}
}
}
}
Loading