-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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 preview/2020-03-01-preview (#10115) * New Readme Config File * New Go Language Readme Config File * New Typescript Language Readme Config File * New Python Language Readme Config File * New C# Language Readme Config File * New Ruby Language Readme Config File * New Swagger Spec File * New Swagger Example Spec File * Add AzureStackHCI spec * Prettify * Fix error schema * Fix error schema * Suppress R3020 * Fix R4006
- Loading branch information
Showing
13 changed files
with
1,145 additions
and
0 deletions.
There are no files selected for viewing
596 changes: 596 additions & 0 deletions
596
...ci/resource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/azurestackhci.json
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...ce-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/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-03-01-preview", | ||
"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": "NeverConnected", | ||
"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
...ce-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/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-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
...ource-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/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,69 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"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": "NeverConnected", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
88 changes: 88 additions & 0 deletions
88
...rce-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/examples/ListClusters.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,88 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"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": "NeverConnected", | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
89 changes: 89 additions & 0 deletions
89
...rosoft.AzureStackHCI/preview/2020-03-01-preview/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,89 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"api-version": "2020-03-01-preview" | ||
}, | ||
"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": "NeverConnected", | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
78 changes: 78 additions & 0 deletions
78
...ce-manager/Microsoft.AzureStackHCI/preview/2020-03-01-preview/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,78 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2020-03-01-preview", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
specification/azurestackhci/resource-manager/readme.csharp.md
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,15 @@ | ||
## C | ||
|
||
These settings apply only when `--csharp` is specified on the command line. | ||
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`. | ||
|
||
```yaml $(csharp) | ||
csharp: | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
payload-flattening-threshold: 1 | ||
clear-output-folder: true | ||
client-side-validation: false | ||
namespace: Microsoft.AzureStackHCI | ||
output-folder: $(csharp-sdks-folder)/azurestackhci/management/Microsoft.AzureStackHCI/GeneratedProtocol | ||
``` |
Oops, something went wrong.