From 7ad33dce9ae232184fa5844717b992d3b6e4a827 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 5 Feb 2021 11:27:14 -0800 Subject: [PATCH 1/7] use 2020-07-17-preview as base api --- .../examples/Addons_CreateOrUpdate.json | 41 + .../examples/Addons_Delete.json | 14 + .../examples/Addons_Get.json | 23 + .../examples/Addons_List.json | 26 + .../Authorizations_CreateOrUpdate.json | 34 + .../examples/Authorizations_Delete.json | 14 + .../examples/Authorizations_Get.json | 23 + .../examples/Authorizations_List.json | 24 + .../examples/Clusters_CreateOrUpdate.json | 52 + .../examples/Clusters_Delete.json | 14 + .../examples/Clusters_Get.json | 31 + .../examples/Clusters_List.json | 33 + .../examples/Clusters_Update.json | 50 + ...GlobalReachConnections_CreateOrUpdate.json | 45 + .../GlobalReachConnections_Delete.json | 14 + .../examples/GlobalReachConnections_Get.json | 25 + .../examples/GlobalReachConnections_List.json | 26 + .../HcxEnterpriseSites_CreateOrUpdate.json | 34 + .../examples/HcxEnterpriseSites_Delete.json | 13 + .../examples/HcxEnterpriseSites_Get.json | 22 + .../examples/HcxEnterpriseSites_List.json | 23 + .../Locations_CheckQuotaAvailability.json | 18 + .../Locations_CheckTrialAvailability.json | 15 + .../examples/Operations_List.json | 524 ++ .../PrivateClouds_CreateOrUpdate.json | 119 + .../examples/PrivateClouds_Delete.json | 13 + .../examples/PrivateClouds_Get.json | 60 + .../examples/PrivateClouds_List.json | 63 + .../PrivateClouds_ListAdminCredentials.json | 18 + .../PrivateClouds_ListInSubscription.json | 60 + .../PrivateClouds_RotateNsxtPassword.json | 12 + .../PrivateClouds_RotateVcenterPassword.json | 12 + .../examples/PrivateClouds_Update.json | 114 + ...loadNetworks_CreateDhcpConfigurations.json | 56 + .../WorkloadNetworks_CreateDnsServices.json | 59 + .../WorkloadNetworks_CreateDnsZones.json | 56 + ...dNetworks_CreatePortMirroringProfiles.json | 50 + .../WorkloadNetworks_CreateSegments.json | 64 + .../WorkloadNetworks_CreateVMGroups.json | 50 + ...loadNetworks_DeleteDhcpConfigurations.json | 14 + .../WorkloadNetworks_DeleteDnsServices.json | 14 + .../WorkloadNetworks_DeleteDnsZones.json | 14 + ...dNetworks_DeletePortMirroringProfiles.json | 14 + .../WorkloadNetworks_DeleteSegments.json | 14 + .../WorkloadNetworks_DeleteVMGroups.json | 14 + ...orkloadNetworks_GetDhcpConfigurations.json | 29 + .../WorkloadNetworks_GetDnsServices.json | 29 + .../WorkloadNetworks_GetDnsZones.json | 28 + .../examples/WorkloadNetworks_GetGateway.json | 22 + ...loadNetworks_GetPortMirroringProfiles.json | 26 + .../WorkloadNetworks_GetSegments.json | 35 + .../WorkloadNetworks_GetVMGroups.json | 26 + .../WorkloadNetworks_GetVirtualMachine.json | 22 + ...rkloadNetworks_ListDhcpConfigurations.json | 32 + .../WorkloadNetworks_ListDnsServices.json | 32 + .../WorkloadNetworks_ListDnsZones.json | 31 + .../WorkloadNetworks_ListGateways.json | 25 + ...oadNetworks_ListPortMirroringProfiles.json | 29 + .../WorkloadNetworks_ListSegments.json | 38 + .../WorkloadNetworks_ListVMGroups.json | 29 + .../WorkloadNetworks_ListVirtualMachines.json | 25 + ...loadNetworks_UpdateDhcpConfigurations.json | 38 + .../WorkloadNetworks_UpdateDnsServices.json | 42 + .../WorkloadNetworks_UpdateDnsZones.json | 40 + ...dNetworks_UpdatePortMirroringProfiles.json | 35 + .../WorkloadNetworks_UpdateSegments.json | 48 + .../WorkloadNetworks_UpdateVMGroups.json | 35 + .../preview/2021-01-01-preview/vmware.json | 5229 +++++++++++++++++ 68 files changed, 7953 insertions(+) create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate.json new file mode 100644 index 000000000000..87d7253094cc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm", + "addon": { + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json new file mode 100644 index 000000000000..3b5f653d6281 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get.json new file mode 100644 index 000000000000..eb443d098b00 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json new file mode 100644 index 000000000000..a756ae2f5e3a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json @@ -0,0 +1,26 @@ +{ + "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/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json new file mode 100644 index 000000000000..e81f3e11d0ac --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json @@ -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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json new file mode 100644 index 000000000000..6834402dd83b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json new file mode 100644 index 000000000000..3dc0a479b661 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json @@ -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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json new file mode 100644 index 000000000000..d1b84209b612 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json @@ -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" + } + ] + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json new file mode 100644 index 000000000000..c1e11f54cad5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json @@ -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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json new file mode 100644 index 000000000000..6bf8785a7cdc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json new file mode 100644 index 000000000000..e94f1df7185c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json @@ -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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json new file mode 100644 index 000000000000..49dfccf8f99a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json @@ -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" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json new file mode 100644 index 000000000000..5f2558046b82 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json @@ -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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..c1c9b4b22d73 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json @@ -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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json new file mode 100644 index 000000000000..3044207cdf37 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json new file mode 100644 index 000000000000..cf900951cbe9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json @@ -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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json new file mode 100644 index 000000000000..d8f0b11ae8b2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json @@ -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" + } + ] + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json new file mode 100644 index 000000000000..ddeaa8b1c8d4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1", + "hcxEnterpriseSite": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json new file mode 100644 index 000000000000..6cf33758f443 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json new file mode 100644 index 000000000000..bb6319d2cd37 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json new file mode 100644 index 000000000000..9a020844859f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json @@ -0,0 +1,23 @@ +{ + "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/hcxEnterpriseSites/site1", + "name": "site1", + "properties": { + "activationKey": "0276EF1A9A1749A5A362BF73EA9F8D0D", + "status": "Available" + }, + "type": "Microsoft.AVS/privateClouds/hcxEnterpriseSites" + } + ] + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json new file mode 100644 index 000000000000..cc619942e720 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2020-07-17-preview", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "hostsRemaining": { + "AV20": 0, + "AV36": 999 + }, + "quotaEnabled": "Enabled" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json new file mode 100644 index 000000000000..5e0e05f4e359 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2020-07-17-preview", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..bafcbfda541e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json @@ -0,0 +1,524 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "display": { + "description": "Lists operations available on Microsoft.AVS resource provider.", + "operation": "List available Microsoft.AVS operations", + "provider": "Microsoft.AVS", + "resource": "operations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/operations/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Register Subscription for Microsoft.AVS resource provider.", + "operation": "Register Subscription for Microsoft.AVS", + "provider": "Microsoft.AVS", + "resource": "" + }, + "isDataAction": false, + "name": "Microsoft.AVS/register/action", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Unregister Subscription for Microsoft.AVS resource provider.", + "operation": "Unregister Subscription for Microsoft.AVS", + "provider": "Microsoft.AVS", + "resource": "" + }, + "isDataAction": false, + "name": "Microsoft.AVS/unregister/action", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Checks if the privateCloud Name is available", + "operation": "Check Name Availability", + "provider": "Microsoft.AVS", + "resource": "checkNameAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/checkNameAvailability/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Checks if the privateCloud Name is available", + "operation": "Check Name Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkNameAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkNameAvailability/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Checks if quota is available for the subscription", + "operation": "Check Quota Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkQuotaAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkQuotaAvailability/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Checks if trial is available for the subscription", + "operation": "Check Trial Availability", + "provider": "Microsoft.AVS", + "resource": "locations/checkTrialAvailability" + }, + "isDataAction": false, + "name": "Microsoft.AVS/locations/checkTrialAvailability/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Registers the Microsoft Microsoft.AVS resource provider and enables creation of Private Clouds.", + "operation": "Register Microsoft.AVS resource provider.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/register/action", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Creates or updates a PrivateCloud resource.", + "operation": "Create or update a PrivateCloud.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/write", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Gets the settings for the specified PrivateCloud.", + "operation": "Read PrivateCloud settings", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Delete a specific PrivateCloud.", + "operation": "Delete a PrivateCloud.", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/delete", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Reads privateClouds operationstatuses.", + "operation": "Read privateClouds operationstatuses", + "provider": "Microsoft.AVS", + "resource": "privateClouds/operationstatuses" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/operationstatuses/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Gets the cluster settings for a PrivateCloud cluster.", + "operation": "Read Cluster settings.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Create or update a PrivateCloud cluster resource.", + "operation": "Create or update a PrivateCloud cluster.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/write", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Delete a specific PrivateCloud cluster.", + "operation": "Delete a PriveCloud cluster.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/delete", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Reads privateClouds/clusters operationstatuses.", + "operation": "Read privateClouds/clusters operationstatuses", + "provider": "Microsoft.AVS", + "resource": "privateClouds/clusters/operationstatuses" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/clusters/operationstatuses/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Reads privateClouds/clusters operationresults.", + "operation": "Read privateClouds/clusters operationresults", + "provider": "Microsoft.AVS", + "resource": "privateclouds/clusters/operationresults" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateclouds/clusters/operationresults/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Reads privateClouds operationresults.", + "operation": "Read privateClouds operationresults", + "provider": "Microsoft.AVS", + "resource": "privateClouds/operationresults" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/operationresults/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Gets the authorization settings for a PrivateCloud cluster.", + "operation": "Read Authorization settings.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Create or update a PrivateCloud authorization resource.", + "operation": "Create or update a PrivateCloud authorization.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/write", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Delete a specific PrivateCloud authorization.", + "operation": "Delete a PriveCloud authorization.", + "provider": "Microsoft.AVS", + "resource": "privateClouds/authorizations" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/authorizations/delete", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Lists the AdminCredentials for privateClouds.", + "operation": "List privateClouds AdminCredentials", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": true, + "name": "Microsoft.AVS/privateClouds/listAdminCredentials/action", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Gets the hcxEnterpriseSites for a PrivateCloud.", + "operation": "Read hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Create or update a hcxEnterpriseSites.", + "operation": "Create or update a hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/write", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Delete a specific hcxEnterpriseSites.", + "operation": "Delete a hcxEnterpriseSites", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hcxEnterpriseSites" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/delete", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Gets the hostInstances for a PrivateCloud.", + "operation": "Read hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/read", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Create or update a hostInstances.", + "operation": "Create or update a hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/write", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Delete a specific hostInstances.", + "operation": "Delete a hostInstances", + "provider": "Microsoft.AVS", + "resource": "privateClouds/hostInstances" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/hostInstances/delete", + "origin": "user,system", + "properties": {} + }, + { + "display": { + "description": "Gets the available metrics for Private Cloud", + "operation": "Read Private Cloud metric definitions", + "provider": "Microsoft Azure Dedicated", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/providers/Microsoft.Insights/metricDefinitions/read", + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "aggregationType": "Average", + "displayDescription": "The total amount of disk used in SDDC", + "displayName": "Datastore disk used", + "enableRegionalMdmAccount": "true", + "name": "UsedLatest", + "sourceMdmAccount": "AVSShoebox2", + "sourceMdmNamespace": "Vsphere.Datastore.Disk", + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "aggregationType": "Average", + "displayDescription": "The total capacity of disk in SDDC", + "displayName": "Datastore disk total capacity", + "enableRegionalMdmAccount": "true", + "name": "CapacityLatest", + "sourceMdmAccount": "AVSShoebox2", + "sourceMdmNamespace": "Vsphere.Datastore.Disk", + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "aggregationType": "Average", + "displayDescription": "Total amount of machine memory in cluster that is available", + "displayName": "Average Effective Memory", + "enableRegionalMdmAccount": "true", + "name": "EffectiveMemAverage", + "sourceMdmAccount": "AVSShoebox2", + "sourceMdmNamespace": "Vsphere.Cluster.ClusterServices", + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "aggregationType": "Average", + "displayDescription": "Total memory in cluster", + "displayName": "Average Total Memory", + "enableRegionalMdmAccount": "true", + "name": "TotalMbAverage", + "sourceMdmAccount": "AVSShoebox2", + "sourceMdmNamespace": "Vsphere.Cluster.Mem", + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "aggregationType": "Average", + "displayDescription": "Host physical memory consumed by the virtualization infrastructure", + "displayName": "Average Memory Overhead", + "enableRegionalMdmAccount": "true", + "name": "OverheadAverage", + "sourceMdmAccount": "AVSShoebox2", + "sourceMdmNamespace": "Vsphere.Cluster.Mem", + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "aggregationType": "Average", + "displayDescription": "Memory usage as percentage of total configured or available memory", + "displayName": "Average Memory Usage", + "enableRegionalMdmAccount": "true", + "name": "UsageAverage", + "sourceMdmAccount": "AVSShoebox2", + "sourceMdmNamespace": "Vsphere.Cluster.Mem", + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Percent" + }, + { + "aggregationType": "Average", + "displayDescription": "Total available CPU resources in cluster", + "displayName": "Effective CPU available", + "enableRegionalMdmAccount": "true", + "name": "EffectiveCpuAverage", + "sourceMdmAccount": "AVSShoebox2", + "sourceMdmNamespace": "Vsphere.Cluster.ClusterServices", + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Percent" + } + ] + } + } + }, + { + "display": { + "description": "Gets the diagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/providers/Microsoft.Insights/diagnosticSettings/read", + "origin": "system", + "properties": {} + }, + { + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft.AVS", + "resource": "privateClouds" + }, + "isDataAction": false, + "name": "Microsoft.AVS/privateClouds/providers/Microsoft.Insights/diagnosticSettings/write", + "origin": "system", + "properties": {} + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json new file mode 100644 index 000000000000..4ef38a724504 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json @@ -0,0 +1,119 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "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" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "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" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json new file mode 100644 index 000000000000..0b442b2a59f6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json new file mode 100644 index 000000000000..534e534d445f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json @@ -0,0 +1,60 @@ +{ + "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", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "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" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/", + "hcxCloudManager": "https://192.168.50.4/" + }, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json new file mode 100644 index 000000000000..cb0f084538ed --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "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" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/", + "hcxCloudManager": "https://192.168.50.4/" + }, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json new file mode 100644 index 000000000000..70c5818663a8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "nsxtPassword": "$(1X4Dkk", + "nsxtUsername": "admin", + "vcenterPassword": "", + "vcenterUsername": "cloudadmin@vmcp.local" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json new file mode 100644 index 000000000000..5186ca0a2029 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "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" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/", + "hcxCloudManager": "https://192.168.50.4/" + }, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + ] + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json new file mode 100644 index 000000000000..7d87392f7970 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json new file mode 100644 index 000000000000..7d87392f7970 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json new file mode 100644 index 000000000000..bf48b83dc91b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "properties": { + "managementCluster": { + "clusterSize": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "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" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/", + "hcxCloudManager": "https://192.168.50.4/" + }, + "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": "Succeeded" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": "AV36", + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "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" + }, + "managementCluster": { + "clusterId": 1, + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "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" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json new file mode 100644 index 000000000000..d4847d0391ac --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1", + "workloadNetworkDhcp": { + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "dhcpType": "SERVER", + "displayName": "dhcpConfigurations1", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json new file mode 100644 index 000000000000..83ff8f278a69 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1", + "workloadNetworkDnsService": { + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json new file mode 100644 index 000000000000..ba9084df4d6c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1", + "workloadNetworkDnsZone": { + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json new file mode 100644 index 000000000000..89cd2f7b1833 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json new file mode 100644 index 000000000000..4d8123f30815 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1", + "workloadNetworkSegment": { + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json new file mode 100644 index 000000000000..23b598799242 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "vmGroup1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "vmGroup1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json new file mode 100644 index 000000000000..0b465075255d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json new file mode 100644 index 000000000000..7deae17537be --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json new file mode 100644 index 000000000000..b7ca4b5832cc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json new file mode 100644 index 000000000000..70e5b21a4621 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json new file mode 100644 index 000000000000..a2106228c766 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json new file mode 100644 index 000000000000..1ad2e22be802 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json new file mode 100644 index 000000000000..65df221505ce --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json new file mode 100644 index 000000000000..112d7c079f00 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json new file mode 100644 index 000000000000..44fc13f11810 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json new file mode 100644 index 000000000000..d2ff42b6b75f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "gatewayId": "gateway1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1", + "name": "gateway1", + "properties": { + "displayName": "gateway1", + "path": "/infra/tier-1s/gateway1" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/gateways" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json new file mode 100644 index 000000000000..545bb3a063f9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json new file mode 100644 index 000000000000..477dea9e2bec --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json new file mode 100644 index 000000000000..10f2761410ef --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json new file mode 100644 index 000000000000..9e649c3baaaf --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "virtualMachineId": "vm1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1", + "name": "vm1", + "properties": { + "displayName": "vm1", + "vmType": "REGULAR" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json new file mode 100644 index 000000000000..9b022b6c8c5a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json new file mode 100644 index 000000000000..f2e99bfc69d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json new file mode 100644 index 000000000000..b53cdc77d628 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "portMirroring1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json new file mode 100644 index 000000000000..8c96a22db015 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1", + "name": "gateway1", + "properties": { + "displayName": "gateway1", + "path": "/infra/tier-1s/gateway1" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json new file mode 100644 index 000000000000..cf62194cdcd5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "cloud1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json new file mode 100644 index 000000000000..31e170f96b84 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json new file mode 100644 index 000000000000..94584c65c5e7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json new file mode 100644 index 000000000000..31ddde1c7dc3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1", + "name": "vm1", + "properties": { + "displayName": "vm1", + "vmType": "REGULAR" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json new file mode 100644 index 000000000000..a77d47a0019b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1", + "workloadNetworkDhcp": { + "properties": { + "dhcpType": "SERVER", + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1", + "name": "dhcp1", + "properties": { + "displayName": "dhcpConfigurations1", + "dhcpType": "SERVER", + "segments": [ + "segment1", + "segment2" + ], + "serverAddress": "40.1.5.1/24", + "leaseTime": 86400, + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations" + } + }, + "202": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json new file mode 100644 index 000000000000..36f2095886d8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1", + "workloadNetworkDnsService": { + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1", + "name": "dnsService1", + "properties": { + "displayName": "dnsService1", + "dnsServiceIp": "5.5.5.5", + "defaultDnsZone": "defaultDnsZone1", + "fqdnZones": [ + "fqdnZone1" + ], + "logLevel": "INFO", + "status": "SUCCESS", + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices" + } + }, + "202": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json new file mode 100644 index 000000000000..eb52ca04f9b2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1", + "workloadNetworkDnsZone": { + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1", + "name": "dnsZone1", + "properties": { + "displayName": "dnsZone1", + "domain": [], + "dnsServerIps": [ + "1.1.1.1" + ], + "sourceIp": "8.8.8.8", + "dnsServices": 0, + "revision": 1 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones" + } + }, + "202": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json new file mode 100644 index 000000000000..f77f89bd8227 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1", + "name": "portMirroring1", + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles" + } + }, + "202": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json new file mode 100644 index 000000000000..62acb0fb0031 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1", + "workloadNetworkSegment": { + "properties": { + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1", + "name": "segment1", + "properties": { + "displayName": "segment1", + "connectedGateway": "/infra/tier-1s/gateway", + "subnet": { + "dhcpRanges": [ + "40.20.0.0-40.20.0.1" + ], + "gatewayAddress": "40.20.20.20/16" + }, + "portVif": [ + { + "portName": "vm1" + } + ], + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/segments" + } + }, + "202": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json new file mode 100644 index 000000000000..b54a26d75c3f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2020-07-17", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1", + "name": "cloud1", + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "status": "SUCCESS", + "revision": 2 + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups" + } + }, + "202": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json new file mode 100644 index 000000000000..5d052ba8b5ae --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json @@ -0,0 +1,5229 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure VMware Solution API", + "description": "Azure VMware Solution API", + "version": "2020-07-17-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "PrivateClouds", + "description": "" + }, + { + "name": "Clusters", + "description": "" + }, + { + "name": "Operations", + "description": "" + }, + { + "name": "Locations", + "description": "" + }, + { + "name": "HcxEnterpriseSites", + "description": "" + }, + { + "name": "Authorizations", + "description": "" + }, + { + "name": "GlobalReachConnections", + "description": "" + }, + { + "name": "WorkloadNetworks", + "description": "" + } + ], + "parameters": { + "privateCloudName": { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the private cloud", + "x-ms-parameter-location": "method" + }, + "clusterName": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the cluster in the private cloud", + "x-ms-parameter-location": "method" + }, + "hcxEnterpriseSiteName": { + "name": "hcxEnterpriseSiteName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the HCX Enterprise Site in the private cloud", + "x-ms-parameter-location": "method" + }, + "addonName": { + "name": "addonName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the addon for the private cloud", + "x-ms-parameter-location": "method" + }, + "authorizationName": { + "name": "authorizationName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the ExpressRoute Circuit Authorization in the private cloud", + "x-ms-parameter-location": "method" + }, + "globalReachConnectionName": { + "name": "globalReachConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the global reach connection in the private cloud", + "x-ms-parameter-location": "method" + }, + "segmentId": { + "name": "segmentId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX Segment identifier. Generally the same as the Segment's display name", + "x-ms-parameter-location": "method" + }, + "dhcpId": { + "name": "dhcpId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX DHCP identifier. Generally the same as the DHCP display name", + "x-ms-parameter-location": "method" + }, + "portMirroringId": { + "name": "portMirroringId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name", + "x-ms-parameter-location": "method" + }, + "vmGroupId": { + "name": "vmGroupId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX VM Group identifier. Generally the same as the VM Group's display name", + "x-ms-parameter-location": "method" + }, + "virtualMachineId": { + "name": "virtualMachineId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX Virtual Machine identifier.", + "x-ms-parameter-location": "method" + }, + "gatewayId": { + "name": "gatewayId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX Gateway identifier. Generally the same as the Gateway's display name", + "x-ms-parameter-location": "method" + }, + "dnsServiceId": { + "name": "dnsServiceId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX DNS Service identifier. Generally the same as the DNS Service's display name", + "x-ms-parameter-location": "method" + }, + "dnsZoneId": { + "name": "dnsZoneId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX DNS Zone identifier. Generally the same as the DNS Zone's display name", + "x-ms-parameter-location": "method" + } + }, + "paths": { + "/providers/Microsoft.AVS/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available operations", + "operationId": "Operations_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability": { + "post": { + "tags": [ + "Locations" + ], + "description": "Return trial status for subscription by region", + "operationId": "Locations_CheckTrialAvailability", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Azure region" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/Trial" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Locations_CheckTrialAvailability": { + "$ref": "./examples/Locations_CheckTrialAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability": { + "post": { + "tags": [ + "Locations" + ], + "description": "Return quota for subscription by region", + "operationId": "Locations_CheckQuotaAvailability", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Azure region" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/Quota" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Locations_CheckQuotaAvailability": { + "$ref": "./examples/Locations_CheckQuotaAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds": { + "get": { + "operationId": "PrivateClouds_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "PrivateClouds" + ], + "summary": "List private clouds in a resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_List": { + "$ref": "./examples/PrivateClouds_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds": { + "get": { + "operationId": "PrivateClouds_ListInSubscription", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "PrivateClouds" + ], + "summary": "List private clouds in a subscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_ListInSubscription": { + "$ref": "./examples/PrivateClouds_ListInSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}": { + "get": { + "operationId": "PrivateClouds_Get", + "tags": [ + "PrivateClouds" + ], + "summary": "Get a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Get": { + "$ref": "./examples/PrivateClouds_Get.json" + } + } + }, + "put": { + "operationId": "PrivateClouds_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "PrivateClouds" + ], + "summary": "Create or update a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "name": "privateCloud", + "description": "The private cloud", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_CreateOrUpdate": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "PrivateClouds_Update", + "x-ms-long-running-operation": true, + "tags": [ + "PrivateClouds" + ], + "summary": "Update a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "name": "privateCloudUpdate", + "description": "The private cloud properties to be updated", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateCloudUpdate" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Update": { + "$ref": "./examples/PrivateClouds_Update.json" + } + } + }, + "delete": { + "operationId": "PrivateClouds_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "PrivateClouds" + ], + "summary": "Delete a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No private cloud to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Delete": { + "$ref": "./examples/PrivateClouds_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword": { + "post": { + "operationId": "PrivateClouds_RotateVcenterPassword", + "tags": [ + "PrivateClouds" + ], + "summary": "Rotate the vCenter password", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The password rotation has started" + }, + "204": { + "description": "The password rotation was successful" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_RotateVcenterPassword": { + "$ref": "./examples/PrivateClouds_RotateVcenterPassword.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword": { + "post": { + "operationId": "PrivateClouds_RotateNsxtPassword", + "tags": [ + "PrivateClouds" + ], + "summary": "Rotate the NSX-T Manager password", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "x-ms-long-running-operation": true, + "responses": { + "202": { + "description": "The password rotation has started" + }, + "204": { + "description": "The password rotation was successful" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_RotateNsxtPassword": { + "$ref": "./examples/PrivateClouds_RotateNsxtPassword.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters": { + "get": { + "operationId": "Clusters_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "Clusters" + ], + "summary": "List clusters in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ClusterList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Clusters_List": { + "$ref": "./examples/Clusters_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}": { + "get": { + "operationId": "Clusters_Get", + "tags": [ + "Clusters" + ], + "summary": "Get a cluster by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Clusters_Get": { + "$ref": "./examples/Clusters_Get.json" + } + } + }, + "put": { + "operationId": "Clusters_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "Clusters" + ], + "summary": "Create or update a cluster in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "name": "cluster", + "description": "A cluster in the private cloud", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Clusters_CreateOrUpdate": { + "$ref": "./examples/Clusters_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "Clusters_Update", + "x-ms-long-running-operation": true, + "tags": [ + "Clusters" + ], + "summary": "Update a cluster in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "name": "clusterUpdate", + "description": "The cluster properties to be updated", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdate" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Clusters_Update": { + "$ref": "./examples/Clusters_Update.json" + } + } + }, + "delete": { + "operationId": "Clusters_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "Clusters" + ], + "summary": "Delete a cluster in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No cluster to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Clusters_Delete": { + "$ref": "./examples/Clusters_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials": { + "post": { + "operationId": "PrivateClouds_ListAdminCredentials", + "tags": [ + "PrivateClouds" + ], + "summary": "List the admin credentials for the private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AdminCredentials" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PrivateClouds_ListAdminCredentials": { + "$ref": "./examples/PrivateClouds_ListAdminCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites": { + "get": { + "operationId": "HcxEnterpriseSites_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "HcxEnterpriseSites" + ], + "summary": "List HCX Enterprise Sites in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSiteList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_List": { + "$ref": "./examples/HcxEnterpriseSites_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}": { + "get": { + "operationId": "HcxEnterpriseSites_Get", + "tags": [ + "HcxEnterpriseSites" + ], + "summary": "Get an HCX Enterprise Site by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/hcxEnterpriseSiteName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_Get": { + "$ref": "./examples/HcxEnterpriseSites_Get.json" + } + } + }, + "put": { + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "tags": [ + "HcxEnterpriseSites" + ], + "summary": "Create or update an HCX Enterprise Site in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/hcxEnterpriseSiteName" + }, + { + "name": "hcxEnterpriseSite", + "description": "The HCX Enterprise Site", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful update", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "201": { + "description": "successful create", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_CreateOrUpdate": { + "$ref": "./examples/HcxEnterpriseSites_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "HcxEnterpriseSites_Delete", + "tags": [ + "HcxEnterpriseSites" + ], + "summary": "Delete an HCX Enterprise Site in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/hcxEnterpriseSiteName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "204": { + "description": "No Content. No HCX Enterprise Site to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_Delete": { + "$ref": "./examples/HcxEnterpriseSites_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations": { + "get": { + "operationId": "Authorizations_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "Authorizations" + ], + "summary": "List ExpressRoute Circuit Authorizations in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorizationList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Authorizations_List": { + "$ref": "./examples/Authorizations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}": { + "get": { + "operationId": "Authorizations_Get", + "tags": [ + "Authorizations" + ], + "summary": "Get an ExpressRoute Circuit Authorization by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/authorizationName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Authorizations_Get": { + "$ref": "./examples/Authorizations_Get.json" + } + } + }, + "put": { + "operationId": "Authorizations_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "Authorizations" + ], + "summary": "Create or update an ExpressRoute Circuit Authorization in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/authorizationName" + }, + { + "name": "authorization", + "description": "An ExpressRoute Circuit Authorization", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Authorizations_CreateOrUpdate": { + "$ref": "./examples/Authorizations_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "Authorizations_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "Authorizations" + ], + "summary": "Delete an ExpressRoute Circuit Authorization in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/authorizationName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No ExpressRoute Circuit Authorization to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Authorizations_Delete": { + "$ref": "./examples/Authorizations_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections": { + "get": { + "operationId": "GlobalReachConnections_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "GlobalReachConnections" + ], + "summary": "List global reach connections in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/GlobalReachConnectionList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_List": { + "$ref": "./examples/GlobalReachConnections_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}": { + "get": { + "operationId": "GlobalReachConnections_Get", + "tags": [ + "GlobalReachConnections" + ], + "summary": "Get a global reach connection by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/globalReachConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_Get": { + "$ref": "./examples/GlobalReachConnections_Get.json" + } + } + }, + "put": { + "operationId": "GlobalReachConnections_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "GlobalReachConnections" + ], + "summary": "Create or update a global reach connection in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/globalReachConnectionName" + }, + { + "name": "globalReachConnection", + "description": "A global reach connection in the private cloud", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_CreateOrUpdate": { + "$ref": "./examples/GlobalReachConnections_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "GlobalReachConnections_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "GlobalReachConnections" + ], + "summary": "Delete a global reach connection in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/globalReachConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No global reach connection to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_Delete": { + "$ref": "./examples/GlobalReachConnections_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments": { + "get": { + "operationId": "WorkloadNetworks_ListSegments", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of segments in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegmentsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListSegments": { + "$ref": "./examples/WorkloadNetworks_ListSegments.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}": { + "get": { + "operationId": "WorkloadNetworks_GetSegment", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a segment by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/segmentId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetSegment": { + "$ref": "./examples/WorkloadNetworks_GetSegments.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateSegments", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create a segment by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/segmentId" + }, + { + "name": "workloadNetworkSegment", + "description": "NSX Segment", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateSegments": { + "$ref": "./examples/WorkloadNetworks_CreateSegments.json" + } + } + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateSegments", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create or update a segment by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/segmentId" + }, + { + "name": "workloadNetworkSegment", + "description": "NSX Segment", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "202": { + "description": "Accepted. The patch will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateSegments": { + "$ref": "./examples/WorkloadNetworks_UpdateSegments.json" + } + } + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteSegment", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Delete a segment by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/segmentId" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No segment to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteSegment": { + "$ref": "./examples/WorkloadNetworks_DeleteSegments.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations": { + "get": { + "operationId": "WorkloadNetworks_ListDhcp", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List dhcp in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcpList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListDhcp": { + "$ref": "./examples/WorkloadNetworks_ListDhcpConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}": { + "get": { + "operationId": "WorkloadNetworks_GetDhcp", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get dhcp by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/dhcpId" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetDhcp": { + "$ref": "./examples/WorkloadNetworks_GetDhcpConfigurations.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateDhcp", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create dhcp by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dhcpId" + }, + { + "name": "workloadNetworkDhcp", + "description": "NSX DHCP", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateDhcp": { + "$ref": "./examples/WorkloadNetworks_CreateDhcpConfigurations.json" + } + } + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateDhcp", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create or update dhcp by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dhcpId" + }, + { + "name": "workloadNetworkDhcp", + "description": "NSX DHCP", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "202": { + "description": "Accepted. The patch will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateDhcp": { + "$ref": "./examples/WorkloadNetworks_UpdateDhcpConfigurations.json" + } + } + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteDhcp", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Delete dhcp by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dhcpId" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No DHCP configuration to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteDhcp": { + "$ref": "./examples/WorkloadNetworks_DeleteDhcpConfigurations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways": { + "get": { + "operationId": "WorkloadNetworks_ListGateways", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of gateways in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkGatewayList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListGateways": { + "$ref": "./examples/WorkloadNetworks_ListGateways.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}": { + "get": { + "operationId": "WorkloadNetworks_GetGateway", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a gateway by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/gatewayId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkGateway" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetGateway": { + "$ref": "./examples/WorkloadNetworks_GetGateway.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles": { + "get": { + "operationId": "WorkloadNetworks_ListPortMirroring", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of port mirroring profiles in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroringList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListPortMirroring": { + "$ref": "./examples/WorkloadNetworks_ListPortMirroringProfiles.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}": { + "get": { + "operationId": "WorkloadNetworks_GetPortMirroring", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a port mirroring profile by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/portMirroringId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetPortMirroring": { + "$ref": "./examples/WorkloadNetworks_GetPortMirroringProfiles.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreatePortMirroring", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create a port mirroring profile by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/portMirroringId" + }, + { + "name": "workloadNetworkPortMirroring", + "description": "NSX port mirroring", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreatePortMirroring": { + "$ref": "./examples/WorkloadNetworks_CreatePortMirroringProfiles.json" + } + } + }, + "patch": { + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create or update a port mirroring profile by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/portMirroringId" + }, + { + "name": "workloadNetworkPortMirroring", + "description": "NSX port mirroring", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "202": { + "description": "Accepted. The patch will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdatePortMirroring": { + "$ref": "./examples/WorkloadNetworks_UpdatePortMirroringProfiles.json" + } + } + }, + "delete": { + "operationId": "WorkloadNetworks_DeletePortMirroring", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Delete a port mirroring profile by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/portMirroringId" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No port mirroring profile to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeletePortMirroring": { + "$ref": "./examples/WorkloadNetworks_DeletePortMirroringProfiles.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups": { + "get": { + "operationId": "WorkloadNetworks_ListVMGroups", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of vm groups in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroupsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListVMGroups": { + "$ref": "./examples/WorkloadNetworks_ListVMGroups.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}": { + "get": { + "operationId": "WorkloadNetworks_GetVMGroup", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a vm group by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/vmGroupId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetVMGroup": { + "$ref": "./examples/WorkloadNetworks_GetVMGroups.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateVMGroup", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create a vm group by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/vmGroupId" + }, + { + "name": "workloadNetworkVMGroup", + "description": "NSX VM Group", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateVMGroup": { + "$ref": "./examples/WorkloadNetworks_CreateVMGroups.json" + } + } + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateVMGroup", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create or update a vm group by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/vmGroupId" + }, + { + "name": "workloadNetworkVMGroup", + "description": "NSX VM Group", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "202": { + "description": "Accepted. The patch will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateVMGroup": { + "$ref": "./examples/WorkloadNetworks_UpdateVMGroups.json" + } + } + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteVMGroup", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Delete a vm group by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/vmGroupId" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No VM group to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteVMGroup": { + "$ref": "./examples/WorkloadNetworks_DeleteVMGroups.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines": { + "get": { + "operationId": "WorkloadNetworks_ListVirtualMachines", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of virtual machines in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachinesList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListVirtualMachines": { + "$ref": "./examples/WorkloadNetworks_ListVirtualMachines.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}": { + "get": { + "operationId": "WorkloadNetworks_GetVirtualMachine", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a virtual machine by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/virtualMachineId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetVirtualMachine": { + "$ref": "./examples/WorkloadNetworks_GetVirtualMachine.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices": { + "get": { + "operationId": "WorkloadNetworks_ListDnsServices", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of DNS services in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsServicesList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListDnsServices": { + "$ref": "./examples/WorkloadNetworks_ListDnsServices.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}": { + "get": { + "operationId": "WorkloadNetworks_GetDnsService", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a DNS service by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dnsServiceId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetDnsService": { + "$ref": "./examples/WorkloadNetworks_GetDnsServices.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateDnsService", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create a DNS service by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dnsServiceId" + }, + { + "name": "workloadNetworkDnsService", + "description": "NSX DNS Service", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateDnsService": { + "$ref": "./examples/WorkloadNetworks_CreateDnsServices.json" + } + } + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateDnsService", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create or update a DNS service by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dnsServiceId" + }, + { + "name": "workloadNetworkDnsService", + "description": "NSX DNS Service", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "202": { + "description": "Accepted. The patch will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateDnsService": { + "$ref": "./examples/WorkloadNetworks_UpdateDnsServices.json" + } + } + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteDnsService", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Delete a DNS service by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/dnsServiceId" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No VM group to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteDnsService": { + "$ref": "./examples/WorkloadNetworks_DeleteDnsServices.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones": { + "get": { + "operationId": "WorkloadNetworks_ListDnsZones", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of DNS zones in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZonesList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListDnsZones": { + "$ref": "./examples/WorkloadNetworks_ListDnsZones.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}": { + "get": { + "operationId": "WorkloadNetworks_GetDnsZone", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a DNS zone by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dnsZoneId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetDnsZone": { + "$ref": "./examples/WorkloadNetworks_GetDnsZones.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateDnsZone", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create a DNS zone by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dnsZoneId" + }, + { + "name": "workloadNetworkDnsZone", + "description": "NSX DNS Zone", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateDnsZone": { + "$ref": "./examples/WorkloadNetworks_CreateDnsZones.json" + } + } + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateDnsZone", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create or update a DNS zone by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/dnsZoneId" + }, + { + "name": "workloadNetworkDnsZone", + "description": "NSX DNS Zone", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "202": { + "description": "Accepted. The patch will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateDnsZone": { + "$ref": "./examples/WorkloadNetworks_UpdateDnsZones.json" + } + } + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteDnsZone", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Delete a DNS zone by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/dnsZoneId" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No VM group to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteDnsZone": { + "$ref": "./examples/WorkloadNetworks_DeleteDnsZones.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons": { + "get": { + "operationId": "Addons_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "Addons" + ], + "summary": "List addons in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AddonList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_List": { + "$ref": "./examples/Addons_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}": { + "get": { + "operationId": "Addons_Get", + "tags": [ + "Addons" + ], + "summary": "Get an addon by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/addonName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_Get": { + "$ref": "./examples/Addons_Get.json" + } + } + }, + "put": { + "operationId": "Addons_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "Addons" + ], + "summary": "Create or update a addon in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/addonName" + }, + { + "name": "addon", + "description": "A addon in the private cloud", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Addon" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_CreateOrUpdate": { + "$ref": "./examples/Addons_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "Addons_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "Addons" + ], + "summary": "Delete a addon in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/addonName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No addon to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_Delete": { + "$ref": "./examples/Addons_Delete.json" + } + } + } + } + }, + "definitions": { + "Trial": { + "description": "Subscription trial availability", + "properties": { + "status": { + "description": "Trial status", + "type": "string", + "enum": [ + "TrialAvailable", + "TrialUsed", + "TrialDisabled" + ], + "readOnly": true, + "x-ms-enum": { + "name": "TrialStatus", + "modelAsString": true + } + }, + "availableHosts": { + "description": "Number of trial hosts available", + "type": "integer", + "format": "int32", + "readOnly": true + } + } + }, + "Quota": { + "description": "Subscription quotas", + "properties": { + "hostsRemaining": { + "description": "Remaining hosts quota by sku type", + "type": "object", + "readOnly": true, + "additionalProperties": { + "type": "integer", + "format": "int32", + "readOnly": true + } + }, + "quotaEnabled": { + "description": "Host quota is active for current subscription", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "readOnly": true, + "x-ms-enum": { + "name": "QuotaEnabled", + "modelAsString": true + } + } + } + }, + "Resource": { + "description": "The core properties of ARM resources", + "properties": { + "id": { + "description": "Resource ID.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Resource name.", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Resource type.", + "readOnly": true, + "type": "string" + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/ResourceTags" + } + } + }, + "ResourceTags": { + "description": "Resource tags", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": {} + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "description": "An error returned by the API", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "API error response" + }, + "OperationList": { + "description": "Pageable list of operations", + "properties": { + "value": { + "description": "List of operations", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "Operation": { + "description": "A REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Name of the operation being performed on this object", + "type": "string", + "readOnly": true + }, + "display": { + "description": "Contains the localized display information for this operation", + "readOnly": true, + "properties": { + "provider": { + "description": "Localized friendly form of the resource provider name", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Localized friendly form of the resource type related to this operation", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "Localized friendly name for the operation", + "type": "string", + "readOnly": true + }, + "description": { + "description": "Localized friendly description for the operation", + "type": "string", + "readOnly": true + } + } + }, + "isDataAction": { + "description": "Gets or sets a value indicating whether the operation is a data action or not", + "type": "boolean" + }, + "origin": { + "description": "Origin of the operation", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of the operation" + } + } + }, + "OperationProperties": { + "description": "Extra Operation properties", + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "Service specifications of the operation" + } + } + }, + "ServiceSpecification": { + "description": "Service specification payload", + "type": "object", + "properties": { + "logSpecifications": { + "description": "Specifications of the Log for Azure Monitoring", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/LogSpecification" + } + }, + "metricSpecifications": { + "description": "Specifications of the Metrics for Azure Monitoring", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "LogSpecification": { + "description": "Specifications of the Log for Azure Monitoring", + "type": "object", + "properties": { + "name": { + "description": "Name of the log", + "type": "string" + }, + "displayName": { + "description": "Localized friendly display name of the log", + "type": "string" + }, + "blobDuration": { + "description": "Blob duration of the log", + "type": "string" + } + } + }, + "MetricSpecification": { + "description": "Specifications of the Metrics for Azure Monitoring", + "type": "object", + "properties": { + "name": { + "description": "Name of the metric", + "type": "string" + }, + "displayName": { + "description": "Localized friendly display name of the metric", + "type": "string" + }, + "displayDescription": { + "description": "Localized friendly description of the metric", + "type": "string" + }, + "unit": { + "description": "Unit that makes sense for the metric", + "type": "string" + }, + "category": { + "description": "Name of the metric category that the metric belongs to. A metric can only belong to a single category.", + "type": "string" + }, + "aggregationType": { + "description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.", + "type": "string" + }, + "supportedAggregationTypes": { + "description": "Supported aggregation types", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + }, + "supportedTimeGrainTypes": { + "description": "Supported time grain types", + "uniqueItems": false, + "type": "array", + "items": { + "type": "string" + } + }, + "fillGapWithZero": { + "description": "Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.", + "type": "boolean" + }, + "dimensions": { + "description": "Dimensions of the metric", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/MetricDimension" + } + }, + "enableRegionalMdmAccount": { + "description": "Whether or not the service is using regional MDM accounts.", + "type": "string" + }, + "sourceMdmAccount": { + "description": "The name of the MDM account.", + "type": "string" + }, + "sourceMdmNamespace": { + "description": "The name of the MDM namespace.", + "type": "string" + } + } + }, + "MetricDimension": { + "description": "Specifications of the Dimension of metrics", + "type": "object", + "properties": { + "name": { + "description": "Name of the dimension", + "type": "string" + }, + "displayName": { + "description": "Localized friendly display name of the dimension", + "type": "string" + }, + "internalName": { + "description": "Name of the dimension as it appears in MDM", + "type": "string" + }, + "toBeExportedForShoebox": { + "description": "A boolean flag indicating whether this dimension should be included for the shoebox export scenario", + "type": "boolean" + } + } + }, + "ExpressRouteAuthorization": { + "description": "ExpressRoute Circuit Authorization", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of an ExpressRoute Circuit Authorization resource", + "$ref": "#/definitions/ExpressRouteAuthorizationProperties", + "x-ms-client-flatten": true, + "readOnly": true + } + } + }, + "ExpressRouteAuthorizationProperties": { + "description": "The properties of an ExpressRoute Circuit Authorization resource", + "properties": { + "provisioningState": { + "description": "The state of the ExpressRoute Circuit Authorization provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Updating" + ], + "x-ms-enum": { + "name": "ExpressRouteAuthorizationProvisioningState", + "modelAsString": true + } + }, + "expressRouteAuthorizationId": { + "description": "The ID of the ExpressRoute Circuit Authorization", + "type": "string", + "readOnly": true + }, + "expressRouteAuthorizationKey": { + "description": "The key of the ExpressRoute Circuit Authorization", + "type": "string", + "readOnly": true + } + } + }, + "ExpressRouteAuthorizationList": { + "description": "A paged list of ExpressRoute Circuit Authorizations", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "Circuit": { + "description": "An ExpressRoute Circuit", + "properties": { + "primarySubnet": { + "type": "string", + "readOnly": true, + "description": "CIDR of primary subnet" + }, + "secondarySubnet": { + "type": "string", + "readOnly": true, + "description": "CIDR of secondary subnet" + }, + "expressRouteID": { + "type": "string", + "readOnly": true, + "description": "Identifier of the ExpressRoute Circuit (Microsoft Colo only)" + }, + "expressRoutePrivatePeeringID": { + "type": "string", + "readOnly": true, + "description": "ExpressRoute Circuit private peering identifier" + } + } + }, + "Endpoints": { + "description": "Endpoint addresses", + "properties": { + "nsxtManager": { + "description": "Endpoint for the NSX-T Data Center manager", + "type": "string", + "readOnly": true + }, + "vcsa": { + "description": "Endpoint for Virtual Center Server Appliance", + "type": "string", + "readOnly": true + }, + "hcxCloudManager": { + "description": "Endpoint for the HCX Cloud Manager", + "type": "string", + "readOnly": true + } + } + }, + "IdentitySource": { + "description": "vCenter Single Sign On Identity Source", + "properties": { + "name": { + "description": "The name of the identity source", + "type": "string" + }, + "alias": { + "description": "The domain's NetBIOS name", + "type": "string" + }, + "domain": { + "description": "The domain's dns name", + "type": "string" + }, + "baseUserDN": { + "description": "The base distinguished name for users", + "type": "string" + }, + "baseGroupDN": { + "description": "The base distinguished name for groups", + "type": "string" + }, + "primaryServer": { + "description": "Primary server URL", + "type": "string" + }, + "secondaryServer": { + "description": "Secondary server URL", + "type": "string" + }, + "ssl": { + "description": "Protect LDAP communication using SSL certificate (LDAPS)", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SslEnum", + "modelAsString": true + } + }, + "username": { + "description": "The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group", + "type": "string" + }, + "password": { + "description": "The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.", + "type": "string", + "x-ms-secret": true + } + } + }, + "PrivateCloud": { + "description": "A private cloud resource", + "required": [ + "location", + "sku" + ], + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { + "sku": { + "description": "The private cloud SKU", + "$ref": "#/definitions/Sku" + }, + "properties": { + "description": "The properties of a private cloud resource", + "$ref": "#/definitions/PrivateCloudProperties", + "x-ms-client-flatten": true + } + } + }, + "PrivateCloudUpdate": { + "description": "An update to a private cloud resource", + "properties": { + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/ResourceTags" + }, + "properties": { + "description": "The updatable properties of a private cloud resource", + "$ref": "#/definitions/PrivateCloudUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "PrivateCloudUpdateProperties": { + "description": "The properties of a private cloud resource that may be updated", + "properties": { + "managementCluster": { + "description": "The default cluster used for management", + "$ref": "#/definitions/ManagementCluster" + }, + "internet": { + "description": "Connectivity to internet is enabled or disabled", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Disabled", + "x-ms-enum": { + "name": "InternetEnum", + "modelAsString": true + } + }, + "identitySources": { + "description": "vCenter Single Sign On Identity Sources", + "type": "array", + "items": { + "$ref": "#/definitions/IdentitySource" + } + } + } + }, + "PrivateCloudProperties": { + "description": "The properties of a private cloud resource", + "required": [ + "managementCluster", + "networkBlock" + ], + "allOf": [ + { + "$ref": "#/definitions/PrivateCloudUpdateProperties" + } + ], + "properties": { + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Pending", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "PrivateCloudProvisioningState", + "modelAsString": true + } + }, + "circuit": { + "description": "An ExpressRoute Circuit", + "$ref": "#/definitions/Circuit" + }, + "endpoints": { + "description": "The endpoints", + "readOnly": true, + "$ref": "#/definitions/Endpoints" + }, + "networkBlock": { + "description": "The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22", + "type": "string" + }, + "managementNetwork": { + "description": "Network used to access vCenter Server and NSX-T Manager", + "type": "string", + "readOnly": true + }, + "provisioningNetwork": { + "description": "Used for virtual machine cold migration, cloning, and snapshot migration", + "type": "string", + "readOnly": true + }, + "vmotionNetwork": { + "description": "Used for live migration of virtual machines", + "type": "string", + "readOnly": true + }, + "vcenterPassword": { + "description": "Optionally, set the vCenter admin password when the private cloud is created", + "type": "string", + "x-ms-secret": true + }, + "nsxtPassword": { + "description": "Optionally, set the NSX-T Manager password when the private cloud is created", + "type": "string", + "x-ms-secret": true + }, + "vcenterCertificateThumbprint": { + "description": "Thumbprint of the vCenter Server SSL certificate", + "type": "string", + "readOnly": true + }, + "nsxtCertificateThumbprint": { + "description": "Thumbprint of the NSX-T Manager SSL certificate", + "type": "string", + "readOnly": true + } + } + }, + "Cluster": { + "description": "A cluster resource", + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "sku": { + "description": "The cluster SKU", + "$ref": "#/definitions/Sku" + }, + "properties": { + "description": "The properties of a cluster resource", + "$ref": "#/definitions/ClusterProperties", + "x-ms-client-flatten": true + } + } + }, + "ClusterUpdate": { + "description": "An update of a cluster resource", + "properties": { + "properties": { + "description": "The properties of a cluster resource that may be updated", + "$ref": "#/definitions/ClusterUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ClusterUpdateProperties": { + "description": "The properties of a cluster that may be updated", + "properties": { + "clusterSize": { + "description": "The cluster size", + "type": "integer", + "format": "int32" + } + } + }, + "CommonClusterProperties": { + "description": "The common properties of a cluster", + "properties": { + "provisioningState": { + "description": "The state of the cluster provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "ClusterProvisioningState", + "modelAsString": true + } + }, + "clusterSize": { + "description": "The cluster size", + "type": "integer", + "format": "int32" + }, + "clusterId": { + "description": "The identity", + "type": "integer", + "format": "int32", + "readOnly": true + }, + "hosts": { + "description": "The hosts", + "type": "array", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "ManagementCluster": { + "description": "The properties of a management cluster", + "required": [ + "clusterSize" + ], + "allOf": [ + { + "$ref": "#/definitions/CommonClusterProperties" + } + ] + }, + "ClusterProperties": { + "description": "The properties of a cluster", + "allOf": [ + { + "$ref": "#/definitions/CommonClusterProperties" + } + ], + "properties": {} + }, + "PrivateCloudList": { + "description": "A paged list of private clouds", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "ClusterList": { + "description": "A paged list of clusters", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Cluster" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "Addon": { + "description": "An addon resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of an addon resource", + "$ref": "#/definitions/AddonProperties", + "x-ms-client-flatten": true + } + } + }, + "AddonUpdate": { + "description": "An update of an addon resource", + "properties": { + "properties": { + "description": "The properties of an addon resource that may be updated", + "$ref": "#/definitions/AddonUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "AddonUpdateProperties": { + "description": "The properties of an addon that may be updated", + "properties": { + "properties": { + "description": "reference specific properties definition for addon type being used", + "$ref": "#/definitions/AddonProperties", + "x-ms-client-flatten": true + } + } + }, + "AddonProperties": { + "description": "The properties of an addon that may be updated", + "allOf": [ + { + "$ref": "#/definitions/AddonSrmProperties" + } + ], + "properties": { + "addonType": { + "description": "The type of private cloud addon", + "type": "string", + "enum": [ + "SRM", + "VR" + ], + "x-ms-enum": { + "name": "AddonType", + "modelAsString": true + } + }, + "provisioningState": { + "description": "The state of the addon provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "AddonProvisioningState", + "modelAsString": true + } + } + } + }, + "AddonSrmProperties": { + "description": "The properties of an SRM addon that may be updated", + "properties": { + "licenseKey": { + "description": "The SRM license", + "type": "string" + } + } + }, + "AddonList": { + "description": "A paged list of addons", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Addon" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "AdminCredentials": { + "description": "Administrative credentials for accessing vCenter and NSX-T", + "properties": { + "nsxtUsername": { + "description": "NSX-T Manager username", + "type": "string", + "readOnly": true + }, + "nsxtPassword": { + "description": "NSX-T Manager password", + "type": "string", + "readOnly": true, + "x-ms-secret": true + }, + "vcenterUsername": { + "description": "vCenter admin username", + "type": "string", + "readOnly": true + }, + "vcenterPassword": { + "description": "vCenter admin password", + "type": "string", + "readOnly": true, + "x-ms-secret": true + } + } + }, + "Sku": { + "description": "The resource model definition representing SKU", + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU." + } + }, + "required": [ + "name" + ] + }, + "HcxEnterpriseSiteList": { + "description": "A paged list of HCX Enterprise Sites", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "HcxEnterpriseSite": { + "description": "An HCX Enterprise Site resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of an HCX Enterprise Site resource", + "$ref": "#/definitions/HcxEnterpriseSiteProperties", + "x-ms-client-flatten": true, + "readOnly": true + } + } + }, + "HcxEnterpriseSiteProperties": { + "description": "The properties of an HCX Enterprise Site", + "properties": { + "activationKey": { + "description": "The activation key", + "type": "string", + "readOnly": true + }, + "status": { + "description": "The status of the HCX Enterprise Site", + "type": "string", + "readOnly": true, + "enum": [ + "Available", + "Consumed", + "Deactivated", + "Deleted" + ], + "x-ms-enum": { + "name": "HcxEnterpriseSiteStatus", + "modelAsString": true + } + } + } + }, + "GlobalReachConnectionList": { + "description": "A paged list of global reach connections", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "GlobalReachConnection": { + "description": "A global reach connection resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of a global reach connection resource", + "$ref": "#/definitions/GlobalReachConnectionProperties", + "x-ms-client-flatten": true + } + } + }, + "GlobalReachConnectionProperties": { + "description": "The properties of a global reach connection", + "properties": { + "provisioningState": { + "description": "The state of the ExpressRoute Circuit Authorization provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Updating" + ], + "x-ms-enum": { + "name": "GlobalReachConnectionProvisioningState", + "modelAsString": true + } + }, + "addressPrefix": { + "description": "The network used for global reach carved out from the original network block provided for the private cloud", + "type": "string", + "readOnly": true + }, + "authorizationKey": { + "description": "Authorization key from the peer express route used for the global reach connection", + "type": "string" + }, + "circuitConnectionStatus": { + "description": "The connection status of the global reach connection", + "type": "string", + "readOnly": true, + "enum": [ + "Connected", + "Connecting", + "Disconnected" + ], + "x-ms-enum": { + "name": "GlobalReachConnectionStatus", + "modelAsString": true + } + }, + "peerExpressRouteCircuit": { + "type": "string", + "description": "Identifier of the ExpressRoute Circuit to peer with in the global reach connection" + } + } + }, + "WorkloadNetworkSegmentSubnet": { + "description": "Subnet configuration for segment", + "properties": { + "dhcpRanges": { + "description": "DHCP Range assigned for subnet.", + "type": "array", + "items": { + "type": "string" + } + }, + "gatewayAddress": { + "description": "Gateway address.", + "type": "string" + } + } + }, + "WorkloadNetworkSegmentPortVif": { + "description": "Ports and any VIF attached to segment.", + "properties": { + "portName": { + "description": "Name of port or VIF attached to segment.", + "type": "string" + } + } + }, + "WorkloadNetworkSegmentProperties": { + "description": "NSX Segment Properties", + "properties": { + "displayName": { + "description": "Display name of the segment.", + "type": "string" + }, + "connectedGateway": { + "description": "Gateway which to connect segment to.", + "type": "string" + }, + "subnet": { + "description": "Subnet which to connect segment to.", + "$ref": "#/definitions/WorkloadNetworkSegmentSubnet" + }, + "portVif": { + "description": "Port Vif which segment is associated with.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkloadNetworkSegmentPortVif" + }, + "readOnly": true + }, + "status": { + "description": "Segment status.", + "type": "string", + "enum": [ + "SUCCESS, FAILURE" + ], + "x-ms-enum": { + "name": "SegmentStatusEnum", + "modelAsString": true + }, + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkSegmentProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkSegment": { + "description": "NSX Segment", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "The properties of a Workload Segment proxy resource.", + "$ref": "#/definitions/WorkloadNetworkSegmentProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkSegmentsList": { + "description": "A list of NSX Segments", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkDhcpEntity": { + "description": "Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from", + "discriminator": "dhcpType", + "properties": { + "dhcpType": { + "description": "Type of DHCP: SERVER or RELAY.", + "type": "string", + "enum": [ + "SERVER, RELAY" + ], + "x-ms-enum": { + "name": "DhcpTypeEnum", + "modelAsString": true + } + }, + "displayName": { + "description": "Display name of the DHCP entity.", + "type": "string" + }, + "segments": { + "description": "NSX Segments consuming DHCP.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDhcpProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + }, + "required": [ + "dhcpType" + ] + }, + "WorkloadNetworkDhcpServer": { + "description": "NSX DHCP Server", + "x-ms-discriminator-value": "SERVER", + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" + } + ], + "properties": { + "serverAddress": { + "description": "DHCP Server Address.", + "type": "string" + }, + "leaseTime": { + "description": "DHCP Server Lease Time.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkDhcpRelay": { + "description": "NSX DHCP Relay", + "x-ms-discriminator-value": "RELAY", + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" + } + ], + "properties": { + "serverAddresses": { + "description": "DHCP Relay Addresses. Max 3.", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "maxItems": 3 + } + } + }, + "WorkloadNetworkDhcp": { + "description": "NSX DHCP", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "DHCP properties.", + "$ref": "#/definitions/WorkloadNetworkDhcpEntity", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkDhcpList": { + "description": "A list of NSX dhcp entities", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkPortMirroringProperties": { + "description": "NSX Port Mirroring Properties", + "properties": { + "displayName": { + "description": "Display name of the port mirroring profile.", + "type": "string" + }, + "direction": { + "description": "Direction of port mirroring profile.", + "type": "string", + "enum": [ + "INGRESS, EGRESS, BIDIRECTIONAL" + ], + "x-ms-enum": { + "name": "PortMirroringDirectionEnum", + "modelAsString": true + } + }, + "source": { + "description": "Source VM Group.", + "type": "string" + }, + "destination": { + "description": "Destination VM Group.", + "type": "string" + }, + "status": { + "description": "Port Mirroring Status.", + "type": "string", + "enum": [ + "SUCCESS, FAILURE" + ], + "x-ms-enum": { + "name": "PortMirroringStatusEnum", + "modelAsString": true + }, + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkPortMirroringProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkPortMirroring": { + "description": "NSX Port Mirroring", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Port Mirroring Properties.", + "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkPortMirroringList": { + "description": "A list of NSX Port Mirroring", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkVMGroupProperties": { + "description": "NSX VM Group Properties", + "properties": { + "displayName": { + "description": "Display name of the VM group.", + "type": "string" + }, + "members": { + "description": "Virtual machine members of this group.", + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "description": "VM Group status.", + "type": "string", + "enum": [ + "SUCCESS, FAILURE" + ], + "x-ms-enum": { + "name": "VMGroupStatusEnum", + "modelAsString": true + }, + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkVMGroupProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkVMGroup": { + "description": "NSX VM Group", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "VM Group properties.", + "$ref": "#/definitions/WorkloadNetworkVMGroupProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkVMGroupsList": { + "description": "A list of NSX VM Groups", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkVirtualMachineProperties": { + "description": "NSX Virtual Machine Properties", + "properties": { + "displayName": { + "description": "Display name of the VM.", + "type": "string" + }, + "vmType": { + "description": "Virtual machine type.", + "type": "string", + "enum": [ + "REGULAR, EDGE, SERVICE" + ], + "x-ms-enum": { + "name": "VMTypeEnum", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "WorkloadNetworkVirtualMachine": { + "description": "NSX Virtual Machine", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Virtual machine properties.", + "$ref": "#/definitions/WorkloadNetworkVirtualMachineProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkVirtualMachinesList": { + "description": "A list of NSX Virtual Machines", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkGatewayProperties": { + "description": "Properties of a NSX Gateway.", + "properties": { + "displayName": { + "description": "Display name of the DHCP entity.", + "type": "string" + }, + "path": { + "description": "NSX Gateway Path.", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkGateway": { + "description": "NSX Gateway.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Gateway properties.", + "$ref": "#/definitions/WorkloadNetworkGatewayProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkGatewayList": { + "description": "A list of NSX Gateways", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkGateway" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkDnsServiceProperties": { + "description": "NSX DNS Service Properties", + "properties": { + "displayName": { + "description": "Display name of the DNS Service.", + "type": "string" + }, + "dnsServiceIp": { + "description": "DNS service IP of the DNS Service.", + "type": "string" + }, + "defaultDnsZone": { + "description": "Default DNS zone of the DNS Service.", + "type": "string" + }, + "fqdnZones": { + "description": "FQDN zones of the DNS Service.", + "type": "array", + "items": { + "type": "string" + } + }, + "logLevel": { + "description": "DNS Service log level.", + "type": "string", + "enum": [ + "DEBUG", + "INFO", + "WARNING", + "ERROR", + "FATAL" + ], + "x-ms-enum": { + "name": "DnsServiceLogLevelEnum", + "modelAsString": true + } + }, + "status": { + "description": "DNS Service status.", + "type": "string", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "DnsServiceStatusEnum", + "modelAsString": true + }, + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsServiceProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkDnsService": { + "description": "NSX DNS Service", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "DNS Service properties", + "$ref": "#/definitions/WorkloadNetworkDnsServiceProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkDnsServicesList": { + "description": "A list of NSX DNS Services", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkDnsZoneProperties": { + "description": "NSX DNS Zone Properties", + "properties": { + "displayName": { + "description": "Display name of the DNS Zone.", + "type": "string" + }, + "domain": { + "description": "Domain names of the DNS Zone.", + "type": "array", + "items": { + "type": "string" + } + }, + "dnsServerIps": { + "description": "DNS Server IP array of the DNS Zone.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceIp": { + "description": "Source IP of the DNS Zone.", + "type": "string" + }, + "dnsServices": { + "description": "Number of DNS Services using the DNS zone.", + "type": "integer", + "format": "int64" + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsZoneProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkDnsZone": { + "description": "NSX DNS Zone", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "DNS Zone properties", + "$ref": "#/definitions/WorkloadNetworkDnsZoneProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkDnsZonesList": { + "description": "A list of NSX DNS Zones", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + } + } +} From c5265a154e43929d916bf671f880ed3cef5b3029 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 5 Feb 2021 11:38:30 -0800 Subject: [PATCH 2/7] 2021-01-01-preview API changes --- ...te.json => Addons_CreateOrUpdate_SRM.json} | 2 +- .../examples/Addons_Delete.json | 2 +- .../{Addons_Get.json => Addons_Get_SRM.json} | 2 +- .../examples/Addons_List.json | 2 +- .../Authorizations_CreateOrUpdate.json | 2 +- .../examples/Authorizations_Delete.json | 2 +- .../examples/Authorizations_Get.json | 2 +- .../examples/Authorizations_List.json | 2 +- .../examples/Clusters_CreateOrUpdate.json | 2 +- .../examples/Clusters_Delete.json | 2 +- .../examples/Clusters_Get.json | 2 +- .../examples/Clusters_List.json | 2 +- .../examples/Clusters_Update.json | 2 +- .../examples/Datastores_Create.json | 40 +++ .../examples/Datastores_Delete.json | 15 + .../examples/Datastores_Get.json | 26 ++ .../examples/Datastores_List.json | 44 +++ ...GlobalReachConnections_CreateOrUpdate.json | 2 +- .../GlobalReachConnections_Delete.json | 2 +- .../examples/GlobalReachConnections_Get.json | 2 +- .../examples/GlobalReachConnections_List.json | 2 +- .../HcxEnterpriseSites_CreateOrUpdate.json | 2 +- .../examples/HcxEnterpriseSites_Delete.json | 2 +- .../examples/HcxEnterpriseSites_Get.json | 2 +- .../examples/HcxEnterpriseSites_List.json | 2 +- .../Locations_CheckQuotaAvailability.json | 2 +- .../Locations_CheckTrialAvailability.json | 2 +- .../examples/Operations_List.json | 2 +- .../PrivateClouds_CreateOrUpdate.json | 2 +- .../examples/PrivateClouds_Delete.json | 2 +- .../examples/PrivateClouds_Get.json | 2 +- .../examples/PrivateClouds_List.json | 2 +- .../PrivateClouds_ListAdminCredentials.json | 2 +- .../PrivateClouds_ListInSubscription.json | 2 +- .../PrivateClouds_RotateNsxtPassword.json | 2 +- .../PrivateClouds_RotateVcenterPassword.json | 2 +- .../examples/PrivateClouds_Update.json | 2 +- ...loadNetworks_CreateDhcpConfigurations.json | 2 +- .../WorkloadNetworks_CreateDnsServices.json | 2 +- .../WorkloadNetworks_CreateDnsZones.json | 2 +- ...dNetworks_CreatePortMirroringProfiles.json | 2 +- .../WorkloadNetworks_CreateSegments.json | 2 +- .../WorkloadNetworks_CreateVMGroups.json | 2 +- ...loadNetworks_DeleteDhcpConfigurations.json | 2 +- .../WorkloadNetworks_DeleteDnsServices.json | 2 +- .../WorkloadNetworks_DeleteDnsZones.json | 2 +- ...dNetworks_DeletePortMirroringProfiles.json | 2 +- .../WorkloadNetworks_DeleteSegments.json | 2 +- .../WorkloadNetworks_DeleteVMGroups.json | 2 +- ...orkloadNetworks_GetDhcpConfigurations.json | 2 +- .../WorkloadNetworks_GetDnsServices.json | 2 +- .../WorkloadNetworks_GetDnsZones.json | 2 +- .../examples/WorkloadNetworks_GetGateway.json | 2 +- ...loadNetworks_GetPortMirroringProfiles.json | 2 +- .../WorkloadNetworks_GetSegments.json | 2 +- .../WorkloadNetworks_GetVMGroups.json | 2 +- .../WorkloadNetworks_GetVirtualMachine.json | 2 +- ...rkloadNetworks_ListDhcpConfigurations.json | 2 +- .../WorkloadNetworks_ListDnsServices.json | 2 +- .../WorkloadNetworks_ListDnsZones.json | 2 +- .../WorkloadNetworks_ListGateways.json | 2 +- ...oadNetworks_ListPortMirroringProfiles.json | 2 +- .../WorkloadNetworks_ListSegments.json | 2 +- .../WorkloadNetworks_ListVMGroups.json | 2 +- .../WorkloadNetworks_ListVirtualMachines.json | 2 +- ...loadNetworks_UpdateDhcpConfigurations.json | 2 +- .../WorkloadNetworks_UpdateDnsServices.json | 2 +- .../WorkloadNetworks_UpdateDnsZones.json | 2 +- ...dNetworks_UpdatePortMirroringProfiles.json | 2 +- .../WorkloadNetworks_UpdateSegments.json | 2 +- .../WorkloadNetworks_UpdateVMGroups.json | 2 +- .../preview/2021-01-01-preview/vmware.json | 319 +++++++++++++++++- .../readme.azureresourceschema.md | 13 + .../vmware/resource-manager/readme.go.md | 10 + .../vmware/resource-manager/readme.java.md | 14 + .../vmware/resource-manager/readme.md | 43 ++- 76 files changed, 584 insertions(+), 74 deletions(-) rename specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/{Addons_CreateOrUpdate.json => Addons_CreateOrUpdate_SRM.json} (96%) rename specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/{Addons_Get.json => Addons_Get_SRM.json} (93%) create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_List.json diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate_SRM.json similarity index 96% rename from specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate.json rename to specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate_SRM.json index 87d7253094cc..55982213599b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_CreateOrUpdate_SRM.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json index 3b5f653d6281..59d9477a4cbe 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get_SRM.json similarity index 93% rename from specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get.json rename to specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get_SRM.json index eb443d098b00..62ca7dc5b8e3 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_Get_SRM.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json index a756ae2f5e3a..bbe671c4733d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Addons_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json index e81f3e11d0ac..a2f8df5060bf 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json index 6834402dd83b..b51e2a18a598 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json index 3dc0a479b661..a1b765e62a72 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json index d1b84209b612..6b04a8b3b7a1 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Authorizations_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json index c1e11f54cad5..da521a5071be 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json index 6bf8785a7cdc..dbc764a1bea5 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json index e94f1df7185c..814c62026ba8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json index 49dfccf8f99a..673770c8448a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json index 5f2558046b82..4b79a6bed918 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Clusters_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json new file mode 100644 index 000000000000..11d199cf445a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2021-01-01-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1", + "datastore": { + "properties": { + "netAppVolume": { + "nfsProviderIp": "12.0.0.4", + "nfsFilePath": "ANFVol2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Delete.json new file mode 100644 index 000000000000..7e5ebecd3b0a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2021-01-01-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Get.json new file mode 100644 index 000000000000..65ef4edf8ed8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-01-01-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "nfsProviderIp": "12.0.0.4", + "nfsFilePath": "ANFVol2" + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_List.json new file mode 100644 index 000000000000..f2918e5f0c3d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_List.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2021-01-01-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "nfsProviderIp": "12.0.0.4", + "nfsFilePath": "ANFVol2" + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "diskPoolVolume": { + "endpoints": [ + "1.2.3.4", + "5.6.7.8" + ], + "lunName": "lun0" + }, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json index c1c9b4b22d73..03bc0dd14f1d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json index 3044207cdf37..c694f38e421d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json index cf900951cbe9..b4e8b3b02622 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json index d8f0b11ae8b2..eb115aacaed2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/GlobalReachConnections_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json index ddeaa8b1c8d4..2c4f003f5917 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json index 6cf33758f443..e223868f7942 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json index bb6319d2cd37..16f086245536 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json index 9a020844859f..b6250d2493e2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/HcxEnterpriseSites_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json index cc619942e720..29b2c786f076 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckQuotaAvailability.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscription-id}", - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "location": "eastus" }, "responses": { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json index 5e0e05f4e359..10cbf691a2ee 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Locations_CheckTrialAvailability.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscription-id}", - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "location": "eastus" }, "responses": { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json index bafcbfda541e..91e6d34cce5b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Operations_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview" + "api-version": "2021-01-01-preview" }, "responses": { "200": { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json index 4ef38a724504..d059ff1cd2cf 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json index 0b442b2a59f6..27b9da474400 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json index 534e534d445f..7967a2197752 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json index cb0f084538ed..a53a2278bd12 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1" }, diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json index 70c5818663a8..c05edb9926ab 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListAdminCredentials.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json index 5186ca0a2029..e65f287acafe 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_ListInSubscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}" }, "responses": { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json index 7d87392f7970..453eebfbf3d3 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateNsxtPassword.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json index 7d87392f7970..453eebfbf3d3 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_RotateVcenterPassword.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json index bf48b83dc91b..6c9ee38bbf65 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/PrivateClouds_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json index d4847d0391ac..cb54e61cb4c8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json index 83ff8f278a69..4da5c9b8719a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json index ba9084df4d6c..781d9c0c8647 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json index 89cd2f7b1833..7baff9c800a8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json index 4d8123f30815..db2cb61f1ae4 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json index 23b598799242..56f1942252df 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json index 0b465075255d..9d6bba5c26e8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json index 7deae17537be..a6ad90d6a520 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json index b7ca4b5832cc..7f71fba067db 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json index 70e5b21a4621..09919f56abf3 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json index a2106228c766..2f3ff7ae0bb9 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json index 1ad2e22be802..98dcac680e15 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json index 65df221505ce..97c2b7a78272 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json index 112d7c079f00..523153655f22 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json index 44fc13f11810..aff733ed57a8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json index d2ff42b6b75f..5e52dc70b37d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json index 545bb3a063f9..602d90179e0d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json index 477dea9e2bec..e44cd8e9a0f8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json index 10f2761410ef..19d1c5282fab 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json index 9e649c3baaaf..d3de7d2324b0 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json index 9b022b6c8c5a..9a55648e643f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json index f2e99bfc69d3..2bb41caa045c 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json index b53cdc77d628..92e6085cf8ff 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json index 8c96a22db015..3fd8df05a44f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json index cf62194cdcd5..7687e67dfd5e 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json index 31e170f96b84..78d52d77e9cd 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json index 94584c65c5e7..3b2c26e2bb34 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json index 31ddde1c7dc3..f3bd3b396134 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json index a77d47a0019b..ba48a3bab92a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json index 36f2095886d8..51e13ba2e54f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json index eb52ca04f9b2..a122aa037fda 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json index f77f89bd8227..5e2da6f76b06 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json index 62acb0fb0031..68b33ed617df 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json index b54a26d75c3f..f679a53fa663 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-07-17", + "api-version": "2021-01-01", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json index 5d052ba8b5ae..2b8627b27441 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json @@ -3,7 +3,7 @@ "info": { "title": "Azure VMware Solution API", "description": "Azure VMware Solution API", - "version": "2020-07-17-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -65,6 +65,14 @@ { "name": "WorkloadNetworks", "description": "" + }, + { + "name": "Addons", + "description": "" + }, + { + "name": "Datastores", + "description": "" } ], "parameters": { @@ -179,6 +187,14 @@ "type": "string", "description": "NSX DNS Zone identifier. Generally the same as the DNS Zone's display name", "x-ms-parameter-location": "method" + }, + "datastoreName": { + "name": "datastoreName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the datastore in the private cloud cluster", + "x-ms-parameter-location": "method" } }, "paths": { @@ -928,6 +944,205 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores": { + "get": { + "operationId": "Datastores_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "Datastores" + ], + "summary": "List cloud datastores in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DatastoreList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Datastores_List": { + "$ref": "./examples/Datastores_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}": { + "get": { + "operationId": "Datastores_Get", + "tags": [ + "Datastores" + ], + "summary": "Get a datastore in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/datastoreName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Datastore" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Datastores_Get": { + "$ref": "./examples/Datastores_Get.json" + } + } + }, + "put": { + "operationId": "Datastores_Create", + "x-ms-long-running-operation": true, + "tags": [ + "Datastores" + ], + "summary": "Create a datastore in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/datastoreName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Datastore" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/Datastore" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Datastores_Create": { + "$ref": "./examples/Datastores_Create.json" + } + } + }, + "delete": { + "operationId": "Datastores_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "Datastores" + ], + "summary": "Delete a datastore in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/datastoreName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No datastore to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Datastores_Delete": { + "$ref": "./examples/Datastores_Delete.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials": { "post": { "operationId": "PrivateClouds_ListAdminCredentials", @@ -3341,8 +3556,8 @@ } }, "x-ms-examples": { - "Addons_Get": { - "$ref": "./examples/Addons_Get.json" + "Addons_Get_SRM": { + "$ref": "./examples/Addons_Get_SRM.json" } } }, @@ -3404,8 +3619,8 @@ } }, "x-ms-examples": { - "Addons_CreateOrUpdate": { - "$ref": "./examples/Addons_CreateOrUpdate.json" + "Addons_CreateOrUpdate_SRM": { + "$ref": "./examples/Addons_CreateOrUpdate_SRM.json" } } }, @@ -4300,6 +4515,7 @@ "Succeeded", "Failed", "Cancelled", + "Building", "Deleting", "Updating" ], @@ -4337,6 +4553,99 @@ } } }, + "DatastoreList": { + "description": "A paged list of datastores", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Datastore" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "Datastore": { + "description": "A datastore resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of a datastore resource", + "$ref": "#/definitions/DatastoreProperties", + "x-ms-client-flatten": true + } + } + }, + "DatastoreProperties": { + "description": "The properties of a datastore", + "properties": { + "provisioningState": { + "description": "The state of the datastore provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "DatastoreProvisioningState", + "modelAsString": true + } + }, + "netAppVolume": { + "description": "Resource ID of the Azure NetApp Files volume", + "$ref": "#/definitions/NetAppVolumeProperties" + }, + "diskPoolVolume": { + "description": "Resource ID of the iSCSI target from a Storage Pool and LUN to be used", + "$ref": "#/definitions/DiskPoolVolumeProperties" + } + } + }, + "NetAppVolumeProperties": { + "description": "A model which holds properties of an Azure NetApp Files volume of Microsoft.NetApp provider", + "properties": { + "nfsProviderIp": { + "type": "string", + "description": "IP address of the NFS provider" + }, + "nfsFilePath": { + "type": "string", + "description": "File path through which the NFS volume is exposed by the provider" + } + }, + "x-ms-azure-resource": true + }, + "DiskPoolVolumeProperties": { + "description": "A model which holds properties of an iSCSI volume of Microsoft.StoragePool provider", + "properties": { + "endpoints": { + "description": "iSCSI provider target IP address list", + "type": "array", + "items": { + "type": "string" + } + }, + "lunName": { + "type": "string", + "description": "Name of the LUN to be used" + } + }, + "x-ms-azure-resource": true + }, "AdminCredentials": { "description": "Administrative credentials for accessing vCenter and NSX-T", "properties": { diff --git a/specification/vmware/resource-manager/readme.azureresourceschema.md b/specification/vmware/resource-manager/readme.azureresourceschema.md index dc099d2a509f..4e1cbac68c3d 100644 --- a/specification/vmware/resource-manager/readme.azureresourceschema.md +++ b/specification/vmware/resource-manager/readme.azureresourceschema.md @@ -6,12 +6,25 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: + - tag: schema-avs-2021-01-01-preview - tag: schema-avs-2020-07-17-preview - tag: schema-avs-2020-03-20 ``` Please also specify `--azureresourceschema-folder=`. + +### Tag: schema-avs-2021-01-01-preview and azureresourceschema + +``` yaml $(tag) == 'schema-avs-2021-01-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas + +# all the input files in this apiVersion +input-file: + - Microsoft.AVS/preview/2021-01-01-preview/vmware.json + +``` + ### Tag: schema-avs-2020-07-17-preview and azureresourceschema ``` yaml $(tag) == 'schema-avs-2020-07-17-preview' && $(azureresourceschema) diff --git a/specification/vmware/resource-manager/readme.go.md b/specification/vmware/resource-manager/readme.go.md index e9396e8c5f32..db762dfa571a 100644 --- a/specification/vmware/resource-manager/readme.go.md +++ b/specification/vmware/resource-manager/readme.go.md @@ -13,10 +13,20 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2021-01-01-preview - tag: package-2020-07-17-preview - tag: package-2020-03-20 ``` +### Tag: package-2021-01-01-preview and go + +These settings apply only when `--tag=package-2021-01-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2021-01-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-01-01-preview/$(namespace) +``` + ### Tag: package-2020-07-17-preview and go These settings apply only when `--tag=package-2020-07-17-preview --go` is specified on the command line. diff --git a/specification/vmware/resource-manager/readme.java.md b/specification/vmware/resource-manager/readme.java.md index dd8800cb22e2..b02e08d5a6bb 100644 --- a/specification/vmware/resource-manager/readme.java.md +++ b/specification/vmware/resource-manager/readme.java.md @@ -16,10 +16,24 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-avs ``` yaml $(java) && $(multiapi) batch: + - tag: package-2021-01-01-preview - tag: package-2020-07-17-preview - tag: package-2020-03-20 ``` +### Tag: package-2021-01-01-preview and java + +These settings apply only when `--tag=package-2021-01-01-preview -java` is specified on the command line. +Please also specify the `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2021-01-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.avs.v2020_07_17_preview + output-folder: $(azure-libraries-for-java-folder)/sdk/avs/mgmt-v2020_07_17_preview +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2020-07-17-preview and java These settings apply only when `--tag=package-2020-07-17-preview -java` is specified on the command line. diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 6f5b6d74c0d9..dd19dbee9d98 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -21,7 +21,45 @@ These are the global settings for the VMware Solution API. ``` yaml openapi-type: arm -tag: package-2020-07-17-preview +tag: package-2021-01-01-preview +``` + +### Tag: package-2021-01-01-preview + +These settings apply only when `--tag=package-2021-01-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2021-01-01-preview' +input-file: +- Microsoft.AVS/preview/2021-01-01-preview/vmware.json +directive: + - suppress: R3020 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + reason: Microsoft.AVS was chosen over Microsoft.AzureVMwareSolution + - suppress: R3010 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + reason: list by immediate parent operations are defined + - suppress: R3027 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + reasons: the PrivateClouds_List operation is by resource group + - suppress: R3018 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + where: $.definitions.Operation.properties.isDataAction + reason: standard property for Operation + - suppress: R3018 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + where: $.definitions.MetricSpecification.properties.fillGapWithZero + reason: standard property for MetricSpecification + - suppress: R2001 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + where: $.definitions.Operation.properties.properties + reason: x-ms-client-flatten not needed for Operation + - suppress: R4009 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + reason: systemData is not in this API version + - suppress: R3018 + from: Microsoft.AVS/preview/2021-01-01-preview/vmware.json + where: $.definitions.MetricDimension.properties.toBeExportedForShoebox + reason: standard property defined by Geneva Metrics ``` ### Tag: package-2020-07-17-preview @@ -55,7 +93,7 @@ directive: reason: x-ms-client-flatten not needed for Operation - suppress: R4009 from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json - reason: systemData will be in the next API version + reason: systemData is not in this API version - suppress: R3018 from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json where: $.definitions.MetricDimension.properties.toBeExportedForShoebox @@ -122,6 +160,7 @@ swagger-to-sdk: directive: - suppress: SECRET_PROPERTY from: + - Microsoft.AVS/preview/2021-01-01-preview/vmware.json - Microsoft.AVS/preview/2020-07-17-preview/vmware.json - Microsoft.AVS/stable/2020-03-20/vmware.json where: From 751365cd9f6b628312c3b0b9f5ce739980ef0cf6 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 5 Feb 2021 11:50:34 -0800 Subject: [PATCH 3/7] fix Java namespace & output-folder --- specification/vmware/resource-manager/readme.java.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/vmware/resource-manager/readme.java.md b/specification/vmware/resource-manager/readme.java.md index b02e08d5a6bb..c92272d8fe29 100644 --- a/specification/vmware/resource-manager/readme.java.md +++ b/specification/vmware/resource-manager/readme.java.md @@ -28,8 +28,8 @@ Please also specify the `--azure-libraries-for-java-folder= Date: Mon, 8 Feb 2021 11:56:59 -0800 Subject: [PATCH 4/7] add body to Datastores_Create --- .../preview/2021-01-01-preview/vmware.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json index 2b8627b27441..d77014b0605c 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json @@ -998,7 +998,7 @@ "tags": [ "Datastores" ], - "summary": "Get a datastore in a private cloud", + "summary": "Get a datastore in a private cloud cluster", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" @@ -1045,7 +1045,7 @@ "tags": [ "Datastores" ], - "summary": "Create a datastore in a private cloud", + "summary": "Create a datastore in a private cloud cluster", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" @@ -1062,6 +1062,15 @@ { "$ref": "#/parameters/datastoreName" }, + { + "name": "datastore", + "description": "A datastore in a private cloud cluster", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Datastore" + } + }, { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } From 753f65391bef9530565a25c69c1905fe6698210f Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 8 Feb 2021 12:34:41 -0800 Subject: [PATCH 5/7] remove x-ms-azure-resource & properties suffix --- .../preview/2021-01-01-preview/vmware.json | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json index d77014b0605c..945392750c39 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/vmware.json @@ -4615,17 +4615,17 @@ } }, "netAppVolume": { - "description": "Resource ID of the Azure NetApp Files volume", - "$ref": "#/definitions/NetAppVolumeProperties" + "description": "An Azure NetApp Files volume", + "$ref": "#/definitions/NetAppVolume" }, "diskPoolVolume": { - "description": "Resource ID of the iSCSI target from a Storage Pool and LUN to be used", - "$ref": "#/definitions/DiskPoolVolumeProperties" + "description": "An iSCSI volume", + "$ref": "#/definitions/DiskPoolVolume" } } }, - "NetAppVolumeProperties": { - "description": "A model which holds properties of an Azure NetApp Files volume of Microsoft.NetApp provider", + "NetAppVolume": { + "description": "An Azure NetApp Files volume from Microsoft.NetApp provider", "properties": { "nfsProviderIp": { "type": "string", @@ -4635,11 +4635,10 @@ "type": "string", "description": "File path through which the NFS volume is exposed by the provider" } - }, - "x-ms-azure-resource": true + } }, - "DiskPoolVolumeProperties": { - "description": "A model which holds properties of an iSCSI volume of Microsoft.StoragePool provider", + "DiskPoolVolume": { + "description": "An iSCSI volume from Microsoft.StoragePool provider", "properties": { "endpoints": { "description": "iSCSI provider target IP address list", @@ -4652,8 +4651,7 @@ "type": "string", "description": "Name of the LUN to be used" } - }, - "x-ms-azure-resource": true + } }, "AdminCredentials": { "description": "Administrative credentials for accessing vCenter and NSX-T", From 7781bc526d19249b2e243a0a48e663d7a1ad808b Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 10 Feb 2021 12:00:40 -0800 Subject: [PATCH 6/7] fix Datastores_Create responses --- .../2021-01-01-preview/examples/Datastores_Create.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json index 11d199cf445a..25853e28fb68 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/Datastores_Create.json @@ -21,6 +21,10 @@ "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", "name": "datastore1", "properties": { + "netAppVolume": { + "nfsProviderIp": "12.0.0.4", + "nfsFilePath": "ANFVol2" + }, "provisioningState": "Succeeded" }, "type": "Microsoft.AVS/privateClouds/clusters/datastores" @@ -31,6 +35,10 @@ "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", "name": "datastore1", "properties": { + "netAppVolume": { + "nfsProviderIp": "12.0.0.4", + "nfsFilePath": "ANFVol2" + }, "provisioningState": "Updating" }, "type": "Microsoft.AVS/privateClouds/clusters/datastores" From 8c6d9dede5dc58790e5021df13ad2e8e4d10afc8 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 10 Feb 2021 12:04:32 -0800 Subject: [PATCH 7/7] "2021-01-01" to "2021-01-01-preview" --- .../examples/WorkloadNetworks_CreateDhcpConfigurations.json | 2 +- .../examples/WorkloadNetworks_CreateDnsServices.json | 2 +- .../examples/WorkloadNetworks_CreateDnsZones.json | 2 +- .../examples/WorkloadNetworks_CreatePortMirroringProfiles.json | 2 +- .../examples/WorkloadNetworks_CreateSegments.json | 2 +- .../examples/WorkloadNetworks_CreateVMGroups.json | 2 +- .../examples/WorkloadNetworks_DeleteDhcpConfigurations.json | 2 +- .../examples/WorkloadNetworks_DeleteDnsServices.json | 2 +- .../examples/WorkloadNetworks_DeleteDnsZones.json | 2 +- .../examples/WorkloadNetworks_DeletePortMirroringProfiles.json | 2 +- .../examples/WorkloadNetworks_DeleteSegments.json | 2 +- .../examples/WorkloadNetworks_DeleteVMGroups.json | 2 +- .../examples/WorkloadNetworks_GetDhcpConfigurations.json | 2 +- .../examples/WorkloadNetworks_GetDnsServices.json | 2 +- .../examples/WorkloadNetworks_GetDnsZones.json | 2 +- .../examples/WorkloadNetworks_GetGateway.json | 2 +- .../examples/WorkloadNetworks_GetPortMirroringProfiles.json | 2 +- .../examples/WorkloadNetworks_GetSegments.json | 2 +- .../examples/WorkloadNetworks_GetVMGroups.json | 2 +- .../examples/WorkloadNetworks_GetVirtualMachine.json | 2 +- .../examples/WorkloadNetworks_ListDhcpConfigurations.json | 2 +- .../examples/WorkloadNetworks_ListDnsServices.json | 2 +- .../examples/WorkloadNetworks_ListDnsZones.json | 2 +- .../examples/WorkloadNetworks_ListGateways.json | 2 +- .../examples/WorkloadNetworks_ListPortMirroringProfiles.json | 2 +- .../examples/WorkloadNetworks_ListSegments.json | 2 +- .../examples/WorkloadNetworks_ListVMGroups.json | 2 +- .../examples/WorkloadNetworks_ListVirtualMachines.json | 2 +- .../examples/WorkloadNetworks_UpdateDhcpConfigurations.json | 2 +- .../examples/WorkloadNetworks_UpdateDnsServices.json | 2 +- .../examples/WorkloadNetworks_UpdateDnsZones.json | 2 +- .../examples/WorkloadNetworks_UpdatePortMirroringProfiles.json | 2 +- .../examples/WorkloadNetworks_UpdateSegments.json | 2 +- .../examples/WorkloadNetworks_UpdateVMGroups.json | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json index cb54e61cb4c8..c838306ee1f2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json index 4da5c9b8719a..b1e01cd0c46d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json index 781d9c0c8647..3acd4d79b55b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json index 7baff9c800a8..32dbe29c6bb6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreatePortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json index db2cb61f1ae4..6826ea31ace5 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json index 56f1942252df..3f75747fd13b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_CreateVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json index 9d6bba5c26e8..cd1b4d369a6b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json index a6ad90d6a520..22c672f6105f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json index 7f71fba067db..7bb5f02bc05b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json index 09919f56abf3..eef09faaf0d9 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeletePortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json index 2f3ff7ae0bb9..95a360f3f007 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json index 98dcac680e15..9633144c7dcc 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_DeleteVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json index 97c2b7a78272..6a6569e2a426 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json index 523153655f22..cf0befa0a550 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json index aff733ed57a8..4b834b06b6e8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json index 5e52dc70b37d..1054960eb86e 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetGateway.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json index 602d90179e0d..634c1dd6cdfe 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetPortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json index e44cd8e9a0f8..cd93fba16c6a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json index 19d1c5282fab..793da1b21587 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json index d3de7d2324b0..30f743b53b5b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_GetVirtualMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json index 9a55648e643f..d331f45f2a27 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json index 2bb41caa045c..9a1858fed5cd 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json index 92e6085cf8ff..cc7696fab22e 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json index 3fd8df05a44f..72ecb2235283 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListGateways.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json index 7687e67dfd5e..f9823624e9ff 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListPortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json index 78d52d77e9cd..03c7b453556a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json index 3b2c26e2bb34..8e3f9af83de8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json index f3bd3b396134..39a5a46a039b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_ListVirtualMachines.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json index ba48a3bab92a..74f5ed0b288b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDhcpConfigurations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json index 51e13ba2e54f..8e2c12f6be04 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json index a122aa037fda..360a7087904a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateDnsZones.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json index 5e2da6f76b06..f694f695ed65 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json index 68b33ed617df..32c540170feb 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateSegments.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json index f679a53fa663..f9df19a4af21 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2021-01-01-preview/examples/WorkloadNetworks_UpdateVMGroups.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-01-01-preview", "subscriptionId": "{subscription-id}", "resourceGroupName": "group1", "privateCloudName": "cloud1",