-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
8 changed files
with
1,028 additions
and
6 deletions.
There are no files selected for viewing
630 changes: 630 additions & 0 deletions
630
...urestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2020-10-01/azurestackhci.json
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...ci/resource-manager/Microsoft.AzureStackHCI/stable/2020-10-01/examples/CreateCluster.json
This file contains 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,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2020-10-01", | ||
"cluster": { | ||
"location": "East US", | ||
"properties": { | ||
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", | ||
"name": "myCluster", | ||
"type": "Microsoft.AzureStackHCI/clusters", | ||
"location": "East US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"status": "NotYetRegistered", | ||
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", | ||
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"reportedProperties": {}, | ||
"trialDaysRemaining": 30, | ||
"billingModel": "Trial" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ci/resource-manager/Microsoft.AzureStackHCI/stable/2020-10-01/examples/DeleteCluster.json
This file contains 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": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2020-10-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...ckhci/resource-manager/Microsoft.AzureStackHCI/stable/2020-10-01/examples/GetCluster.json
This file contains 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,72 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2020-10-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", | ||
"name": "myCluster", | ||
"type": "Microsoft.AzureStackHCI/clusters", | ||
"location": "East US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"status": "ConnectedRecently", | ||
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", | ||
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"reportedProperties": { | ||
"clusterName": "cluster1", | ||
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", | ||
"clusterVersion": "10.0.17777", | ||
"nodes": [ | ||
{ | ||
"name": "Node1", | ||
"id": 1, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q45CZC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node2", | ||
"id": 2, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44BSC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node3", | ||
"id": 3, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44RFC3", | ||
"coreCount": 16, | ||
"memoryInGiB": 256 | ||
} | ||
], | ||
"lastUpdated": "2020-03-11T19:24:42.1946017Z" | ||
}, | ||
"trialDaysRemaining": 30, | ||
"billingModel": "Trial", | ||
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
92 changes: 92 additions & 0 deletions
92
...nager/Microsoft.AzureStackHCI/stable/2020-10-01/examples/ListClustersByResourceGroup.json
This file contains 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,92 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"api-version": "2020-10-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster1", | ||
"name": "myCluster1", | ||
"type": "Microsoft.AzureStackHCI/clusters", | ||
"location": "East US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"status": "NotYetRegistered", | ||
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd", | ||
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"reportedProperties": {}, | ||
"trialDaysRemaining": 29, | ||
"billingModel": "Trial" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster2", | ||
"name": "myCluster2", | ||
"type": "Microsoft.AzureStackHCI/clusters", | ||
"location": "East US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"status": "ConnectedRecently", | ||
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", | ||
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"reportedProperties": { | ||
"clusterName": "cluster1", | ||
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", | ||
"clusterVersion": "10.0.17777", | ||
"nodes": [ | ||
{ | ||
"name": "Node1", | ||
"id": 0, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q45CZC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node2", | ||
"id": 1, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44BSC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node3", | ||
"id": 2, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44RFC3", | ||
"coreCount": 16, | ||
"memoryInGiB": 256 | ||
} | ||
], | ||
"lastUpdated": "2020-03-11T19:24:42.1946017Z" | ||
}, | ||
"trialDaysRemaining": 30, | ||
"billingModel": "Trial", | ||
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
91 changes: 91 additions & 0 deletions
91
...anager/Microsoft.AzureStackHCI/stable/2020-10-01/examples/ListClustersBySubscription.json
This file contains 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,91 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"api-version": "2020-10-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg1/providers/Microsoft.AzureStackHCI/clusters/myCluster1", | ||
"name": "myCluster1", | ||
"type": "Microsoft.AzureStackHCI/clusters", | ||
"location": "East US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"status": "NotYetRegistered", | ||
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd", | ||
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"reportedProperties": {}, | ||
"trialDaysRemaining": 29, | ||
"billingModel": "Trial" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg2/providers/Microsoft.AzureStackHCI/clusters/myCluster2", | ||
"name": "myCluster2", | ||
"type": "Microsoft.AzureStackHCI/clusters", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"status": "ConnectedRecently", | ||
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", | ||
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"reportedProperties": { | ||
"clusterName": "cluster1", | ||
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", | ||
"clusterVersion": "10.0.17777", | ||
"nodes": [ | ||
{ | ||
"name": "Node1", | ||
"id": 0, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q45CZC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node2", | ||
"id": 1, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44BSC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node3", | ||
"id": 2, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44RFC3", | ||
"coreCount": 16, | ||
"memoryInGiB": 256 | ||
} | ||
], | ||
"lastUpdated": "2020-03-11T19:24:42.1946017Z" | ||
}, | ||
"trialDaysRemaining": 30, | ||
"billingModel": "Trial", | ||
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...ci/resource-manager/Microsoft.AzureStackHCI/stable/2020-10-01/examples/UpdateCluster.json
This file contains 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,81 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2020-10-01", | ||
"cluster": { | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", | ||
"name": "myCluster", | ||
"type": "Microsoft.AzureStackHCI/clusters", | ||
"location": "East US", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"status": "ConnectedRecently", | ||
"cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd", | ||
"aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be", | ||
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"reportedProperties": { | ||
"clusterName": "cluster1", | ||
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", | ||
"clusterVersion": "10.0.17777", | ||
"nodes": [ | ||
{ | ||
"name": "Node1", | ||
"id": 1, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q45CZC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node2", | ||
"id": 2, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44BSC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
}, | ||
{ | ||
"name": "Node3", | ||
"id": 3, | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q44RFC3", | ||
"coreCount": 16, | ||
"memoryInGiB": 256 | ||
} | ||
], | ||
"lastUpdated": "2020-03-11T19:24:42.1946017Z" | ||
}, | ||
"trialDaysRemaining": 30, | ||
"billingModel": "Trial", | ||
"registrationTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", | ||
"lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.