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

AVS 2020-07-17-preview #10866

Merged
merged 35 commits into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
288188f
feature: Storage Policies contact: David Becher @thinkdavid
leedouglas Sep 21, 2020
1136135
feature: NSX DHCP/Segments & Port Mirroring contacts: Christian Pomal…
leedouglas Sep 21, 2020
970eba1
adjusted readme files to reflect new 2020-07-17-preview api
leedouglas Sep 21, 2020
163c9e4
fixed spelling validation issues
leedouglas Sep 21, 2020
4dd6183
preview was not specified in path, should fix go sdk validation error
leedouglas Sep 21, 2020
16cdbcb
-preview left of in readme
leedouglas Sep 21, 2020
c63d733
typo of preview and spelling validation fix
leedouglas Sep 21, 2020
42af331
prettier run fixes
leedouglas Sep 22, 2020
d53c959
updated swagger because storage policy now will not have the same dis…
Oct 5, 2020
8be41f7
storage policy changed to string
Oct 5, 2020
e2c7858
Update spec
Oct 6, 2020
6ff3276
Add 200 back to nsx patches
Oct 6, 2020
92a5c4e
Added 200 back to nsx deletes
Oct 6, 2020
7adee7b
Add provisioningState to nsx models with async operations
Oct 7, 2020
ebb3486
remove arc from api
leedouglas Oct 7, 2020
9c73964
Merge pull request #2 from leedouglas/rm-arc_AVS/2020-07-17-preview
leedouglas Oct 7, 2020
4dcc9e4
Merge pull request #1 from thinkdavid/dabecher/storagePolicy
thinkdavid Oct 7, 2020
6f4b19d
remove x-ms-secret for PrivateClouds_ListAdminCredentials
cataggar Oct 19, 2020
08edcde
Merge pull request #3 from ctaggart/AVS/2020-07-17-preview
ctaggart Oct 19, 2020
1aa6f86
fix correctness for Operations_list
cataggar Oct 22, 2020
2b6ea76
pub back x-ms-secret in AdminCredentials
cataggar Oct 22, 2020
cdafec7
x-ms-secret on password
cataggar Oct 22, 2020
592b864
PrivateCloudUpdate can update the resource tags
cataggar Oct 22, 2020
803a95f
Merge pull request #4 from ctaggart/AVS/2020-07-17-preview
cataggar Oct 22, 2020
3821635
Add GETs for gateway and virtual machine resources
ChristianPomales Oct 23, 2020
d6be8ad
different solution to PUT empty body of `{}`
cataggar Oct 30, 2020
e88ae46
default for internet is Disabled
cataggar Oct 30, 2020
9672b36
put flatten back
cataggar Nov 2, 2020
f0b2f2f
add provisioningState to ManagementCluster
cataggar Nov 2, 2020
fb96464
add readOnly storagePolicy to ManagementCluster
cataggar Nov 2, 2020
740555d
remove storage policy
thinkdavid Nov 3, 2020
5b9e311
remove examples/DefaultStoragePolicies_List.json
cataggar Nov 3, 2020
dced4d3
add Credential Rotation back in
cataggar Nov 5, 2020
81102f0
fully qualified vmware.json
cataggar Nov 9, 2020
30060f5
Merge remote-tracking branch 'origin/master' into AVS/2020-07-17-preview
cataggar Nov 9, 2020
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,47 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"arcConfig": {
"properties": {
"erAuthTokenName": "arc-token",
"arcResourceGroupName": "arc-rg",
"vnetAddrBlock": "11.0.0.0/26",
"location": "westus",
"arcSubscriptionId": "{arc-subscription-id}"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/arc",
"name": "arc",
"properties": {
"provisioningState": "Succeeded",
"infraResourceGroupName": "infra-rg",
"aksClusterId": "/subscriptions/{subscription-id}/resourcegroups/infra-rg/providers/Microsoft.ContainerService/managedClusters/arc-aks",
"arcZoneId": "/subscriptions/{arc-subscription-id}/resourceGroups/arc-rg/providers/Microsoft.VMware/ArcZones/arczone001",
"erAuthTokenName": "arc-token",
"arcResourceGroupName": "arc-rg",
"vnetAddrBlock": "11.0.0.0/26",
"location": "westus",
"arcSubscriptionId": "{arc-subscription-id}"
},
"type": "Microsoft.AVS/privateClouds/arc"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/arc",
"name": "arc",
"properties": {
"provisioningState": "Running"
},
"type": "Microsoft.AVS/privateClouds/arc"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/arc",
"name": "arc",
"properties": {
"provisioningState": "Succeeded",
"infraResourceGroupName": "infra-rg",
"aksClusterId": "/subscriptions/{subscription-id}/resourcegroups/infra-rg/providers/Microsoft.ContainerService/managedClusters/arc-aks",
"arcZoneId": "/subscriptions/{arc-subscription-id}/resourceGroups/arc-rg/providers/Microsoft.VMware/ArcZones/arczone001",
"erAuthTokenName": "arc-token",
"arcResourceGroupName": "arc-rg",
"vnetAddrBlock": "11.0.0.0/26",
"location": "westus",
"arcSubscriptionId": "{arc-subscription-id}"
},
"type": "Microsoft.AVS/privateClouds/arc"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"authorizationName": "authorization1",
"authorization": {}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
"name": "authorization1",
"properties": {
"provisioningState": "Succeeded",
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
},
"type": "Microsoft.AVS/privateClouds/authorizations"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
"name": "authorization1",
"properties": {
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/authorizations"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"authorizationName": "authorization1"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"authorizationName": "authorization1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
"name": "authorization1",
"properties": {
"provisioningState": "Succeeded",
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
},
"type": "Microsoft.AVS/privateClouds/authorizations"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1"
},
"responses": {
"200": {
"body": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
"name": "authorization1",
"properties": {
"provisioningState": "Succeeded",
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
},
"type": "Microsoft.AVS/privateClouds/authorizations"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"clusterName": "cluster1",
"cluster": {
"sku": {
"name": "AV20"
},
"properties": {
"clusterSize": 3,
"storagePolicy": {
"name": "horizon"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"sku": {
"name": "AV20"
},
"properties": {
"clusterSize": 3,
"storagePolicy": {
"name": "horizon",
"minHosts": 3
},
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center"
],
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"sku": {
"name": "AV20"
},
"properties": {
"clusterSize": 3,
"storagePolicy": {
"name": "horizon",
"minHosts": 3
},
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2020-07-17-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,32 @@
{
"parameters": {
"api-version": "2020-07-17-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",
"sku": {
"name": "AV20"
},
"properties": {
"clusterSize": 4,
"storagePolicy": "horizon",
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center",
"fakehost25.nyc1.kubernetes.center"
],
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2020-07-17-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",
"sku": {
"name": "AV20"
},
"properties": {
"clusterSize": 3,
"storagePolicy": "horizon",
"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": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"clusterName": "cluster1",
"clusterUpdate": {
"properties": {
"clusterSize": 4
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"sku": {
"name": "AV20"
},
"properties": {
"clusterSize": 4,
"hosts": [
"fakehost22.nyc1.kubernetes.center",
"fakehost23.nyc1.kubernetes.center",
"fakehost24.nyc1.kubernetes.center",
"fakehost25.nyc1.kubernetes.center"
],
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
"name": "cluster1",
"sku": {
"name": "AV20"
},
"properties": {
"clusterSize": 4,
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/clusters"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"api-version": "2020-07-17-preview",
"location": "eastus"
},
"responses": {
"200": {
"body": [
{
"properties": {
"name": "raid1ftt1",
"minHosts": 3
}
}
]
}
}
}
Loading