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 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
mbialecka authored Jul 17, 2020
1 parent 503110c commit b8a63f5
Show file tree
Hide file tree
Showing 13 changed files with 1,145 additions and 0 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-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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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 specification/azurestackhci/resource-manager/readme.csharp.md
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
```
Loading

0 comments on commit b8a63f5

Please sign in to comment.