Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.ContainerInstance to add…
Browse files Browse the repository at this point in the history
… version stable/2021-03-01 (Azure#12765)

* Adds base for updating Microsoft.ContainerInstance from version stable/2020-11-01 to version 2021-03-01

* Updates readme

* Updates API version in new specs and examples
  • Loading branch information
worldhello126 authored and mkarmark committed Jul 20, 2021
1 parent 8992083 commit 1343972
Show file tree
Hide file tree
Showing 19 changed files with 3,207 additions and 2 deletions.

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": "2021-03-01"
},
"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": "2021-03-01"
},
"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": "2021-03-01",
"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": "2021-03-01",
"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,24 @@
{
"parameters": {
"subscriptionId": "subid",
"location": "westcentralus",
"api-version": "2021-03-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"unit": "Count",
"currentValue": 1,
"limit": 2000,
"name": {
"value": "ContainerGroups",
"localizedValue": "Container Groups"
}
}
]
}
}
}
}
Loading

0 comments on commit 1343972

Please sign in to comment.