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-07-01 (#15721)

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

* Updates readme

* Updates API version in new specs and examples

* Adding subnet IDs

* Adding fixes from pending 03-01 update

* Changing definition name to match convention

* Adding network dependencies API

* Adding MSI+ACR properties

* Removing network profile

* Updating example

* Fixing JSON error

* Removing network profile reference

* Adding Integer format where missing

* Removing comma

* Fixing example

* Fixing example

* Ran Prettier to resolve check failure

* Running prettier again for format
  • Loading branch information
joseph-porter authored Sep 14, 2021
1 parent 0d3b1a8 commit 6c02b97
Show file tree
Hide file tree
Showing 19 changed files with 3,278 additions and 4 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-07-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-07-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-07-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-07-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-07-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"unit": "Count",
"currentValue": 1,
"limit": 2000,
"name": {
"value": "ContainerGroups",
"localizedValue": "Container Groups"
}
}
]
}
}
}
}
Loading

0 comments on commit 6c02b97

Please sign in to comment.