Skip to content

Commit 3d3c5dd

Browse files
authored
[Hub Generated] Review request for Microsoft.HybridCompute to add version stable/2021-05-20 (Azure#14486)
* Adds base for updating Microsoft.HybridCompute from version preview/2021-04-22-preview to version 2021-05-20 * Updates readme * Updates API version in new specs and examples
1 parent 2070a78 commit 3d3c5dd

30 files changed

+3396
-5
lines changed

specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2021-05-20/HybridCompute.json

Lines changed: 1202 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"extensionName": "MMA",
7+
"api-version": "2021-05-20"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"api-version": "2021-05-20",
7+
"extensionUpgradeParameters": {
8+
"extensionTargets": {
9+
"Microsoft.Compute.CustomScriptExtension": {
10+
"targetVersion": "1.10"
11+
},
12+
"Microsoft.Azure.Monitoring": {
13+
"targetVersion": "2.0"
14+
}
15+
}
16+
}
17+
},
18+
"responses": {
19+
"202": {}
20+
}
21+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"extensionName": "CustomScriptExtension",
7+
"api-version": "2021-05-20"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension",
13+
"name": "CustomScriptExtension",
14+
"type": "Microsoft.HybridCompute/machines/extensions",
15+
"location": "eastus2euap",
16+
"properties": {
17+
"publisher": "Microsoft.Compute",
18+
"type": "string",
19+
"typeHandlerVersion": "1.10.3",
20+
"autoUpgradeMinorVersion": false,
21+
"settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}",
22+
"protectedSettings": {},
23+
"provisioningState": "Succeeded",
24+
"instanceView": {
25+
"name": "CustomScriptExtension",
26+
"type": "CustomScriptExtension",
27+
"typeHandlerVersion": "1.10.3",
28+
"status": {
29+
"code": "success",
30+
"level": "Information",
31+
"displayStatus": "Provisioning succeeded",
32+
"message": "Finished executing command, StdOut: , StdErr:",
33+
"time": "2019-08-08T20:42:10.999Z"
34+
}
35+
}
36+
}
37+
}
38+
}
39+
}
40+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"api-version": "2021-05-20"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension",
14+
"name": "CustomScriptExtension",
15+
"location": "eastus2euap",
16+
"type": "Microsoft.HybridCompute/machines/extensions",
17+
"properties": {
18+
"publisher": "Microsoft.Compute",
19+
"type": "CustomScriptExtension",
20+
"typeHandlerVersion": "1.10.3",
21+
"autoUpgradeMinorVersion": false,
22+
"settings": {
23+
"commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\""
24+
},
25+
"provisioningState": "Succeeded",
26+
"instanceView": {
27+
"name": "CustomScriptExtension",
28+
"type": "CustomScriptExtension",
29+
"typeHandlerVersion": "1.10.3",
30+
"status": {
31+
"code": "success",
32+
"level": "Information",
33+
"displayStatus": "Provisioning succeeded",
34+
"message": "formattedMessage: Finished executing command, StdOut: , StdErr: ",
35+
"time": "2020-08-13T17:18:57.405Z"
36+
}
37+
}
38+
}
39+
},
40+
{
41+
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension",
42+
"name": "winosupdateextension",
43+
"location": "eastus2euap",
44+
"type": "Microsoft.HybridCompute/machines/extensions",
45+
"properties": {
46+
"publisher": "microsoft.softwareupdatemanagement.test",
47+
"type": "windowsosupdateextension",
48+
"typeHandlerVersion": "1.0.0.0",
49+
"autoUpgradeMinorVersion": false,
50+
"settings": {},
51+
"provisioningState": "Creating",
52+
"instanceView": {
53+
"name": "winosupdateextension",
54+
"type": "windowsosupdateextension",
55+
"typeHandlerVersion": "1.0.0.0",
56+
"status": {}
57+
}
58+
}
59+
}
60+
]
61+
}
62+
}
63+
}
64+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"api-version": "2021-05-20",
7+
"parameters": {
8+
"location": "eastus2euap",
9+
"properties": {
10+
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
11+
"locationData": {
12+
"name": "Redmond"
13+
},
14+
"clientPublicKey": "string",
15+
"parentClusterResourceId": "{AzureStackHCIResourceId}",
16+
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
17+
},
18+
"identity": {
19+
"type": "SystemAssigned"
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine",
27+
"name": "myMachine",
28+
"location": "eastus2euap",
29+
"tags": null,
30+
"identity": {
31+
"type": "SystemAssigned",
32+
"principalId": "string",
33+
"tenantId": "string"
34+
},
35+
"type": "Microsoft.HybridCompute/machines",
36+
"properties": {
37+
"provisioningState": "Succeeded",
38+
"agentVersion": null,
39+
"status": null,
40+
"lastStatusChange": null,
41+
"errorDetails": null,
42+
"displayName": null,
43+
"machineFqdn": null,
44+
"vmUuid": null,
45+
"osSku": null,
46+
"domainName": null,
47+
"adFqdn": null,
48+
"dnsFqdn": null,
49+
"osName": null,
50+
"osVersion": null,
51+
"osProfile": {
52+
"computerName": null
53+
},
54+
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
55+
"locationData": {
56+
"name": "Redmond",
57+
"city": "redmond",
58+
"district": null,
59+
"countryOrRegion": "usa"
60+
},
61+
"clientPublicKey": "string",
62+
"parentClusterResourceId": "{AzureStackHCIResourceId}",
63+
"detectedProperties": {
64+
"cloudprovider": "N/A",
65+
"manufacturer": "Microsoft Corporation",
66+
"model": "Virtual Machine",
67+
"mssqldiscovered": "false"
68+
},
69+
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
70+
}
71+
}
72+
}
73+
}
74+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"api-version": "2021-05-20"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"api-version": "2021-05-20"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine",
12+
"name": "myMachine",
13+
"location": "eastus2euap",
14+
"tags": null,
15+
"identity": {
16+
"type": "SystemAssigned",
17+
"principalId": "string",
18+
"tenantId": "string"
19+
},
20+
"type": "Microsoft.HybridCompute/machines",
21+
"properties": {
22+
"provisioningState": "Succeeded",
23+
"agentVersion": null,
24+
"status": null,
25+
"lastStatusChange": null,
26+
"errorDetails": null,
27+
"displayName": null,
28+
"machineFqdn": null,
29+
"vmUuid": null,
30+
"osSku": null,
31+
"domainName": null,
32+
"adFqdn": null,
33+
"dnsFqdn": null,
34+
"osName": null,
35+
"osVersion": null,
36+
"osProfile": {
37+
"computerName": null
38+
},
39+
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
40+
"locationData": {
41+
"name": "Redmond",
42+
"city": "redmond",
43+
"district": null,
44+
"countryOrRegion": "usa"
45+
},
46+
"clientPublicKey": "string",
47+
"parentClusterResourceId": "{AzureStackHCIResourceId}",
48+
"detectedProperties": {
49+
"cloudprovider": "N/A",
50+
"manufacturer": "Microsoft Corporation",
51+
"model": "Virtual Machine",
52+
"mssqldiscovered": "false"
53+
},
54+
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
55+
}
56+
}
57+
}
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2021-05-20"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine",
13+
"name": "myMachine",
14+
"location": "eastus2euap",
15+
"tags": null,
16+
"identity": {
17+
"type": "SystemAssigned",
18+
"principalId": "f7a068cc-b0b8-46e8-a203-22f301a62a8f",
19+
"tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f"
20+
},
21+
"type": "Microsoft.HybridCompute/machines",
22+
"properties": {
23+
"provisioningState": "Succeeded",
24+
"agentVersion": null,
25+
"status": null,
26+
"lastStatusChange": null,
27+
"errorDetails": null,
28+
"displayName": null,
29+
"machineFqdn": null,
30+
"vmUuid": null,
31+
"osSku": null,
32+
"domainName": null,
33+
"adFqdn": null,
34+
"dnsFqdn": null,
35+
"osName": null,
36+
"osVersion": null,
37+
"osProfile": {
38+
"computerName": null
39+
},
40+
"vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
41+
"locationData": {
42+
"name": "Redmond"
43+
},
44+
"clientPublicKey": "string",
45+
"parentClusterResourceId": null,
46+
"detectedProperties": {
47+
"cloudprovider": "N/A",
48+
"manufacturer": "Microsoft Corporation",
49+
"model": "Virtual Machine",
50+
"mssqldiscovered": "false"
51+
},
52+
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
53+
}
54+
},
55+
{
56+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine2",
57+
"name": "myMachine2",
58+
"location": "westus2",
59+
"tags": null,
60+
"identity": {
61+
"type": "SystemAssigned",
62+
"principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f",
63+
"tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f"
64+
},
65+
"type": "Microsoft.HybridCompute/machines",
66+
"properties": {
67+
"provisioningState": "Succeeded",
68+
"agentVersion": null,
69+
"status": null,
70+
"lastStatusChange": null,
71+
"errorDetails": null,
72+
"displayName": null,
73+
"machineFqdn": null,
74+
"osName": null,
75+
"osVersion": null,
76+
"osProfile": {
77+
"computerName": null
78+
},
79+
"vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f",
80+
"locationData": {
81+
"name": "Redmond"
82+
},
83+
"clientPublicKey": "string",
84+
"parentClusterResourceId": "{AzureStackHCIResourceId}",
85+
"detectedProperties": {
86+
"cloudprovider": "N/A",
87+
"manufacturer": "Microsoft Corporation",
88+
"model": "Surfacebook",
89+
"mssqldiscovered": "true"
90+
},
91+
"privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
92+
}
93+
}
94+
],
95+
"nextLink": null
96+
}
97+
}
98+
}
99+
}

0 commit comments

Comments
 (0)