Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.SerialConsole to add ver…
Browse files Browse the repository at this point in the history
…sion stable/2018-05-01 (Azure#12109)

* add serialPort operations

* linting fixes

* fixing whitespacing for prettier check failure

* fix to example naming
  • Loading branch information
CraigWiand authored Jan 11, 2021
1 parent b49b8b5 commit ffc5119
Show file tree
Hide file tree
Showing 10 changed files with 680 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceProviderNamespace": "Microsoft.Compute",
"parentResourceType": "virtualMachines",
"parentResource": "myVM",
"serialPort": "0",
"parameters": {
"properties": {
"state": "enabled"
}
}
},
"responses": {
"201": {
"body": {
"name": "0",
"id": "/subscriptions/00000000-00000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/providers/Microsoft.SerialConsole/serialPorts/0",
"type": "Microsoft.SerialConsole/serialPorts",
"properties": {
"state": "enabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceProviderNamespace": "Microsoft.Compute",
"parentResourceType": "virtualMachines",
"parentResource": "myVM",
"serialPort": "0"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceProviderNamespace": "Microsoft.Compute",
"parentResourceType": "virtualMachines",
"parentResource": "myVM",
"serialPort": "0"
},
"responses": {
"200": {
"body": {
"name": "0",
"id": "/subscriptions/00000000-00000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/providers/Microsoft.SerialConsole/serialPorts/0",
"type": "Microsoft.SerialConsole/serialPorts",
"properties": {
"state": "enabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceProviderNamespace": "Microsoft.Compute",
"parentResourceType": "virtualMachines",
"parentResource": "myVM"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "0",
"id": "/subscriptions/00000000-00000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/providers/Microsoft.SerialConsole/serialPorts/0",
"type": "Microsoft.SerialConsole/serialPorts",
"properties": {
"state": "enabled"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "0",
"id": "/subscriptions/00000000-00000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/providers/Microsoft.SerialConsole/serialPorts/0",
"type": "Microsoft.SerialConsole/serialPorts",
"properties": {
"state": "enabled"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceProviderNamespace": "Microsoft.Compute",
"parentResourceType": "virtualMachines",
"parentResource": "myVM",
"serialPort": "0"
},
"responses": {
"200": {
"body": {
"connectionString": "wss://eastus.gateway.serialconsole.azure.com/n/connector/{containerid}/sessions/{sessionId}/client"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2018-05-01",
"subscriptionId": "00000000-00000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceProviderNamespace": "Microsoft.Compute",
"parentResourceType": "virtualMachineScaleSets",
"parentResource": "myscaleset/virtualMachines/2",
"serialPort": "0"
},
"responses": {
"200": {
"body": {
"connectionString": "wss://eastus.gateway.serialconsole.azure.com/n/connector/{containerid}/sessions/{sessionId}/client"
}
}
}
}
Loading

0 comments on commit ffc5119

Please sign in to comment.