forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.AzureStackHCI to add ver…
…sion stable/2023-03-01 (Azure#23255) * Adds base for updating Microsoft.AzureStackHCI from version stable/2023-02-01 to version 2023-03-01 * Updates readme * Updates API version in new specs and examples * Consent and Disable APIs added * add managed by for extensions * prettier fix
- Loading branch information
1 parent
26ae58b
commit 63f91ba
Showing
56 changed files
with
7,535 additions
and
2 deletions.
There are no files selected for viewing
778 changes: 778 additions & 0 deletions
778
...azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-03-01/arcSettings.json
Large diffs are not rendered by default.
Oops, something went wrong.
992 changes: 992 additions & 0 deletions
992
...on/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-03-01/clusters.json
Large diffs are not rendered by default.
Oops, something went wrong.
51 changes: 51 additions & 0 deletions
51
...icrosoft.AzureStackHCI/stable/2023-03-01/examples/ConsentAndInstallDefaultExtensions.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,51 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"arcSettingName": "default", | ||
"api-version": "2023-03-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": "Creating", | ||
"perNodeDetails": [ | ||
{ | ||
"name": "Node-1", | ||
"arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", | ||
"state": "Creating" | ||
}, | ||
{ | ||
"name": "Node-2", | ||
"arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2", | ||
"state": "Creating" | ||
} | ||
], | ||
"connectivityProperties": { | ||
"enabled": false | ||
}, | ||
"defaultExtensions": [ | ||
{ | ||
"category": "Telemetry", | ||
"consentTime": "2023-01-01T17:18:19.1234567Z" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...esource-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/CreateArcIdentity.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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"arcSettingName": "default", | ||
"api-version": "2023-03-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": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...ci/resource-manager/Microsoft.AzureStackHCI/stable/2023-03-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,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2023-03-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" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"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", | ||
"identity": { | ||
"principalId": "87a834db-2e45-409e-911b-e16a44562ec3", | ||
"tenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", | ||
"type": "SystemAssigned" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...rce-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/CreateClusterIdentity.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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2023-03-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": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...resource-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/DeleteArcSetting.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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"arcSettingName": "default", | ||
"api-version": "2023-03-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ci/resource-manager/Microsoft.AzureStackHCI/stable/2023-03-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,17 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2023-03-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
.../resource-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/DeleteExtension.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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"arcSettingName": "default", | ||
"extensionName": "MicrosoftMonitoringAgent", | ||
"api-version": "2023-03-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...resource-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/DeleteUpdateRuns.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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", | ||
"resourceGroupName": "testrg", | ||
"clusterName": "testcluster", | ||
"updateName": "Microsoft4.2203.2.32", | ||
"updateRunName": "23b779ba-0d52-4a80-8571-45ca74664ec3", | ||
"api-version": "2023-03-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...rce-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/DeleteUpdateSummaries.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,17 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", | ||
"resourceGroupName": "testrg", | ||
"clusterName": "testcluster", | ||
"api-version": "2023-03-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ci/resource-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/DeleteUpdates.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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", | ||
"resourceGroupName": "testrg", | ||
"clusterName": "testcluster", | ||
"updateName": "Microsoft4.2203.2.32", | ||
"api-version": "2023-03-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
82 changes: 82 additions & 0 deletions
82
...er/Microsoft.AzureStackHCI/stable/2023-03-01/examples/ExtendSoftwareAssuranceBenefit.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,82 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2023-03-01", | ||
"softwareAssuranceChangeRequest": { | ||
"properties": { | ||
"softwareAssuranceIntent": "Enable" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"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" | ||
}, | ||
"softwareAssuranceProperties": { | ||
"softwareAssuranceStatus": "Enabled", | ||
"lastUpdated": "2022-08-18T22:01:12.4191603Z", | ||
"softwareAssuranceIntent": "Enable" | ||
}, | ||
"reportedProperties": { | ||
"clusterName": "cluster1", | ||
"clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", | ||
"clusterVersion": "10.0.17777", | ||
"nodes": [ | ||
{ | ||
"name": "Node1", | ||
"id": 1, | ||
"windowsServerSubscription": "Enabled", | ||
"nodeType": "ThirdParty", | ||
"manufacturer": "Dell Inc.", | ||
"model": "EMC AX740", | ||
"osName": "Azure Stack HCI", | ||
"osVersion": "10.0.17777.1061", | ||
"serialNumber": "Q45CZC3", | ||
"coreCount": 8, | ||
"memoryInGiB": 128 | ||
} | ||
], | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...source-manager/Microsoft.AzureStackHCI/stable/2023-03-01/examples/Extensions_Upgrade.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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"arcSettingName": "default", | ||
"extensionName": "MicrosoftMonitoringAgent", | ||
"api-version": "2023-03-01", | ||
"extensionUpgradeParameters": { | ||
"targetVersion": "1.0.18062.0" | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses", | ||
"Retry-After": 200, | ||
"Azure-AsyncOperation": "https://foo.com/operationStatuses" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.