-
Notifications
You must be signed in to change notification settings - Fork 5.8k
HybridCompute - Add stable api 2019-12-12 swagger #8095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
bc51df3
add stable 2019-12-12 swagger
dkirby017 479600e
switch modelAsString to true
d137a2c
switch modelAsString to true
ee7ac29
added missing examples
91bc7b4
add 202 response to example
4fe25b3
remove 204 from put and patch
dkirby017 751690e
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
8d71316
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
05c5809
fix some example issues
baa282b
rework swagger to use more common type definitions
8c45a59
mistakenly overwrote the example with the swagger json, rather than t…
d7f1d9a
fix some more model validation
cfb7ac2
try to run the json through prettier that was flagged
b7fa1e9
ran prettier
e5ecc7b
add more useful examples for machine resources
dkirby017 7ac6f37
ran prettier
dkirby017 8355a72
add more examples
dkirby017 87808a6
fix examples
dkirby017 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,279 changes: 1,279 additions & 0 deletions
1,279
...bridcompute/resource-manager/Microsoft.HybridCompute/stable/2019-12-12/HybridCompute.json
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
.../resource-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/DELETEExtension.json
This file contains hidden or 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,14 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "extensionName": "MMA", | ||
| "api-version": "2019-12-12" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } |
41 changes: 41 additions & 0 deletions
41
...ute/resource-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/GETExtension.json
This file contains hidden or 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,41 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "extensionName": "MMA", | ||
| "api-version": "2019-12-12" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "string", | ||
| "name": "string", | ||
| "type": "string", | ||
| "location": "string", | ||
| "properties": { | ||
| "forceUpdateTag": "string", | ||
| "publisher": "string", | ||
| "type": "string", | ||
| "typeHandlerVersion": "string", | ||
| "autoUpgradeMinorVersion": true, | ||
| "settings": {}, | ||
| "protectedSettings": {}, | ||
| "provisioningState": "string", | ||
| "instanceView": { | ||
| "name": "string", | ||
| "type": "string", | ||
| "typeHandlerVersion": "string", | ||
| "status": { | ||
| "code": "string", | ||
| "level": "Info", | ||
| "displayStatus": "string", | ||
| "message": "string", | ||
| "time": "2019-08-08T20:42:10.999Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
45 changes: 45 additions & 0 deletions
45
...te/resource-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/LISTExtension.json
This file contains hidden or 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,45 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "api-version": "2019-12-12" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "string", | ||
| "name": "string", | ||
| "type": "string", | ||
| "location": "string", | ||
| "properties": { | ||
| "forceUpdateTag": "string", | ||
| "publisher": "string", | ||
| "type": "string", | ||
| "typeHandlerVersion": "string", | ||
| "autoUpgradeMinorVersion": true, | ||
| "settings": {}, | ||
| "protectedSettings": {}, | ||
| "provisioningState": "string", | ||
| "instanceView": { | ||
| "name": "string", | ||
| "type": "string", | ||
| "typeHandlerVersion": "string", | ||
| "status": { | ||
| "code": "string", | ||
| "level": "Info", | ||
| "displayStatus": "string", | ||
| "message": "string", | ||
| "time": "2019-08-13T17:18:57.405Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": "string" | ||
| } | ||
| } | ||
| } | ||
| } | ||
51 changes: 51 additions & 0 deletions
51
...e-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/Machines_CreateOrUpdate.json
This file contains hidden or 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,51 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "api-version": "2019-12-12", | ||
| "parameters": "string", | ||
| "location": "eastus2euap", | ||
| "properties": { | ||
| "vmId": "string", | ||
| "physicalLocation": "redmond", | ||
| "clientPublicKey": "string" | ||
| }, | ||
| "identity": { | ||
| "Type": "SystemAssigned" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "string", | ||
| "name": "string", | ||
| "location": "eastus2euap", | ||
| "tags": null, | ||
| "identity": { | ||
| "type": "SystemAssigned", | ||
| "principalId": "string", | ||
| "tenantId": "string" | ||
| }, | ||
| "type": "Microsoft.HybridCompute/machines", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "agentVersion": null, | ||
| "status": null, | ||
| "lastStatusChange": null, | ||
| "errorDetails": null, | ||
| "displayName": null, | ||
| "machineFqdn": null, | ||
| "osName": null, | ||
| "osVersion": null, | ||
| "osProfile": { | ||
| "computerName": null | ||
| }, | ||
| "vmId": "string", | ||
| "physicalLocation": "string", | ||
| "clientPublicKey": "string" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
.../resource-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/Machines_Delete.json
This file contains hidden or 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,12 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "api-version": "2019-12-12" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
41 changes: 41 additions & 0 deletions
41
...ute/resource-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/Machines_Get.json
This file contains hidden or 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,41 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "api-version": "2019-12-12" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "string", | ||
| "name": "string", | ||
| "location": "string", | ||
| "tags": {}, | ||
| "identity": { | ||
| "type": "SystemAssigned", | ||
| "principalId": "string", | ||
| "tenantId": "string" | ||
| }, | ||
| "type": "Microsoft.HybridCompute/machines", | ||
| "properties": { | ||
| "provisioningState": "string", | ||
| "agentVersion": null, | ||
| "status": null, | ||
| "lastStatusChange": null, | ||
| "errorDetails": null, | ||
| "displayName": null, | ||
| "machineFqdn": null, | ||
| "osName": null, | ||
| "osVersion": null, | ||
| "osProfile": { | ||
| "computerName": null | ||
| }, | ||
| "vmId": "string", | ||
| "physicalLocation": "", | ||
| "clientPublicKey": "string" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
22 changes: 22 additions & 0 deletions
22
...ager/Microsoft.HybridCompute/stable/2019-12-12/examples/Machines_ListByResourceGroup.json
This file contains hidden or 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": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2019-12-12" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "string", | ||
| "name": "string", | ||
| "type": "string", | ||
| "location": "string" | ||
| } | ||
| ], | ||
| "nextLink": "string" | ||
| } | ||
| } | ||
| } | ||
| } |
21 changes: 21 additions & 0 deletions
21
...nager/Microsoft.HybridCompute/stable/2019-12-12/examples/Machines_ListBySubscription.json
This file contains hidden or 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,21 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "api-version": "2019-12-12" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "string", | ||
| "name": "string", | ||
| "type": "string", | ||
| "location": "string" | ||
| } | ||
| ], | ||
| "nextLink": "string" | ||
| } | ||
| } | ||
| } | ||
| } |
51 changes: 51 additions & 0 deletions
51
...source-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/Machines_Reconnect.json
This file contains hidden or 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,51 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "api-version": "2019-12-12", | ||
| "location": "eastus2euap", | ||
| "parameters": "string", | ||
| "properties": { | ||
| "vmId": "string", | ||
| "physicalLocation": "redmond", | ||
| "clientPublicKey": "string" | ||
| }, | ||
| "identity": { | ||
| "Type": "SystemAssigned" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "string", | ||
| "name": "string", | ||
| "location": "eastus2euap", | ||
| "tags": null, | ||
| "identity": { | ||
| "type": "SystemAssigned", | ||
| "principalId": "string", | ||
| "tenantId": "string" | ||
| }, | ||
| "type": "Microsoft.HybridCompute/machines", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "agentVersion": null, | ||
| "status": null, | ||
| "lastStatusChange": null, | ||
| "errorDetails": null, | ||
| "displayName": null, | ||
| "machineFqdn": null, | ||
| "osName": null, | ||
| "osVersion": null, | ||
| "osProfile": { | ||
| "computerName": null | ||
| }, | ||
| "vmId": "string", | ||
| "physicalLocation": "string", | ||
| "clientPublicKey": "string" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
49 changes: 49 additions & 0 deletions
49
.../resource-manager/Microsoft.HybridCompute/stable/2019-12-12/examples/Machines_Update.json
This file contains hidden or 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,49 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "name": "myMachine", | ||
| "api-version": "2019-12-12", | ||
| "location": "eastus2euap", | ||
| "parameters": "string", | ||
| "properties": { | ||
| "physicalLocation": "newLocation" | ||
| }, | ||
| "identity": { | ||
| "Type": "SystemAssigned" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "string", | ||
| "name": "string", | ||
| "location": "eastus2euap", | ||
| "tags": null, | ||
| "identity": { | ||
| "type": "SystemAssigned", | ||
| "principalId": "string", | ||
| "tenantId": "string" | ||
| }, | ||
| "type": "Microsoft.HybridCompute/machines", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "agentVersion": null, | ||
| "status": null, | ||
| "lastStatusChange": null, | ||
| "errorDetails": null, | ||
| "displayName": null, | ||
| "machineFqdn": null, | ||
| "osName": null, | ||
| "osVersion": null, | ||
| "osProfile": { | ||
| "computerName": null | ||
| }, | ||
| "vmId": "string", | ||
| "physicalLocation": "string", | ||
| "clientPublicKey": "string" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.