Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Microsoft.AVS 2019-08-09-preview API spec #9307

Merged
merged 10 commits into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"api-version": "2019-08-09-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"clusterName": "cluster1",
"cluster": {
"properties": {
"clusterSize": 3
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"properties": {
"clusterSize": 3,
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center"
],
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"properties": {
"clusterSize": 3,
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center"
],
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2019-08-09-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"clusterName": "cluster1"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2019-08-09-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"clusterName": "cluster1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"properties": {
"clusterSize": 4,
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center",
"fakehost25.nyc1.kubernetes.center"
],
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2019-08-09-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"properties": {
"clusterSize": 3,
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center"
],
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"api-version": "2019-08-09-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"clusterName": "cluster1",
"cluster": {
"properties": {
"clusterSize": 4
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"properties": {
"clusterSize": 4,
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center",
"fakehost25.nyc1.kubernetes.center"
],
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"properties": {
"clusterSize": 4,
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center",
"fakehost25.nyc1.kubernetes.center"
],
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"api-version": "2019-08-09-preview",
"location": "eastus"
},
"responses": {
"200": {
"body": {
"hostsRemaining": {
"gp": 0,
"he": 999
},
"quotaEnabled": "Enabled"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2019-08-09-preview"
},
"responses": {
"200": {
"body": [
{
"display": {
"description": "Creates a private cloud",
"operation": "Create Private Cloud",
"provider": "Azure VMware Solution",
"resource": "Private Cloud"
},
"name": "Microsoft.AVS/privateClouds/create",
"origin": "user,system"
}
],
"nextLink": "string"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"parameters": {
"api-version": "2019-08-09-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"privateCloud": {
"location": "eastus2",
"properties": {
"cluster": {
"clusterSize": 4
}
},
"tags": {}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1",
"location": "eastus2",
"name": "cloud1",
"properties": {
"circuit": {
"authorizations": [],
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect",
"primarySubnet": "192.168.53.0/30",
"secondarySubnet": "192.168.53.4/30"
},
"cluster": {
"clusterId": 1,
"clusterSize": 4,
"hosts": [
"fakehost18.nyc1.kubernetes.center",
"fakehost19.nyc1.kubernetes.center",
"fakehost20.nyc1.kubernetes.center",
"fakehost21.nyc1.kubernetes.center"
]
},
"clusters": [],
"endpoints": {
"nsxtManager": "https://192.168.50.3/",
"vcsa": "https://192.168.50.2/"
},
"identitySources": [
{
"alias": "groupAlias",
"baseGroupDN": "ou=baseGroup",
"baseUserDN": "ou=baseUser",
"domain": "domain1",
"name": "group1",
"primaryServer": "ldaps://1.1.1.1:636/",
"secondaryServer": "ldaps://1.1.1.2:636/",
"ssl": "Enabled"
}
],
"internet": "Disabled",
"provisioningState": "Updating"
},
"tags": {},
"type": "Microsoft.AVS/privateClouds"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1",
"location": "eastus2",
"name": "cloud1",
"properties": {
"circuit": {
"authorizations": [],
"expressRouteID": "/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect",
"primarySubnet": "192.168.53.0/30",
"secondarySubnet": "192.168.53.4/30",
"expressRoutePrivatePeeringID": "/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"
},
"cluster": {
"clusterId": 1,
"clusterSize": 4,
"hosts": [
"fakehost18.nyc1.kubernetes.center",
"fakehost19.nyc1.kubernetes.center",
"fakehost20.nyc1.kubernetes.center",
"fakehost21.nyc1.kubernetes.center"
]
},
"clusters": [],
"endpoints": {
"nsxtManager": "https://192.168.50.3/",
"vcsa": "https://192.168.50.2/"
},
"identitySources": [
{
"alias": "groupAlias",
"baseGroupDN": "ou=baseGroup",
"baseUserDN": "ou=baseUser",
"domain": "domain1",
"name": "group1",
"primaryServer": "ldaps://1.1.1.1:636/",
"secondaryServer": "ldaps://1.1.1.2:636/",
"ssl": "Enabled"
}
],
"internet": "Disabled",
"provisioningState": "Updating"
},
"tags": {},
"type": "Microsoft.AVS/privateClouds"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2019-08-09-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Loading