Skip to content
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

[Hub Generated] Review request for Microsoft.HybridCompute to add version preview/2021-12-10-preview #17047

Merged
merged 25 commits into from
Feb 2, 2022
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3a1f543
Adds base for updating Microsoft.HybridCompute from version preview/2…
dorothyhu Dec 10, 2021
14652cd
Updates readme
dorothyhu Dec 10, 2021
d20a742
Updates API version in new specs and examples
dorothyhu Dec 10, 2021
484dda1
added CloudMetadata to the swagger and updated cli/az config files
dorothyhu Dec 10, 2021
166fc6d
added code 200 to examples
dorothyhu Dec 10, 2021
93ccaff
fixed Linter issue
dorothyhu Dec 13, 2021
3b62eeb
ran npm prettier
dorothyhu Dec 14, 2021
73845bd
added patchMode to the API
dorothyhu Dec 14, 2021
45eebde
reverted the accidental change of package-lock.json
dorothyhu Dec 15, 2021
49f02f6
addressed code reviews && added justin's agentConfiguration
dorothyhu Jan 13, 2022
0c87a79
ran npm prettier
dorothyhu Jan 13, 2022
f50c7ab
added words to the ./custom-words.txt and fixed a type error in .json
dorothyhu Jan 13, 2022
2208f97
Change readonly to readOnly
dorothyhu Jan 14, 2022
a5f3909
changed enum True to true, False to false. Added descriptions for new…
dorothyhu Jan 14, 2022
177aae4
moved the agentConfiguration description to the right place
dorothyhu Jan 14, 2022
b45fdf8
renamed agentConfiguration properties
dorothyhu Jan 21, 2022
4856438
added type object ot defintions
dorothyhu Jan 21, 2022
13eaf8a
changed the agentConfiguration properties namings in examples
dorothyhu Jan 21, 2022
b2eed65
added operations list example
dorothyhu Jan 25, 2022
af6203c
shortened the example and ran npm prettier
dorothyhu Jan 25, 2022
947a8f9
removed lastupdatedby and lastupdatedtimestamp
dorothyhu Jan 28, 2022
d3ba724
reverted enum true/false to boolean
dorothyhu Feb 1, 2022
4218713
removed extra coloumns
dorothyhu Feb 1, 2022
c7a55b0
fixed examples
dorothyhu Feb 1, 2022
5212725
fixed examples
dorothyhu Feb 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

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-12-10-preview"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2021-12-10-preview",
"extensionUpgradeParameters": {
"extensionTargets": {
"Microsoft.Compute.CustomScriptExtension": {
"targetVersion": "1.10"
},
"Microsoft.Azure.Monitoring": {
"targetVersion": "2.0"
}
}
}
},
"responses": {
"200": {},
"202": {}
}
}
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-12-10-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"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2021-12-10-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": {}
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2021-12-10-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,
"osType": null,
"osProfile": {
"computerName": null,
"windowsConfiguration": {
"patchSettings": {
"assessmentMode": null,
"patchMode": null
}
},
"linuxConfiguration": {
"patchSettings": {
"assessmentMode": null,
"patchMode": null
}
}
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"locationData": {
"name": "Redmond",
"city": "redmond",
"district": null,
"countryOrRegion": "usa"
},
"clientPublicKey": "string",
"parentClusterResourceId": "{AzureStackHCIResourceId}",
"mssqlDiscovered": "false",
"detectedProperties": {
"cloudprovider": "N/A",
"manufacturer": "Microsoft Corporation",
"model": "Virtual Machine"
},
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2021-12-10-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"machineName": "myMachine",
"api-version": "2021-12-10-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,
"osType": null,
"osProfile": {
"computerName": null,
"windowsConfiguration": {
"patchSettings": {
"assessmentMode": null,
"patchMode": null
}
},
"linuxConfiguration": {
"patchSettings": {
"assessmentMode": null,
"patchMode": null
}
}
},
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
"locationData": {
"name": "Redmond",
"city": "redmond",
"district": null,
"countryOrRegion": "usa"
},
"clientPublicKey": "string",
"parentClusterResourceId": "{AzureStackHCIResourceId}",
"mssqlDiscovered": "false",
"detectedProperties": {
"cloudprovider": "N/A",
"manufacturer": "Microsoft Corporation",
"model": "Virtual Machine"
},
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
}
}
}
}
}
Loading