Skip to content

Commit 1e1fe96

Browse files
authored
Microsoft.AzureStackHCI new api version 2020-10-01 (#10953)
* Adds base for updating Microsoft.AzureStackHCI from version preview/2020-03-01-preview to version 2020-10-01 * Updates readme * Updates API version in new specs and examples * Use common-types v2 * Use ListBySubscription instead of List
1 parent 81bc0b2 commit 1e1fe96

File tree

8 files changed

+1028
-6
lines changed

8 files changed

+1028
-6
lines changed

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2020-10-01/azurestackhci.json

Lines changed: 630 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
4+
"resourceGroupName": "test-rg",
5+
"clusterName": "myCluster",
6+
"api-version": "2020-10-01",
7+
"cluster": {
8+
"location": "East US",
9+
"properties": {
10+
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
11+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster",
19+
"name": "myCluster",
20+
"type": "Microsoft.AzureStackHCI/clusters",
21+
"location": "East US",
22+
"tags": {},
23+
"properties": {
24+
"provisioningState": "Succeeded",
25+
"status": "NotYetRegistered",
26+
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
27+
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
28+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
29+
"reportedProperties": {},
30+
"trialDaysRemaining": 30,
31+
"billingModel": "Trial"
32+
}
33+
}
34+
}
35+
}
36+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
4+
"resourceGroupName": "test-rg",
5+
"clusterName": "myCluster",
6+
"api-version": "2020-10-01"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
4+
"resourceGroupName": "test-rg",
5+
"clusterName": "myCluster",
6+
"api-version": "2020-10-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster",
12+
"name": "myCluster",
13+
"type": "Microsoft.AzureStackHCI/clusters",
14+
"location": "East US",
15+
"tags": {},
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"status": "ConnectedRecently",
19+
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
20+
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
21+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
22+
"reportedProperties": {
23+
"clusterName": "cluster1",
24+
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
25+
"clusterVersion": "10.0.17777",
26+
"nodes": [
27+
{
28+
"name": "Node1",
29+
"id": 1,
30+
"manufacturer": "Dell Inc.",
31+
"model": "EMC AX740",
32+
"osName": "Azure Stack HCI",
33+
"osVersion": "10.0.17777.1061",
34+
"serialNumber": "Q45CZC3",
35+
"coreCount": 8,
36+
"memoryInGiB": 128
37+
},
38+
{
39+
"name": "Node2",
40+
"id": 2,
41+
"manufacturer": "Dell Inc.",
42+
"model": "EMC AX740",
43+
"osName": "Azure Stack HCI",
44+
"osVersion": "10.0.17777.1061",
45+
"serialNumber": "Q44BSC3",
46+
"coreCount": 8,
47+
"memoryInGiB": 128
48+
},
49+
{
50+
"name": "Node3",
51+
"id": 3,
52+
"manufacturer": "Dell Inc.",
53+
"model": "EMC AX740",
54+
"osName": "Azure Stack HCI",
55+
"osVersion": "10.0.17777.1061",
56+
"serialNumber": "Q44RFC3",
57+
"coreCount": 16,
58+
"memoryInGiB": 256
59+
}
60+
],
61+
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
62+
},
63+
"trialDaysRemaining": 30,
64+
"billingModel": "Trial",
65+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
66+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
67+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
68+
}
69+
}
70+
}
71+
}
72+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
4+
"resourceGroupName": "test-rg",
5+
"api-version": "2020-10-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster1",
13+
"name": "myCluster1",
14+
"type": "Microsoft.AzureStackHCI/clusters",
15+
"location": "East US",
16+
"tags": {},
17+
"properties": {
18+
"provisioningState": "Succeeded",
19+
"status": "NotYetRegistered",
20+
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
21+
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
22+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
23+
"reportedProperties": {},
24+
"trialDaysRemaining": 29,
25+
"billingModel": "Trial"
26+
}
27+
},
28+
{
29+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster2",
30+
"name": "myCluster2",
31+
"type": "Microsoft.AzureStackHCI/clusters",
32+
"location": "East US",
33+
"tags": {},
34+
"properties": {
35+
"provisioningState": "Succeeded",
36+
"status": "ConnectedRecently",
37+
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
38+
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
39+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
40+
"reportedProperties": {
41+
"clusterName": "cluster1",
42+
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
43+
"clusterVersion": "10.0.17777",
44+
"nodes": [
45+
{
46+
"name": "Node1",
47+
"id": 0,
48+
"manufacturer": "Dell Inc.",
49+
"model": "EMC AX740",
50+
"osName": "Azure Stack HCI",
51+
"osVersion": "10.0.17777.1061",
52+
"serialNumber": "Q45CZC3",
53+
"coreCount": 8,
54+
"memoryInGiB": 128
55+
},
56+
{
57+
"name": "Node2",
58+
"id": 1,
59+
"manufacturer": "Dell Inc.",
60+
"model": "EMC AX740",
61+
"osName": "Azure Stack HCI",
62+
"osVersion": "10.0.17777.1061",
63+
"serialNumber": "Q44BSC3",
64+
"coreCount": 8,
65+
"memoryInGiB": 128
66+
},
67+
{
68+
"name": "Node3",
69+
"id": 2,
70+
"manufacturer": "Dell Inc.",
71+
"model": "EMC AX740",
72+
"osName": "Azure Stack HCI",
73+
"osVersion": "10.0.17777.1061",
74+
"serialNumber": "Q44RFC3",
75+
"coreCount": 16,
76+
"memoryInGiB": 256
77+
}
78+
],
79+
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
80+
},
81+
"trialDaysRemaining": 30,
82+
"billingModel": "Trial",
83+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
84+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
85+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
86+
}
87+
}
88+
]
89+
}
90+
}
91+
}
92+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
4+
"api-version": "2020-10-01"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg1/providers/Microsoft.AzureStackHCI/clusters/myCluster1",
12+
"name": "myCluster1",
13+
"type": "Microsoft.AzureStackHCI/clusters",
14+
"location": "East US",
15+
"tags": {},
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"status": "NotYetRegistered",
19+
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
20+
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
21+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
22+
"reportedProperties": {},
23+
"trialDaysRemaining": 29,
24+
"billingModel": "Trial"
25+
}
26+
},
27+
{
28+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg2/providers/Microsoft.AzureStackHCI/clusters/myCluster2",
29+
"name": "myCluster2",
30+
"type": "Microsoft.AzureStackHCI/clusters",
31+
"location": "West US",
32+
"tags": {},
33+
"properties": {
34+
"provisioningState": "Succeeded",
35+
"status": "ConnectedRecently",
36+
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
37+
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
38+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
39+
"reportedProperties": {
40+
"clusterName": "cluster1",
41+
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
42+
"clusterVersion": "10.0.17777",
43+
"nodes": [
44+
{
45+
"name": "Node1",
46+
"id": 0,
47+
"manufacturer": "Dell Inc.",
48+
"model": "EMC AX740",
49+
"osName": "Azure Stack HCI",
50+
"osVersion": "10.0.17777.1061",
51+
"serialNumber": "Q45CZC3",
52+
"coreCount": 8,
53+
"memoryInGiB": 128
54+
},
55+
{
56+
"name": "Node2",
57+
"id": 1,
58+
"manufacturer": "Dell Inc.",
59+
"model": "EMC AX740",
60+
"osName": "Azure Stack HCI",
61+
"osVersion": "10.0.17777.1061",
62+
"serialNumber": "Q44BSC3",
63+
"coreCount": 8,
64+
"memoryInGiB": 128
65+
},
66+
{
67+
"name": "Node3",
68+
"id": 2,
69+
"manufacturer": "Dell Inc.",
70+
"model": "EMC AX740",
71+
"osName": "Azure Stack HCI",
72+
"osVersion": "10.0.17777.1061",
73+
"serialNumber": "Q44RFC3",
74+
"coreCount": 16,
75+
"memoryInGiB": 256
76+
}
77+
],
78+
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
79+
},
80+
"trialDaysRemaining": 30,
81+
"billingModel": "Trial",
82+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
83+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
84+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
85+
}
86+
}
87+
]
88+
}
89+
}
90+
}
91+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
4+
"resourceGroupName": "test-rg",
5+
"clusterName": "myCluster",
6+
"api-version": "2020-10-01",
7+
"cluster": {
8+
"tags": {
9+
"tag1": "value1",
10+
"tag2": "value2"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster",
18+
"name": "myCluster",
19+
"type": "Microsoft.AzureStackHCI/clusters",
20+
"location": "East US",
21+
"tags": {
22+
"tag1": "value1",
23+
"tag2": "value2"
24+
},
25+
"properties": {
26+
"provisioningState": "Succeeded",
27+
"status": "ConnectedRecently",
28+
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
29+
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
30+
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
31+
"reportedProperties": {
32+
"clusterName": "cluster1",
33+
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
34+
"clusterVersion": "10.0.17777",
35+
"nodes": [
36+
{
37+
"name": "Node1",
38+
"id": 1,
39+
"manufacturer": "Dell Inc.",
40+
"model": "EMC AX740",
41+
"osName": "Azure Stack HCI",
42+
"osVersion": "10.0.17777.1061",
43+
"serialNumber": "Q45CZC3",
44+
"coreCount": 8,
45+
"memoryInGiB": 128
46+
},
47+
{
48+
"name": "Node2",
49+
"id": 2,
50+
"manufacturer": "Dell Inc.",
51+
"model": "EMC AX740",
52+
"osName": "Azure Stack HCI",
53+
"osVersion": "10.0.17777.1061",
54+
"serialNumber": "Q44BSC3",
55+
"coreCount": 8,
56+
"memoryInGiB": 128
57+
},
58+
{
59+
"name": "Node3",
60+
"id": 3,
61+
"manufacturer": "Dell Inc.",
62+
"model": "EMC AX740",
63+
"osName": "Azure Stack HCI",
64+
"osVersion": "10.0.17777.1061",
65+
"serialNumber": "Q44RFC3",
66+
"coreCount": 16,
67+
"memoryInGiB": 256
68+
}
69+
],
70+
"lastUpdated": "2020-03-11T19:24:42.1946017Z"
71+
},
72+
"trialDaysRemaining": 30,
73+
"billingModel": "Trial",
74+
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
75+
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
76+
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
77+
}
78+
}
79+
}
80+
}
81+
}

0 commit comments

Comments
 (0)