-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feature: Storage Policies contact: David Becher @thinkdavid feature: NSX DHCP/Segments & Port Mirroring contacts: Christian Pomales & Weronika Zamlynny & Rebekah Hess feature: Credential Rotation, contact: Chenghao Liu @cliu78 feature: Global Reach, contact: James Spearman @jspearman3 feature: Private Cloud Addons, contact @leedouglas * feature: NSX DHCP/Segments & Port Mirroring contacts: Christian Pomales & Weronika Zamlynny & Rebekah Hess feature: Credential Rotation, contact: Chenghao Liu @cliu78 feature: Global Reach, contact: James Spearman @jspearman3 feature: Private Cloud Addons, contact @leedouglas * adjusted readme files to reflect new 2020-07-17-preview api * fixed spelling validation issues * preview was not specified in path, should fix go sdk validation error * -preview left of in readme * typo of preview and spelling validation fix * prettier run fixes * updated swagger because storage policy now will not have the same display around minHosts * storage policy changed to string * Update spec * Add 200 back to nsx patches * Added 200 back to nsx deletes * Add provisioningState to nsx models with async operations * remove arc from api * remove x-ms-secret for PrivateClouds_ListAdminCredentials * fix correctness for Operations_list * pub back x-ms-secret in AdminCredentials * x-ms-secret on password * PrivateCloudUpdate can update the resource tags * Add GETs for gateway and virtual machine resources * Add virtual machine GET * Add gateway GET * minor fixes * Fixed autorest warnings related to nsx apis * npx prettier --write specification/vmware/**/*.json * fixed R2066 name warning * rename example files as well Co-authored-by: Christian Pomales <chpomale@microsoft.com> Co-authored-by: Cameron Taggart <cameron.taggart@microsoft.com> leedouglas/azure-rest-api-specs#5 * different solution to PUT empty body of `{}` * default for internet is Disabled * put flatten back just need to upgrade pythong autorest to 5.x * add provisioningState to ManagementCluster * add readOnly storagePolicy to ManagementCluster * remove storage policy * removed all mentions of storage policy * removed from createor update * npx prettier --write specification/vmware/**/*.json Co-authored-by: David Becher <dabecher@microsoft.com> Co-authored-by: Cameron Taggart <cameron.taggart@microsoft.com> * remove examples/DefaultStoragePolicies_List.json * add Credential Rotation back in * fully qualified vmware.json Co-authored-by: David Becher <dabecher@microsoft.com> Co-authored-by: Christian Pomales <chpomale@microsoft.com> Co-authored-by: david becher <dab4au@virginia.edu> Co-authored-by: Cameron Taggart <cameron.taggart@microsoft.com> Co-authored-by: Cameron Taggart <cameron.taggart@gmail.com> Co-authored-by: Christian Pomales <12565983+ChristianPomales@users.noreply.github.com>
- Loading branch information
1 parent
e6c2ffd
commit 5f6e365
Showing
56 changed files
with
6,471 additions
and
12 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...ager/Microsoft.AVS/preview/2020-07-17-preview/examples/Authorizations_CreateOrUpdate.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,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" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...urce-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Authorizations_Delete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-17-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...esource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Authorizations_Get.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,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" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...source-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Authorizations_List.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,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" | ||
} | ||
] | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...ce-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Clusters_CreateOrUpdate.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,52 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-17-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1", | ||
"cluster": { | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 3 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", | ||
"name": "cluster1", | ||
"sku": { | ||
"name": "AV20" | ||
}, | ||
"properties": { | ||
"clusterSize": 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, | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...e/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Clusters_Delete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-17-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"clusterName": "cluster1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Clusters_Get.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,31 @@ | ||
{ | ||
"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, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center", | ||
"fakehost25.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...are/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Clusters_List.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,33 @@ | ||
{ | ||
"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, | ||
"hosts": [ | ||
"fakehost22.nyc1.kubernetes.center", | ||
"fakehost23.nyc1.kubernetes.center", | ||
"fakehost24.nyc1.kubernetes.center" | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/clusters" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...e/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Clusters_Update.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,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" | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...rosoft.AVS/preview/2020-07-17-preview/examples/GlobalReachConnections_CreateOrUpdate.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,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-17-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"globalReachConnectionName": "connection1", | ||
"globalReachConnection": { | ||
"properties": { | ||
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", | ||
"authorizationKey": "01010101-0101-0101-0101-010101010101" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", | ||
"name": "connection1", | ||
"properties": { | ||
"addressPrefix": "10.2.3.16/29", | ||
"authorizationKey": "01010101-0101-0101-0101-010101010101", | ||
"circuitConnectionStatus": "Connected", | ||
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/globalReachConnections" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", | ||
"name": "connection1", | ||
"properties": { | ||
"addressPrefix": "10.2.3.16/29", | ||
"authorizationKey": "01010101-0101-0101-0101-010101010101", | ||
"circuitConnectionStatus": "Connected", | ||
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/globalReachConnections" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ager/Microsoft.AVS/preview/2020-07-17-preview/examples/GlobalReachConnections_Delete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-17-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"globalReachConnectionName": "connection1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...manager/Microsoft.AVS/preview/2020-07-17-preview/examples/GlobalReachConnections_Get.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": { | ||
"api-version": "2020-07-17-preview", | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"globalReachConnectionName": "connection1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1", | ||
"name": "connection1", | ||
"properties": { | ||
"addressPrefix": "10.2.3.16/29", | ||
"authorizationKey": "01010101-0101-0101-0101-010101010101", | ||
"circuitConnectionStatus": "Connected", | ||
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/globalReachConnections" | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...anager/Microsoft.AVS/preview/2020-07-17-preview/examples/GlobalReachConnections_List.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": { | ||
"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/globalReachConnections/connection1", | ||
"name": "connection1", | ||
"properties": { | ||
"addressPrefix": "10.2.3.16/29", | ||
"authorizationKey": "01010101-0101-0101-0101-010101010101", | ||
"circuitConnectionStatus": "Connected", | ||
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/globalReachConnections" | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.