forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.SerialConsole to add ver…
…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
1 parent
b49b8b5
commit ffc5119
Showing
10 changed files
with
680 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/CreateSerialPort.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DeleteSerialPort.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...le/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetSerialPort.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...e/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/ListSerialPort.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...anager/Microsoft.SerialConsole/stable/2018-05-01/examples/ListSerialPortSubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialPortConnectVM.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...rce-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialPortConnectVMSS.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.