-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Hub Generated] Review request for Microsoft.HybridCompute to add version preview/2021-03-25-preview #13681
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
leniatgh
merged 8 commits into
Azure:master
from
dorothyhu:dev-hybridcompute-Microsoft.HybridCompute-2021-03-25-preview
Apr 1, 2021
Merged
[Hub Generated] Review request for Microsoft.HybridCompute to add version preview/2021-03-25-preview #13681
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b1562bb
Adds base for updating Microsoft.HybridCompute from version preview/2…
dorothyhu e800a9a
Updates readme
dorothyhu ac1d4a0
Updates API version in new specs and examples
dorothyhu b70158c
added detectedProperties and parentClusterResourceId
dorothyhu 6cb9a46
added the parentClusterResourceId in the request
dorothyhu 1df85f7
removed the parentClusterResourceId to be null
dorothyhu 3175578
added the parentClusterResourceId back in both of the request and res…
dorothyhu ac63e91
added a tag in the azureresourcesschema file
dorothyhu 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,119 changes: 1,119 additions & 0 deletions
1,119
...te/resource-manager/Microsoft.HybridCompute/preview/2021-03-25-preview/HybridCompute.json
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
...-manager/Microsoft.HybridCompute/preview/2021-03-25-preview/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": "{subscriptionId}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "machineName": "myMachine", | ||
| "extensionName": "MMA", | ||
| "api-version": "2021-03-25-preview" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } |
40 changes: 40 additions & 0 deletions
40
...rce-manager/Microsoft.HybridCompute/preview/2021-03-25-preview/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,40 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscriptionId}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "machineName": "myMachine", | ||
| "extensionName": "CustomScriptExtension", | ||
| "api-version": "2021-03-25-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", | ||
| "name": "CustomScriptExtension", | ||
| "type": "Microsoft.HybridCompute/machines/extensions", | ||
| "location": "eastus2euap", | ||
| "properties": { | ||
| "publisher": "Microsoft.Compute", | ||
| "type": "string", | ||
| "typeHandlerVersion": "1.10.3", | ||
| "autoUpgradeMinorVersion": false, | ||
| "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}", | ||
| "protectedSettings": {}, | ||
| "provisioningState": "Succeeded", | ||
| "instanceView": { | ||
| "name": "CustomScriptExtension", | ||
| "type": "CustomScriptExtension", | ||
| "typeHandlerVersion": "1.10.3", | ||
| "status": { | ||
| "code": "success", | ||
| "level": "Information", | ||
| "displayStatus": "Provisioning succeeded", | ||
| "message": "Finished executing command, StdOut: , StdErr:", | ||
| "time": "2019-08-08T20:42:10.999Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
64 changes: 64 additions & 0 deletions
64
...ce-manager/Microsoft.HybridCompute/preview/2021-03-25-preview/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,64 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscriptionId}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "machineName": "myMachine", | ||
| "api-version": "2021-03-25-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", | ||
| "name": "CustomScriptExtension", | ||
| "location": "eastus2euap", | ||
| "type": "Microsoft.HybridCompute/machines/extensions", | ||
| "properties": { | ||
| "publisher": "Microsoft.Compute", | ||
| "type": "CustomScriptExtension", | ||
| "typeHandlerVersion": "1.10.3", | ||
| "autoUpgradeMinorVersion": false, | ||
| "settings": { | ||
| "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" | ||
| }, | ||
| "provisioningState": "Succeeded", | ||
| "instanceView": { | ||
| "name": "CustomScriptExtension", | ||
| "type": "CustomScriptExtension", | ||
| "typeHandlerVersion": "1.10.3", | ||
| "status": { | ||
| "code": "success", | ||
| "level": "Information", | ||
| "displayStatus": "Provisioning succeeded", | ||
| "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ", | ||
| "time": "2020-08-13T17:18:57.405Z" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension", | ||
| "name": "winosupdateextension", | ||
| "location": "eastus2euap", | ||
| "type": "Microsoft.HybridCompute/machines/extensions", | ||
| "properties": { | ||
| "publisher": "microsoft.softwareupdatemanagement.test", | ||
| "type": "windowsosupdateextension", | ||
| "typeHandlerVersion": "1.0.0.0", | ||
| "autoUpgradeMinorVersion": false, | ||
| "settings": {}, | ||
| "provisioningState": "Creating", | ||
| "instanceView": { | ||
| "name": "winosupdateextension", | ||
| "type": "windowsosupdateextension", | ||
| "typeHandlerVersion": "1.0.0.0", | ||
| "status": {} | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
74 changes: 74 additions & 0 deletions
74
.../Microsoft.HybridCompute/preview/2021-03-25-preview/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,74 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscriptionId}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "machineName": "myMachine", | ||
| "api-version": "2021-03-25-preview", | ||
| "parameters": { | ||
| "location": "eastus2euap", | ||
| "properties": { | ||
| "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", | ||
| "locationData": { | ||
| "name": "Redmond" | ||
| }, | ||
| "clientPublicKey": "string", | ||
| "parentClusterResourceId": "{AzureStackHCIResourceId}", | ||
| "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" | ||
| }, | ||
| "identity": { | ||
| "type": "SystemAssigned" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", | ||
| "name": "myMachine", | ||
| "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, | ||
| "vmUuid": null, | ||
| "osSku": null, | ||
| "domainName": null, | ||
| "adFqdn": null, | ||
| "dnsFqdn": null, | ||
| "osName": null, | ||
| "osVersion": null, | ||
| "osProfile": { | ||
| "computerName": null | ||
| }, | ||
| "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", | ||
| "locationData": { | ||
| "name": "Redmond", | ||
| "city": "redmond", | ||
| "district": null, | ||
| "countryOrRegion": "usa" | ||
| }, | ||
| "clientPublicKey": "string", | ||
| "parentClusterResourceId": "{AzureStackHCIResourceId}", | ||
| "detectedProperties": { | ||
| "cloudprovider": "N/A", | ||
| "manufacturer": "Microsoft Corporation", | ||
| "model": "Virtual Machine", | ||
| "mssqldiscovered": "false" | ||
| }, | ||
| "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
12 changes: 12 additions & 0 deletions
12
...-manager/Microsoft.HybridCompute/preview/2021-03-25-preview/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": "{subscriptionId}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "machineName": "myMachine", | ||
| "api-version": "2021-03-25-preview" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
59 changes: 59 additions & 0 deletions
59
...rce-manager/Microsoft.HybridCompute/preview/2021-03-25-preview/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,59 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscriptionId}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "machineName": "myMachine", | ||
| "api-version": "2021-03-25-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", | ||
| "name": "myMachine", | ||
| "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, | ||
| "vmUuid": null, | ||
| "osSku": null, | ||
| "domainName": null, | ||
| "adFqdn": null, | ||
| "dnsFqdn": null, | ||
| "osName": null, | ||
| "osVersion": null, | ||
| "osProfile": { | ||
| "computerName": null | ||
| }, | ||
| "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", | ||
| "locationData": { | ||
| "name": "Redmond", | ||
| "city": "redmond", | ||
| "district": null, | ||
| "countryOrRegion": "usa" | ||
| }, | ||
| "clientPublicKey": "string", | ||
| "parentClusterResourceId": "{AzureStackHCIResourceId}", | ||
| "detectedProperties": { | ||
| "cloudprovider": "N/A", | ||
| "manufacturer": "Microsoft Corporation", | ||
| "model": "Virtual Machine", | ||
| "mssqldiscovered": "false" | ||
| }, | ||
| "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
99 changes: 99 additions & 0 deletions
99
...osoft.HybridCompute/preview/2021-03-25-preview/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,99 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2021-03-25-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", | ||
| "name": "myMachine", | ||
| "location": "eastus2euap", | ||
| "tags": null, | ||
| "identity": { | ||
| "type": "SystemAssigned", | ||
| "principalId": "f7a068cc-b0b8-46e8-a203-22f301a62a8f", | ||
| "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" | ||
| }, | ||
| "type": "Microsoft.HybridCompute/machines", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "agentVersion": null, | ||
| "status": null, | ||
| "lastStatusChange": null, | ||
| "errorDetails": null, | ||
| "displayName": null, | ||
| "machineFqdn": null, | ||
| "vmUuid": null, | ||
| "osSku": null, | ||
| "domainName": null, | ||
| "adFqdn": null, | ||
| "dnsFqdn": null, | ||
| "osName": null, | ||
| "osVersion": null, | ||
| "osProfile": { | ||
| "computerName": null | ||
| }, | ||
| "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", | ||
| "locationData": { | ||
| "name": "Redmond" | ||
| }, | ||
| "clientPublicKey": "string", | ||
| "parentClusterResourceId": null, | ||
| "detectedProperties": { | ||
| "cloudprovider": "N/A", | ||
| "manufacturer": "Microsoft Corporation", | ||
| "model": "Virtual Machine", | ||
| "mssqldiscovered": "false" | ||
| }, | ||
| "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" | ||
| } | ||
| }, | ||
| { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine2", | ||
| "name": "myMachine2", | ||
| "location": "westus2", | ||
| "tags": null, | ||
| "identity": { | ||
| "type": "SystemAssigned", | ||
| "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", | ||
| "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" | ||
| }, | ||
| "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": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", | ||
| "locationData": { | ||
| "name": "Redmond" | ||
| }, | ||
| "clientPublicKey": "string", | ||
| "parentClusterResourceId": "{AzureStackHCIResourceId}", | ||
| "detectedProperties": { | ||
| "cloudprovider": "N/A", | ||
| "manufacturer": "Microsoft Corporation", | ||
| "model": "Surfacebook", | ||
| "mssqldiscovered": "true" | ||
| }, | ||
| "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": null | ||
| } | ||
| } | ||
| } | ||
| } |
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.