Skip to content

Commit

Permalink
Microsoft.AzureStackHCI new api version 2020-10-01 (#10953)
Browse files Browse the repository at this point in the history
* 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
mbialecka authored Oct 5, 2020
1 parent 81bc0b2 commit 1e1fe96
Show file tree
Hide file tree
Showing 8 changed files with 1,028 additions and 6 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 1e1fe96

Please sign in to comment.