Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.AzureStackHCI to add ver…
Browse files Browse the repository at this point in the history
…sion stable/2022-05-01 (#18851)

* Adds base for updating Microsoft.AzureStackHCI from version stable/2022-03-01 to version 2022-05-01

* Updates readme

* Updates API version in new specs and examples

* added patch API to ArcSettings resource and introduced ArcConnectivityProperties attribute

* fixing formatting issue

* adding 202 into delete example

* prettier formatting fix

* addressing code review comments
  • Loading branch information
lsweeney24 authored May 2, 2022
1 parent ea9af04 commit 398da0c
Show file tree
Hide file tree
Showing 26 changed files with 3,508 additions and 2 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
"api-version": "2022-05-01"
},
"responses": {
"200": {
"body": {
"properties": {
"arcApplicationClientId": "7b93bf67-60ac-4909-a987-ac438e69f9ba",
"arcApplicationTenantId": "bdb2c88c-9cfd-4e19-927d-51e875f6912b",
"arcApplicationObjectId": "400bd05f-395f-45a6-ba75-72601df80107",
"arcServicePrincipalObjectId": "00cc4014-482e-4de9-9932-83415cc75f45"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"api-version": "2022-05-01",
"cluster": {
"location": "East US",
"properties": {
"cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
"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": {},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"provisioningState": "Succeeded",
"status": "NotYetRegistered",
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
"cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Disabled",
"diagnosticLevel": "Basic"
},
"reportedProperties": {},
"trialDaysRemaining": 30,
"billingModel": "Trial",
"serviceEndpoint": "https://azurestackhci.azurefd.net/eastus"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"api-version": "2022-05-01"
},
"responses": {
"200": {
"body": {
"properties": {
"aadClientId": "7b93bf67-60ac-4909-a987-ac438e69f9ba",
"aadTenantId": "bdb2c88c-9cfd-4e19-927d-51e875f6912b",
"aadServicePrincipalObjectId": "400bd05f-395f-45a6-ba75-72601df80107",
"aadApplicationObjectId": "00cc4014-482e-4de9-9932-83415cc75f45"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
"api-version": "2022-05-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"api-version": "2022-05-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
"extensionName": "MicrosoftMonitoringAgent",
"api-version": "2022-05-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
"api-version": "2022-05-01"
},
"responses": {
"200": {
"body": {
"secretText": "secretText",
"startDateTime": "2022-02-17T16:24:23.6264005+05:30",
"endDateTime": "2121-02-17T16:24:23.6264377+05:30",
"keyId": "00000000-2d47-4fb2-8ed2-fed71a5c197b"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
"api-version": "2022-05-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default",
"type": "Microsoft.AzureStackHCI/clusters/arcSettings",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
},
"properties": {
"provisioningState": "Succeeded",
"arcInstanceResourceGroup": "ArcInstance-rg",
"aggregateState": "PartiallyConnected",
"perNodeDetails": [
{
"name": "Node-1",
"arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
"state": "Connected"
},
{
"name": "Node-2",
"arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
"state": "Disconnected"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"api-version": "2022-05-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": {},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"provisioningState": "Succeeded",
"status": "ConnectedRecently",
"cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
"cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
"aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
"diagnosticLevel": "Basic"
},
"reportedProperties": {
"clusterName": "cluster1",
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
"clusterVersion": "10.0.17777",
"nodes": [
{
"name": "Node1",
"id": 1,
"windowsServerSubscription": "Enabled",
"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,
"windowsServerSubscription": "Enabled",
"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,
"windowsServerSubscription": "Enabled",
"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",
"imdsAttestation": "Disabled",
"diagnosticLevel": "Basic"
},
"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,52 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
"extensionName": "MicrosoftMonitoringAgent",
"api-version": "2022-05-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent",
"name": "MicrosoftMonitoringAgent",
"type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
},
"properties": {
"provisioningState": "Succeeded",
"extensionParameters": {
"publisher": "Microsoft.Compute",
"type": "string",
"typeHandlerVersion": "1.10.3",
"autoUpgradeMinorVersion": false,
"settings": {
"workspaceId": "xx"
}
},
"aggregateState": "PartiallySucceeded",
"perNodeExtensionDetails": [
{
"name": "Node-1",
"extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
"state": "Succeeded"
},
{
"name": "Node-2",
"extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
"state": "Failed"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"api-version": "2022-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default",
"type": "Microsoft.AzureStackHCI/clusters/arcSettings",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
},
"properties": {
"provisioningState": "Succeeded",
"arcInstanceResourceGroup": "ArcInstance-rg",
"aggregateState": "PartiallyConnected",
"perNodeDetails": [
{
"name": "Node-1",
"arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
"state": "Connected"
},
{
"name": "Node-2",
"arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
"state": "Disconnected"
}
]
}
}
]
}
}
}
}
Loading

0 comments on commit 398da0c

Please sign in to comment.