From f612aa1182f7c902aa2476a050c965d43d42e25e Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 09:41:39 -0300 Subject: [PATCH 01/27] copy 2023-03-01 --- .../Addons_CreateOrUpdate_ArcReg.json | 41 + .../examples/Addons_CreateOrUpdate_HCX.json | 41 + .../examples/Addons_CreateOrUpdate_SRM.json | 41 + .../examples/Addons_CreateOrUpdate_VR.json | 41 + .../2023-09-01/examples/Addons_Delete.json | 18 + .../examples/Addons_Get_ArcReg.json | 23 + .../2023-09-01/examples/Addons_Get_HCX.json | 23 + .../2023-09-01/examples/Addons_Get_SRM.json | 23 + .../2023-09-01/examples/Addons_Get_VR.json | 23 + .../2023-09-01/examples/Addons_List.json | 26 + .../Authorizations_CreateOrUpdate.json | 35 + .../examples/Authorizations_Delete.json | 18 + .../examples/Authorizations_Get.json | 24 + .../examples/Authorizations_List.json | 27 + .../examples/CloudLinks_CreateOrUpdate.json | 38 + .../examples/CloudLinks_Delete.json | 18 + .../2023-09-01/examples/CloudLinks_Get.json | 22 + .../2023-09-01/examples/CloudLinks_List.json | 25 + .../examples/Clusters_CreateOrUpdate.json | 52 + .../2023-09-01/examples/Clusters_Delete.json | 18 + .../2023-09-01/examples/Clusters_Get.json | 31 + .../2023-09-01/examples/Clusters_List.json | 33 + .../examples/Clusters_ListZones.json | 25 + .../Clusters_ListZones_Stretched.json | 33 + .../2023-09-01/examples/Clusters_Update.json | 50 + .../examples/Datastores_CreateOrUpdate.json | 47 + .../examples/Datastores_Delete.json | 19 + .../2023-09-01/examples/Datastores_Get.json | 26 + .../2023-09-01/examples/Datastores_List.json | 44 + ...GlobalReachConnections_CreateOrUpdate.json | 46 + .../GlobalReachConnections_Delete.json | 18 + .../examples/GlobalReachConnections_Get.json | 26 + .../examples/GlobalReachConnections_List.json | 29 + .../HcxEnterpriseSites_CreateOrUpdate.json | 34 + .../examples/HcxEnterpriseSites_Delete.json | 13 + .../examples/HcxEnterpriseSites_Get.json | 22 + .../examples/HcxEnterpriseSites_List.json | 25 + .../Locations_CheckQuotaAvailability.json | 18 + .../Locations_CheckTrialAvailability.json | 15 + ...cations_CheckTrialAvailabilityWithSku.json | 18 + .../2023-09-01/examples/Operations_List.json | 524 ++ .../PlacementPolicies_CreateOrUpdate.json | 82 + .../examples/PlacementPolicies_Delete.json | 19 + .../examples/PlacementPolicies_Get.json | 37 + .../examples/PlacementPolicies_List.json | 56 + .../examples/PlacementPolicies_Update.json | 81 + .../PrivateClouds_CreateOrUpdate.json | 133 + ...rivateClouds_CreateOrUpdate_Stretched.json | 141 + .../examples/PrivateClouds_Delete.json | 17 + .../examples/PrivateClouds_Get.json | 82 + .../examples/PrivateClouds_Get_Stretched.json | 74 + .../examples/PrivateClouds_List.json | 70 + .../PrivateClouds_ListAdminCredentials.json | 18 + .../PrivateClouds_ListInSubscription.json | 66 + ...teClouds_ListInSubscription_Stretched.json | 73 + .../PrivateClouds_List_Stretched.json | 77 + .../PrivateClouds_RotateNsxtPassword.json | 16 + .../PrivateClouds_RotateVcenterPassword.json | 16 + .../examples/PrivateClouds_Update.json | 151 + .../PrivateClouds_Update_Stretched.json | 130 + .../examples/ScriptCmdlets_Get.json | 46 + .../examples/ScriptCmdlets_List.json | 74 + .../ScriptExecutions_CreateOrUpdate.json | 92 + .../examples/ScriptExecutions_Delete.json | 18 + .../examples/ScriptExecutions_Get.json | 40 + .../ScriptExecutions_GetExecutionLogs.json | 42 + .../examples/ScriptExecutions_List.json | 43 + .../examples/ScriptPackages_Get.json | 24 + .../examples/ScriptPackages_List.json | 38 + .../examples/VirtualMachines_Get.json | 25 + .../examples/VirtualMachines_List.json | 39 + .../VirtualMachines_RestrictMovement.json | 20 + ...loadNetworks_CreateDhcpConfigurations.json | 56 + .../WorkloadNetworks_CreateDnsServices.json | 59 + .../WorkloadNetworks_CreateDnsZones.json | 56 + ...dNetworks_CreatePortMirroringProfiles.json | 50 + .../WorkloadNetworks_CreatePublicIPs.json | 39 + .../WorkloadNetworks_CreateSegments.json | 64 + .../WorkloadNetworks_CreateVMGroups.json | 50 + ...loadNetworks_DeleteDhcpConfigurations.json | 18 + .../WorkloadNetworks_DeleteDnsServices.json | 18 + .../WorkloadNetworks_DeleteDnsZones.json | 18 + ...dNetworks_DeletePortMirroringProfiles.json | 18 + .../WorkloadNetworks_DeletePublicIPs.json | 18 + .../WorkloadNetworks_DeleteSegments.json | 18 + .../WorkloadNetworks_DeleteVMGroups.json | 18 + .../examples/WorkloadNetworks_Get.json | 18 + ...orkloadNetworks_GetDhcpConfigurations.json | 29 + .../WorkloadNetworks_GetDnsServices.json | 29 + .../WorkloadNetworks_GetDnsZones.json | 28 + .../examples/WorkloadNetworks_GetGateway.json | 22 + ...loadNetworks_GetPortMirroringProfiles.json | 26 + .../WorkloadNetworks_GetPublicIPs.json | 22 + .../WorkloadNetworks_GetSegments.json | 35 + .../WorkloadNetworks_GetVMGroups.json | 26 + .../WorkloadNetworks_GetVirtualMachine.json | 22 + .../examples/WorkloadNetworks_List.json | 21 + ...rkloadNetworks_ListDhcpConfigurations.json | 32 + .../WorkloadNetworks_ListDnsServices.json | 32 + .../WorkloadNetworks_ListDnsZones.json | 31 + .../WorkloadNetworks_ListGateways.json | 25 + ...oadNetworks_ListPortMirroringProfiles.json | 29 + .../WorkloadNetworks_ListPublicIPs.json | 25 + .../WorkloadNetworks_ListSegments.json | 38 + .../WorkloadNetworks_ListVMGroups.json | 29 + .../WorkloadNetworks_ListVirtualMachines.json | 25 + ...loadNetworks_UpdateDhcpConfigurations.json | 42 + .../WorkloadNetworks_UpdateDnsServices.json | 46 + .../WorkloadNetworks_UpdateDnsZones.json | 44 + ...dNetworks_UpdatePortMirroringProfiles.json | 39 + .../WorkloadNetworks_UpdateSegments.json | 52 + .../WorkloadNetworks_UpdateVMGroups.json | 39 + .../stable/2023-09-01/vmware.json | 8366 +++++++++++++++++ 113 files changed, 13185 insertions(+) create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json new file mode 100644 index 000000000000..6aaa34763dc3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc", + "addon": { + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json new file mode 100644 index 000000000000..7f83d93504f8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx", + "addon": { + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json new file mode 100644 index 000000000000..7e3bee6f3134 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm", + "addon": { + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json new file mode 100644 index 000000000000..08faeedbe4c3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr", + "addon": { + "properties": { + "addonType": "VR", + "vrsCount": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json new file mode 100644 index 000000000000..b5d987a842d1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json new file mode 100644 index 000000000000..b5b5c3a6eca0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json new file mode 100644 index 000000000000..97bd8540d58b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json new file mode 100644 index 000000000000..eb0a3424be7a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Addons_Get_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json new file mode 100644 index 000000000000..e6ec7624e9f9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json new file mode 100644 index 000000000000..048845de7e0c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json new file mode 100644 index 000000000000..f00a1644fe1a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1", + "authorization": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Authorizations_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json new file mode 100644 index 000000000000..df42bddfbb14 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json new file mode 100644 index 000000000000..cfcb4d7e6c14 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/stable/2023-09-01/examples/Authorizations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json new file mode 100644 index 000000000000..ee538bb63bf0 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json new file mode 100644 index 000000000000..b75164b5f09c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1", + "cloudLink": { + "properties": { + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Building", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json new file mode 100644 index 000000000000..2ebc07533df9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json new file mode 100644 index 000000000000..f20e248cc622 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json new file mode 100644 index 000000000000..29a8af6d3c68 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json new file mode 100644 index 000000000000..1173636e442f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "cluster": { + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Clusters_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json new file mode 100644 index 000000000000..09262e2dda76 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json new file mode 100644 index 000000000000..c6670b9697a3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json new file mode 100644 index 000000000000..0917f25acf21 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Clusters_ListZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json new file mode 100644 index 000000000000..641a6b993de5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json new file mode 100644 index 000000000000..a45d24e925e5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + }, + { + "hosts": [ + "fakehost74.nyc2.kubernetes.center", + "fakehost75.nyc2.kubernetes.center", + "fakehost76.nyc2.kubernetes.center" + ], + "zone": "1" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json new file mode 100644 index 000000000000..94980a09ce0e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "clusterUpdate": { + "properties": { + "clusterSize": 4 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json new file mode 100644 index 000000000000..d110a8c8ef06 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1", + "datastore": { + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Creating", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json new file mode 100644 index 000000000000..ef462e04bc32 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json new file mode 100644 index 000000000000..70e40b9c1390 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json new file mode 100644 index 000000000000..9d4f91545c30 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "diskPoolVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.StoragePool/diskPools/DiskPool1/targets/Target1", + "lunName": "lun0", + "mountOption": "MOUNT", + "path": "/vmfs/devices/disks/naa.6001405f75f6bdf7f6f49db8b4b21723" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..88b9a3d2c350 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/GlobalReachConnections_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json new file mode 100644 index 000000000000..fdd59e18c373 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json new file mode 100644 index 000000000000..d22bb5770445 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/stable/2023-09-01/examples/GlobalReachConnections_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json new file mode 100644 index 000000000000..83d4ed384d1a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json new file mode 100644 index 000000000000..3f6e2d71a9a4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1", + "hcxEnterpriseSite": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json new file mode 100644 index 000000000000..a99bc6cca280 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json new file mode 100644 index 000000000000..10bca12e04dd --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/HcxEnterpriseSites_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json new file mode 100644 index 000000000000..59975156f72d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json new file mode 100644 index 000000000000..687ac41fe5b8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-03-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "hostsRemaining": { + "AV20": 0, + "AV36": 999 + }, + "quotaEnabled": "Enabled" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json new file mode 100644 index 000000000000..978da3485be6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-03-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json new file mode 100644 index 000000000000..4e005496b86e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-03-01", + "location": "eastus", + "sku": { + "name": "avs52t" + } + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..cf26b0fcd778 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json @@ -0,0 +1,524 @@ +{ + "parameters": { + "api-version": "2023-03-01" + }, + "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/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..33d307c2bb52 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicy": { + "properties": { + "type": "VmHost", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json new file mode 100644 index 000000000000..d4c66b7f248a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json new file mode 100644 index 000000000000..2245f9abcb6f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json new file mode 100644 index 000000000000..458da3736683 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy2", + "name": "policy2", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy2", + "type": "VmVm", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "affinityType": "Affinity", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json new file mode 100644 index 000000000000..16edb917c708 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicyUpdate": { + "properties": { + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json new file mode 100644 index 000000000000..0a966b3ed631 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json new file mode 100644 index 000000000000..5293b6b8d0ab --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "clusterSize": 4 + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "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/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/PrivateClouds_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json new file mode 100644 index 000000000000..3bf72e10afda --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json new file mode 100644 index 000000000000..617cb12e632e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "identity": { + "principalId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "tenantId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "type": "SystemAssigned" + }, + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "keyState": "Connected", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/", + "hcxCloudManager": "https://192.168.50.4/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json new file mode 100644 index 000000000000..acc6dc22a7dd --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/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/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/stable/2023-09-01/examples/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json new file mode 100644 index 000000000000..593aa16dd074 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json new file mode 100644 index 000000000000..e31effe130bd --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "nsxtPassword": "$(1X4Dkk", + "nsxtUsername": "admin", + "vcenterPassword": "", + "vcenterUsername": "cloudadmin@vsphere.local" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json new file mode 100644 index 000000000000..6ab805a0652d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json new file mode 100644 index 000000000000..1e23fbd934ab --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/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/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json new file mode 100644 index 000000000000..6e4f7cd39722 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/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/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json new file mode 100644 index 000000000000..0c8d9da2383b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json new file mode 100644 index 000000000000..0c8d9da2383b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json new file mode 100644 index 000000000000..75dbead85523 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "identity": { + "type": "None" + }, + "properties": { + "managementCluster": { + "clusterSize": 4 + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://192.168.50.3/", + "vcsa": "https://192.168.50.2/", + "hcxCloudManager": "https://192.168.50.4/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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" + ] + }, + "encryption": { + "status": "Disabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + }, + "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/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json new file mode 100644 index 000000000000..715cabced33a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "properties": { + "managementCluster": { + "clusterSize": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/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/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/ScriptCmdlets_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json new file mode 100644 index 000000000000..22003e92b3b9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2", + "scriptCmdletName": "New-ExternalSsoDomain" + }, + "responses": { + "200": { + "body": { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json new file mode 100644 index 000000000000..b28f166fb9bf --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Set-AvsStoragePolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/Set-AvsStoragePolicy", + "properties": { + "description": "Allow user to set the storage policy of the specified VM", + "timeout": "P0Y0M0DT0H60M0S", + "parameters": [ + { + "name": "VM", + "description": "VM to set the storage policy on", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "StoragePolicyName", + "description": "Name of the storage policy to set", + "type": "String", + "visibility": "Visible", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + }, + { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json new file mode 100644 index 000000000000..04d2c8dc532a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptExecution": { + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "hiddenParameters": [ + { + "name": "Password", + "type": "SecureValue", + "secureValue": "PlaceholderPassword" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "output": [ + "IdentitySource: placeholder.dc", + "BaseDN='dc=placeholder, dc=local" + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Running", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json new file mode 100644 index 000000000000..ccc13ddf3ad5 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json new file mode 100644 index 000000000000..207caadbcfea --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json new file mode 100644 index 000000000000..ef2760ef503c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptOutputStreamType": [ + "Information", + "Warnings", + "Errors", + "Output" + ] + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "timeout": "P0Y0M0D0H060M0S", + "output": [ + "Most recent output", + "Second most recent output" + ], + "errors": [ + "Most recent error output", + "Second most error recent output" + ], + "warnings": [ + "Most recent warning output", + "Second most recent warning output" + ], + "information": [ + "Most recent information output", + "Second most recent information output" + ] + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json new file mode 100644 index 000000000000..575adea14be8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS:1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Failed", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json new file mode 100644 index 000000000000..8986e5e8ad36 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "Microsoft.AVS.Management@3.0.48" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json new file mode 100644 index 000000000000..8d480bb017c8 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + }, + { + "name": "JSDR.Configuration@1.0.0", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/JSDR.Configuration@1.0.0", + "properties": { + "description": "Various cmdlets by Jetstream for Private Cloud administration", + "version": "1.0.0", + "company": "Jetstream Software", + "uri": "https://www.jetstreamsoft.com/about/support/" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json new file mode 100644 index 000000000000..264972043b1c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json new file mode 100644 index 000000000000..b73d4a03ea82 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm1", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "name": "vm-128", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm2", + "moRefId": "vm-128", + "folderPath": "vm", + "restrictMovement": "Enabled" + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json new file mode 100644 index 000000000000..cedbe7fb2b7c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209", + "restrictMovement": { + "restrictMovement": "Enabled" + } + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json new file mode 100644 index 000000000000..9663a2ab79d3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json new file mode 100644 index 000000000000..be7c76fed03b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json new file mode 100644 index 000000000000..f859eda82479 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json new file mode 100644 index 000000000000..83c40e4cc435 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json new file mode 100644 index 000000000000..fbdc64cd2c0d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1", + "workloadNetworkPublicIP": { + "properties": { + "displayName": "publicIP1", + "numberOfPublicIPs": 32 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json new file mode 100644 index 000000000000..3c3c67611d2b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json new file mode 100644 index 000000000000..5900f6f321bb --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json new file mode 100644 index 000000000000..fa8be0dbd12f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json new file mode 100644 index 000000000000..0920c92dccc3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json new file mode 100644 index 000000000000..737708a6d02c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json new file mode 100644 index 000000000000..15f86075b377 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json new file mode 100644 index 000000000000..3acd77fd5da4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json new file mode 100644 index 000000000000..8f38779ffa6a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json new file mode 100644 index 000000000000..40641c6744f7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json new file mode 100644 index 000000000000..e3ddefc9df74 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "workloadNetworkName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json new file mode 100644 index 000000000000..3d3012670767 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json new file mode 100644 index 000000000000..88e1e67e2942 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json new file mode 100644 index 000000000000..6c848d160782 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json new file mode 100644 index 000000000000..e4cec05424f3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "gatewayId": "gateway1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json new file mode 100644 index 000000000000..1c2e2b200361 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json new file mode 100644 index 000000000000..2fd2ce0cad3a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json new file mode 100644 index 000000000000..430ba9e4d85d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json new file mode 100644 index 000000000000..0c7aa3057b5e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json new file mode 100644 index 000000000000..8d6fd8f3dcec --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "virtualMachineId": "vm1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json new file mode 100644 index 000000000000..47276823bb41 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json new file mode 100644 index 000000000000..7748f74fbee4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json new file mode 100644 index 000000000000..51e912fc99ea --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json new file mode 100644 index 000000000000..d8d787c6d6f2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json new file mode 100644 index 000000000000..4c12c92c4f8c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json new file mode 100644 index 000000000000..d0dc52b8d386 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json new file mode 100644 index 000000000000..6c1e4ed3c444 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json new file mode 100644 index 000000000000..f5ed5bbbcf14 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json new file mode 100644 index 000000000000..56a025a05898 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json new file mode 100644 index 000000000000..380d749d6e83 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json new file mode 100644 index 000000000000..764e495e240f --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json new file mode 100644 index 000000000000..7ed025111e23 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json new file mode 100644 index 000000000000..be177acb73dc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json new file mode 100644 index 000000000000..55f291e2bb69 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json new file mode 100644 index 000000000000..b4ef679a8a3b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json new file mode 100644 index 000000000000..d516ca3ed63b --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2023-03-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json new file mode 100644 index 000000000000..5af8f7c20ed9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -0,0 +1,8366 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure VMware Solution API", + "description": "Azure VMware Solution API", + "version": "2023-03-01" + }, + "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" + } + } + }, + "parameters": { + "privateCloudName": { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the private cloud", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "clusterName": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the cluster in the private cloud", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "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", + "pattern": "^[-\\w\\._]+$" + }, + "addonName": { + "name": "addonName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the addon for the private cloud", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "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", + "pattern": "^[-\\w\\._]+$" + }, + "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", + "pattern": "^[-\\w\\._]+$" + }, + "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": "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" + }, + "publicIPId": { + "name": "publicIPId", + "in": "path", + "required": true, + "type": "string", + "description": "NSX Public IP Block identifier. Generally the same as the Public IP Block'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", + "pattern": "^[-\\w\\._]+$" + }, + "cloudLinkName": { + "name": "cloudLinkName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the cloud link resource", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "placementPolicyName": { + "name": "placementPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "scriptExecutionName": { + "name": "scriptExecutionName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the user-invoked script execution resource", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "scriptPackageName": { + "name": "scriptPackageName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the script package in the private cloud", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._@]+$" + }, + "scriptCmdletName": { + "name": "scriptCmdletName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the script cmdlet resource in the script package in the private cloud", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "scriptOutputStreamType": { + "name": "scriptOutputStreamType", + "in": "body", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Information", + "Warning", + "Output", + "Error" + ], + "x-ms-enum": { + "name": "ScriptOutputStreamType", + "modelAsString": true + } + } + }, + "description": "Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing", + "x-ms-parameter-location": "method" + }, + "workloadNetworkName": { + "name": "workloadNetworkName", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "WorkloadNetworkName", + "modelAsString": true + }, + "description": "Name for the workload network in the private cloud", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._]+$" + }, + "provisionedNetworkName": { + "name": "provisionedNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the provisioned network in the private cloud", + "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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Azure region" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "sku", + "in": "body", + "required": false, + "description": "The sku to check for trial availability", + "schema": { + "$ref": "#/definitions/Sku" + } + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/Trial" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Locations_CheckTrialAvailability": { + "$ref": "./examples/Locations_CheckTrialAvailability.json" + }, + "Locations_CheckTrialAvailabilityWithSku": { + "$ref": "./examples/Locations_CheckTrialAvailabilityWithSku.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Azure region" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_List": { + "$ref": "./examples/PrivateClouds_List.json" + }, + "PrivateClouds_List_Stretched": { + "$ref": "./examples/PrivateClouds_List_Stretched.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_ListInSubscription": { + "$ref": "./examples/PrivateClouds_ListInSubscription.json" + }, + "PrivateClouds_ListInSubscription_Stretched": { + "$ref": "./examples/PrivateClouds_ListInSubscription_Stretched.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Get": { + "$ref": "./examples/PrivateClouds_Get.json" + }, + "PrivateClouds_Get_Stretched": { + "$ref": "./examples/PrivateClouds_Get_Stretched.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_CreateOrUpdate": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate.json" + }, + "PrivateClouds_CreateOrUpdate_Stretched": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate_Stretched.json" + } + } + }, + "patch": { + "operationId": "PrivateClouds_Update", + "x-ms-long-running-operation": true, + "tags": [ + "PrivateClouds" + ], + "summary": "Update a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateClouds_Update": { + "$ref": "./examples/PrivateClouds_Update.json" + }, + "PrivateClouds_Update_Stretched": { + "$ref": "./examples/PrivateClouds_Update_Stretched.json" + } + } + }, + "delete": { + "operationId": "PrivateClouds_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "PrivateClouds" + ], + "summary": "Delete a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ClusterList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_Delete": { + "$ref": "./examples/Clusters_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/listZones": { + "post": { + "operationId": "Clusters_ListZones", + "tags": [ + "Cluster", + "Zone" + ], + "summary": "List hosts by zone in a cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK, zones information is returned", + "schema": { + "$ref": "#/definitions/ClusterZoneList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Clusters_ListZoneData": { + "$ref": "./examples/Clusters_ListZones.json" + }, + "Clusters_ListZoneData_Stretched": { + "$ref": "./examples/Clusters_ListZones_Stretched.json" + } + } + } + }, + "/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 datastores in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DatastoreList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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 cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/datastoreName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Datastore" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datastores_Get": { + "$ref": "./examples/Datastores_Get.json" + } + } + }, + "put": { + "operationId": "Datastores_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "Datastores" + ], + "summary": "Create or update a datastore in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datastores_CreateOrUpdate": { + "$ref": "./examples/Datastores_CreateOrUpdate.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/datastoreName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datastores_Delete": { + "$ref": "./examples/Datastores_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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AdminCredentials" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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 on-premises key in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSiteList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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 on-premises key by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/hcxEnterpriseSiteName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_Get": { + "$ref": "./examples/HcxEnterpriseSites_Get.json" + } + } + }, + "put": { + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "tags": [ + "HcxEnterpriseSites" + ], + "summary": "Create or update an activation key for on-premises HCX site", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "HcxEnterpriseSites_CreateOrUpdate": { + "$ref": "./examples/HcxEnterpriseSites_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "HcxEnterpriseSites_Delete", + "tags": [ + "HcxEnterpriseSites" + ], + "summary": "Delete HCX on-premises key in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/hcxEnterpriseSiteName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorizationList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/authorizationName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/authorizationName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/GlobalReachConnectionList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/globalReachConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/globalReachConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_Delete": { + "$ref": "./examples/GlobalReachConnections_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/{workloadNetworkName}": { + "get": { + "operationId": "WorkloadNetworks_Get", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/workloadNetworkName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_Get": { + "$ref": "./examples/WorkloadNetworks_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks": { + "get": { + "operationId": "WorkloadNetworks_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of workload networks in a private cloud.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_List": { + "$ref": "./examples/WorkloadNetworks_List.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteDnsZone": { + "$ref": "./examples/WorkloadNetworks_DeleteDnsZones.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs": { + "get": { + "operationId": "WorkloadNetworks_ListPublicIPs", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "WorkloadNetworks" + ], + "summary": "List of Public IP Blocks in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIPsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListPublicIPs": { + "$ref": "./examples/WorkloadNetworks_ListPublicIPs.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}": { + "get": { + "operationId": "WorkloadNetworks_GetPublicIP", + "tags": [ + "WorkloadNetworks" + ], + "summary": "Get a Public IP Block by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/publicIPId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetPublicIP": { + "$ref": "./examples/WorkloadNetworks_GetPublicIPs.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreatePublicIP", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Create a Public IP Block by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/publicIPId" + }, + { + "name": "workloadNetworkPublicIP", + "description": "NSX Public IP Block", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreatePublicIP": { + "$ref": "./examples/WorkloadNetworks_CreatePublicIPs.json" + } + } + }, + "delete": { + "operationId": "WorkloadNetworks_DeletePublicIP", + "x-ms-long-running-operation": true, + "tags": [ + "WorkloadNetworks" + ], + "summary": "Delete a Public IP Block by id in a private cloud workload network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/publicIPId" + }, + { + "$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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeletePublicIP": { + "$ref": "./examples/WorkloadNetworks_DeletePublicIPs.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks": { + "get": { + "operationId": "CloudLinks_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "CloudLinks" + ], + "summary": "List cloud link in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/CloudLinkList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_List": { + "$ref": "./examples/CloudLinks_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}": { + "get": { + "operationId": "CloudLinks_Get", + "tags": [ + "CloudLinks" + ], + "summary": "Get an cloud link by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/cloudLinkName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/CloudLink" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_Get": { + "$ref": "./examples/CloudLinks_Get.json" + } + } + }, + "put": { + "operationId": "CloudLinks_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "CloudLinks" + ], + "summary": "Create or update a cloud link in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/cloudLinkName" + }, + { + "name": "cloudLink", + "description": "A cloud link in the private cloud", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CloudLink" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/CloudLink" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/CloudLink" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_CreateOrUpdate": { + "$ref": "./examples/CloudLinks_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "CloudLinks_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "CloudLinks" + ], + "summary": "Delete a cloud link in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/cloudLinkName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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 cloud link to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CloudLinks_Delete": { + "$ref": "./examples/CloudLinks_Delete.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AddonList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/addonName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Addons_Get_SRM": { + "$ref": "./examples/Addons_Get_SRM.json" + }, + "Addons_Get_VR": { + "$ref": "./examples/Addons_Get_VR.json" + }, + "Addons_Get_HCX": { + "$ref": "./examples/Addons_Get_HCX.json" + }, + "Addons_Get_ArcReg": { + "$ref": "./examples/Addons_Get_ArcReg.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Addons_CreateOrUpdate_SRM": { + "$ref": "./examples/Addons_CreateOrUpdate_SRM.json" + }, + "Addons_CreateOrUpdate_VR": { + "$ref": "./examples/Addons_CreateOrUpdate_VR.json" + }, + "Addons_CreateOrUpdate_HCX": { + "$ref": "./examples/Addons_CreateOrUpdate_HCX.json" + }, + "Addons_CreateOrUpdate_Arc": { + "$ref": "./examples/Addons_CreateOrUpdate_ArcReg.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/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/addonName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Addons_Delete": { + "$ref": "./examples/Addons_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines": { + "get": { + "operationId": "VirtualMachines_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "VirtualMachines" + ], + "summary": "List of virtual machines in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachinesList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListClusterVirtualMachines": { + "$ref": "./examples/VirtualMachines_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}": { + "get": { + "operationId": "VirtualMachines_Get", + "tags": [ + "VirtualMachines" + ], + "summary": "Get a virtual machine by id in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/virtualMachineId" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetVirtualMachine": { + "$ref": "./examples/VirtualMachines_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}/restrictMovement": { + "post": { + "x-ms-long-running-operation": true, + "operationId": "VirtualMachines_RestrictMovement", + "tags": [ + "VirtualMachines", + "PlacementPolicies" + ], + "summary": "Enable or disable DRS-driven VM movement restriction", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/virtualMachineId" + }, + { + "name": "restrictMovement", + "description": "Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled)", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineRestrictMovement" + } + } + ], + "responses": { + "202": { + "description": "Started flow to set/unset restrictedMovement of VM" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualMachine_RestrictMovement": { + "$ref": "./examples/VirtualMachines_RestrictMovement.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies": { + "get": { + "operationId": "PlacementPolicies_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "PlacementPolicies" + ], + "summary": "List placement policies in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PlacementPoliciesList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_List": { + "$ref": "./examples/PlacementPolicies_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}": { + "get": { + "operationId": "PlacementPolicies_Get", + "tags": [ + "PlacementPolicies" + ], + "summary": "Get a placement policy by name in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/placementPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_Get": { + "$ref": "./examples/PlacementPolicies_Get.json" + } + } + }, + "put": { + "operationId": "PlacementPolicies_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "PlacementPolicies" + ], + "summary": "Create or update a placement policy in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/placementPolicyName" + }, + { + "name": "placementPolicy", + "description": "A placement policy in the private cloud cluster", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_CreateOrUpdate": { + "$ref": "./examples/PlacementPolicies_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "PlacementPolicies_Update", + "x-ms-long-running-operation": true, + "tags": [ + "PlacementPolicies" + ], + "summary": "Update a placement policy in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/placementPolicyName" + }, + { + "name": "placementPolicyUpdate", + "description": "The placement policy properties that may be updated", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PlacementPolicyUpdate" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "202": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_Update": { + "$ref": "./examples/PlacementPolicies_Update.json" + } + } + }, + "delete": { + "operationId": "PlacementPolicies_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "PlacementPolicies" + ], + "summary": "Delete a placement policy in a private cloud cluster", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/clusterName" + }, + { + "$ref": "#/parameters/placementPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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 policy to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlacementPolicies_Delete": { + "$ref": "./examples/PlacementPolicies_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages": { + "get": { + "tags": [ + "Scripts" + ], + "description": "List script packages available to run on the private cloud", + "operationId": "ScriptPackages_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/ScriptPackagesList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptPackages_List": { + "$ref": "./examples/ScriptPackages_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}": { + "get": { + "tags": [ + "Scripts" + ], + "description": "Get a script package available to run on a private cloud", + "operationId": "ScriptPackages_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/scriptPackageName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/ScriptPackage" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptPackages_Get": { + "$ref": "./examples/ScriptPackages_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets": { + "get": { + "tags": [ + "Scripts" + ], + "description": "List script cmdlet resources available for a private cloud to create a script execution resource on a private cloud", + "operationId": "ScriptCmdlets_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/scriptPackageName" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/ScriptCmdletsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptCmdlets_List": { + "$ref": "./examples/ScriptCmdlets_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/{scriptCmdletName}": { + "get": { + "tags": [ + "Scripts" + ], + "description": "Return information about a script cmdlet resource in a specific package on a private cloud", + "operationId": "ScriptCmdlets_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/scriptPackageName" + }, + { + "$ref": "#/parameters/scriptCmdletName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/ScriptCmdlet" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptCmdlets_Get": { + "$ref": "./examples/ScriptCmdlets_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions": { + "get": { + "operationId": "ScriptExecutions_List", + "tags": [ + "Scripts" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "summary": "List script executions in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ScriptExecutionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_List": { + "$ref": "./examples/ScriptExecutions_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}": { + "get": { + "operationId": "ScriptExecutions_Get", + "tags": [ + "Scripts" + ], + "summary": "Get an script execution by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/scriptExecutionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_Get": { + "$ref": "./examples/ScriptExecutions_Get.json" + } + } + }, + "put": { + "operationId": "ScriptExecutions_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "Scripts" + ], + "summary": "Create or update a script execution in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/scriptExecutionName" + }, + { + "name": "scriptExecution", + "description": "A script running in the private cloud", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_CreateOrUpdate": { + "$ref": "./examples/ScriptExecutions_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "ScriptExecutions_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "Scripts" + ], + "summary": "Cancel a ScriptExecution in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/scriptExecutionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/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 script to cancel" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_Delete": { + "$ref": "./examples/ScriptExecutions_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs": { + "post": { + "tags": [ + "Scripts" + ], + "description": "Return the logs for a script execution resource", + "operationId": "ScriptExecutions_GetExecutionLogs", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/scriptExecutionName" + }, + { + "$ref": "#/parameters/scriptOutputStreamType" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request has succeeded", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScriptExecutions_GetExecutionLogs": { + "$ref": "./examples/ScriptExecutions_GetExecutionLogs.json" + } + } + } + } + }, + "definitions": { + "Trial": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "description": "The resource model definition for a ARM proxy resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "OperationList": { + "type": "object", + "description": "Pageable list of operations", + "properties": { + "value": { + "description": "List of operations", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "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": { + "type": "object", + "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" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "metricSpecifications": { + "description": "Specifications of the Metrics for Azure Monitoring", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "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" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "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": { + "type": "object", + "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": { + "type": "object", + "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", + "Canceled" + ], + "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 + }, + "expressRouteId": { + "type": "string", + "description": "The ID of the ExpressRoute Circuit" + } + } + }, + "ExpressRouteAuthorizationList": { + "type": "object", + "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": { + "type": "object", + "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" + } + } + }, + "EncryptionKeyVaultProperties": { + "type": "object", + "description": "An Encryption Key", + "properties": { + "keyName": { + "type": "string", + "description": "The name of the key." + }, + "keyVersion": { + "type": "string", + "description": "The version of the key." + }, + "autoDetectedKeyVersion": { + "type": "string", + "readOnly": true, + "description": "The auto-detected version of the key if versionType is auto-detected." + }, + "keyVaultUrl": { + "type": "string", + "description": "The URL of the vault." + }, + "keyState": { + "type": "string", + "description": "The state of key provided", + "readOnly": true, + "enum": [ + "Connected", + "AccessDenied" + ], + "x-ms-enum": { + "name": "EncryptionKeyStatus", + "modelAsString": true + } + }, + "versionType": { + "type": "string", + "description": "Property of the key if user provided or auto detected", + "readOnly": true, + "enum": [ + "Fixed", + "AutoDetected" + ], + "x-ms-enum": { + "name": "EncryptionVersionType", + "modelAsString": true + } + } + } + }, + "Encryption": { + "type": "object", + "description": "The properties of customer managed encryption key", + "properties": { + "status": { + "description": "Status of customer managed encryption key", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EncryptionState", + "modelAsString": true + } + }, + "keyVaultProperties": { + "description": "The key vault where the encryption key is stored", + "$ref": "#/definitions/EncryptionKeyVaultProperties" + } + } + }, + "Endpoints": { + "type": "object", + "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": { + "type": "object", + "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 + } + } + }, + "AvailabilityProperties": { + "type": "object", + "description": "The properties describing private cloud availability zone distribution", + "properties": { + "strategy": { + "description": "The availability strategy for the private cloud", + "type": "string", + "enum": [ + "SingleZone", + "DualZone" + ], + "x-ms-enum": { + "name": "AvailabilityStrategy", + "modelAsString": true + } + }, + "zone": { + "description": "The primary availability zone for the private cloud", + "type": "integer", + "format": "int32" + }, + "secondaryZone": { + "description": "The secondary availability zone for the private cloud", + "type": "integer", + "format": "int32" + } + } + }, + "PrivateCloud": { + "type": "object", + "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 + }, + "identity": { + "$ref": "#/definitions/PrivateCloudIdentity", + "description": "The identity of the private cloud, if configured." + } + } + }, + "PrivateCloudUpdate": { + "type": "object", + "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 + }, + "identity": { + "$ref": "#/definitions/PrivateCloudIdentity", + "description": "The identity of the private cloud, if configured." + } + } + }, + "PrivateCloudUpdateProperties": { + "type": "object", + "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" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "availability": { + "description": "Properties describing how the cloud is distributed across availability zones", + "$ref": "#/definitions/AvailabilityProperties", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "encryption": { + "description": "Customer managed key encryption, can be enabled or disabled", + "$ref": "#/definitions/Encryption" + }, + "extendedNetworkBlocks": { + "description": "Array of additional networks noncontiguous with networkBlock. Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute. Make sure the CIDR format conforms to (A.B.C.D/X).", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PrivateCloudProperties": { + "type": "object", + "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", + "Canceled" + ], + "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", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "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 + }, + "externalCloudLinks": { + "description": "Array of cloud link IDs from other clouds that connect to this one", + "type": "array", + "readOnly": true, + "items": { + "type": "string" + } + }, + "secondaryCircuit": { + "description": "A secondary expressRoute circuit from a separate AZ. Only present in a stretched private cloud", + "$ref": "#/definitions/Circuit" + }, + "nsxPublicIpQuotaRaised": { + "description": "Flag to indicate whether the private cloud has the quota for provisioned NSX Public IP count raised from 64 to 1024", + "type": "string", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "nsxPublicIpQuotaRaisedEnum", + "modelAsString": true + } + } + } + }, + "Cluster": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "description": "The properties of a cluster that may be updated", + "properties": { + "clusterSize": { + "description": "The cluster size", + "type": "integer", + "format": "int32" + }, + "hosts": { + "description": "The hosts", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ClusterProvisioningState": { + "description": "The state of the cluster provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "ClusterProvisioningState", + "modelAsString": true + } + }, + "CommonClusterProperties": { + "type": "object", + "description": "The common properties of a cluster", + "properties": { + "clusterSize": { + "description": "The cluster size", + "type": "integer", + "format": "int32" + }, + "provisioningState": { + "description": "The state of the cluster provisioning", + "$ref": "#/definitions/ClusterProvisioningState" + }, + "clusterId": { + "description": "The identity", + "type": "integer", + "format": "int32", + "readOnly": true + }, + "hosts": { + "description": "The hosts", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ManagementCluster": { + "type": "object", + "description": "The properties of a management cluster", + "required": [ + "clusterSize" + ], + "allOf": [ + { + "$ref": "#/definitions/CommonClusterProperties" + } + ] + }, + "ClusterProperties": { + "type": "object", + "description": "The properties of a cluster", + "allOf": [ + { + "$ref": "#/definitions/CommonClusterProperties" + } + ] + }, + "PrivateCloudList": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "description": "An addon resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of an addon resource", + "$ref": "#/definitions/AddonProperties", + "x-ms-client-flatten": false + } + } + }, + "AddonProperties": { + "type": "object", + "description": "The properties of an addon", + "discriminator": "addonType", + "properties": { + "addonType": { + "description": "The type of private cloud addon", + "type": "string", + "enum": [ + "SRM", + "VR", + "HCX", + "Arc" + ], + "x-ms-enum": { + "name": "AddonType", + "modelAsString": true + } + }, + "provisioningState": { + "description": "The state of the addon provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Building", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "AddonProvisioningState", + "modelAsString": true + } + } + }, + "required": [ + "addonType" + ] + }, + "AddonSrmProperties": { + "type": "object", + "description": "The properties of a Site Recovery Manager (SRM) addon", + "x-ms-discriminator-value": "SRM", + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "properties": { + "licenseKey": { + "description": "The Site Recovery Manager (SRM) license", + "type": "string" + } + } + }, + "AddonVrProperties": { + "type": "object", + "description": "The properties of a vSphere Replication (VR) addon", + "x-ms-discriminator-value": "VR", + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "properties": { + "vrsCount": { + "description": "The vSphere Replication Server (VRS) count", + "type": "integer", + "format": "int32" + } + }, + "required": [ + "vrsCount" + ] + }, + "AddonHcxProperties": { + "type": "object", + "description": "The properties of an HCX addon", + "x-ms-discriminator-value": "HCX", + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "properties": { + "offer": { + "description": "The HCX offer, example VMware MaaS Cloud Provider (Enterprise)", + "type": "string" + } + }, + "required": [ + "offer" + ] + }, + "AddonArcProperties": { + "type": "object", + "description": "The properties of an Arc addon", + "x-ms-discriminator-value": "Arc", + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "properties": { + "vCenter": { + "description": "The VMware vCenter resource ID", + "type": "string" + } + } + }, + "AddonList": { + "type": "object", + "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 + } + } + }, + "DatastoreList": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "description": "The properties of a datastore", + "properties": { + "provisioningState": { + "description": "The state of the datastore provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Pending", + "Creating", + "Updating", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "DatastoreProvisioningState", + "modelAsString": true + } + }, + "netAppVolume": { + "description": "An Azure NetApp Files volume", + "$ref": "#/definitions/NetAppVolume" + }, + "diskPoolVolume": { + "description": "An iSCSI volume", + "$ref": "#/definitions/DiskPoolVolume" + }, + "status": { + "description": "The operational status of the datastore", + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "Accessible", + "Inaccessible", + "Attached", + "Detached", + "LostCommunication", + "DeadOrError" + ], + "x-ms-enum": { + "name": "DatastoreStatus", + "modelAsString": true + } + } + } + }, + "NetAppVolume": { + "type": "object", + "description": "An Azure NetApp Files volume from Microsoft.NetApp provider", + "properties": { + "id": { + "type": "string", + "description": "Azure resource ID of the NetApp volume" + } + }, + "required": [ + "id" + ] + }, + "DiskPoolVolume": { + "type": "object", + "description": "An iSCSI volume from Microsoft.StoragePool provider", + "properties": { + "targetId": { + "type": "string", + "description": "Azure resource ID of the iSCSI target" + }, + "lunName": { + "type": "string", + "description": "Name of the LUN to be used for datastore" + }, + "mountOption": { + "type": "string", + "description": "Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN", + "enum": [ + "MOUNT", + "ATTACH" + ], + "x-ms-enum": { + "name": "MountOptionEnum", + "modelAsString": true + }, + "default": "MOUNT" + }, + "path": { + "type": "string", + "description": "Device path", + "readOnly": true + } + }, + "required": [ + "targetId", + "lunName" + ] + }, + "AdminCredentials": { + "type": "object", + "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": { + "type": "object", + "description": "The resource model definition representing SKU", + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU." + } + }, + "required": [ + "name" + ] + }, + "HcxEnterpriseSiteList": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "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", + "Canceled" + ], + "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" + }, + "expressRouteId": { + "type": "string", + "description": "The ID of the Private Cloud's ExpressRoute Circuit that is participating in the global reach connection" + } + } + }, + "CloudLinkList": { + "type": "object", + "description": "A paged list of cloud links", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/CloudLink" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "CloudLink": { + "type": "object", + "description": "A cloud link resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of a cloud link.", + "$ref": "#/definitions/CloudLinkProperties", + "x-ms-client-flatten": true + } + } + }, + "CloudLinkProperties": { + "type": "object", + "description": "The properties of a cloud link.", + "properties": { + "status": { + "description": "The state of the cloud link.", + "type": "string", + "readOnly": true, + "enum": [ + "Active", + "Building", + "Deleting", + "Failed", + "Disconnected" + ], + "x-ms-enum": { + "name": "CloudLinkStatus", + "modelAsString": true + } + }, + "linkedCloud": { + "type": "string", + "description": "Identifier of the other private cloud participating in the link." + } + } + }, + "WorkloadNetworkSegmentSubnet": { + "type": "object", + "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": { + "type": "object", + "description": "Ports and any VIF attached to segment.", + "properties": { + "portName": { + "description": "Name of port or VIF attached to segment.", + "type": "string" + } + } + }, + "WorkloadNetworkSegmentProperties": { + "type": "object", + "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" + }, + "x-ms-identifiers": [ + "portName" + ], + "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", + "Canceled" + ], + "x-ms-enum": { + "name": "WorkloadNetworkSegmentProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetwork": { + "type": "object", + "description": "Workload Network", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkSegment": { + "type": "object", + "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 + } + } + }, + "WorkloadNetworkList": { + "type": "object", + "description": "A list of workload networks", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetwork" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "WorkloadNetworkSegmentsList": { + "type": "object", + "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": { + "type": "object", + "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", + "Canceled" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDhcpProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + }, + "required": [ + "dhcpType" + ] + }, + "WorkloadNetworkDhcpServer": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "description": "NSX DHCP", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "DHCP properties.", + "$ref": "#/definitions/WorkloadNetworkDhcpEntity", + "x-ms-client-flatten": false + } + } + }, + "WorkloadNetworkDhcpList": { + "type": "object", + "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": { + "type": "object", + "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", + "Canceled" + ], + "x-ms-enum": { + "name": "WorkloadNetworkPortMirroringProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkPortMirroring": { + "type": "object", + "description": "NSX Port Mirroring", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Port Mirroring Properties.", + "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkPortMirroringList": { + "type": "object", + "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": { + "type": "object", + "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", + "Canceled" + ], + "x-ms-enum": { + "name": "WorkloadNetworkVMGroupProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkVMGroup": { + "type": "object", + "description": "NSX VM Group", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "VM Group properties.", + "$ref": "#/definitions/WorkloadNetworkVMGroupProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkVMGroupsList": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "description": "NSX Virtual Machine", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Virtual machine properties.", + "$ref": "#/definitions/WorkloadNetworkVirtualMachineProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkVirtualMachinesList": { + "type": "object", + "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": { + "type": "object", + "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": { + "type": "object", + "description": "NSX Gateway.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Gateway properties.", + "$ref": "#/definitions/WorkloadNetworkGatewayProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkGatewayList": { + "type": "object", + "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": { + "type": "object", + "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", + "Canceled" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsServiceProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkDnsService": { + "type": "object", + "description": "NSX DNS Service", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "DNS Service properties", + "$ref": "#/definitions/WorkloadNetworkDnsServiceProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkDnsServicesList": { + "type": "object", + "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": { + "type": "object", + "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", + "Canceled" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsZoneProvisioningState", + "modelAsString": true + } + }, + "revision": { + "description": "NSX revision number.", + "type": "integer", + "format": "int64" + } + } + }, + "WorkloadNetworkDnsZone": { + "type": "object", + "description": "NSX DNS Zone", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "DNS Zone properties", + "$ref": "#/definitions/WorkloadNetworkDnsZoneProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkDnsZonesList": { + "type": "object", + "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 + } + } + }, + "WorkloadNetworkPublicIPProperties": { + "type": "object", + "description": "NSX Public IP Block Properties", + "properties": { + "displayName": { + "description": "Display name of the Public IP Block.", + "type": "string" + }, + "numberOfPublicIPs": { + "description": "Number of Public IPs requested.", + "type": "integer", + "format": "int64" + }, + "publicIPBlock": { + "description": "CIDR Block of the Public IP Block.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "WorkloadNetworkPublicIPProvisioningState", + "modelAsString": true + } + } + } + }, + "WorkloadNetworkPublicIP": { + "type": "object", + "description": "NSX Public IP Block", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Public IP Block properties", + "$ref": "#/definitions/WorkloadNetworkPublicIPProperties", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkPublicIPsList": { + "type": "object", + "description": "A list of NSX Public IP Blocks", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachineRestrictMovementState": { + "description": "Whether VM DRS-driven movement is restricted (enabled) or not (disabled)", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "virtualMachineRestrictMovementState", + "modelAsString": true + } + }, + "VirtualMachineRestrictMovement": { + "type": "object", + "description": "Set VM DRS-driven movement to restricted (enabled) or not (disabled)", + "properties": { + "restrictMovement": { + "$ref": "#/definitions/VirtualMachineRestrictMovementState" + } + } + }, + "VirtualMachineProperties": { + "type": "object", + "description": "Virtual Machine Properties", + "properties": { + "displayName": { + "description": "Display name of the VM.", + "type": "string", + "readOnly": true + }, + "moRefId": { + "description": "Virtual machine managed object reference id", + "type": "string", + "readOnly": true + }, + "folderPath": { + "description": "Path to virtual machine's folder starting from datacenter virtual machine folder", + "type": "string", + "readOnly": true + }, + "restrictMovement": { + "$ref": "#/definitions/VirtualMachineRestrictMovementState", + "readOnly": true + } + } + }, + "VirtualMachine": { + "type": "object", + "description": "Virtual Machine", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Virtual machine properties.", + "$ref": "#/definitions/VirtualMachineProperties", + "x-ms-client-flatten": true + } + } + }, + "VirtualMachinesList": { + "type": "object", + "description": "A list of Virtual Machines", + "properties": { + "value": { + "description": "The items to be displayed on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "PlacementPolicyProperties": { + "type": "object", + "description": "Abstract placement policy properties", + "discriminator": "type", + "properties": { + "type": { + "description": "placement policy type", + "type": "string", + "enum": [ + "VmVm", + "VmHost" + ], + "x-ms-enum": { + "name": "PlacementPolicyType", + "modelAsString": true + } + }, + "state": { + "description": "Whether the placement policy is enabled or disabled", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PlacementPolicyState", + "modelAsString": true + } + }, + "displayName": { + "description": "Display name of the placement policy", + "type": "string" + }, + "provisioningState": { + "description": "The provisioning state", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Building", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "PlacementPolicyProvisioningState", + "modelAsString": true + } + } + }, + "required": [ + "type" + ] + }, + "VmVmPlacementPolicyProperties": { + "type": "object", + "description": "VM-VM placement policy properties", + "x-ms-discriminator-value": "VmVm", + "allOf": [ + { + "$ref": "#/definitions/PlacementPolicyProperties" + } + ], + "properties": { + "vmMembers": { + "description": "Virtual machine members list", + "type": "array", + "items": { + "type": "string" + } + }, + "affinityType": { + "description": "placement policy affinity type", + "$ref": "#/definitions/AffinityType" + } + }, + "required": [ + "vmMembers", + "affinityType" + ] + }, + "VmHostPlacementPolicyProperties": { + "type": "object", + "description": "VM-Host placement policy properties", + "x-ms-discriminator-value": "VmHost", + "allOf": [ + { + "$ref": "#/definitions/PlacementPolicyProperties" + } + ], + "properties": { + "vmMembers": { + "description": "Virtual machine members list", + "type": "array", + "items": { + "type": "string" + } + }, + "hostMembers": { + "description": "Host members list", + "type": "array", + "items": { + "type": "string" + } + }, + "affinityType": { + "description": "placement policy affinity type", + "$ref": "#/definitions/AffinityType" + }, + "affinityStrength": { + "description": "vm-host placement policy affinity strength (should/must)", + "$ref": "#/definitions/AffinityStrength" + }, + "azureHybridBenefitType": { + "description": "placement policy azure hybrid benefit opt-in type", + "$ref": "#/definitions/AzureHybridBenefitType" + } + }, + "required": [ + "vmMembers", + "hostMembers", + "affinityType" + ] + }, + "PlacementPolicy": { + "type": "object", + "description": "A vSphere Distributed Resource Scheduler (DRS) placement policy", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "placement policy properties", + "$ref": "#/definitions/PlacementPolicyProperties", + "x-ms-client-flatten": false + } + } + }, + "PlacementPoliciesList": { + "type": "object", + "description": "Represents list of placement policies", + "properties": { + "value": { + "description": "The items on the page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "PlacementPolicyUpdate": { + "type": "object", + "description": "An update of a DRS placement policy resource", + "properties": { + "properties": { + "description": "The properties of a placement policy resource that may be updated", + "$ref": "#/definitions/PlacementPolicyUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "PlacementPolicyUpdateProperties": { + "type": "object", + "description": "The properties of a placement policy resource that may be updated", + "properties": { + "state": { + "description": "Whether the placement policy is enabled or disabled", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PlacementPolicyState", + "modelAsString": true + } + }, + "vmMembers": { + "description": "Virtual machine members list", + "type": "array", + "items": { + "type": "string" + } + }, + "hostMembers": { + "description": "Host members list", + "type": "array", + "items": { + "type": "string" + } + }, + "affinityStrength": { + "description": "vm-host placement policy affinity strength (should/must)", + "$ref": "#/definitions/AffinityStrength" + }, + "azureHybridBenefitType": { + "description": "placement policy azure hybrid benefit opt-in type", + "$ref": "#/definitions/AzureHybridBenefitType" + } + } + }, + "AffinityType": { + "description": "Placement policy affinity type", + "type": "string", + "enum": [ + "Affinity", + "AntiAffinity" + ], + "x-ms-enum": { + "name": "AffinityType", + "modelAsString": true + } + }, + "AffinityStrength": { + "description": "VM-Host placement policy affinity strength (should/must)", + "type": "string", + "enum": [ + "Should", + "Must" + ], + "x-ms-enum": { + "name": "AffinityStrength", + "modelAsString": true + } + }, + "AzureHybridBenefitType": { + "description": "Placement policy hosts opt-in Azure Hybrid Benefit type", + "type": "string", + "enum": [ + "SqlHost", + "None" + ], + "x-ms-enum": { + "name": "AzureHybridBenefitType", + "modelAsString": true + } + }, + "ScriptPackageProperties": { + "type": "object", + "description": "Properties of a Script Package subresource", + "properties": { + "description": { + "description": "User friendly description of the package", + "type": "string", + "readOnly": true + }, + "version": { + "description": "Module version", + "type": "string", + "readOnly": true + }, + "company": { + "description": "Company that created and supports the package", + "type": "string", + "readOnly": true + }, + "uri": { + "description": "Link to support by the package vendor", + "type": "string", + "readOnly": true + } + } + }, + "ScriptPackagesList": { + "type": "object", + "description": "A list of the available script packages", + "properties": { + "value": { + "description": "List of script package resources", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ScriptPackage" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "ScriptPackage": { + "type": "object", + "description": "Script Package resources available for execution", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "ScriptPackage resource properties", + "$ref": "#/definitions/ScriptPackageProperties", + "x-ms-client-flatten": true + } + } + }, + "ScriptParameter": { + "type": "object", + "description": "An parameter that the script will accept", + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of parameter the script is expecting. psCredential is a PSCredentialObject", + "enum": [ + "String", + "SecureString", + "Credential", + "Int", + "Bool", + "Float" + ], + "x-ms-enum": { + "name": "ScriptParameterTypes", + "modelAsString": true + } + }, + "name": { + "type": "string", + "description": "The parameter name that the script will expect a parameter value for" + }, + "description": { + "type": "string", + "readOnly": true, + "description": "User friendly description of the parameter" + }, + "visibility": { + "description": "Should this parameter be visible to arm and passed in the parameters argument when executing", + "type": "string", + "readOnly": true, + "enum": [ + "Visible", + "Hidden" + ], + "x-ms-enum": { + "name": "VisibilityParameterEnum", + "modelAsString": true + } + }, + "optional": { + "description": "Is this parameter required or optional", + "type": "string", + "readOnly": true, + "enum": [ + "Optional", + "Required" + ], + "x-ms-enum": { + "name": "OptionalParamEnum", + "modelAsString": true + } + } + } + }, + "ScriptCmdlet": { + "type": "object", + "description": "A cmdlet available for script execution", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "The properties of a script cmdlet resource", + "$ref": "#/definitions/ScriptCmdletProperties", + "x-ms-client-flatten": true + } + } + }, + "ScriptCmdletProperties": { + "type": "object", + "description": "Properties of a pre-canned script", + "properties": { + "description": { + "description": "Description of the scripts functionality", + "type": "string", + "readOnly": true + }, + "timeout": { + "description": "Recommended time limit for execution", + "type": "string", + "readOnly": true + }, + "parameters": { + "description": "Parameters the script will accept", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ScriptParameter" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ScriptCmdletsList": { + "type": "object", + "description": "Pageable list of scripts/cmdlets", + "properties": { + "value": { + "description": "List of scripts", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ScriptCmdlet" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "ScriptExecutionParameter": { + "type": "object", + "discriminator": "type", + "description": "The arguments passed in to the execution", + "properties": { + "name": { + "type": "string", + "description": "The parameter name" + }, + "type": { + "description": "The type of execution parameter", + "type": "string", + "enum": [ + "Value", + "SecureValue", + "Credential" + ], + "x-ms-enum": { + "name": "ScriptExecutionParameterType", + "modelAsString": true + } + } + }, + "required": [ + "type", + "name" + ] + }, + "ScriptExecution": { + "type": "object", + "description": "An instance of a script executed by a user - custom or AVS", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "The properties of a script execution resource", + "$ref": "#/definitions/ScriptExecutionProperties", + "x-ms-client-flatten": true + } + } + }, + "ScriptExecutionProperties": { + "type": "object", + "description": "Properties of a user-invoked script", + "properties": { + "scriptCmdletId": { + "description": "A reference to the script cmdlet resource if user is running a AVS script", + "type": "string" + }, + "parameters": { + "description": "Parameters the script will accept", + "type": "array", + "items": { + "$ref": "#/definitions/ScriptExecutionParameter" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "hiddenParameters": { + "description": "Parameters that will be hidden/not visible to ARM, such as passwords and credentials", + "type": "array", + "items": { + "$ref": "#/definitions/ScriptExecutionParameter" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "failureReason": { + "type": "string", + "description": "Error message if the script was able to run, but if the script itself had errors or powershell threw an exception" + }, + "timeout": { + "description": "Time limit for execution", + "type": "string" + }, + "retention": { + "description": "Time to live for the resource. If not provided, will be available for 60 days", + "type": "string" + }, + "submittedAt": { + "description": "Time the script execution was submitted", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "startedAt": { + "description": "Time the script execution was started", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "finishedAt": { + "description": "Time the script execution was finished", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "description": "The state of the script execution resource", + "type": "string", + "readOnly": true, + "enum": [ + "Pending", + "Running", + "Succeeded", + "Failed", + "Cancelling", + "Cancelled", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ScriptExecutionProvisioningState", + "modelAsString": true + } + }, + "output": { + "description": "Standard output stream from the powershell execution", + "type": "array", + "items": { + "type": "string" + } + }, + "namedOutputs": { + "description": "User-defined dictionary.", + "type": "object", + "additionalProperties": { + "type": "object", + "description": "Dictionary in pair." + } + }, + "information": { + "description": "Standard information out stream from the powershell execution", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "warnings": { + "description": "Standard warning out stream from the powershell execution", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "errors": { + "description": "Standard error output stream from the powershell execution", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "timeout" + ] + }, + "ScriptExecutionsList": { + "type": "object", + "description": "Pageable list of script executions", + "properties": { + "value": { + "description": "List of scripts", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, + "ScriptSecureStringExecutionParameter": { + "type": "object", + "description": "a plain text value execution parameter", + "x-ms-discriminator-value": "SecureValue", + "allOf": [ + { + "$ref": "#/definitions/ScriptExecutionParameter" + } + ], + "properties": { + "secureValue": { + "type": "string", + "description": "A secure value for the passed parameter, not to be stored in logs", + "x-ms-secret": true + } + } + }, + "ScriptStringExecutionParameter": { + "type": "object", + "description": "a plain text value execution parameter", + "x-ms-discriminator-value": "Value", + "allOf": [ + { + "$ref": "#/definitions/ScriptExecutionParameter" + } + ], + "properties": { + "value": { + "type": "string", + "description": "The value for the passed parameter" + } + } + }, + "PSCredentialExecutionParameter": { + "type": "object", + "description": "a powershell credential object", + "x-ms-discriminator-value": "Credential", + "allOf": [ + { + "$ref": "#/definitions/ScriptExecutionParameter" + } + ], + "properties": { + "username": { + "description": "username for login", + "type": "string" + }, + "password": { + "description": "password for login", + "type": "string" + } + }, + "x-ms-secret": true + }, + "PrivateCloudIdentity": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of private cloud identity. This property will only be provided for a system assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID associated with the private cloud. This property will only be provided for a system assigned identity." + }, + "type": { + "type": "string", + "description": "The type of identity used for the private cloud. The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud.", + "enum": [ + "SystemAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": true + } + } + }, + "description": "Identity for the virtual machine." + }, + "ClusterZone": { + "type": "object", + "properties": { + "hosts": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "List of hosts belonging to the availability zone in a cluster" + }, + "zone": { + "readOnly": true, + "type": "string", + "description": "Availability zone identifier" + } + }, + "description": "Zone and associated hosts info" + }, + "ClusterZoneList": { + "type": "object", + "properties": { + "zones": { + "type": "array", + "description": "Zone and associated hosts info", + "items": { + "$ref": "#/definitions/ClusterZone" + }, + "x-ms-identifiers": [ + "zone" + ] + } + }, + "description": "List of all zones and associated hosts for a cluster" + } + } +} From 691dd771e6378609ce9806acb4b9b97b177db7e8 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 09:46:18 -0300 Subject: [PATCH 02/27] update readme --- .../vmware/resource-manager/readme.md | 56 +++++++++++++++++-- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 4341eb7a0891..695239d2dc31 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -24,6 +24,15 @@ openapi-type: arm tag: package-2023-03-01 ``` +### Tag: package-2023-09-01 + +These settings apply only when `--tag=package-2023-09-01` is specified on the command line. + +``` yaml $(tag) == 'package-2023-09-01' +input-file: +- Microsoft.AVS/stable/2023-09-01/vmware.json +``` + ### Tag: package-2023-03-01 These settings apply only when `--tag=package-2023-03-01` is specified on the command line. @@ -159,6 +168,12 @@ directive: - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].delete - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].delete + - transform: $["x-ms-client-flatten"] = false + from: vmware.json + where: + - $.definitions.Addon.properties.properties + - $.definitions.PlacementPolicy.properties.properties + - $.definitions.WorkloadNetworkDhcp.properties.properties ``` ### AutoRest v3 Suppressions @@ -239,10 +254,43 @@ suppressions: # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options from: vmware.json - # just warnings - # - code: IgnoredPropertyNextToRef - # - code: LroLocationHeader - # from: vmware.json + - code: XmsClientName + reason: false positives + from: vmware.json + + - code: XmsClientNameParameter + reason: this warning is false postive + from: vmware.json + + - code: docLinkLocale + reason: false positives + from: vmware.json + + - code: PropertiesTypeObjectNoDefinition + reason: false positives + from: vmware.json + + - code: LatestVersionOfCommonTypesMustBeUsed + reason: this warning is TODO + from: vmware.json + + - code: AvoidAdditionalProperties + reasons: this is how TypeSpec models records + from: vmware.json + + - code: XmsPageableForListCalls + reasons: This is a TypeSpec @singleton. + from: vmware.json + # where: WorkloadNetworks_Get + + - code: DeleteResponseCodes + reasons: false positives + # delete is ArmResourceDeleteAsync; + + - code: RequestBodyMustExistForPutPatch + reasons: false positives + # createOrUpdate is ArmResourceCreateOrUpdateAsync; + ``` ## TypeScript From bef45d3c929467a042058e678e63e7f212386ce3 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 09:50:42 -0300 Subject: [PATCH 03/27] add TypeSpec --- specification/vmware/Microsoft.AVS/main.tsp | 24 + specification/vmware/Microsoft.AVS/models.tsp | 2364 +++++++++++++++++ specification/vmware/Microsoft.AVS/routes.tsp | 985 +++++++ .../vmware/Microsoft.AVS/tspconfig.yaml | 19 + 4 files changed, 3392 insertions(+) create mode 100644 specification/vmware/Microsoft.AVS/main.tsp create mode 100644 specification/vmware/Microsoft.AVS/models.tsp create mode 100644 specification/vmware/Microsoft.AVS/routes.tsp create mode 100644 specification/vmware/Microsoft.AVS/tspconfig.yaml diff --git a/specification/vmware/Microsoft.AVS/main.tsp b/specification/vmware/Microsoft.AVS/main.tsp new file mode 100644 index 000000000000..fd80bf75cd33 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/main.tsp @@ -0,0 +1,24 @@ +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./routes.tsp"; + +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@armProviderNamespace("Microsoft.AVS") +@service({ + title: "Azure VMware Solution API", +}) +@doc("Azure VMware Solution API") +@versioned(Versions) +namespace Microsoft.AVS; + +@doc("Azure VMware Solution API versions.") +enum Versions { + @doc("Azure VMware Solution API version 2023-03-01.") + @useDependency(Azure.Core.Versions.v1_0_Preview_2) + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_09_01: "2023-09-01", +} diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp new file mode 100644 index 000000000000..fbb1043fde02 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -0,0 +1,2364 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using TypeSpec.OpenAPI; + +namespace Microsoft.AVS; + +@doc("trial status") +enum TrialStatus { + @doc("is available") + TrialAvailable, + + @doc("is used") + TrialUsed, + + @doc("is disabled") + TrialDisabled, +} + +@doc("quote enabled") +enum QuotaEnabled { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("private cloud provisioning state") +enum PrivateCloudProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is pending") + Pending, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("NSX public IP quota raised") +enum NsxPublicIpQuotaRaisedEnum { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Cluster provisioning state") +enum ClusterProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("Whether internet is enabled or disabled") +enum InternetEnum { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Whether SSL is enabled or disabled") +enum SslEnum { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Whether the private clouds is available in a single zone or two zones") +enum AvailabilityStrategy { + @doc("in single zone") + SingleZone, + + @doc("in two zones") + DualZone, +} + +@doc("Whether encryption is enabled or disabled") +enum EncryptionState { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Whether the the encryption key is connected or access denied") +enum EncryptionKeyStatus { + @doc("is connected") + Connected, + + @doc("is access denied") + AccessDenied, +} + +@doc("Whether the encryption version is fixed or auto-detected") +enum EncryptionVersionType { + @doc("is fixed") + Fixed, + + @doc("is auto-detected") + AutoDetected, +} + +@doc("datastore provisioning state") +enum DatastoreProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is pending") + Pending, + + @doc("is creating") + Creating, + + @doc("is updating") + Updating, + + @doc("is deleting") + Deleting, +} + +@doc("mount option") +enum MountOptionEnum { + @doc("is mount") + MOUNT, + + @doc("is attach") + ATTACH, +} + +@doc("datastore status") +enum DatastoreStatus { + @doc("is unknown") + Unknown, + + @doc("is accessible") + Accessible, + + @doc("is inaccessible") + Inaccessible, + + @doc("is attached") + Attached, + + @doc("is detached") + Detached, + + @doc("is lost communication") + LostCommunication, + + @doc("is dead or error") + DeadOrError, +} + +@doc("HCX Enterprise Site status") +enum HcxEnterpriseSiteStatus { + @doc("is available") + Available, + + @doc("is consumed") + Consumed, + + @doc("is deactivated") + Deactivated, + + @doc("is deleted") + Deleted, +} + +@doc("Express Route Circuit Authorization provisioning state") +enum ExpressRouteAuthorizationProvisioningState { + ...ResourceProvisioningState, + + @doc("is updating") + Updating, +} + +@doc("Global Reach Connection provisioning state") +enum GlobalReachConnectionProvisioningState { + ...ResourceProvisioningState, + + @doc("is updating") + Updating, +} + +@doc("Global Reach Connection status") +enum GlobalReachConnectionStatus { + @doc("is connected") + Connected, + + @doc("is connecting") + Connecting, + + @doc("is disconnected") + Disconnected, +} + +@doc("Segment status") +enum SegmentStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network Segment provisioning state") +enum WorkloadNetworkSegmentProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Workload Network DHCP provisioning state") +enum WorkloadNetworkDhcpProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Port Mirroring Direction") +enum PortMirroringDirectionEnum { + @doc("is ingress") + INGRESS, + + @doc("is egress") + EGRESS, + + @doc("is bidirectional") + BIDIRECTIONAL, +} + +@doc("Port Mirroring status") +enum PortMirroringStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network Port Mirroring provisioning state") +enum WorkloadNetworkPortMirroringProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("VM group status") +enum VMGroupStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network VM Group provisioning state") +enum WorkloadNetworkVMGroupProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("VM type") +enum VMTypeEnum { + @doc("is regular") + REGULAR, + + @doc("is edge") + EDGE, + + @doc("is service") + SERVICE, +} + +@doc("DNS service log level") +enum DnsServiceLogLevelEnum { + @doc("is debug") + DEBUG, + + @doc("is info") + INFO, + + @doc("is warning") + WARNING, + + @doc("is error") + ERROR, + + @doc("is fatal") + FATAL, +} + +@doc("DNS service status") +enum DnsServiceStatusEnum { + @doc("is success") + SUCCESS, + + @doc("is failure") + FAILURE, +} + +@doc("Workload Network DNS Service provisioning state") +enum WorkloadNetworkDnsServiceProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Workload Network DNS Zone provisioning state") +enum WorkloadNetworkDnsZoneProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Workload Network Public IP provisioning state") +enum WorkloadNetworkPublicIPProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Cloud Link status") +enum CloudLinkStatus { + @doc("is active") + Active, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is failed") + Failed, + + @doc("is disconnected") + Disconnected, +} + +@doc("Addon provisioning state") +enum AddonProvisioningState { + ...ResourceProvisioningState, + + @doc("is cancelled") + Cancelled, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("Virtual Machine Restrict Movement state") +enum VirtualMachineRestrictMovementState { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Placement Policy state") +enum PlacementPolicyState { + @doc("is enabled") + Enabled, + + @doc("is disabled") + Disabled, +} + +@doc("Placement Policy provisioning state") +enum PlacementPolicyProvisioningState { + ...WorkloadNetworkProvisioningState, +} + +@doc("Affinity Strength") +enum AffinityStrength { + @doc("is should") + Should, + + @doc("is must") + Must, +} + +@doc("Azure Hybrid Benefit type") +enum AzureHybridBenefitType { + @doc("is SqlHost") + SqlHost, + + @doc("is None") + None, +} + +@doc("Script Parameter types") +enum ScriptParameterTypes { + @doc("is string") + String, + + @doc("is secure string") + SecureString, + + @doc("is credential") + Credential, + + @doc("is int") + Int, + + @doc("is bool") + Bool, + + @doc("is float") + Float, +} + +@doc("Visibility Parameter") +enum VisibilityParameterEnum { + @doc("is visible") + Visible, + + @doc("is hidden") + Hidden, +} + +@doc("Optional Param") +enum OptionalParamEnum { + @doc("is optional") + Optional, + + @doc("is required") + Required, +} + +@doc("Script Execution provisioning state") +enum ScriptExecutionProvisioningState { + ...ResourceProvisioningState, + + @doc("is pending") + Pending, + + @doc("is running") + Running, + + @doc("is cancelling") + Cancelling, + + @doc("is cancelled") + Cancelled, + + @doc("is deleting") + Deleting, +} + +@doc("Script Output Stream type") +enum ScriptOutputStreamType { + @doc("is information") + Information, + + @doc("is warning") + Warning, + + @doc("is output") + Output, + + @doc("is error") + Error, +} + +@doc("Affinity type") +enum AffinityType { + @doc("is affinity") + Affinity, + + @doc("is anti-affinity") + AntiAffinity, +} + +@doc("Subscription trial availability") +model Trial { + @doc("Trial status") + @visibility("read") + status?: TrialStatus; + + @doc("Number of trial hosts available") + @visibility("read") + availableHosts?: int32; +} + +@doc("Subscription quotas") +model Quota { + @doc("Remaining hosts quota by sku type") + @visibility("read") + hostsRemaining?: Record; + + @doc("Host quota is active for current subscription") + @visibility("read") + quotaEnabled?: QuotaEnabled; +} + +@doc("A location resource") +@subscriptionResource +model Location is ProxyResource { + @doc("A location in a subscription") + @pattern("^[-\\w\\._]+$") + @key("location") + @path + @segment("locations") + name: string; +} + +@doc("location provisioning state") +enum LocationProvisioningState { + ...ResourceProvisioningState, +} + +@doc("The properties of a location resource") +model LocationProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: LocationProvisioningState; +} + +@doc("A private cloud resource") +model PrivateCloud is TrackedResource { + ...ArmTagsProperty; + ...ResourceSkuRequired; + ...ManagedSystemAssignedIdentity; + ...AvailabilityZones; + + @doc("Name of the private cloud") + @pattern("^[-\\w\\._]+$") + @key("privateCloudName") + @path + @segment("privateClouds") + name: string; +} + +@doc("Parameter for privatecloudName") +model PrivateCloudNameParameter { + @doc("Name of the private cloud") + @pattern("^[-\\w\\._]+$") + @path + privateCloudName: string; +} + +@doc("An update to a private cloud resource") +model PrivateCloudUpdate { + ...ArmTagsProperty; + ...ResourceSku; + ...ManagedSystemAssignedIdentity; + + @doc("The updatable properties of a private cloud resource") + @extension("x-ms-client-flatten", true) + properties?: PrivateCloudUpdateProperties; +} + +@doc("The properties of a private cloud resource that may be updated") +model PrivateCloudUpdateProperties { + ...DisplayNameProperty; + + @doc("The default cluster used for management") + managementCluster?: ManagementCluster; + + @doc("Connectivity to internet is enabled or disabled") + internet?: InternetEnum = InternetEnum.Disabled; + + @doc("vCenter Single Sign On Identity Sources") + identitySources?: IdentitySource[]; + + @doc("Properties describing how the cloud is distributed across availability zones") + @visibility("create", "read") + availability?: AvailabilityProperties; + + @doc("Customer managed key encryption, can be enabled or disabled") + encryption?: Encryption; + + @doc(""" +Array of additional networks noncontiguous with networkBlock. Networks must be +unique and non-overlapping across VNet in your subscription, on-premise, and +this privateCloud networkBlock attribute. Make sure the CIDR format conforms to +(A.B.C.D/X). +""") + extendedNetworkBlocks?: string[]; + + @doc("The type of DNS zone to use.") + dnsZoneType?: DnsZoneType; +} + +@doc("The properties of a private cloud resource") +model PrivateCloudProperties { + ...DisplayNameProperty; + + @doc("The default cluster used for management") + managementCluster: ManagementCluster; + + @doc("Connectivity to internet is enabled or disabled") + internet?: InternetEnum = InternetEnum.Disabled; + + @doc("vCenter Single Sign On Identity Sources") + identitySources?: IdentitySource[]; + + @doc("Properties describing how the cloud is distributed across availability zones") + @visibility("create", "read") + availability?: AvailabilityProperties; + + @doc("Customer managed key encryption, can be enabled or disabled") + encryption?: Encryption; + + @doc(""" +Array of additional networks noncontiguous with networkBlock. Networks must be +unique and non-overlapping across VNet in your subscription, on-premise, and +this privateCloud networkBlock attribute. Make sure the CIDR format conforms to +(A.B.C.D/X). +""") + extendedNetworkBlocks?: string[]; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: PrivateCloudProvisioningState; + + @doc("An ExpressRoute Circuit") + circuit?: Circuit; + + @doc("The endpoints") + @visibility("read") + endpoints?: Endpoints; + + @doc(""" +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 +""") + networkBlock: string; + + @doc("Network used to access vCenter Server and NSX-T Manager") + @visibility("read") + managementNetwork?: string; + + @doc("Used for virtual machine cold migration, cloning, and snapshot migration") + @visibility("read") + provisioningNetwork?: string; + + @doc("Used for live migration of virtual machines") + @visibility("read") + vmotionNetwork?: string; + + @doc("Optionally, set the vCenter admin password when the private cloud is created") + @secret + vcenterPassword?: string; + + @doc("Optionally, set the NSX-T Manager password when the private cloud is created") + @secret + nsxtPassword?: string; + + @doc("Thumbprint of the vCenter Server SSL certificate") + @visibility("read") + vcenterCertificateThumbprint?: string; + + @doc("Thumbprint of the NSX-T Manager SSL certificate") + @visibility("read") + nsxtCertificateThumbprint?: string; + + @doc("Array of cloud link IDs from other clouds that connect to this one") + @visibility("read") + externalCloudLinks?: string[]; + + @doc(""" +A secondary expressRoute circuit from a separate AZ. Only present in a +stretched private cloud +""") + secondaryCircuit?: Circuit; + + @doc(""" +Flag to indicate whether the private cloud has the quota for provisioned NSX +Public IP count raised from 64 to 1024 +""") + @visibility("read") + nsxPublicIpQuotaRaised?: NsxPublicIpQuotaRaisedEnum; + + @doc("Azure resource ID of the virtual network") + @visibility("create", "read") + virtualNetworkId?: ResourceIdentifier<[ + { + type: "\\Microsoft.Network\\vnet"; + } + ]>; + + @doc("The type of DNS zone to use.") + dnsZoneType?: DnsZoneType; +} + +@doc("An ExpressRoute Circuit") +model Circuit { + @doc("CIDR of primary subnet") + @visibility("read") + primarySubnet?: string; + + @doc("CIDR of secondary subnet") + @visibility("read") + secondarySubnet?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("Identifier of the ExpressRoute Circuit (Microsoft Colo only)") + @visibility("read") + expressRouteID?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("ExpressRoute Circuit private peering identifier") + @visibility("read") + expressRoutePrivatePeeringID?: string; +} + +@doc("Endpoint addresses") +model Endpoints { + @doc("Endpoint FQDN for the NSX-T Data Center manager") + @visibility("read") + nsxtManager?: string; + + @doc("Endpoint FQDN for Virtual Center Server Appliance") + @visibility("read") + vcsa?: string; + + @doc("Endpoint FQDN for the HCX Cloud Manager") + @visibility("read") + hcxCloudManager?: string; + + @doc("Endpoint IP for the NSX-T Data Center manager") + @visibility("read") + nsxtManagerIp?: string; + + @doc("Endpoint IP for Virtual Center Server Appliance") + @visibility("read") + vcenterIp?: string; + + @doc("Endpoint IP for the HCX Cloud Manager") + @visibility("read") + hcxCloudManagerIp?: string; +} + +@doc("The properties of a management cluster") +model ManagementCluster { + ...CommonClusterProperties; +} + +@doc("The common properties of a cluster") +model CommonClusterProperties { + ...DisplayNameProperty; + + @doc("The cluster size") + clusterSize?: int32; + + @doc("The state of the cluster provisioning") + @visibility("read") + provisioningState?: ClusterProvisioningState; + + @doc("The identity") + @visibility("read") + clusterId?: int32; + + @doc("The hosts") + hosts?: string[]; + + @doc("Name of the vsan datastore associated with the cluster") + vsanDatastoreName?: string; +} + +@doc("vCenter Single Sign On Identity Source") +model IdentitySource { + @doc("The name of the identity source") + name?: string; + + @doc("The domain's NetBIOS name") + `alias`?: string; + + @doc("The domain's dns name") + domain?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("The base distinguished name for users") + baseUserDN?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("The base distinguished name for groups") + baseGroupDN?: string; + + @doc("Primary server URL") + primaryServer?: string; + + @doc("Secondary server URL") + secondaryServer?: string; + + @doc("Protect LDAP communication using SSL certificate (LDAPS)") + ssl?: SslEnum; + + @doc(""" +The ID of an Active Directory user with a minimum of read-only access to Base +DN for users and group +""") + username?: string; + + @doc(""" +The password of the Active Directory user with a minimum of read-only access to +Base DN for users and groups. +""") + @secret + password?: string; +} + +@doc("The properties describing private cloud availability zone distribution") +model AvailabilityProperties { + @doc("The availability strategy for the private cloud") + strategy?: AvailabilityStrategy; + + @doc("The primary availability zone for the private cloud") + zone?: int32; + + @doc("The secondary availability zone for the private cloud") + secondaryZone?: int32; +} + +@doc("The properties of customer managed encryption key") +model Encryption { + @doc("Status of customer managed encryption key") + status?: EncryptionState; + + @doc("The key vault where the encryption key is stored") + keyVaultProperties?: EncryptionKeyVaultProperties; +} + +@doc("An Encryption Key") +model EncryptionKeyVaultProperties { + @doc("The name of the key.") + keyName?: string; + + @doc("The version of the key.") + keyVersion?: string; + + @doc("The auto-detected version of the key if versionType is auto-detected.") + @visibility("read") + autoDetectedKeyVersion?: string; + + @doc("The URL of the vault.") + keyVaultUrl?: string; + + @doc("The state of key provided") + @visibility("read") + keyState?: EncryptionKeyStatus; + + @doc("Property of the key if user provided or auto detected") + @visibility("read") + versionType?: EncryptionVersionType; +} + +@doc("A cluster resource") +@parentResource(PrivateCloud) +model Cluster is ProxyResource { + ...ResourceSkuRequired; + + @doc("Name of the cluster") + @pattern("^[-\\w\\._]+$") + @key("clusterName") + @path + @segment("clusters") + name: string; +} + +@doc("The properties of a cluster") +model ClusterProperties { + ...CommonClusterProperties; +} + +@doc("An update of a cluster resource") +model ClusterUpdate { + ...ResourceSku; + + @doc("The properties of a cluster resource that may be updated") + @extension("x-ms-client-flatten", true) + properties?: ClusterUpdateProperties; +} + +@doc("The properties of a cluster that may be updated") +model ClusterUpdateProperties { + ...DisplayNameProperty; + + @doc("The cluster size") + clusterSize?: int32; + + @doc("The hosts") + hosts?: string[]; + + @doc("Name of the vsan datastore associated with the cluster") + vsanDatastoreName?: string; +} + +@doc("List of all zones and associated hosts for a cluster") +model ClusterZoneList { + @doc("Zone and associated hosts info") + zones?: ClusterZone[]; +} + +@doc("Zone and associated hosts info") +model ClusterZone { + @doc("List of hosts belonging to the availability zone in a cluster") + @visibility("read") + hosts?: string[]; + + @doc("Availability zone identifier") + @visibility("read") + zone?: string; +} + +@doc("A datastore resource") +@parentResource(Cluster) +model Datastore is ProxyResource { + @doc("Name of the datastore") + @pattern("^[-\\w\\._]+$") + @key("datastoreName") + @path + @segment("datastores") + name: string; +} + +@doc("The properties of a datastore") +model DatastoreProperties { + @doc("The state of the datastore provisioning") + @visibility("read") + provisioningState?: DatastoreProvisioningState; + + @doc("An Azure NetApp Files volume") + netAppVolume?: NetAppVolume; + + @doc("An iSCSI volume") + diskPoolVolume?: DiskPoolVolume; + + @doc("An Elastic SAN volume") + elasticSanVolume?: ElasticSanVolume; + + @doc("The operational status of the datastore") + @visibility("read") + status?: DatastoreStatus; +} + +@doc("An Azure NetApp Files volume from Microsoft.NetApp provider") +model NetAppVolume { + @doc("Azure resource ID of the NetApp volume") + id: string; +} + +@doc("An iSCSI volume from Microsoft.StoragePool provider") +model DiskPoolVolume { + @doc("Azure resource ID of the iSCSI target") + targetId: string; + + @doc("Name of the LUN to be used for datastore") + lunName: string; + + @doc(""" +Mode that describes whether the LUN has to be mounted as a datastore or +attached as a LUN +""") + mountOption?: MountOptionEnum = MountOptionEnum.MOUNT; + + @doc("Device path") + @visibility("read") + path?: string; +} + +scalar ClusterResourceId + extends Azure.ResourceManager.ResourceIdentifier<[ + { + type: "Microsoft.ContainerService/managedClusters", + } + ]>; + +@doc("An Elastic SAN volume from Microsoft.ElasticSan provider") +model ElasticSanVolume { + @doc("Azure resource ID of the Elastic SAN Volume") + targetId: ResourceIdentifier<[ + { + type: "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes"; + } + ]>; +} + +@doc("Administrative credentials for accessing vCenter and NSX-T") +model AdminCredentials { + @doc("NSX-T Manager username") + @visibility("read") + nsxtUsername?: string; + + @doc("NSX-T Manager password") + @visibility("read") + @secret + nsxtPassword?: string; + + @doc("vCenter admin username") + @visibility("read") + vcenterUsername?: string; + + @doc("vCenter admin password") + @visibility("read") + @secret + vcenterPassword?: string; +} + +@doc("An HCX Enterprise Site resource") +@parentResource(PrivateCloud) +model HcxEnterpriseSite is ProxyResource { + @doc("Name of the HCX Enterprise Site") + @pattern("^[-\\w\\._]+$") + @key("hcxEnterpriseSiteName") + @path + @segment("hcxEnterpriseSites") + name: string; +} + +@doc("HCX Enterprise Site provisioning state") +enum HcxEnterpriseSiteProvisioningState { + ...ResourceProvisioningState, +} + +@doc("The properties of an HCX Enterprise Site") +model HcxEnterpriseSiteProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: HcxEnterpriseSiteProvisioningState; + + @doc("The activation key") + @visibility("read") + activationKey?: string; + + @doc("The status of the HCX Enterprise Site") + @visibility("read") + status?: HcxEnterpriseSiteStatus; +} + +@doc("ExpressRoute Circuit Authorization") +@parentResource(PrivateCloud) +model ExpressRouteAuthorization + is ProxyResource { + @doc("Name of the ExpressRoute Circuit Authorization") + @pattern("^[-\\w\\._]+$") + @key("authorizationName") + @path + @segment("authorizations") + name: string; +} + +@doc("The properties of an ExpressRoute Circuit Authorization resource") +model ExpressRouteAuthorizationProperties { + @doc("The state of the ExpressRoute Circuit Authorization provisioning") + @visibility("read") + provisioningState?: ExpressRouteAuthorizationProvisioningState; + + @doc("The ID of the ExpressRoute Circuit Authorization") + @visibility("read") + expressRouteAuthorizationId?: string; + + @doc("The key of the ExpressRoute Circuit Authorization") + @visibility("read") + expressRouteAuthorizationKey?: string; + + @doc("The ID of the ExpressRoute Circuit") + expressRouteId?: string; +} + +@doc("A global reach connection resource") +@parentResource(PrivateCloud) +model GlobalReachConnection is ProxyResource { + @doc("Name of the global reach connection") + @pattern("^[-\\w\\._]+$") + @key("globalReachConnectionName") + @path + @segment("globalReachConnections") + name: string; +} + +@doc("The properties of a global reach connection") +model GlobalReachConnectionProperties { + @doc("The state of the ExpressRoute Circuit Authorization provisioning") + @visibility("read") + provisioningState?: GlobalReachConnectionProvisioningState; + + @doc(""" +The network used for global reach carved out from the original network block +provided for the private cloud +""") + @visibility("read") + addressPrefix?: string; + + @doc(""" +Authorization key from the peer express route used for the global reach +connection +""") + authorizationKey?: string; + + @doc("The connection status of the global reach connection") + @visibility("read") + circuitConnectionStatus?: GlobalReachConnectionStatus; + + @doc(""" +Identifier of the ExpressRoute Circuit to peer with in the global reach +connection +""") + peerExpressRouteCircuit?: string; + + @doc(""" +The ID of the Private Cloud's ExpressRoute Circuit that is participating in the +global reach connection +""") + expressRouteId?: string; +} + +@doc("Workload Network") +@parentResource(PrivateCloud) +@singleton +model WorkloadNetwork is ProxyResource { + @doc("Name of the global reach connection") + @key("workloadNetworkName") + @path + @segment("workloadNetworks") + name: string; +} + +@doc("base Workload Network provisioning state") +enum WorkloadNetworkProvisioningState { + ...ResourceProvisioningState, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +@doc("The properties of a workload network") +model WorkloadNetworkProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: WorkloadNetworkProvisioningState; +} + +@doc("NSX Segment") +@parentResource(WorkloadNetwork) +model WorkloadNetworkSegment + is ProxyResource { + @doc("The ID of the NSX Segment") + @pattern("^[-\\w\\._]+$") + @key("segmentId") + @path + @segment("segments") + name: string; +} + +@doc("NSX Segment update") +model WorkloadNetworkSegmentUpdate { + @doc("The updatable properties of a Segment update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkSegmentProperties; +} + +@doc("NSX Segment Properties") +model WorkloadNetworkSegmentProperties { + @doc("Display name of the segment.") + displayName?: string; + + @doc("Gateway which to connect segment to.") + connectedGateway?: string; + + @doc("Subnet which to connect segment to.") + subnet?: WorkloadNetworkSegmentSubnet; + + @doc("Port Vif which segment is associated with.") + @visibility("read") + portVif?: WorkloadNetworkSegmentPortVif[]; + + @doc("Segment status.") + @visibility("read") + status?: SegmentStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkSegmentProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("Subnet configuration for segment") +model WorkloadNetworkSegmentSubnet { + @doc("DHCP Range assigned for subnet.") + dhcpRanges?: string[]; + + @doc("Gateway address.") + gatewayAddress?: string; +} + +@doc("Ports and any VIF attached to segment.") +model WorkloadNetworkSegmentPortVif { + @doc("Name of port or VIF attached to segment.") + portName?: string; +} + +@doc("NSX DHCP") +@parentResource(WorkloadNetwork) +model WorkloadNetworkDhcp is ProxyResource { + @doc("The ID of the DHCP configuration") + @pattern("^[-\\w\\._]+$") + @key("dhcpId") + @path + @segment("dhcpConfigurations") + name: string; +} + +@doc("Parameter for dhcpId") +model DhcpIdParameter { + @doc("The ID of the DHCP configuration") + @pattern("^[-\\w\\._]+$") + @path + dhcpId: string; +} + +@doc("NSX DHCP update") +model WorkloadNetworkDhcpUpdate { + @doc("The updatable properties of a DHCP update") + @extension("x-ms-client-flatten", false) + properties?: WorkloadNetworkDhcpEntity; +} + +@doc("Type of DHCP: SERVER or RELAY.") +union DhcpTypeEnum { + SERVER: "SERVER", + RELAY: "RELAY", + string, +} +@doc(""" +Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to +inherit from +""") +@discriminator("dhcpType") +model WorkloadNetworkDhcpEntity { + @doc("Type of DHCP: SERVER or RELAY.") + dhcpType: DhcpTypeEnum; + + @doc("Display name of the DHCP entity.") + displayName?: string; + + @doc("NSX Segments consuming DHCP.") + @visibility("read") + segments?: string[]; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkDhcpProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("NSX DHCP Server") +model WorkloadNetworkDhcpServer extends WorkloadNetworkDhcpEntity { + @doc("DHCP Server Address.") + serverAddress?: string; + + @doc("DHCP Server Lease Time.") + leaseTime?: int32; + + @doc("Type of DHCP: SERVER or RELAY.") + dhcpType: DhcpTypeEnum.SERVER; +} + +@doc("NSX DHCP Relay") +model WorkloadNetworkDhcpRelay extends WorkloadNetworkDhcpEntity { + @doc("DHCP Relay Addresses. Max 3.") + @minItems(1) + @maxItems(3) + serverAddresses?: string[]; + + @doc("Type of DHCP: SERVER or RELAY.") + dhcpType: DhcpTypeEnum.RELAY; +} + +@doc("NSX Gateway.") +@parentResource(WorkloadNetwork) +model WorkloadNetworkGateway + is ProxyResource { + @doc("The ID of the NSX Gateway") + @pattern("^[-\\w\\._]+$") + @key("gatewayId") + @path + @segment("gateways") + name: string; +} + +@doc("Properties of a NSX Gateway.") +model WorkloadNetworkGatewayProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: WorkloadNetworkProvisioningState; + + @doc("Display name of the DHCP entity.") + displayName?: string; + + @doc("NSX Gateway Path.") + @visibility("read") + path?: string; +} + +@doc("NSX Port Mirroring") +@parentResource(WorkloadNetwork) +model WorkloadNetworkPortMirroring + is ProxyResource { + @doc("ID of the NSX port mirroring profile.") + @pattern("^[-\\w\\._]+$") + @key("portMirroringId") + @path + @segment("portMirroringProfiles") + name: string; +} + +@doc("Parameter for portMirroringId") +model PortMirroringProfileParameter { + @doc("ID of the NSX port mirroring profile.") + @pattern("^[-\\w\\._]+$") + @path + portMirroringId: string; +} + +@doc("NSX Port Mirroring update") +model WorkloadNetworkPortMirroringUpdate { + @doc("The updatable properties of a Port Mirroring update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkPortMirroringProperties; +} + +@doc("NSX Port Mirroring Properties") +model WorkloadNetworkPortMirroringProperties { + @doc("Display name of the port mirroring profile.") + displayName?: string; + + @doc("Direction of port mirroring profile.") + direction?: PortMirroringDirectionEnum; + + @doc("Source VM Group.") + source?: string; + + @doc("Destination VM Group.") + destination?: string; + + @doc("Port Mirroring Status.") + @visibility("read") + status?: PortMirroringStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkPortMirroringProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX VM Group") +@parentResource(WorkloadNetwork) +model WorkloadNetworkVMGroup + is ProxyResource { + @doc("ID of the VM group.") + @pattern("^[-\\w\\._]+$") + @key("vmGroupId") + @path + @segment("vmGroups") + name: string; +} + +@doc("Parameter for vmGroupId") +model VmGroupIdParameter { + @doc("ID of the VM group.") + @pattern("^[-\\w\\._]+$") + @path + vmGroupId: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX VM Group update") +model WorkloadNetworkVMGroupUpdate { + @doc("The updatable properties of a VM Group update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkVMGroupProperties; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX VM Group Properties") +model WorkloadNetworkVMGroupProperties { + @doc("Display name of the VM group.") + displayName?: string; + + @doc("Virtual machine members of this group.") + members?: string[]; + + @doc("VM Group status.") + @visibility("read") + status?: VMGroupStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkVMGroupProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("NSX Virtual Machine") +@parentResource(WorkloadNetwork) +model WorkloadNetworkVirtualMachine + is ProxyResource { + @doc("ID of the virtual machine.") + @pattern("^[-\\w\\._]+$") + @key("virtualMachineId") + @path + @segment("virtualMachines") + name: string; +} + +@doc("NSX Virtual Machine Properties") +model WorkloadNetworkVirtualMachineProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: WorkloadNetworkProvisioningState; + + @doc("Display name of the VM.") + displayName?: string; + + @doc("Virtual machine type.") + @visibility("read") + vmType?: VMTypeEnum; +} + +@doc("NSX DNS Service") +@parentResource(WorkloadNetwork) +model WorkloadNetworkDnsService + is ProxyResource { + @doc("ID of the DNS service.") + @pattern("^[-\\w\\._]+$") + @key("dnsServiceId") + @path + @segment("dnsServices") + name: string; +} + +@doc("Parameter for dnsServiceId") +model DnsServiceIdParameter { + @doc("ID of the DNS service.") + @pattern("^[-\\w\\._]+$") + @path + dnsServiceId: string; +} + +@doc("NSX DNS Service update") +model WorkloadNetworkDnsServiceUpdate { + @doc("The updatable properties of a DNS Service update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkDnsServiceProperties; +} + +@doc("NSX DNS Service Properties") +model WorkloadNetworkDnsServiceProperties { + @doc("Display name of the DNS Service.") + displayName?: string; + + @doc("DNS service IP of the DNS Service.") + dnsServiceIp?: string; + + @doc("Default DNS zone of the DNS Service.") + defaultDnsZone?: string; + + @doc("FQDN zones of the DNS Service.") + fqdnZones?: string[]; + + @doc("DNS Service log level.") + logLevel?: DnsServiceLogLevelEnum; + + @doc("DNS Service status.") + @visibility("read") + status?: DnsServiceStatusEnum; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkDnsServiceProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +@doc("NSX DNS Zone") +@parentResource(WorkloadNetwork) +model WorkloadNetworkDnsZone + is ProxyResource { + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @key("dnsZoneId") + @path + @segment("dnsZones") + name: string; +} + +@doc("Parameter for dnsZoneId") +model DnsZoneIdParameter { + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @path + dnsZoneId: string; +} + +@doc("NSX DNS Zone update") +model WorkloadNetworkDnsZoneUpdate { + @doc("The updatable properties of a DNS Zone update") + @extension("x-ms-client-flatten", true) + properties?: WorkloadNetworkDnsZoneProperties; +} + +@doc("NSX DNS Zone Properties") +model WorkloadNetworkDnsZoneProperties { + @doc("Display name of the DNS Zone.") + displayName?: string; + + @doc("Domain names of the DNS Zone.") + domain?: string[]; + + @doc("DNS Server IP array of the DNS Zone.") + dnsServerIps?: string[]; + + @doc("Source IP of the DNS Zone.") + sourceIp?: string; + + @doc("Number of DNS Services using the DNS zone.") + dnsServices?: int32; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkDnsZoneProvisioningState; + + @doc("NSX revision number.") + revision?: int64; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX Public IP Block") +@parentResource(WorkloadNetwork) +model WorkloadNetworkPublicIP + is ProxyResource { + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @key("publicIPId") + @path + @segment("publicIPs") + name: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("Parameter for publicIPId") +model PublicIPIdParameter { + #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." + @doc("ID of the DNS zone.") + @pattern("^[-\\w\\._]+$") + @path + publicIPId: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("NSX Public IP Block Properties") +model WorkloadNetworkPublicIPProperties { + @doc("Display name of the Public IP Block.") + displayName?: string; + + @doc("Number of Public IPs requested.") + numberOfPublicIPs?: int64; + + @doc("CIDR Block of the Public IP Block.") + @visibility("read") + publicIPBlock?: string; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: WorkloadNetworkPublicIPProvisioningState; +} + +@doc("A cloud link resource") +@parentResource(PrivateCloud) +model CloudLink is ProxyResource { + @doc("Name of the cloud link.") + @pattern("^[-\\w\\._]+$") + @key("cloudLinkName") + @path + @segment("cloudLinks") + name: string; +} + +@doc("cloud link provisioning state") +enum CloudLinkProvisioningState { + ...ResourceProvisioningState, +} + +@doc("The properties of a cloud link.") +model CloudLinkProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: CloudLinkProvisioningState; + + @doc("The state of the cloud link.") + @visibility("read") + status?: CloudLinkStatus; + + @doc("Identifier of the other private cloud participating in the link.") + linkedCloud?: string; +} + +@doc("An addon resource") +@parentResource(PrivateCloud) +model Addon is ProxyResource { + @doc("Name of the addon.") + @pattern("^[-\\w\\._]+$") + @key("addonName") + @path + @segment("addons") + name: string; +} + +@doc("Addon type") +union AddonType { + SRM: "SRM", + VR: "VR", + HCX: "HCX", + Arc: "Arc", + string, +} + +@doc("The properties of an addon") +@discriminator("addonType") +model AddonProperties { + @doc("Addon type") + addonType: AddonType; + + @doc("The state of the addon provisioning") + @visibility("read") + provisioningState?: AddonProvisioningState; +} + +@doc("Virtual Machine") +@parentResource(Cluster) +model VirtualMachine is ProxyResource { + @doc("ID of the virtual machine.") + @pattern("^[-\\w\\._]+$") + @key("virtualMachineId") + @path + @segment("virtualMachines") + name: string; +} + +@doc("Virtual Machine provisioning state") +enum VirtualMachineProvisioningState { + ...ResourceProvisioningState, +} + +@doc("Virtual Machine Properties") +model VirtualMachineProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: VirtualMachineProvisioningState; + + @doc("Display name of the VM.") + @visibility("read") + displayName?: string; + + @doc("Virtual machine managed object reference id") + @visibility("read") + moRefId?: string; + + @doc("Path to virtual machine's folder starting from datacenter virtual machine folder") + @visibility("read") + folderPath?: string; + + @doc("Whether VM DRS-driven movement is restricted (enabled) or not (disabled)") + @visibility("read") + restrictMovement?: VirtualMachineRestrictMovementState; +} + +@doc("Set VM DRS-driven movement to restricted (enabled) or not (disabled)") +model VirtualMachineRestrictMovement { + @doc("Whether VM DRS-driven movement is restricted (enabled) or not (disabled)") + restrictMovement?: VirtualMachineRestrictMovementState; +} + +@doc("A vSphere Distributed Resource Scheduler (DRS) placement policy") +@parentResource(Cluster) +model PlacementPolicy is ProxyResource { + @doc("Name of the placement policy.") + @pattern("^[-\\w\\._]+$") + @key("placementPolicyName") + @path + @segment("placementPolicies") + name: string; +} + +@doc("Placement Policy type") +union PlacementPolicyType { + VmVm: "VmVm", + VmHost: "VmHost", + string, +} + +@doc("Abstract placement policy properties") +@discriminator("type") +model PlacementPolicyProperties { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" + @doc("Placement Policy type") + type: PlacementPolicyType; + + @doc("Whether the placement policy is enabled or disabled") + state?: PlacementPolicyState; + + @doc("Display name of the placement policy") + displayName?: string; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: PlacementPolicyProvisioningState; +} + +@doc("An update of a DRS placement policy resource") +model PlacementPolicyUpdate { + @doc("The properties of a placement policy resource that may be updated") + @extension("x-ms-client-flatten", true) + properties?: PlacementPolicyUpdateProperties; +} + +@doc("The properties of a placement policy resource that may be updated") +model PlacementPolicyUpdateProperties { + @doc("Whether the placement policy is enabled or disabled") + state?: PlacementPolicyState; + + @doc("Virtual machine members list") + vmMembers?: string[]; + + @doc("Host members list") + hostMembers?: string[]; + + @doc("vm-host placement policy affinity strength (should/must)") + affinityStrength?: AffinityStrength; + + @doc("placement policy azure hybrid benefit opt-in type") + azureHybridBenefitType?: AzureHybridBenefitType; +} + +@doc("Script Package resources available for execution") +@parentResource(PrivateCloud) +model ScriptPackage is ProxyResource { + @doc("Name of the script package.") + @pattern("^[-\\w\\._@]+$") + @key("scriptPackageName") + @path + @segment("scriptPackages") + name: string; +} + +@doc("Script Package provisioning state") +enum ScriptPackageProvisioningState { + ...ResourceProvisioningState, +} + +@doc("Properties of a Script Package subresource") +model ScriptPackageProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: ScriptPackageProvisioningState; + + @doc("User friendly description of the package") + @visibility("read") + description?: string; + + @doc("Module version") + @visibility("read") + version?: string; + + @doc("Company that created and supports the package") + @visibility("read") + company?: string; + + @doc("Link to support by the package vendor") + @visibility("read") + uri?: string; +} + +@doc("A cmdlet available for script execution") +@parentResource(ScriptPackage) +model ScriptCmdlet is ProxyResource { + @doc("Name of the script cmdlet.") + @pattern("^[-\\w\\._]+$") + @key("scriptCmdletName") + @path + @segment("scriptCmdlets") + name: string; +} + +@doc("A script cmdlet provisioning state") +enum ScriptCmdletProvisioningState { + ...ResourceProvisioningState, +} + +@doc("Properties of a pre-canned script") +model ScriptCmdletProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: ScriptCmdletProvisioningState; + + @doc("Description of the scripts functionality") + @visibility("read") + description?: string; + + @doc("Recommended time limit for execution") + @visibility("read") + timeout?: string; + + @doc("Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers") + @visibility("read") + audience: ScriptCmdletAudience; + + @doc("Parameters the script will accept") + @visibility("read") + parameters?: ScriptParameter[]; +} + +@doc("Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers") +enum ScriptCmdletAudience { + @doc("is automation") + Automation, + + @doc("is any") + Any, +} + +@doc("An parameter that the script will accept") +model ScriptParameter { + @doc(""" +The type of parameter the script is expecting. psCredential is a +PSCredentialObject +""") + @visibility("read") + type?: ScriptParameterTypes; + + @doc("The parameter name that the script will expect a parameter value for") + name?: string; + + @doc("User friendly description of the parameter") + @visibility("read") + description?: string; + + @doc(""" +Should this parameter be visible to arm and passed in the parameters argument +when executing +""") + @visibility("read") + visibility?: VisibilityParameterEnum; + + @doc("Is this parameter required or optional") + @visibility("read") + optional?: OptionalParamEnum; +} + +@doc("An instance of a script executed by a user - custom or AVS") +@parentResource(PrivateCloud) +model ScriptExecution is ProxyResource { + @doc("Name of the script cmdlet.") + @pattern("^[-\\w\\._]+$") + @key("scriptExecutionName") + @path + @segment("scriptExecutions") + name: string; +} + +@doc("Properties of a user-invoked script") +model ScriptExecutionProperties { + @doc("A reference to the script cmdlet resource if user is running a AVS script") + scriptCmdletId?: string; + + @doc("Parameters the script will accept") + parameters?: ScriptExecutionParameter[]; + + @doc(""" +Parameters that will be hidden/not visible to ARM, such as passwords and +credentials +""") + hiddenParameters?: ScriptExecutionParameter[]; + + @doc(""" +Error message if the script was able to run, but if the script itself had +errors or powershell threw an exception +""") + failureReason?: string; + + @doc("Time limit for execution") + timeout: string; + + @doc("Time to live for the resource. If not provided, will be available for 60 days") + retention?: string; + + @doc("Time the script execution was submitted") + @visibility("read") + submittedAt?: utcDateTime; + + @doc("Time the script execution was started") + @visibility("read") + startedAt?: utcDateTime; + + @doc("Time the script execution was finished") + @visibility("read") + finishedAt?: utcDateTime; + + @doc("The state of the script execution resource") + @visibility("read") + provisioningState?: ScriptExecutionProvisioningState; + + @doc("Standard output stream from the powershell execution") + output?: string[]; + + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "It is unknown." + @doc("User-defined dictionary.") + namedOutputs?: Record<{}>; + + @doc("Standard information out stream from the powershell execution") + @visibility("read") + information?: string[]; + + @doc("Standard warning out stream from the powershell execution") + @visibility("read") + warnings?: string[]; + + @doc("Standard error output stream from the powershell execution") + @visibility("read") + errors?: string[]; +} + +@doc("script execution parameter type") +union ScriptExecutionParameterType { + Value: "Value", + SecureValue: "SecureValue", + Credential: "Credential", + string, +} + +@doc("The arguments passed in to the execution") +@discriminator("type") +model ScriptExecutionParameter { + @doc("script execution parameter type") + type: ScriptExecutionParameterType; + + @doc("The parameter name") + name: string; +} + +@doc("The properties of a Site Recovery Manager (SRM) addon") +model AddonSrmProperties extends AddonProperties { + @doc("The Site Recovery Manager (SRM) license") + licenseKey?: string; + + @doc("The type of private cloud addon") + addonType: AddonType.SRM; +} + +@doc("The properties of a vSphere Replication (VR) addon") +model AddonVrProperties extends AddonProperties { + @doc("The vSphere Replication Server (VRS) count") + vrsCount: int32; + + @doc("The type of private cloud addon") + addonType: AddonType.VR; +} + +@doc("The properties of an HCX addon") +model AddonHcxProperties extends AddonProperties { + @doc("The HCX offer, example VMware MaaS Cloud Provider (Enterprise)") + offer: string; + + @doc("The type of private cloud addon") + addonType: AddonType.HCX; +} + +@doc("The properties of an Arc addon") +model AddonArcProperties extends AddonProperties { + @doc("The VMware vCenter resource ID") + vCenter?: string; + + @doc("The type of private cloud addon") + addonType: AddonType.Arc; +} + +@doc("VM-VM placement policy properties") +model VmVmPlacementPolicyProperties extends PlacementPolicyProperties { + @doc("Virtual machine members list") + vmMembers: string[]; + + @doc("placement policy affinity type") + affinityType: AffinityType; + + @doc("placement policy type") + type: PlacementPolicyType.VmVm; +} + +@doc("VM-Host placement policy properties") +model VmHostPlacementPolicyProperties extends PlacementPolicyProperties { + @doc("Virtual machine members list") + vmMembers: string[]; + + @doc("Host members list") + hostMembers: string[]; + + @doc("placement policy affinity type") + affinityType: AffinityType; + + @doc("vm-host placement policy affinity strength (should/must)") + affinityStrength?: AffinityStrength; + + @doc("placement policy azure hybrid benefit opt-in type") + azureHybridBenefitType?: AzureHybridBenefitType; + + @doc("placement policy type") + type: PlacementPolicyType.VmHost; +} + +@doc("a plain text value execution parameter") +model ScriptSecureStringExecutionParameter extends ScriptExecutionParameter { + @doc("A secure value for the passed parameter, not to be stored in logs") + @secret + secureValue?: string; + + @doc("The type of execution parameter") + type: ScriptExecutionParameterType.SecureValue; +} + +@doc("a plain text value execution parameter") +model ScriptStringExecutionParameter extends ScriptExecutionParameter { + @doc("The value for the passed parameter") + value?: string; + + @doc("The type of execution parameter") + type: ScriptExecutionParameterType.Value; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." +@doc("a powershell credential object") +model PSCredentialExecutionParameter extends ScriptExecutionParameter { + @doc("username for login") + username?: string; + + @doc("password for login") + @secret + password?: string; + + @doc("The type of execution parameter") + type: "Credential"; +} + +@doc("The display name property envelope") +model DisplayNameProperty { + @doc("Display name of the resource.") + displayName?: string; +} + +// https://github.com/Azure/typespec-azure/issues/3856 +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" +@doc("Availability zones envelope.") +model AvailabilityZones { + @doc("The availability zones.") + zones?: string[]; +} + +@doc("The type of DNS zone.") +enum DnsZoneType { + @doc("Primary DNS zone.") + Public, + + @doc("Private DNS zone.") + Private, +} + +@doc("A provisioned network resource") +@parentResource(PrivateCloud) +model ProvisionedNetwork is ProxyResource { + @doc("Name of the cloud link.") + @pattern("^[-\\w\\._]+$") + @key("provisionedNetworkName") + @path + @segment("provisionedNetworks") + name: string; +} + +@doc("provisioned network provisioning state") +enum ProvisionedNetworkProvisioningState { + ...ResourceProvisioningState, +} + +@doc("The properties of a provisioned network.") +model ProvisionedNetworkProperties { + @doc("The provisioning state of the resource.") + @visibility("read") + provisioningState?: CloudLinkProvisioningState; + + @doc("The address prefixes of the provisioned network in CIDR notation.") + @visibility("read") + addressPrefix?: string; + + @doc("The type of network provisioned.") + @visibility("read") + networkType?: ProvisionedNetworkTypes; +} + +@doc("The type of network provisioned.") +enum ProvisionedNetworkTypes { + @doc("network for ESX management") + esxManagement, + + @doc("network for ESX replication") + esxReplication, + + @doc("network for HCX management") + hcxManagement, + + @doc("network for HCX uplink") + hcxUplink, + + @doc("network for vCenter management") + vcenterManagement, + + @doc("network for vmotion") + vmotion, + + @doc("network for vsan") + vsan, +} + +@doc("A cluster resource") +@parentResource(PrivateCloud) +model Maintenance is ProxyResource { + @doc("Name of the maintenance") + @pattern("^[-\\w\\._]+$") + @key("maintenanceName") + @path + @segment("maintenances") + name: string; +} + +@doc("status filter for the maintenance") +enum MaintenanceStatusFilter { + @doc("is active") + Active, + + @doc("is inactive") + Inactive, +} + +@doc("provisioning state of the maintenance") +enum MaintenanceProvisioningState { + ...ResourceProvisioningState, + + @doc("is updating") + Updating, +} + +@doc("type of the maintenance") +enum MaintenanceType { + @doc("maintenance for vCenter Server Appliance") + VCSA, + + @doc("maintenance for ESXi") + ESXI, + + @doc("maintenance for NSX-T") + NSXT, +} + +@doc("state of the maintenance") +model MaintenanceState { + @doc("stage of the maintenance") + stage?: MaintenanceStage; + + @doc("state of the maintenance stage") + stageStatus?: MaintenanceStageStatus; + + @doc("Failure/Success info") + message?: string; + + @doc("Time when current state started") + startedAt?: utcDateTime; + + @doc("Time when current state ended") + endedAt?: utcDateTime; +} + +@doc("stage of the maintenance") +enum MaintenanceStage { + @doc("is creation") + Creation, + + @doc("id customer approval") + CustomerApproval, + + @doc("is pre-check") + PreCheck, + + @doc("is execution") + Execution, + + @doc("is reschedule") + Reschedule, + + @doc("is cancellation") + Cancellation, +} + +@doc("status of the maintenance") +enum MaintenanceStageStatus { + @doc("is not started") + NotStarted, + + @doc("is in progress") + InProgress, + + @doc("is succeeded") + Succeeded, + + @doc("is failed") + Failed, +} + +@doc("Constraints for rescheduling maintenance") +model MaintenanceRescheduleConstraints { + @doc("Deadline for upgrade") + @visibility("read") + deadline?: utcDateTime; + + @doc("Freeze days") + @visibility("read") + freezeDays: plainDate[]; +} + +@doc("properties of a maintenance") +model MaintenanceProperties { + @doc("type of maintenance") + @visibility("read") + component?: MaintenanceType; + + @doc("Display name for maintenance") + @visibility("read") + displayName?: string; + + @doc("Cluster ID for on which maintenance will be applied. Empty if maintenance is at private cloud level") + @visibility("read") + clusterId?: int32; + + @doc("Link to maintenance info") + @visibility("read") + infoLink?: string; + + @doc("Impact on the resource during maintenance period") + @visibility("read") + impact?: string; + + @doc("The state of the maintenance") + @visibility("read") + state?: MaintenanceState; + + @doc("Scheduled maintenance start time") + @visibility("read") + scheduledStartTime?: utcDateTime; + + @doc("Estimated time maintenance will take in minutes") + @visibility("read") + estimatedDurationInMinutes?: int64; + + @doc("The provisioning state") + @visibility("read") + provisioningState?: MaintenanceProvisioningState; + + @doc("Constraints for rescheduling maintenance") + @visibility("read") + rescheduleConstraints?: MaintenanceRescheduleConstraints; +} + +@doc("reschedule a maintenance") +model MaintenanceReschedule { + @doc("reschedule time") + rescheduleTime?: utcDateTime; + + @doc("rescheduling reason") + message?: string; +} +@doc("An iSCSI path resource") +@parentResource(PrivateCloud) +@singleton +model IscsiPath is ProxyResource { + @doc("Name of the iSCSI path resource") + @key("iscsiPathName") + @path + @segment("iscsiPaths") + name: string; +} + +@doc("The properties of an iSCSI path resource") +model IscsiPathProperties { + @doc("The state of the iSCSI path provisioning") + @visibility("read") + provisioningState?: IscsiPathProvisioningState; + + @doc("CIDR Block for iSCSI path.") + @visibility("create", "read") + networkBlock: string; +} + +@doc("private cloud provisioning state") +enum IscsiPathProvisioningState { + ...ResourceProvisioningState, + + @doc("is pending") + Pending, + + @doc("is building") + Building, + + @doc("is deleting") + Deleting, + + @doc("is updating") + Updating, +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" +@doc("The SKU (Stock Keeping Unit) assigned to this resource.") +model ResourceSkuRequired { + @doc("The SKU (Stock Keeping Unit) assigned to this resource.") + sku: ResourceSkuType; +} diff --git a/specification/vmware/Microsoft.AVS/routes.tsp b/specification/vmware/Microsoft.AVS/routes.tsp new file mode 100644 index 000000000000..0d09dac4a2ac --- /dev/null +++ b/specification/vmware/Microsoft.AVS/routes.tsp @@ -0,0 +1,985 @@ +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using OpenAPI; + +namespace Microsoft.AVS; + +interface Operations extends Azure.ResourceManager.Operations {} + +@armResourceOperations +interface Locations { + @doc("Return trial status for subscription by region") + @armResourceAction(Location) + checkTrialAvailability( + ...ResourceInstanceParameters, + + @doc("Optionally, check for a specific SKU") + @body + sku?: ResourceSkuType, + ): ArmResponse | ErrorResponse; + + @doc("Return quota for subscription by region") + @armResourceAction(Location) + @post + checkQuotaAvailability( + ...ResourceInstanceParameters, + ): ArmResponse | ErrorResponse; +} + +@armResourceOperations +interface PrivateClouds { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("PrivateClouds_List") + list is ArmResourceListByParent; + + listInSubscription is ArmListBySubscription; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + // This could be modeled with ArmCustomPatchAsync if a 202 response with no body is used instead of a 201. + // update is ArmCustomPatchAsync; + @doc("Update a PrivateCloud") + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + @armResourceUpdate(PrivateCloud) + @patch + update( + ...ResourceInstanceParameters, + + @body + @doc("The private cloud properties to be updated.") + privateCloudUpdate: PrivateCloudUpdate, + ): ArmResponse | { + // @doc("Resource update request created.") + ...CreatedResponse; + + ...Azure.Core.Foundations.RetryAfterHeader; + ...LocationHeader; + + @body + @doc("The updated private cloud.") + placementPolicy: PrivateCloud; + } | ErrorResponse; + + delete is ArmResourceDeleteAsync; + + @doc("Rotate the vCenter password") + rotateVcenterPassword is ArmResourceActionNoContentAsyncNoRequestBody; + + @doc("Rotate the NSX-T Manager password") + rotateNsxtPassword is ArmResourceActionNoContentAsyncNoRequestBody; + + @doc("List the admin credentials for the private cloud") + listAdminCredentials is ArmResourceActionSyncNoRequestBody< + PrivateCloud, + AdminCredentials + >; +} + +@@projectedName(PrivateClouds.createOrUpdate::parameters.resource, + "json", + "privateCloud" +); +@@OpenAPI.extension(PrivateClouds.createOrUpdate::parameters.resource, + "x-ms-client-name", + "privateCloud" +); + +@armResourceOperations +interface Clusters { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Clusters_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + // This could be modeled with ArmCustomPatchAsync if a 202 response with no body is used instead of a 201. + // update is ArmCustomPatchAsync; + @doc("Update a Cluster") + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + @armResourceUpdate(Cluster) + @patch + update( + ...ResourceInstanceParameters, + + @body + @doc("The cluster properties to be updated.") + clusterUpdate: ClusterUpdate, + ): ArmResponse | { + // @doc("Resource update request created.") + ...CreatedResponse; + + ...Azure.Core.Foundations.RetryAfterHeader; + ...LocationHeader; + + @body + @doc("The updated cluster.") + cluster: Cluster; + } | ErrorResponse; + + delete is ArmResourceDeleteAsync; + + @doc("List hosts by zone in a cluster") + listZones is ArmResourceActionSyncNoRequestBody; +} + +@@projectedName(Clusters.createOrUpdate::parameters.resource, + "json", + "cluster" +); +@@OpenAPI.extension(Clusters.createOrUpdate::parameters.resource, + "x-ms-client-name", + "cluster" +); + +@armResourceOperations +interface Datastores { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Datastores_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + delete is ArmResourceDeleteAsync; +} + +@@projectedName(Datastores.createOrUpdate::parameters.resource, + "json", + "datastore" +); +@@OpenAPI.extension(Datastores.createOrUpdate::parameters.resource, + "x-ms-client-name", + "datastore" +); + +@armResourceOperations +interface HcxEnterpriseSites { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("HcxEnterpriseSites_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrReplaceSync; + + delete is ArmResourceDeleteSync; +} + +@@projectedName(HcxEnterpriseSites.createOrUpdate::parameters.resource, + "json", + "hcxEnterpriseSite" +); +@@OpenAPI.extension(HcxEnterpriseSites.createOrUpdate::parameters.resource, + "x-ms-client-name", + "hcxEnterpriseSite" +); + +@armResourceOperations +interface Authorizations { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Authorizations_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync< + ExpressRouteAuthorization, + BaseParameters + >; + + delete is ArmResourceDeleteAsync; +} + +@@projectedName(Authorizations.createOrUpdate::parameters.resource, + "json", + "authorization" +); +@@OpenAPI.extension(Authorizations.createOrUpdate::parameters.resource, + "x-ms-client-name", + "authorization" +); + +@armResourceOperations +interface GlobalReachConnections { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("GlobalReachConnections_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + delete is ArmResourceDeleteAsync; +} + +@@projectedName(GlobalReachConnections.createOrUpdate::parameters.resource, + "json", + "globalReachConnection" +); +@@OpenAPI.extension(GlobalReachConnections.createOrUpdate::parameters.resource, + "x-ms-client-name", + "globalReachConnection" +); + +@armResourceOperations +interface WorkloadNetworks { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_Get") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_List") + list is ArmResourceListByParent; +} + +@armResourceOperations +interface WorkloadNetworkSegments { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListSegments") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetSegment") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateSegments") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateSegments") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkSegment, + WorkloadNetworkSegmentUpdate + >; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteSegment") + deleteSegment is ArmResourceDeleteAsync; +} + +@@projectedName(WorkloadNetworkSegments.create::parameters.resource, + "json", + "workloadNetworkSegment" +); +@@OpenAPI.extension(WorkloadNetworkSegments.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkSegment" +); + +@@projectedName(WorkloadNetworkSegments.update::parameters.properties, + "json", + "workloadNetworkSegment" +); +@@OpenAPI.extension(WorkloadNetworkSegments.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkSegment" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +// @armResourceOperations +interface WorkloadNetworkDhcpConfigurations { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListDhcp") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DhcpIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetDhcp") + // get is ArmResourceRead; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") + @doc("Get a {name}", WorkloadNetworkDhcp) + @get + get( + ...BaseParameters, + ...DhcpIdParameter, + ...PrivateCloudNameParameter, + ): ArmResponse | ErrorResponse; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateDhcp") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateDhcp") + update is ArmCustomPatchAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteDhcp") + delete is ArmResourceDeleteAsync; +} + +@@projectedName(WorkloadNetworkDhcpConfigurations.create::parameters.resource, + "json", + "workloadNetworkDhcp" +); +@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkDhcp" +); + +@@projectedName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "json", + "workloadNetworkDhcp" +); +@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDhcp" +); + +@@projectedName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "json", + "workloadNetworkDhcp" +); +@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDhcp" +); + +@armResourceOperations +interface WorkloadNetworkGateways { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListGateways") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetGateway") + get is ArmResourceRead; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network Port Mirroring Profiles") +interface WorkloadNetworkPortMirroringProfiles { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListPortMirroring") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetPortMirroring") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreatePortMirroring") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdatePortMirroring") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkPortMirroring, + WorkloadNetworkPortMirroringUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "PortMirroringProfileParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeletePortMirroring") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") + @doc("Delete a {name}", WorkloadNetworkPortMirroring) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...PortMirroringProfileParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkPortMirroringProfiles.create::parameters.resource, + "json", + "workloadNetworkPortMirroring" +); +@@OpenAPI.extension(WorkloadNetworkPortMirroringProfiles.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkPortMirroring" +); + +@@projectedName(WorkloadNetworkPortMirroringProfiles.update::parameters.properties, + "json", + "workloadNetworkPortMirroring" +); +@@OpenAPI.extension(WorkloadNetworkPortMirroringProfiles.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkPortMirroring" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network VM Groups") +interface WorkloadNetworkVmGroups { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListVMGroups") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetVMGroup") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateVMGroup") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateVMGroup") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkVMGroup, + WorkloadNetworkVMGroupUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "VmGroupIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteVMGroup") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") + @doc("Delete a {name}", WorkloadNetworkVMGroup) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...VmGroupIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkVmGroups.create::parameters.resource, + "json", + "workloadNetworkVMGroup" +); +@@OpenAPI.extension(WorkloadNetworkVmGroups.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkVMGroup" +); + +@@projectedName(WorkloadNetworkVmGroups.update::parameters.properties, + "json", + "workloadNetworkVMGroup" +); +@@OpenAPI.extension(WorkloadNetworkVmGroups.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkVMGroup" +); + +@armResourceOperations +interface WorkloadNetworkVirtualMachines { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListVirtualMachines") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetVirtualMachine") + get is ArmResourceRead; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network Dns Services") +interface WorkloadNetworkDnsServices { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListDnsServices") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetDnsService") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateDnsService") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateDnsService") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkDnsService, + WorkloadNetworkDnsServiceUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DnsServiceIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteDnsService") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") + @doc("Delete a {name}", WorkloadNetworkDnsService) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...DnsServiceIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkDnsServices.create::parameters.resource, + "json", + "workloadNetworkDnsService" +); +@@OpenAPI.extension(WorkloadNetworkDnsServices.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkDnsService" +); + +@@projectedName(WorkloadNetworkDnsServices.update::parameters.properties, + "json", + "workloadNetworkDnsService" +); +@@OpenAPI.extension(WorkloadNetworkDnsServices.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDnsService" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +@doc("Workload Network DNS Zones") +interface WorkloadNetworkDnsZones { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListDnsZones") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetDnsZone") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreateDnsZone") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_UpdateDnsZone") + @parameterVisibility("read") + update is ArmCustomPatchAsync< + WorkloadNetworkDnsZone, + WorkloadNetworkDnsZoneUpdate + >; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DnsZoneIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeleteDnsZone") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") + @doc("Delete a {name}", WorkloadNetworkDnsZone) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...DnsZoneIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkDnsZones.create::parameters.resource, + "json", + "workloadNetworkDnsZone" +); +@@OpenAPI.extension(WorkloadNetworkDnsZones.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkDnsZone" +); + +@@projectedName(WorkloadNetworkDnsZones.update::parameters.properties, + "json", + "workloadNetworkDnsZone" +); +@@OpenAPI.extension(WorkloadNetworkDnsZones.update::parameters.properties, + "x-ms-client-name", + "workloadNetworkDnsZone" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" +// @armResourceOperations +interface WorkloadNetworkPublicIps { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_ListPublicIPs") + list is ArmResourceListByParent; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_GetPublicIP") + get is ArmResourceRead; + + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_CreatePublicIP") + create is ArmResourceCreateOrUpdateAsync; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "PublicIPIdParameter should be last, but it is breaking to correct it." + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("WorkloadNetworks_DeletePublicIP") + // delete is ArmResourceDeleteAsync; + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") + @doc("Delete a {name}", WorkloadNetworkPublicIP) + @delete + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + delete( + ...BaseParameters, + ...PublicIPIdParameter, + ...PrivateCloudNameParameter, + ): + | ArmDeletedResponse + | ArmDeleteAcceptedLroResponse + | ArmDeletedNoContentResponse + | ErrorResponse; +} + +@@projectedName(WorkloadNetworkPublicIps.create::parameters.resource, + "json", + "workloadNetworkPublicIP" +); +@@OpenAPI.extension(WorkloadNetworkPublicIps.create::parameters.resource, + "x-ms-client-name", + "workloadNetworkPublicIP" +); + +@armResourceOperations +interface CloudLinks { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("CloudLinks_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + delete is ArmResourceDeleteAsync; +} + +@@projectedName(CloudLinks.createOrUpdate::parameters.resource, + "json", + "cloudLink" +); +@@OpenAPI.extension(CloudLinks.createOrUpdate::parameters.resource, + "x-ms-client-name", + "cloudLink" +); + +@armResourceOperations +interface Addons { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("Addons_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + delete is ArmResourceDeleteAsync; +} + +@@projectedName(Addons.createOrUpdate::parameters.resource, "json", "addon"); +@@OpenAPI.extension(Addons.createOrUpdate::parameters.resource, + "x-ms-client-name", + "addon" +); + +@armResourceOperations +interface VirtualMachines { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("VirtualMachines_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + // restrictMovement should be a ArmResourceActionNoContentAsync, but does not respond with a 204. + @doc("Enable or disable DRS-driven VM movement restriction") + @armResourceAction(Location) + @post + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "azure-async-operation", + } + ) + restrictMovement( + ...ResourceInstanceParameters, + + @body + @doc("The body type of the operation request.") + restrictMovement: VirtualMachineRestrictMovement, + ): ArmAcceptedLroResponse | ErrorResponse; +} + +@armResourceOperations +interface PlacementPolicies { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("PlacementPolicies_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + // 202 response has a body, but it should not to match ArmCustomPatchAsync. + // update is ArmCustomPatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" + @doc("Update a PlacementPolicy") + @extension("x-ms-long-running-operation", true) + @extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } + ) + @armResourceUpdate(PlacementPolicy) + @patch + update( + ...ResourceInstanceParameters, + + @body + @doc("The placement policy properties to be updated.") + placementPolicyUpdate: PlacementPolicyUpdate, + ): ArmResponse | { + ...AcceptedResponse; + ...Azure.Core.Foundations.RetryAfterHeader; + ...LocationHeader; + + @body + @doc("The updatd placement policy.") + placementPolicy: PlacementPolicy; + } | ErrorResponse; + + delete is ArmResourceDeleteAsync; +} + +@@projectedName(PlacementPolicies.createOrUpdate::parameters.resource, + "json", + "placementPolicy" +); +@@OpenAPI.extension(PlacementPolicies.createOrUpdate::parameters.resource, + "x-ms-client-name", + "placementPolicy" +); + +@armResourceOperations +interface ScriptPackages { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("ScriptPackages_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; +} + +@armResourceOperations +interface ScriptCmdlets { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("ScriptCmdlets_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; +} + +@armResourceOperations +interface ScriptExecutions { + #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + @operationId("ScriptExecutions_List") + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + delete is ArmResourceDeleteAsync; + + @doc("Return the logs for a script execution resource") + @autoRoute + @armResourceAction(ScriptExecution) + @post + getExecutionLogs( + ...ResourceInstanceParameters, + + #suppress "@azure-tools/typespec-azure-core/request-body-problem" + @body + @doc("Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing.") + scriptOutputStreamType?: ScriptOutputStreamType[], + ): ArmResponse | ErrorResponse; +} + +@@projectedName(ScriptExecutions.createOrUpdate::parameters.resource, + "json", + "scriptExecution" +); +@@OpenAPI.extension(ScriptExecutions.createOrUpdate::parameters.resource, + "x-ms-client-name", + "scriptExecution" +); + +@armResourceOperations +interface ProvisionedNetworks { + list is ArmResourceListByParent; + + get is ArmResourceRead; +} + +@armResourceOperations +interface Maintenances { + @doc("List {name} resources by subscription ID", Maintenance) + @segmentOf(Maintenance) + @armResourceList(Maintenance) + @get + list( + ...ResourceParentParameters, + + @query + @doc("Filter active or inactive maintenances") + status?: MaintenanceStatusFilter, + + @query + @doc("date from which result should be returned. ie. scheduledStartTime >= from") + from?: utcDateTime, + + @query + @doc("date till which result should be returned. i.e. scheduledStartTime <= to") + to?: utcDateTime, + ): ArmResponse> | ErrorResponse; + + get is ArmResourceRead; + + @doc("Reschedule a maintenance") + reschedule is ArmResourceActionSync< + Maintenance, + MaintenanceReschedule, + Maintenance + >; +} + +@doc("The location envelope.") +model LocationHeader { + @doc("The Location header contains the URL where the status of the long running operation can be checked.") + @header("Location") + location?: string; +} + +@armResourceOperations +interface IscsiPaths { + list is ArmResourceListByParent; + + get is ArmResourceRead; + + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + delete is ArmResourceDeleteAsync; +} + +// use { @body _: void } with the next version of typespec-azure +// https://github.com/Azure/typespec-azure/issues/3759 + +// Just like ArmResourceActionSync, but with no request body. +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" +#suppress "@azure-tools/typespec-azure-core/documentation-required" +@autoRoute +@armResourceAction(TResource) +@post +op ArmResourceActionSyncNoRequestBody< + TResource extends ArmResource, + TResponse extends TypeSpec.Reflection.Model, + TBaseParameters = BaseParameters +>( + ...ResourceInstanceParameters, +): ArmResponse | ErrorResponse; + +// Just like ArmResourceActionAsync, but with no request body. +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" +#suppress "@azure-tools/typespec-azure-core/documentation-required" +op ArmResourceActionNoContentAsyncNoRequestBody< + TResource extends ArmResource, + TBaseParameters extends TypeSpec.Reflection.Model = BaseParameters +> is ArmResourceActionAsyncBaseNoRequestBody< + TResource, + ArmAcceptedLroResponse | ArmNoContentResponse<"Action completed successfully.">, + TBaseParameters +>; + +// Just like ArmResourceActionAsyncBase, but with no request body. +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" +#suppress "@azure-tools/typespec-azure-core/documentation-required" +@autoRoute +@extension("x-ms-long-running-operation", true) +@extension( + "x-ms-long-running-operation-options", + { + `final-state-via`: "location", + } +) +@armResourceAction(TResource) +@post +op ArmResourceActionAsyncBaseNoRequestBody< + TResource extends ArmResource, + TResponse, + TBaseParameters extends TypeSpec.Reflection.Model +>( + ...ResourceInstanceParameters, +): TResponse | ErrorResponse; diff --git a/specification/vmware/Microsoft.AVS/tspconfig.yaml b/specification/vmware/Microsoft.AVS/tspconfig.yaml new file mode 100644 index 000000000000..2e6f4883770e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/tspconfig.yaml @@ -0,0 +1,19 @@ +parameters: + "service-dir": + default: "sdk/vmware" + "service-directory-name": + default: "vmware" +emit: [ + "@azure-tools/typespec-autorest", +] +linter: + extends: + - "@azure-tools/typespec-azure-resource-manager/all" +options: + "@azure-tools/typespec-autorest": + azure-resource-provider-folder: "resource-manager" + emitter-output-dir: "{project-root}/.." + examples-directory: examples + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/vmware.json" + omit-unreachable-types: true + use-read-only-status-schema: true From 97f190cbd34c69d5d5ec4f8c8877108cb3e18260 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 09:50:51 -0300 Subject: [PATCH 04/27] TypeSpec examples --- .../Addons_CreateOrUpdate_ArcReg.json | 43 +++ .../2023-09-01/Addons_CreateOrUpdate_HCX.json | 43 +++ .../2023-09-01/Addons_CreateOrUpdate_SRM.json | 43 +++ .../2023-09-01/Addons_CreateOrUpdate_VR.json | 43 +++ .../examples/2023-09-01/Addons_Delete.json | 20 ++ .../2023-09-01/Addons_Get_ArcReg.json | 25 ++ .../examples/2023-09-01/Addons_Get_HCX.json | 25 ++ .../examples/2023-09-01/Addons_Get_SRM.json | 25 ++ .../examples/2023-09-01/Addons_Get_VR.json | 25 ++ .../examples/2023-09-01/Addons_List.json | 28 ++ .../Authorizations_CreateOrUpdate.json | 37 ++ .../2023-09-01/Authorizations_Delete.json | 20 ++ .../2023-09-01/Authorizations_Get.json | 26 ++ .../2023-09-01/Authorizations_List.json | 29 ++ .../2023-09-01/CloudLinks_CreateOrUpdate.json | 40 +++ .../2023-09-01/CloudLinks_Delete.json | 20 ++ .../examples/2023-09-01/CloudLinks_Get.json | 24 ++ .../examples/2023-09-01/CloudLinks_List.json | 27 ++ .../2023-09-01/Clusters_CreateOrUpdate.json | 56 +++ .../examples/2023-09-01/Clusters_Delete.json | 20 ++ .../examples/2023-09-01/Clusters_Get.json | 34 ++ .../examples/2023-09-01/Clusters_List.json | 36 ++ .../2023-09-01/Clusters_ListZones.json | 27 ++ .../Clusters_ListZones_Stretched.json | 35 ++ .../examples/2023-09-01/Clusters_Update.json | 57 +++ .../2023-09-01/Datastores_CreateOrUpdate.json | 49 +++ .../2023-09-01/Datastores_Delete.json | 21 ++ .../examples/2023-09-01/Datastores_Get.json | 28 ++ .../examples/2023-09-01/Datastores_List.json | 58 ++++ ...GlobalReachConnections_CreateOrUpdate.json | 48 +++ .../GlobalReachConnections_Delete.json | 20 ++ .../GlobalReachConnections_Get.json | 28 ++ .../GlobalReachConnections_List.json | 31 ++ .../HcxEnterpriseSites_CreateOrUpdate.json | 36 ++ .../2023-09-01/HcxEnterpriseSites_Delete.json | 15 + .../2023-09-01/HcxEnterpriseSites_Get.json | 24 ++ .../2023-09-01/HcxEnterpriseSites_List.json | 27 ++ .../2023-09-01/IscsiPaths_CreateOrUpdate.json | 40 +++ .../2023-09-01/IscsiPaths_Delete.json | 19 + .../examples/2023-09-01/IscsiPaths_Get.json | 23 ++ .../examples/2023-09-01/IscsiPaths_List.json | 27 ++ .../Locations_CheckQuotaAvailability.json | 20 ++ .../Locations_CheckTrialAvailability.json | 17 + ...cations_CheckTrialAvailabilityWithSku.json | 20 ++ .../examples/2023-09-01/Maintenances_Get.json | 43 +++ .../2023-09-01/Maintenances_List.json | 74 ++++ .../2023-09-01/Maintenances_Reschedule.json | 47 +++ .../examples/2023-09-01/Operations_List.json | 324 ++++++++++++++++++ .../PlacementPolicies_CreateOrUpdate.json | 84 +++++ .../2023-09-01/PlacementPolicies_Delete.json | 21 ++ .../2023-09-01/PlacementPolicies_Get.json | 39 +++ .../2023-09-01/PlacementPolicies_List.json | 58 ++++ .../2023-09-01/PlacementPolicies_Update.json | 83 +++++ .../PrivateClouds_CreateOrUpdate.json | 147 ++++++++ ...rivateClouds_CreateOrUpdate_Stretched.json | 160 +++++++++ ...eClouds_CreateOrUpdate_StretchedZones.json | 159 +++++++++ .../2023-09-01/PrivateClouds_Delete.json | 19 + .../2023-09-01/PrivateClouds_Get.json | 90 +++++ .../PrivateClouds_Get_Stretched.json | 82 +++++ .../2023-09-01/PrivateClouds_List.json | 78 +++++ .../PrivateClouds_ListAdminCredentials.json | 20 ++ .../PrivateClouds_ListInSubscription.json | 74 ++++ ...teClouds_ListInSubscription_Stretched.json | 81 +++++ .../PrivateClouds_List_Stretched.json | 84 +++++ .../PrivateClouds_RotateNsxtPassword.json | 18 + .../PrivateClouds_RotateVcenterPassword.json | 18 + .../2023-09-01/PrivateClouds_Update.json | 168 +++++++++ .../PrivateClouds_Update_Stretched.json | 147 ++++++++ .../2023-09-01/ProvisionedNetworks_Get.json | 24 ++ ...rovisionedNetworks_ListByPrivateCloud.json | 45 +++ .../2023-09-01/ScriptCmdlets_Get.json | 49 +++ .../2023-09-01/ScriptCmdlets_List.json | 78 +++++ .../ScriptExecutions_CreateOrUpdate.json | 94 +++++ .../2023-09-01/ScriptExecutions_Delete.json | 20 ++ .../2023-09-01/ScriptExecutions_Get.json | 42 +++ .../ScriptExecutions_GetExecutionLogs.json | 44 +++ .../2023-09-01/ScriptExecutions_List.json | 45 +++ .../2023-09-01/ScriptPackages_Get.json | 26 ++ .../2023-09-01/ScriptPackages_List.json | 40 +++ .../2023-09-01/VirtualMachines_Get.json | 27 ++ .../2023-09-01/VirtualMachines_List.json | 41 +++ .../VirtualMachines_RestrictMovement.json | 22 ++ .../WorkloadNetworks_CreateDhcp.json | 58 ++++ .../WorkloadNetworks_CreateDnsService.json | 61 ++++ .../WorkloadNetworks_CreateDnsZone.json | 58 ++++ .../WorkloadNetworks_CreatePortMirroring.json | 52 +++ .../WorkloadNetworks_CreatePublicIP.json | 41 +++ .../WorkloadNetworks_CreateSegments.json | 66 ++++ .../WorkloadNetworks_CreateVMGroup.json | 52 +++ .../WorkloadNetworks_DeleteDhcp.json | 20 ++ .../WorkloadNetworks_DeleteDnsService.json | 20 ++ .../WorkloadNetworks_DeleteDnsZone.json | 20 ++ .../WorkloadNetworks_DeletePortMirroring.json | 20 ++ .../WorkloadNetworks_DeletePublicIP.json | 20 ++ .../WorkloadNetworks_DeleteSegment.json | 20 ++ .../WorkloadNetworks_DeleteVMGroup.json | 20 ++ .../2023-09-01/WorkloadNetworks_Get.json | 20 ++ .../2023-09-01/WorkloadNetworks_GetDhcp.json | 31 ++ .../WorkloadNetworks_GetDnsService.json | 31 ++ .../WorkloadNetworks_GetDnsZone.json | 30 ++ .../WorkloadNetworks_GetGateway.json | 24 ++ .../WorkloadNetworks_GetPortMirroring.json | 28 ++ .../WorkloadNetworks_GetPublicIP.json | 24 ++ .../WorkloadNetworks_GetSegment.json | 37 ++ .../WorkloadNetworks_GetVMGroup.json | 28 ++ .../WorkloadNetworks_GetVirtualMachine.json | 24 ++ .../2023-09-01/WorkloadNetworks_List.json | 23 ++ .../2023-09-01/WorkloadNetworks_ListDhcp.json | 34 ++ .../WorkloadNetworks_ListDnsServices.json | 34 ++ .../WorkloadNetworks_ListDnsZones.json | 33 ++ .../WorkloadNetworks_ListGateways.json | 27 ++ .../WorkloadNetworks_ListPortMirroring.json | 31 ++ .../WorkloadNetworks_ListPublicIPs.json | 27 ++ .../WorkloadNetworks_ListSegments.json | 40 +++ .../WorkloadNetworks_ListVMGroups.json | 31 ++ .../WorkloadNetworks_ListVirtualMachines.json | 27 ++ .../WorkloadNetworks_UpdateDhcp.json | 44 +++ .../WorkloadNetworks_UpdateDnsService.json | 48 +++ .../WorkloadNetworks_UpdateDnsZone.json | 46 +++ .../WorkloadNetworks_UpdatePortMirroring.json | 41 +++ .../WorkloadNetworks_UpdateSegments.json | 54 +++ .../WorkloadNetworks_UpdateVMGroup.json | 41 +++ 122 files changed, 5460 insertions(+) create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_ArcReg.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_HCX.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_SRM.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_VR.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_ArcReg.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_HCX.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_SRM.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_VR.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones_Stretched.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckQuotaAvailability.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailability.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailabilityWithSku.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Operations_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Update.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListAdminCredentials.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateNsxtPassword.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateVcenterPassword.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_CreateOrUpdate.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Delete.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_GetExecutionLogs.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_RestrictMovement.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDhcp.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsService.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsZone.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePortMirroring.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePublicIP.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateSegments.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateVMGroup.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDhcp.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsService.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsZone.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePortMirroring.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePublicIP.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteSegment.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteVMGroup.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDhcp.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsService.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsZone.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetGateway.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPortMirroring.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPublicIP.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetSegment.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVMGroup.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVirtualMachine.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_List.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDhcp.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsServices.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsZones.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListGateways.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPortMirroring.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPublicIPs.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListSegments.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVMGroups.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVirtualMachines.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDhcp.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsService.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsZone.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdatePortMirroring.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateSegments.json create mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateVMGroup.json diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_ArcReg.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_ArcReg.json new file mode 100644 index 000000000000..084d4d4345ba --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_ArcReg.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_ArcReg", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc", + "addon": { + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_HCX.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_HCX.json new file mode 100644 index 000000000000..3e12376f12bf --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_HCX.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_HCX", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx", + "addon": { + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_SRM.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_SRM.json new file mode 100644 index 000000000000..b2eac10436ac --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_SRM.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_SRM", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm", + "addon": { + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_VR.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_VR.json new file mode 100644 index 000000000000..24bb85f99409 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_CreateOrUpdate_VR.json @@ -0,0 +1,43 @@ +{ + "title": "Addons_CreateOrUpdate_VR", + "operationId": "Addons_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr", + "addon": { + "properties": { + "addonType": "VR", + "vrsCount": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Delete.json new file mode 100644 index 000000000000..051ca6fe3857 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Addons_Delete", + "operationId": "Addons_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_ArcReg.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_ArcReg.json new file mode 100644 index 000000000000..caf0e4dcd516 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_ArcReg.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_ArcReg", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "arc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", + "name": "arc", + "properties": { + "addonType": "Arc", + "vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_HCX.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_HCX.json new file mode 100644 index 000000000000..413453b30e44 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_HCX.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_HCX", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "hcx" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", + "name": "hcx", + "properties": { + "addonType": "HCX", + "offer": "VMware MaaS Cloud Provider (Enterprise)", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_SRM.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_SRM.json new file mode 100644 index 000000000000..983397f80db0 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_SRM.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_SRM", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/Addons_Get_VR.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_VR.json new file mode 100644 index 000000000000..e2de4f086874 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_Get_VR.json @@ -0,0 +1,25 @@ +{ + "title": "Addons_Get_VR", + "operationId": "Addons_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "vr" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", + "name": "vr", + "properties": { + "addonType": "VR", + "vrsCount": 1, + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_List.json new file mode 100644 index 000000000000..6d398298adbf --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Addons_List.json @@ -0,0 +1,28 @@ +{ + "title": "Addons_List", + "operationId": "Addons_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/Authorizations_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_CreateOrUpdate.json new file mode 100644 index 000000000000..2dccc94bfbd3 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_CreateOrUpdate.json @@ -0,0 +1,37 @@ +{ + "title": "Authorizations_CreateOrUpdate", + "operationId": "Authorizations_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1", + "authorization": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/authorizations" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Delete.json new file mode 100644 index 000000000000..f0f59810c569 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Authorizations_Delete", + "operationId": "Authorizations_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Get.json new file mode 100644 index 000000000000..9067ae50b541 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_Get.json @@ -0,0 +1,26 @@ +{ + "title": "Authorizations_Get", + "operationId": "Authorizations_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "authorizationName": "authorization1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/Microsoft.AVS/examples/2023-09-01/Authorizations_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_List.json new file mode 100644 index 000000000000..f11ad228b57e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Authorizations_List.json @@ -0,0 +1,29 @@ +{ + "title": "Authorizations_List", + "operationId": "Authorizations_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", + "name": "authorization1", + "properties": { + "provisioningState": "Succeeded", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/Microsoft.AVS/examples/2023-09-01/CloudLinks_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_CreateOrUpdate.json new file mode 100644 index 000000000000..56102b16738f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "CloudLinks_CreateOrUpdate", + "operationId": "CloudLinks_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1", + "cloudLink": { + "properties": { + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Building", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Delete.json new file mode 100644 index 000000000000..cd570965f00a --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "CloudLinks_Delete", + "operationId": "CloudLinks_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Get.json new file mode 100644 index 000000000000..584a5390976f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "CloudLinks_Get", + "operationId": "CloudLinks_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "cloudLinkName": "cloudLink1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_List.json new file mode 100644 index 000000000000..2cf681c14a3b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/CloudLinks_List.json @@ -0,0 +1,27 @@ +{ + "title": "CloudLinks_List", + "operationId": "CloudLinks_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1", + "name": "cloudLink1", + "properties": { + "status": "Active", + "linkedCloud": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + }, + "type": "Microsoft.AVS/privateClouds/cloudLinks" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json new file mode 100644 index 000000000000..afb85e4f167c --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json @@ -0,0 +1,56 @@ +{ + "title": "Clusters_CreateOrUpdate", + "operationId": "Clusters_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "cluster": { + "sku": { + "name": "AV20" + }, + "properties": { + "clusterSize": 3 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "displayName": "nameCluster1", + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "displayName": "nameCluster1", + "clusterSize": 3, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Delete.json new file mode 100644 index 000000000000..24afeb63194b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Clusters_Delete", + "operationId": "Clusters_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json new file mode 100644 index 000000000000..c49600294ba9 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Clusters_Get", + "operationId": "Clusters_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "displayName": "nameCluster1", + "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/Microsoft.AVS/examples/2023-09-01/Clusters_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json new file mode 100644 index 000000000000..8e1dddf22fda --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json @@ -0,0 +1,36 @@ +{ + "title": "Clusters_List", + "operationId": "Clusters_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "displayName": "nameCluster1", + "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/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones.json new file mode 100644 index 000000000000..f85165285c40 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones.json @@ -0,0 +1,27 @@ +{ + "title": "Clusters_ListZones", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones_Stretched.json new file mode 100644 index 000000000000..8980ac424479 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_ListZones_Stretched.json @@ -0,0 +1,35 @@ +{ + "title": "Clusters_ListZones_Stretched", + "operationId": "Clusters_ListZones", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "zones": [ + { + "hosts": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "zone": "2" + }, + { + "hosts": [ + "fakehost74.nyc2.kubernetes.center", + "fakehost75.nyc2.kubernetes.center", + "fakehost76.nyc2.kubernetes.center" + ], + "zone": "1" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json new file mode 100644 index 000000000000..27438b4b1a20 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json @@ -0,0 +1,57 @@ +{ + "title": "Clusters_Update", + "operationId": "Clusters_Update", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "clusterUpdate": { + "properties": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", + "clusterSize": 4 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "displayName": "renamedCluster1", + "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1", + "name": "cluster1", + "sku": { + "name": "AV20" + }, + "properties": { + "displayName": "renamedCluster1", + "clusterSize": 4, + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/clusters" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_CreateOrUpdate.json new file mode 100644 index 000000000000..32f6d9ff78db --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_CreateOrUpdate.json @@ -0,0 +1,49 @@ +{ + "title": "Datastores_CreateOrUpdate", + "operationId": "Datastores_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1", + "datastore": { + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Creating", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Delete.json new file mode 100644 index 000000000000..91e0edf72196 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "Datastores_Delete", + "operationId": "Datastores_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Get.json new file mode 100644 index 000000000000..64b5c01459d6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Datastores_Get", + "operationId": "Datastores_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "datastoreName": "datastore1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_List.json new file mode 100644 index 000000000000..2a9a2afb8300 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Datastores_List.json @@ -0,0 +1,58 @@ +{ + "title": "Datastores_List", + "operationId": "Datastores_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1", + "name": "datastore1", + "properties": { + "netAppVolume": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "diskPoolVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.StoragePool/diskPools/DiskPool1/targets/Target1", + "lunName": "lun0", + "mountOption": "MOUNT", + "path": "/vmfs/devices/disks/naa.6001405f75f6bdf7f6f49db8b4b21723" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "elasticSanVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..283417360337 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_CreateOrUpdate.json @@ -0,0 +1,48 @@ +{ + "title": "GlobalReachConnections_CreateOrUpdate", + "operationId": "GlobalReachConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Delete.json new file mode 100644 index 000000000000..609f6d8abdac --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "GlobalReachConnections_Delete", + "operationId": "GlobalReachConnections_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Get.json new file mode 100644 index 000000000000..8c246a1b666e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_Get.json @@ -0,0 +1,28 @@ +{ + "title": "GlobalReachConnections_Get", + "operationId": "GlobalReachConnections_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "globalReachConnectionName": "connection1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_List.json new file mode 100644 index 000000000000..ac01618ff61d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/GlobalReachConnections_List.json @@ -0,0 +1,31 @@ +{ + "title": "GlobalReachConnections_List", + "operationId": "GlobalReachConnections_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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", + "expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", + "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/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_CreateOrUpdate.json new file mode 100644 index 000000000000..fd7e99f24eb6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_CreateOrUpdate.json @@ -0,0 +1,36 @@ +{ + "title": "HcxEnterpriseSites_CreateOrUpdate", + "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1", + "hcxEnterpriseSite": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Delete.json new file mode 100644 index 000000000000..09f97805e0e4 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Delete.json @@ -0,0 +1,15 @@ +{ + "title": "HcxEnterpriseSites_Delete", + "operationId": "HcxEnterpriseSites_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Get.json new file mode 100644 index 000000000000..06bc6698de19 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_Get.json @@ -0,0 +1,24 @@ +{ + "title": "HcxEnterpriseSites_Get", + "operationId": "HcxEnterpriseSites_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "hcxEnterpriseSiteName": "site1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_List.json new file mode 100644 index 000000000000..8f7343ad0dae --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/HcxEnterpriseSites_List.json @@ -0,0 +1,27 @@ +{ + "title": "HcxEnterpriseSites_List", + "operationId": "HcxEnterpriseSites_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/IscsiPaths_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_CreateOrUpdate.json new file mode 100644 index 000000000000..cd4412b41f0c --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "IscsiPaths_CreateOrUpdate", + "operationId": "IscsiPaths_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "iscsiPathName": "default", + "resource": { + "properties": { + "networkBlock": "192.168.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Pending" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Delete.json new file mode 100644 index 000000000000..91def6ffb56e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "IscsiPaths_Delete", + "operationId": "IscsiPaths_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Get.json new file mode 100644 index 000000000000..29b8f5815b89 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_Get.json @@ -0,0 +1,23 @@ +{ + "title": "IscsiPaths_Get", + "operationId": "IscsiPaths_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_List.json new file mode 100644 index 000000000000..f0ad6d2fdf6d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/IscsiPaths_List.json @@ -0,0 +1,27 @@ +{ + "title": "IscsiPaths_ListByPrivateCloud", + "operationId": "IscsiPaths_ListByPrivateCloud", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckQuotaAvailability.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckQuotaAvailability.json new file mode 100644 index 000000000000..838cdf505abe --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckQuotaAvailability.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckQuotaAvailability", + "operationId": "Locations_CheckQuotaAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "hostsRemaining": { + "AV20": 0, + "AV36": 999 + }, + "quotaEnabled": "Enabled" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailability.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailability.json new file mode 100644 index 000000000000..45f6e9342a96 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailability.json @@ -0,0 +1,17 @@ +{ + "title": "Locations_CheckTrialAvailability", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-09-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailabilityWithSku.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailabilityWithSku.json new file mode 100644 index 000000000000..84bf656a903f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Locations_CheckTrialAvailabilityWithSku.json @@ -0,0 +1,20 @@ +{ + "title": "Locations_CheckTrialAvailabilityWithSku", + "operationId": "Locations_CheckTrialAvailability", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2023-09-01", + "location": "eastus", + "sku": { + "name": "avs52t" + } + }, + "responses": { + "200": { + "body": { + "status": "TrialAvailable", + "availableHosts": 4 + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json new file mode 100644 index 000000000000..ea9958d59345 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Maintenances_Get", + "operationId": "Maintenances_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "PreCheck", + "stageStatus": "NotStarted", + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json new file mode 100644 index 000000000000..cd3feddfd8a3 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json @@ -0,0 +1,74 @@ +{ + "title": "Maintenances_List", + "operationId": "Maintenances_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "PreCheck", + "stageStatus": "NotStarted", + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance2", + "name": "maintenance2", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "PreCheck", + "stageStatus": "NotStarted", + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json new file mode 100644 index 000000000000..3d73e5afd101 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json @@ -0,0 +1,47 @@ +{ + "title": "Maintenances_Reschedule", + "operationId": "Maintenances_Reschedule", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1", + "body": { + "rescheduleTime": "2023-01-12T16:17:55.237Z", + "message": "Rescheduled due to xyz" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T16:17:55.237Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "Reschedule", + "stageStatus": "Success", + "message": "Rescheduled due to xyz", + "startedAt": "2023-01-12T16:17:55.237Z", + "endedAt": "2023-01-12T16:17:55.237Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Operations_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Operations_List.json new file mode 100644 index 000000000000..bde9f5a66d8c --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Operations_List.json @@ -0,0 +1,324 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-09-01" + }, + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..3fb246e5a611 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_CreateOrUpdate.json @@ -0,0 +1,84 @@ +{ + "title": "PlacementPolicies_CreateOrUpdate", + "operationId": "PlacementPolicies_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicy": { + "properties": { + "type": "VmHost", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Delete.json new file mode 100644 index 000000000000..98dcc9c25223 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Delete.json @@ -0,0 +1,21 @@ +{ + "title": "PlacementPolicies_Delete", + "operationId": "PlacementPolicies_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Get.json new file mode 100644 index 000000000000..9c6f5755dee5 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Get.json @@ -0,0 +1,39 @@ +{ + "title": "PlacementPolicies_Get", + "operationId": "PlacementPolicies_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_List.json new file mode 100644 index 000000000000..5680a5ca9688 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_List.json @@ -0,0 +1,58 @@ +{ + "title": "PlacementPolicies_List", + "operationId": "PlacementPolicies_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy2", + "name": "policy2", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy2", + "type": "VmVm", + "state": "Enabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "affinityType": "Affinity", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Update.json new file mode 100644 index 000000000000..d1b2e94dc9de --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PlacementPolicies_Update.json @@ -0,0 +1,83 @@ +{ + "title": "PlacementPolicies_Update", + "operationId": "PlacementPolicies_Update", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "placementPolicyName": "policy1", + "placementPolicyUpdate": { + "properties": { + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1/operationstatuses/00000000-0000-0000-0000-000000000000" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1", + "name": "policy1", + "type": "Microsoft.AVS/privateClouds/clusters/placementPolicies", + "properties": { + "displayName": "policy1", + "type": "VmHost", + "state": "Disabled", + "vmMembers": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256" + ], + "hostMembers": [ + "fakehost22.nyc1.kubernetes.center", + "fakehost23.nyc1.kubernetes.center", + "fakehost24.nyc1.kubernetes.center" + ], + "affinityType": "AntiAffinity", + "affinityStrength": "Must", + "azureHybridBenefitType": "SqlHost", + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json new file mode 100644 index 000000000000..e5675ba90936 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json @@ -0,0 +1,147 @@ +{ + "title": "PrivateClouds_CreateOrUpdate", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", + "clusterSize": 4 + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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, + "displayName": "renamedCluster1", + "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", + "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/" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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, + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json new file mode 100644 index 000000000000..13a9c3bedff5 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json @@ -0,0 +1,160 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_Stretched", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "displayName": "renamedCluster1", + "clusterSize": 4 + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json new file mode 100644 index 000000000000..f13756564b88 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json @@ -0,0 +1,159 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_StretchedZones", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "displayName": "renamedCluster1", + "clusterSize": 4 + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Delete.json new file mode 100644 index 000000000000..ce14c53cac86 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "PrivateClouds_Delete", + "operationId": "PrivateClouds_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json new file mode 100644 index 000000000000..5c1ef26ec0f8 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json @@ -0,0 +1,90 @@ +{ + "title": "PrivateClouds_Get", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "identity": { + "principalId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "tenantId": "881e5573-063f-49e4-8c08-79d7df0169d8", + "type": "SystemAssigned" + }, + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "nameCluster1", + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "keyState": "Connected", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json new file mode 100644 index 000000000000..e0fd2fdcd2bf --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json @@ -0,0 +1,82 @@ +{ + "title": "PrivateClouds_Get_Stretched", + "operationId": "PrivateClouds_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "nameCluster1", + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json new file mode 100644 index 000000000000..90ede988b812 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json @@ -0,0 +1,78 @@ +{ + "title": "PrivateClouds_List", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "nameCluster1", + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListAdminCredentials.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListAdminCredentials.json new file mode 100644 index 000000000000..1169f66580bc --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListAdminCredentials.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateClouds_ListAdminCredentials", + "operationId": "PrivateClouds_ListAdminCredentials", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "nsxtPassword": "$(1X4Dkk", + "nsxtUsername": "admin", + "vcenterPassword": "", + "vcenterUsername": "cloudadmin@vsphere.local" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json new file mode 100644 index 000000000000..0d13d22553c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json @@ -0,0 +1,74 @@ +{ + "title": "PrivateClouds_ListInSubscription", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "nameCluster1", + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json new file mode 100644 index 000000000000..03047b3eff30 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json @@ -0,0 +1,81 @@ +{ + "title": "PrivateClouds_ListInSubscription_Stretched", + "operationId": "PrivateClouds_ListInSubscription", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "nameCluster1", + "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json new file mode 100644 index 000000000000..b82470c942d7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json @@ -0,0 +1,84 @@ +{ + "title": "PrivateClouds_List_Stretched", + "operationId": "PrivateClouds_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "nameCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateNsxtPassword.json new file mode 100644 index 000000000000..ea9728d6e168 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateNsxtPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateNsxtPassword", + "operationId": "PrivateClouds_RotateNsxtPassword", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateVcenterPassword.json new file mode 100644 index 000000000000..ae5cc35b5d42 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_RotateVcenterPassword.json @@ -0,0 +1,18 @@ +{ + "title": "PrivateClouds_RotateVcenterPassword", + "operationId": "PrivateClouds_RotateVcenterPassword", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json new file mode 100644 index 000000000000..cbc36b1b3522 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json @@ -0,0 +1,168 @@ +{ + "title": "PrivateClouds_Update", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "identity": { + "type": "None" + }, + "properties": { + "displayName": "renamedDatacenter1", + "managementCluster": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", + "clusterSize": 4 + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "displayName": "renamedDatacenter1", + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "renamedCluster1", + "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/", + "versionType": "Fixed" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "displayName": "renamedDatacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "encryption": { + "status": "Disabled", + "keyVaultProperties": { + "keyName": "keyname1", + "keyVersion": "ver1.0", + "keyVaultUrl": "https://keyvault1-kmip-kvault.vault.azure.net/" + } + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json new file mode 100644 index 000000000000..5ad7f11a89be --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json @@ -0,0 +1,147 @@ +{ + "title": "PrivateClouds_Update_Stretched", + "operationId": "PrivateClouds_Update", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloudUpdate": { + "properties": { + "displayName": "renamedDatacenter1", + "managementCluster": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", + "clusterSize": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "displayName": "renamedDatacenter1", + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30", + "expressRoutePrivatePeeringID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er2/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "displayName": "renamedDatacenter1", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "renamedCluster1", + "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json new file mode 100644 index 000000000000..7aa6623c44c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "ProvisionedNetworks_Get", + "operationId": "ProvisionedNetworks_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "provisionedNetworkName": "vsan" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json new file mode 100644 index 000000000000..46dc3017b8df --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json @@ -0,0 +1,45 @@ +{ + "title": "ProvisionedNetworks_ListByPrivateCloud", + "operationId": "ProvisionedNetworks_ListByPrivateCloud", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot", + "name": "esxvmot", + "properties": { + "addressPrefix": "10.0.1.128/25", + "networkType": "esxvmot" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet", + "name": "mgmtvnet", + "properties": { + "addressPrefix": "10.0.3.128/26", + "networkType": "mgmtvnet" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_Get.json new file mode 100644 index 000000000000..6f58059df70c --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_Get.json @@ -0,0 +1,49 @@ +{ + "title": "ScriptCmdlets_Get", + "operationId": "ScriptCmdlets_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2", + "scriptCmdletName": "New-ExternalSsoDomain" + }, + "responses": { + "200": { + "body": { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_List.json new file mode 100644 index 000000000000..f51de5f923c6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptCmdlets_List.json @@ -0,0 +1,78 @@ +{ + "title": "ScriptCmdlets_List", + "operationId": "ScriptCmdlets_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "package@1.0.2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Set-AvsStoragePolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/Set-AvsStoragePolicy", + "properties": { + "description": "Allow user to set the storage policy of the specified VM", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "VM", + "description": "VM to set the storage policy on", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "StoragePolicyName", + "description": "Name of the storage policy to set", + "type": "String", + "visibility": "Visible", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + }, + { + "name": "New-ExternalSsoDomain", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain", + "properties": { + "description": "Add an external Sso domain to their vCenter", + "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", + "parameters": [ + { + "name": "DomainName", + "description": "Domain name of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "BaseUserDN", + "description": "Base User DN of the Server", + "type": "String", + "visibility": "Visible", + "optional": "Required" + }, + { + "name": "Password", + "description": "Password for authenticating to the server", + "type": "SecureString", + "visibility": "Hidden", + "optional": "Required" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_CreateOrUpdate.json new file mode 100644 index 000000000000..61d455573c9f --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "title": "ScriptExecutions_CreateOrUpdate", + "operationId": "ScriptExecutions_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptExecution": { + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "hiddenParameters": [ + { + "name": "Password", + "type": "SecureValue", + "secureValue": "PlaceholderPassword" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ], + "output": [ + "IdentitySource: placeholder.dc", + "BaseDN='dc=placeholder, dc=local" + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "provisioningState": "Running", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Delete.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Delete.json new file mode 100644 index 000000000000..1e4861879ef3 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "ScriptExecutions_Delete", + "operationId": "ScriptExecutions_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Get.json new file mode 100644 index 000000000000..07b4bb84e0c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_Get.json @@ -0,0 +1,42 @@ +{ + "title": "ScriptExecutions_Get", + "operationId": "ScriptExecutions_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Succeeded", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_GetExecutionLogs.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_GetExecutionLogs.json new file mode 100644 index 000000000000..7608c0846235 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_GetExecutionLogs.json @@ -0,0 +1,44 @@ +{ + "title": "ScriptExecutions_GetExecutionLogs", + "operationId": "ScriptExecutions_GetExecutionLogs", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptExecutionName": "addSsoServer", + "scriptOutputStreamType": [ + "Information", + "Warnings", + "Errors", + "Output" + ] + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "timeout": "P0Y0M0D0H060M0S", + "output": [ + "Most recent output", + "Second most recent output" + ], + "errors": [ + "Most recent error output", + "Second most error recent output" + ], + "warnings": [ + "Most recent warning output", + "Second most recent warning output" + ], + "information": [ + "Most recent information output", + "Second most recent information output" + ] + } + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_List.json new file mode 100644 index 000000000000..bb35f9db2db7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptExecutions_List.json @@ -0,0 +1,45 @@ +{ + "title": "ScriptExecutions_List", + "operationId": "ScriptExecutions_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer", + "name": "addSsoServer", + "properties": { + "scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS:1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "timeout": "P0Y0M0DT0H60M60S", + "retention": "P0Y0M60DT0H60M60S", + "submittedAt": "2021-03-21T17:31:28Z", + "startedAt": "2021-03-21T17:32:28Z", + "finishedAt": "2021-03-21T18:32:28Z", + "provisioningState": "Failed", + "failureReason": "vCenter failed to connect to the external server", + "parameters": [ + { + "name": "DomainName", + "type": "Value", + "value": "placeholderDomain.local" + }, + { + "name": "BaseUserDN", + "type": "Value", + "value": "DC=placeholder, DC=placeholder" + } + ] + }, + "type": "Microsoft.AVS/privateClouds/scriptExecutions" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_Get.json new file mode 100644 index 000000000000..737b54f9e94d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_Get.json @@ -0,0 +1,26 @@ +{ + "title": "ScriptPackages_Get", + "operationId": "ScriptPackages_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "scriptPackageName": "Microsoft.AVS.Management@3.0.48" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_List.json new file mode 100644 index 000000000000..12e520c461c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ScriptPackages_List.json @@ -0,0 +1,40 @@ +{ + "title": "ScriptPackages_List", + "operationId": "ScriptPackages_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AVS.Management@3.0.48", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48", + "properties": { + "description": "Various cmdlets for elevated access to Private Cloud administrative functions", + "version": "3.0.48", + "company": "Microsoft", + "uri": "https://microsoft.com" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + }, + { + "name": "JSDR.Configuration@1.0.0", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/JSDR.Configuration@1.0.0", + "properties": { + "description": "Various cmdlets by Jetstream for Private Cloud administration", + "version": "1.0.0", + "company": "Jetstream Software", + "uri": "https://www.jetstreamsoft.com/about/support/" + }, + "type": "Microsoft.AVS/privateClouds/scriptPackages" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_Get.json new file mode 100644 index 000000000000..8f25bdc2d552 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_Get.json @@ -0,0 +1,27 @@ +{ + "title": "VirtualMachines_Get", + "operationId": "VirtualMachines_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_List.json new file mode 100644 index 000000000000..60df3a2567d5 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_List.json @@ -0,0 +1,41 @@ +{ + "title": "VirtualMachines_List", + "operationId": "VirtualMachines_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209", + "name": "vm-209", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm1", + "moRefId": "vm-209", + "folderPath": "vm/folder-1", + "restrictMovement": "Disabled" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128", + "name": "vm-128", + "type": "Microsoft.AVS/privateClouds/clusters/virtualMachines", + "properties": { + "displayName": "contoso-vm2", + "moRefId": "vm-128", + "folderPath": "vm", + "restrictMovement": "Enabled" + } + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_RestrictMovement.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_RestrictMovement.json new file mode 100644 index 000000000000..9329fa4b4ee4 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/VirtualMachines_RestrictMovement.json @@ -0,0 +1,22 @@ +{ + "title": "VirtualMachines_RestrictMovement", + "operationId": "VirtualMachines_RestrictMovement", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "clusterName": "cluster1", + "virtualMachineId": "vm-209", + "restrictMovement": { + "restrictMovement": "Enabled" + } + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDhcp.json new file mode 100644 index 000000000000..933875fce733 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDhcp.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDhcp", + "operationId": "WorkloadNetworks_CreateDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsService.json new file mode 100644 index 000000000000..a2be1beeb7e7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsService.json @@ -0,0 +1,61 @@ +{ + "title": "WorkloadNetworks_CreateDnsService", + "operationId": "WorkloadNetworks_CreateDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsZone.json new file mode 100644 index 000000000000..7da0394bfc59 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateDnsZone.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDnsZone", + "operationId": "WorkloadNetworks_CreateDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePortMirroring.json new file mode 100644 index 000000000000..60000ee7ac88 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePortMirroring.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreatePortMirroring", + "operationId": "WorkloadNetworks_CreatePortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePublicIP.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePublicIP.json new file mode 100644 index 000000000000..e0caa928d773 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreatePublicIP.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_CreatePublicIP", + "operationId": "WorkloadNetworks_CreatePublicIP", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1", + "workloadNetworkPublicIP": { + "properties": { + "displayName": "publicIP1", + "numberOfPublicIPs": 32 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateSegments.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateSegments.json new file mode 100644 index 000000000000..bed8eccc86b8 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateSegments.json @@ -0,0 +1,66 @@ +{ + "title": "WorkloadNetworks_CreateSegments", + "operationId": "WorkloadNetworks_CreateSegments", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateVMGroup.json new file mode 100644 index 000000000000..a92532362070 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_CreateVMGroup.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreateVMGroup", + "operationId": "WorkloadNetworks_CreateVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDhcp.json new file mode 100644 index 000000000000..a26760e58b70 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDhcp.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDhcp", + "operationId": "WorkloadNetworks_DeleteDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsService.json new file mode 100644 index 000000000000..4cf2abe8f384 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsService.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsService", + "operationId": "WorkloadNetworks_DeleteDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsZone.json new file mode 100644 index 000000000000..4156fbaaccf2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteDnsZone.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsZone", + "operationId": "WorkloadNetworks_DeleteDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePortMirroring.json new file mode 100644 index 000000000000..2e19600fdde1 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePortMirroring.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePortMirroring", + "operationId": "WorkloadNetworks_DeletePortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePublicIP.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePublicIP.json new file mode 100644 index 000000000000..a30f0bb6fbb9 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeletePublicIP.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePublicIP", + "operationId": "WorkloadNetworks_DeletePublicIP", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteSegment.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteSegment.json new file mode 100644 index 000000000000..b68ace210b88 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteSegment.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteSegment", + "operationId": "WorkloadNetworks_DeleteSegment", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteVMGroup.json new file mode 100644 index 000000000000..aad6094bff32 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_DeleteVMGroup.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteVMGroup", + "operationId": "WorkloadNetworks_DeleteVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json new file mode 100644 index 000000000000..6fef13816da2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_Get", + "operationId": "WorkloadNetworks_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "workloadNetworkName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDhcp.json new file mode 100644 index 000000000000..2fcb1de106b6 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDhcp.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDhcp", + "operationId": "WorkloadNetworks_GetDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsService.json new file mode 100644 index 000000000000..6770c3a9c152 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsService.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDnsService", + "operationId": "WorkloadNetworks_GetDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsZone.json new file mode 100644 index 000000000000..e21810a60dea --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetDnsZone.json @@ -0,0 +1,30 @@ +{ + "title": "WorkloadNetworks_GetDnsZone", + "operationId": "WorkloadNetworks_GetDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetGateway.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetGateway.json new file mode 100644 index 000000000000..11c0eac3e3ee --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetGateway.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetGateway", + "operationId": "WorkloadNetworks_GetGateway", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "gatewayId": "gateway1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPortMirroring.json new file mode 100644 index 000000000000..2505c21ea643 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPortMirroring.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetPortMirroring", + "operationId": "WorkloadNetworks_GetPortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPublicIP.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPublicIP.json new file mode 100644 index 000000000000..101d91f1e822 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetPublicIP.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetPublicIP", + "operationId": "WorkloadNetworks_GetPublicIP", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetSegment.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetSegment.json new file mode 100644 index 000000000000..495a0d4872c2 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetSegment.json @@ -0,0 +1,37 @@ +{ + "title": "WorkloadNetworks_GetSegment", + "operationId": "WorkloadNetworks_GetSegment", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVMGroup.json new file mode 100644 index 000000000000..02f1f9e257e1 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVMGroup.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetVMGroup", + "operationId": "WorkloadNetworks_GetVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVirtualMachine.json new file mode 100644 index 000000000000..b599fb749b9a --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_GetVirtualMachine.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetVirtualMachine", + "operationId": "WorkloadNetworks_GetVirtualMachine", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "virtualMachineId": "vm1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_List.json new file mode 100644 index 000000000000..290d443e6a59 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_List.json @@ -0,0 +1,23 @@ +{ + "title": "WorkloadNetworks_List", + "operationId": "WorkloadNetworks_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default", + "name": "default", + "type": "Microsoft.AVS/privateClouds/workloadNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDhcp.json new file mode 100644 index 000000000000..daf47b737451 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDhcp.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDhcp", + "operationId": "WorkloadNetworks_ListDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsServices.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsServices.json new file mode 100644 index 000000000000..b99df2a6872b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsServices.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDnsServices", + "operationId": "WorkloadNetworks_ListDnsServices", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsZones.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsZones.json new file mode 100644 index 000000000000..7dcf025391fa --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListDnsZones.json @@ -0,0 +1,33 @@ +{ + "title": "WorkloadNetworks_ListDnsZones", + "operationId": "WorkloadNetworks_ListDnsZones", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListGateways.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListGateways.json new file mode 100644 index 000000000000..f043446c2a91 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListGateways.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListGateways", + "operationId": "WorkloadNetworks_ListGateways", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPortMirroring.json new file mode 100644 index 000000000000..a5acf85529b7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPortMirroring.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListPortMirroring", + "operationId": "WorkloadNetworks_ListPortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPublicIPs.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPublicIPs.json new file mode 100644 index 000000000000..21c222ee88c7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListPublicIPs.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListPublicIPs", + "operationId": "WorkloadNetworks_ListPublicIPs", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + ] + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListSegments.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListSegments.json new file mode 100644 index 000000000000..2eee7a6c142b --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListSegments.json @@ -0,0 +1,40 @@ +{ + "title": "WorkloadNetworks_ListSegments", + "operationId": "WorkloadNetworks_ListSegments", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVMGroups.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVMGroups.json new file mode 100644 index 000000000000..9d0141e6716e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVMGroups.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListVMGroups", + "operationId": "WorkloadNetworks_ListVMGroups", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVirtualMachines.json new file mode 100644 index 000000000000..f63e522bd260 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_ListVirtualMachines.json @@ -0,0 +1,27 @@ +{ + "title": "WorkloadNetworks_ListVirtualMachines", + "operationId": "WorkloadNetworks_ListVirtualMachines", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDhcp.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDhcp.json new file mode 100644 index 000000000000..ae65393a8ac4 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDhcp.json @@ -0,0 +1,44 @@ +{ + "title": "WorkloadNetworks_UpdateDhcp", + "operationId": "WorkloadNetworks_UpdateDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsService.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsService.json new file mode 100644 index 000000000000..9e71d03146d7 --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsService.json @@ -0,0 +1,48 @@ +{ + "title": "WorkloadNetworks_UpdateDnsService", + "operationId": "WorkloadNetworks_UpdateDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsZone.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsZone.json new file mode 100644 index 000000000000..e042b707070d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateDnsZone.json @@ -0,0 +1,46 @@ +{ + "title": "WorkloadNetworks_UpdateDnsZone", + "operationId": "WorkloadNetworks_UpdateDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdatePortMirroring.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdatePortMirroring.json new file mode 100644 index 000000000000..c4d175bf35fa --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdatePortMirroring.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdatePortMirroring", + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateSegments.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateSegments.json new file mode 100644 index 000000000000..e6717f00d22e --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateSegments.json @@ -0,0 +1,54 @@ +{ + "title": "WorkloadNetworks_UpdateSegments", + "operationId": "WorkloadNetworks_UpdateSegments", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateVMGroup.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateVMGroup.json new file mode 100644 index 000000000000..85744f8b8d5d --- /dev/null +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_UpdateVMGroup.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdateVMGroup", + "operationId": "WorkloadNetworks_UpdateVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} From bfbdc30dae219df4e6b8ef1123712fe4730f4ce8 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 09:53:14 -0300 Subject: [PATCH 05/27] tsp compile --- .../Addons_CreateOrUpdate_ArcReg.json | 4 +- .../examples/Addons_CreateOrUpdate_HCX.json | 4 +- .../examples/Addons_CreateOrUpdate_SRM.json | 4 +- .../examples/Addons_CreateOrUpdate_VR.json | 4 +- .../2023-09-01/examples/Addons_Delete.json | 6 +- .../examples/Addons_Get_ArcReg.json | 4 +- .../2023-09-01/examples/Addons_Get_HCX.json | 4 +- .../2023-09-01/examples/Addons_Get_SRM.json | 4 +- .../2023-09-01/examples/Addons_Get_VR.json | 4 +- .../2023-09-01/examples/Addons_List.json | 4 +- .../Authorizations_CreateOrUpdate.json | 4 +- .../examples/Authorizations_Delete.json | 6 +- .../examples/Authorizations_Get.json | 4 +- .../examples/Authorizations_List.json | 4 +- .../examples/CloudLinks_CreateOrUpdate.json | 4 +- .../examples/CloudLinks_Delete.json | 6 +- .../2023-09-01/examples/CloudLinks_Get.json | 4 +- .../2023-09-01/examples/CloudLinks_List.json | 4 +- .../examples/Clusters_CreateOrUpdate.json | 6 +- .../2023-09-01/examples/Clusters_Delete.json | 6 +- .../2023-09-01/examples/Clusters_Get.json | 5 +- .../2023-09-01/examples/Clusters_List.json | 5 +- .../examples/Clusters_ListZones.json | 4 +- .../Clusters_ListZones_Stretched.json | 4 +- .../2023-09-01/examples/Clusters_Update.json | 9 +- .../examples/Datastores_CreateOrUpdate.json | 4 +- .../examples/Datastores_Delete.json | 6 +- .../2023-09-01/examples/Datastores_Get.json | 4 +- .../2023-09-01/examples/Datastores_List.json | 16 +- ...GlobalReachConnections_CreateOrUpdate.json | 4 +- .../GlobalReachConnections_Delete.json | 6 +- .../examples/GlobalReachConnections_Get.json | 4 +- .../examples/GlobalReachConnections_List.json | 4 +- .../HcxEnterpriseSites_CreateOrUpdate.json | 4 +- .../examples/HcxEnterpriseSites_Delete.json | 4 +- .../examples/HcxEnterpriseSites_Get.json | 4 +- .../examples/HcxEnterpriseSites_List.json | 4 +- .../examples/IscsiPaths_CreateOrUpdate.json | 40 + .../examples/IscsiPaths_Delete.json | 19 + .../2023-09-01/examples/IscsiPaths_Get.json | 23 + .../2023-09-01/examples/IscsiPaths_List.json | 27 + .../Locations_CheckQuotaAvailability.json | 4 +- .../Locations_CheckTrialAvailability.json | 4 +- ...cations_CheckTrialAvailabilityWithSku.json | 4 +- .../2023-09-01/examples/Maintenances_Get.json | 43 + .../examples/Maintenances_List.json | 74 + .../examples/Maintenances_Reschedule.json | 47 + .../2023-09-01/examples/Operations_List.json | 262 +- .../PlacementPolicies_CreateOrUpdate.json | 4 +- .../examples/PlacementPolicies_Delete.json | 6 +- .../examples/PlacementPolicies_Get.json | 4 +- .../examples/PlacementPolicies_List.json | 4 +- .../examples/PlacementPolicies_Update.json | 4 +- .../PrivateClouds_CreateOrUpdate.json | 20 +- ...rivateClouds_CreateOrUpdate_Stretched.json | 29 +- ...eClouds_CreateOrUpdate_StretchedZones.json | 159 + .../examples/PrivateClouds_Delete.json | 6 +- .../examples/PrivateClouds_Get.json | 16 +- .../examples/PrivateClouds_Get_Stretched.json | 16 +- .../examples/PrivateClouds_List.json | 16 +- .../PrivateClouds_ListAdminCredentials.json | 4 +- .../PrivateClouds_ListInSubscription.json | 16 +- ...teClouds_ListInSubscription_Stretched.json | 16 +- .../PrivateClouds_List_Stretched.json | 15 +- .../PrivateClouds_RotateNsxtPassword.json | 6 +- .../PrivateClouds_RotateVcenterPassword.json | 6 +- .../examples/PrivateClouds_Update.json | 29 +- .../PrivateClouds_Update_Stretched.json | 29 +- .../examples/ProvisionedNetworks_Get.json | 24 + ...rovisionedNetworks_ListByPrivateCloud.json | 45 + .../examples/ScriptCmdlets_Get.json | 5 +- .../examples/ScriptCmdlets_List.json | 6 +- .../ScriptExecutions_CreateOrUpdate.json | 4 +- .../examples/ScriptExecutions_Delete.json | 6 +- .../examples/ScriptExecutions_Get.json | 4 +- .../ScriptExecutions_GetExecutionLogs.json | 4 +- .../examples/ScriptExecutions_List.json | 4 +- .../examples/ScriptPackages_Get.json | 4 +- .../examples/ScriptPackages_List.json | 4 +- .../examples/VirtualMachines_Get.json | 4 +- .../examples/VirtualMachines_List.json | 4 +- .../VirtualMachines_RestrictMovement.json | 6 +- .../examples/WorkloadNetworks_CreateDhcp.json | 58 + .../WorkloadNetworks_CreateDnsService.json | 61 + .../WorkloadNetworks_CreateDnsZone.json | 58 + .../WorkloadNetworks_CreatePortMirroring.json | 52 + .../WorkloadNetworks_CreatePublicIP.json | 41 + .../WorkloadNetworks_CreateSegments.json | 4 +- .../WorkloadNetworks_CreateVMGroup.json | 52 + .../examples/WorkloadNetworks_DeleteDhcp.json | 20 + .../WorkloadNetworks_DeleteDnsService.json | 20 + .../WorkloadNetworks_DeleteDnsZone.json | 20 + .../WorkloadNetworks_DeletePortMirroring.json | 20 + .../WorkloadNetworks_DeletePublicIP.json | 20 + .../WorkloadNetworks_DeleteSegment.json | 20 + .../WorkloadNetworks_DeleteVMGroup.json | 20 + .../examples/WorkloadNetworks_Get.json | 4 +- .../examples/WorkloadNetworks_GetDhcp.json | 31 + .../WorkloadNetworks_GetDnsService.json | 31 + .../examples/WorkloadNetworks_GetDnsZone.json | 30 + .../examples/WorkloadNetworks_GetGateway.json | 4 +- .../WorkloadNetworks_GetPortMirroring.json | 28 + .../WorkloadNetworks_GetPublicIP.json | 24 + .../examples/WorkloadNetworks_GetSegment.json | 37 + .../examples/WorkloadNetworks_GetVMGroup.json | 28 + .../WorkloadNetworks_GetVirtualMachine.json | 4 +- .../examples/WorkloadNetworks_List.json | 4 +- .../examples/WorkloadNetworks_ListDhcp.json | 34 + .../WorkloadNetworks_ListDnsServices.json | 4 +- .../WorkloadNetworks_ListDnsZones.json | 4 +- .../WorkloadNetworks_ListGateways.json | 4 +- .../WorkloadNetworks_ListPortMirroring.json | 31 + .../WorkloadNetworks_ListPublicIPs.json | 4 +- .../WorkloadNetworks_ListSegments.json | 4 +- .../WorkloadNetworks_ListVMGroups.json | 4 +- .../WorkloadNetworks_ListVirtualMachines.json | 4 +- .../examples/WorkloadNetworks_UpdateDhcp.json | 44 + .../WorkloadNetworks_UpdateDnsService.json | 48 + .../WorkloadNetworks_UpdateDnsZone.json | 46 + .../WorkloadNetworks_UpdatePortMirroring.json | 41 + .../WorkloadNetworks_UpdateSegments.json | 6 +- .../WorkloadNetworks_UpdateVMGroup.json | 41 + .../stable/2023-09-01/vmware.json | 13096 ++++++++++------ 123 files changed, 10408 insertions(+), 4955 deletions(-) create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json index 6aaa34763dc3..084d4d4345ba 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json @@ -1,6 +1,8 @@ { + "title": "Addons_CreateOrUpdate_ArcReg", + "operationId": "Addons_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json index 7f83d93504f8..3e12376f12bf 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json @@ -1,6 +1,8 @@ { + "title": "Addons_CreateOrUpdate_HCX", + "operationId": "Addons_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json index 7e3bee6f3134..b2eac10436ac 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json @@ -1,6 +1,8 @@ { + "title": "Addons_CreateOrUpdate_SRM", + "operationId": "Addons_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json index 08faeedbe4c3..24bb85f99409 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json @@ -1,6 +1,8 @@ { + "title": "Addons_CreateOrUpdate_VR", + "operationId": "Addons_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json index b5d987a842d1..051ca6fe3857 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json @@ -1,6 +1,8 @@ { + "title": "Addons_Delete", + "operationId": "Addons_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -10,7 +12,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json index b5b5c3a6eca0..caf0e4dcd516 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json @@ -1,6 +1,8 @@ { + "title": "Addons_Get_ArcReg", + "operationId": "Addons_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json index 97bd8540d58b..413453b30e44 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json @@ -1,6 +1,8 @@ { + "title": "Addons_Get_HCX", + "operationId": "Addons_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json index eb0a3424be7a..983397f80db0 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json @@ -1,6 +1,8 @@ { + "title": "Addons_Get_SRM", + "operationId": "Addons_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json index e6ec7624e9f9..e2de4f086874 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json @@ -1,6 +1,8 @@ { + "title": "Addons_Get_VR", + "operationId": "Addons_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json index 048845de7e0c..6d398298adbf 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json @@ -1,6 +1,8 @@ { + "title": "Addons_List", + "operationId": "Addons_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json index f00a1644fe1a..2dccc94bfbd3 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "Authorizations_CreateOrUpdate", + "operationId": "Authorizations_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json index df42bddfbb14..f0f59810c569 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json @@ -1,6 +1,8 @@ { + "title": "Authorizations_Delete", + "operationId": "Authorizations_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -10,7 +12,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json index cfcb4d7e6c14..9067ae50b541 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json @@ -1,6 +1,8 @@ { + "title": "Authorizations_Get", + "operationId": "Authorizations_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json index ee538bb63bf0..f11ad228b57e 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json @@ -1,6 +1,8 @@ { + "title": "Authorizations_List", + "operationId": "Authorizations_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json index b75164b5f09c..56102b16738f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "CloudLinks_CreateOrUpdate", + "operationId": "CloudLinks_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json index 2ebc07533df9..cd570965f00a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json @@ -1,6 +1,8 @@ { + "title": "CloudLinks_Delete", + "operationId": "CloudLinks_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -10,7 +12,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json index f20e248cc622..584a5390976f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json @@ -1,6 +1,8 @@ { + "title": "CloudLinks_Get", + "operationId": "CloudLinks_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json index 29a8af6d3c68..2cf681c14a3b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json @@ -1,6 +1,8 @@ { + "title": "CloudLinks_List", + "operationId": "CloudLinks_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json index 1173636e442f..afb85e4f167c 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "Clusters_CreateOrUpdate", + "operationId": "Clusters_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -23,6 +25,7 @@ "name": "AV20" }, "properties": { + "displayName": "nameCluster1", "clusterSize": 3, "hosts": [ "fakehost22.nyc1.kubernetes.center", @@ -42,6 +45,7 @@ "name": "AV20" }, "properties": { + "displayName": "nameCluster1", "clusterSize": 3, "provisioningState": "Updating" }, diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json index 09262e2dda76..24afeb63194b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json @@ -1,6 +1,8 @@ { + "title": "Clusters_Delete", + "operationId": "Clusters_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -10,7 +12,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json index c6670b9697a3..c49600294ba9 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -1,6 +1,8 @@ { + "title": "Clusters_Get", + "operationId": "Clusters_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -15,6 +17,7 @@ "name": "AV20" }, "properties": { + "displayName": "nameCluster1", "clusterSize": 4, "hosts": [ "fakehost22.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json index 0917f25acf21..8e1dddf22fda 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json @@ -1,6 +1,8 @@ { + "title": "Clusters_List", + "operationId": "Clusters_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" @@ -16,6 +18,7 @@ "name": "AV20" }, "properties": { + "displayName": "nameCluster1", "clusterSize": 3, "hosts": [ "fakehost22.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json index 641a6b993de5..f85165285c40 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json @@ -1,6 +1,8 @@ { + "title": "Clusters_ListZones", + "operationId": "Clusters_ListZones", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json index a45d24e925e5..8980ac424479 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json @@ -1,6 +1,8 @@ { + "title": "Clusters_ListZones_Stretched", + "operationId": "Clusters_ListZones", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json index 94980a09ce0e..27438b4b1a20 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json @@ -1,12 +1,16 @@ { + "title": "Clusters_Update", + "operationId": "Clusters_Update", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", "clusterName": "cluster1", "clusterUpdate": { "properties": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", "clusterSize": 4 } } @@ -20,7 +24,9 @@ "name": "AV20" }, "properties": { + "displayName": "renamedCluster1", "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost22.nyc1.kubernetes.center", "fakehost23.nyc1.kubernetes.center", @@ -40,6 +46,7 @@ "name": "AV20" }, "properties": { + "displayName": "renamedCluster1", "clusterSize": 4, "provisioningState": "Updating" }, diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json index d110a8c8ef06..32f6d9ff78db 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "Datastores_CreateOrUpdate", + "operationId": "Datastores_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json index ef462e04bc32..91e0edf72196 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json @@ -1,6 +1,8 @@ { + "title": "Datastores_Delete", + "operationId": "Datastores_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -11,7 +13,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json index 70e40b9c1390..64b5c01459d6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json @@ -1,6 +1,8 @@ { + "title": "Datastores_Get", + "operationId": "Datastores_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json index 9d4f91545c30..2a9a2afb8300 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json @@ -1,6 +1,8 @@ { + "title": "Datastores_List", + "operationId": "Datastores_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -36,6 +38,18 @@ "status": "Accessible" }, "type": "Microsoft.AVS/privateClouds/clusters/datastores" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2", + "name": "datastore2", + "properties": { + "elasticSanVolume": { + "targetId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1" + }, + "provisioningState": "Succeeded", + "status": "Accessible" + }, + "type": "Microsoft.AVS/privateClouds/clusters/datastores" } ] } diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json index 88b9a3d2c350..283417360337 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "GlobalReachConnections_CreateOrUpdate", + "operationId": "GlobalReachConnections_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json index fdd59e18c373..609f6d8abdac 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json @@ -1,6 +1,8 @@ { + "title": "GlobalReachConnections_Delete", + "operationId": "GlobalReachConnections_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -10,7 +12,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json index d22bb5770445..8c246a1b666e 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json @@ -1,6 +1,8 @@ { + "title": "GlobalReachConnections_Get", + "operationId": "GlobalReachConnections_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json index 83d4ed384d1a..ac01618ff61d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json @@ -1,6 +1,8 @@ { + "title": "GlobalReachConnections_List", + "operationId": "GlobalReachConnections_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json index 3f6e2d71a9a4..fd7e99f24eb6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "HcxEnterpriseSites_CreateOrUpdate", + "operationId": "HcxEnterpriseSites_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json index a99bc6cca280..09f97805e0e4 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json @@ -1,6 +1,8 @@ { + "title": "HcxEnterpriseSites_Delete", + "operationId": "HcxEnterpriseSites_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json index 10bca12e04dd..06bc6698de19 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json @@ -1,6 +1,8 @@ { + "title": "HcxEnterpriseSites_Get", + "operationId": "HcxEnterpriseSites_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json index 59975156f72d..8f7343ad0dae 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json @@ -1,6 +1,8 @@ { + "title": "HcxEnterpriseSites_List", + "operationId": "HcxEnterpriseSites_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json new file mode 100644 index 000000000000..cd4412b41f0c --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "title": "IscsiPaths_CreateOrUpdate", + "operationId": "IscsiPaths_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "iscsiPathName": "default", + "resource": { + "properties": { + "networkBlock": "192.168.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Pending" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Delete.json new file mode 100644 index 000000000000..91def6ffb56e --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "IscsiPaths_Delete", + "operationId": "IscsiPaths_Delete", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Get.json new file mode 100644 index 000000000000..29b8f5815b89 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Get.json @@ -0,0 +1,23 @@ +{ + "title": "IscsiPaths_Get", + "operationId": "IscsiPaths_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_List.json new file mode 100644 index 000000000000..f0ad6d2fdf6d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_List.json @@ -0,0 +1,27 @@ +{ + "title": "IscsiPaths_ListByPrivateCloud", + "operationId": "IscsiPaths_ListByPrivateCloud", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default", + "name": "default", + "properties": { + "networkBlock": "192.168.0.0/24", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/iscsiPaths" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json index 687ac41fe5b8..838cdf505abe 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json @@ -1,7 +1,9 @@ { + "title": "Locations_CheckQuotaAvailability", + "operationId": "Locations_CheckQuotaAvailability", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2023-03-01", + "api-version": "2023-09-01", "location": "eastus" }, "responses": { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json index 978da3485be6..45f6e9342a96 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json @@ -1,7 +1,9 @@ { + "title": "Locations_CheckTrialAvailability", + "operationId": "Locations_CheckTrialAvailability", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2023-03-01", + "api-version": "2023-09-01", "location": "eastus" }, "responses": { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json index 4e005496b86e..84bf656a903f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json @@ -1,7 +1,9 @@ { + "title": "Locations_CheckTrialAvailabilityWithSku", + "operationId": "Locations_CheckTrialAvailability", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2023-03-01", + "api-version": "2023-09-01", "location": "eastus", "sku": { "name": "avs52t" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json new file mode 100644 index 000000000000..ea9958d59345 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Maintenances_Get", + "operationId": "Maintenances_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "PreCheck", + "stageStatus": "NotStarted", + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json new file mode 100644 index 000000000000..cd3feddfd8a3 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json @@ -0,0 +1,74 @@ +{ + "title": "Maintenances_List", + "operationId": "Maintenances_List", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "PreCheck", + "stageStatus": "NotStarted", + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance2", + "name": "maintenance2", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T11:00:11.830Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "PreCheck", + "stageStatus": "NotStarted", + "message": "CD rom mounted", + "startedAt": "2023-01-12T11:00:11.830Z", + "endedAt": "2023-01-12T11:00:11.830Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json new file mode 100644 index 000000000000..3d73e5afd101 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json @@ -0,0 +1,47 @@ +{ + "title": "Maintenances_Reschedule", + "operationId": "Maintenances_Reschedule", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "maintenanceName": "maintenance1", + "body": { + "rescheduleTime": "2023-01-12T16:17:55.237Z", + "message": "Rescheduled due to xyz" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", + "name": "maintenance1", + "type": "Microsoft.AVS/privateClouds/maintenances", + "properties": { + "component": "VCSA", + "displayName": "vcsa 7.0 upgrade", + "clusterId": 1, + "infoLink": "https://vmwarekb/arcticle", + "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", + "scheduledStartTime": "2023-01-12T16:17:55.237Z", + "estimatedDurationInMinutes": 960, + "state": { + "stage": "Reschedule", + "stageStatus": "Success", + "message": "Rescheduled due to xyz", + "startedAt": "2023-01-12T16:17:55.237Z", + "endedAt": "2023-01-12T16:17:55.237Z" + }, + "provisioningState": "Succeeded", + "rescheduleConstraints": { + "deadline": "2023-01-12T11:00:11.830Z", + "freezeDays": [ + "2023-01-13" + ] + } + } + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json index cf26b0fcd778..bde9f5a66d8c 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Operations_List.json @@ -1,6 +1,8 @@ { + "title": "Operations_List", + "operationId": "Operations_List", "parameters": { - "api-version": "2023-03-01" + "api-version": "2023-09-01" }, "responses": { "200": { @@ -16,8 +18,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/operations/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -28,8 +29,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/register/action", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -40,8 +40,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/unregister/action", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -52,8 +51,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/checkNameAvailability/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -64,8 +62,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/locations/checkNameAvailability/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -76,8 +73,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/locations/checkQuotaAvailability/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -88,8 +84,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/locations/checkTrialAvailability/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -100,8 +95,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/register/action", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -112,8 +106,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/write", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -124,8 +117,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -136,8 +128,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/delete", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -148,8 +139,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/operationstatuses/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -160,8 +150,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/clusters/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -172,8 +161,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/clusters/write", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -184,8 +172,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/clusters/delete", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -196,8 +183,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/clusters/operationstatuses/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -208,8 +194,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateclouds/clusters/operationresults/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -220,8 +205,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/operationresults/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -232,8 +216,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/authorizations/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -244,8 +227,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/authorizations/write", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -256,8 +238,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/authorizations/delete", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -268,8 +249,7 @@ }, "isDataAction": true, "name": "Microsoft.AVS/privateClouds/listAdminCredentials/action", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -280,8 +260,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -292,8 +271,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/write", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -304,8 +282,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/hcxEnterpriseSites/delete", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -316,8 +293,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/hostInstances/read", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -328,8 +304,7 @@ }, "isDataAction": false, "name": "Microsoft.AVS/privateClouds/hostInstances/write", - "origin": "user,system", - "properties": {} + "origin": "user,system" }, { "display": { @@ -340,182 +315,7 @@ }, "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": {} + "origin": "user,system" } ] } diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json index 33d307c2bb52..3fb246e5a611 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "PlacementPolicies_CreateOrUpdate", + "operationId": "PlacementPolicies_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json index d4c66b7f248a..98dcc9c25223 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json @@ -1,6 +1,8 @@ { + "title": "PlacementPolicies_Delete", + "operationId": "PlacementPolicies_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -11,7 +13,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json index 2245f9abcb6f..9c6f5755dee5 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json @@ -1,6 +1,8 @@ { + "title": "PlacementPolicies_Get", + "operationId": "PlacementPolicies_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json index 458da3736683..5680a5ca9688 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json @@ -1,6 +1,8 @@ { + "title": "PlacementPolicies_List", + "operationId": "PlacementPolicies_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json index 16edb917c708..d1b2e94dc9de 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json @@ -1,6 +1,8 @@ { + "title": "PlacementPolicies_Update", + "operationId": "PlacementPolicies_Update", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json index 0a966b3ed631..e5675ba90936 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_CreateOrUpdate", + "operationId": "PrivateClouds_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -15,6 +17,8 @@ "properties": { "networkBlock": "192.168.48.0/22", "managementCluster": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -35,6 +39,7 @@ "strategy": "SingleZone", "zone": 1 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -43,7 +48,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "renamedCluster1", "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -90,6 +97,7 @@ "strategy": "SingleZone", "zone": 1 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -98,6 +106,8 @@ }, "managementCluster": { "clusterId": 1, + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -107,8 +117,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "identitySources": [ { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json index 5293b6b8d0ab..13a9c3bedff5 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_CreateOrUpdate_Stretched", + "operationId": "PrivateClouds_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -17,6 +19,7 @@ }, "networkBlock": "192.168.48.0/22", "managementCluster": { + "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -28,6 +31,10 @@ "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", "location": "eastus2", + "zones": [ + "1", + "2" + ], "name": "cloud1", "sku": { "name": "AV36" @@ -38,6 +45,7 @@ "zone": 1, "secondaryZone": 2 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -51,6 +59,7 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -60,8 +69,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "externalCloudLinks": [ "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" @@ -98,6 +111,7 @@ "strategy": "SingleZone", "zone": 1 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -106,6 +120,7 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -115,8 +130,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "identitySources": [ { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json new file mode 100644 index 000000000000..f13756564b88 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json @@ -0,0 +1,159 @@ +{ + "title": "PrivateClouds_CreateOrUpdate_StretchedZones", + "operationId": "PrivateClouds_CreateOrUpdate", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "privateCloud": { + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "sku": { + "name": "AV36" + }, + "properties": { + "networkBlock": "192.168.48.0/22", + "managementCluster": { + "displayName": "renamedCluster1", + "clusterSize": 4 + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "zones": [ + "1", + "2" + ], + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "DualZone", + "zone": 1, + "secondaryZone": 2 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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" + }, + "secondaryCircuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", + "primarySubnet": "192.168.53.0/30", + "secondarySubnet": "192.168.53.4/30" + }, + "managementCluster": { + "clusterId": 1, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" + }, + "externalCloudLinks": [ + "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" + ], + "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", + "location": "eastus2", + "name": "cloud1", + "sku": { + "name": "AV36" + }, + "properties": { + "availability": { + "strategy": "SingleZone", + "zone": 1 + }, + "displayName": "datacenter1", + "networkBlock": "192.168.48.0/22", + "circuit": { + "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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, + "displayName": "renamedCluster1", + "clusterSize": 4, + "hosts": [ + "fakehost18.nyc1.kubernetes.center", + "fakehost19.nyc1.kubernetes.center", + "fakehost20.nyc1.kubernetes.center", + "fakehost21.nyc1.kubernetes.center" + ] + }, + "endpoints": { + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "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": "Updating" + }, + "tags": {}, + "type": "Microsoft.AVS/privateClouds" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json index 3bf72e10afda..ce14c53cac86 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_Delete", + "operationId": "PrivateClouds_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" @@ -9,7 +11,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json index 617cb12e632e..5c1ef26ec0f8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_Get", + "operationId": "PrivateClouds_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" @@ -24,6 +26,7 @@ "strategy": "SingleZone", "zone": 1 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -33,7 +36,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "nameCluster1", "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -52,9 +57,12 @@ } }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "externalCloudLinks": [ "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json index acc6dc22a7dd..e0fd2fdcd2bf 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_Get_Stretched", + "operationId": "PrivateClouds_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" @@ -20,6 +22,7 @@ "zone": 1, "secondaryZone": 2 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -35,7 +38,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "nameCluster1", "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -44,9 +49,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "externalCloudLinks": [ "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json index 593aa16dd074..90ede988b812 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_List", + "operationId": "PrivateClouds_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1" }, @@ -20,6 +22,7 @@ "strategy": "SingleZone", "zone": 1 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -29,7 +32,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "nameCluster1", "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -38,9 +43,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "externalCloudLinks": [ "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json index e31effe130bd..1169f66580bc 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_ListAdminCredentials", + "operationId": "PrivateClouds_ListAdminCredentials", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json index 6ab805a0652d..0d13d22553c2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_ListInSubscription", + "operationId": "PrivateClouds_ListInSubscription", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { @@ -19,6 +21,7 @@ "strategy": "SingleZone", "zone": 1 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -28,7 +31,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "nameCluster1", "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -37,9 +42,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "identitySources": [ { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json index 1e23fbd934ab..03047b3eff30 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_ListInSubscription_Stretched", + "operationId": "PrivateClouds_ListInSubscription", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { @@ -20,6 +22,7 @@ "zone": 1, "secondaryZone": 2 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -35,7 +38,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "nameCluster1", "clusterSize": 4, + "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -44,9 +49,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "identitySources": [ { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json index 6e4f7cd39722..b82470c942d7 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_List_Stretched", + "operationId": "PrivateClouds_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1" }, @@ -21,6 +23,7 @@ "zone": 1, "secondaryZone": 2 }, + "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -36,6 +39,7 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "nameCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -45,9 +49,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "externalCloudLinks": [ "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json index 0c8d9da2383b..ea9728d6e168 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_RotateNsxtPassword", + "operationId": "PrivateClouds_RotateNsxtPassword", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" @@ -8,7 +10,7 @@ "responses": { "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json index 0c8d9da2383b..ae5cc35b5d42 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_RotateVcenterPassword", + "operationId": "PrivateClouds_RotateVcenterPassword", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" @@ -8,7 +10,7 @@ "responses": { "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json index 75dbead85523..cbc36b1b3522 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json @@ -1,6 +1,8 @@ { + "title": "PrivateClouds_Update", + "operationId": "PrivateClouds_Update", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -9,7 +11,10 @@ "type": "None" }, "properties": { + "displayName": "renamedDatacenter1", "managementCluster": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", "clusterSize": 4 }, "encryption": { @@ -33,6 +38,7 @@ "name": "AV36" }, "properties": { + "displayName": "renamedDatacenter1", "availability": { "strategy": "SingleZone", "zone": 1 @@ -46,7 +52,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "renamedCluster1", "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -64,9 +72,12 @@ } }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "externalCloudLinks": [ "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" @@ -99,6 +110,7 @@ "name": "AV36" }, "properties": { + "displayName": "renamedDatacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -108,6 +120,7 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -125,8 +138,12 @@ } }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "identitySources": [ { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json index 715cabced33a..5ad7f11a89be 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json @@ -1,12 +1,17 @@ { + "title": "PrivateClouds_Update_Stretched", + "operationId": "PrivateClouds_Update", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", "privateCloudUpdate": { "properties": { + "displayName": "renamedDatacenter1", "managementCluster": { + "vsanDatastoreName": "renamedDatastore1", + "displayName": "renamedCluster1", "clusterSize": 4 } } @@ -22,6 +27,7 @@ "name": "AV36" }, "properties": { + "displayName": "renamedDatacenter1", "availability": { "strategy": "DualZone", "zone": 1, @@ -42,6 +48,7 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -51,9 +58,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/", - "hcxCloudManager": "https://192.168.50.4/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "externalCloudLinks": [ "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" @@ -87,6 +97,7 @@ }, "properties": { "networkBlock": "192.168.48.0/22", + "displayName": "renamedDatacenter1", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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", @@ -95,7 +106,9 @@ }, "managementCluster": { "clusterId": 1, + "displayName": "renamedCluster1", "clusterSize": 4, + "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -104,8 +117,12 @@ ] }, "endpoints": { - "nsxtManager": "https://192.168.50.3/", - "vcsa": "https://192.168.50.2/" + "nsxtManager": "https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", + "nsxtManagerIp": "192.168.50.3", + "vcenterIp": "192.168.50.2", + "hcxCloudManagerIp": "192.168.50.4" }, "identitySources": [ { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json new file mode 100644 index 000000000000..7aa6623c44c2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json @@ -0,0 +1,24 @@ +{ + "title": "ProvisionedNetworks_Get", + "operationId": "ProvisionedNetworks_Get", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "provisionedNetworkName": "vsan" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json new file mode 100644 index 000000000000..46dc3017b8df --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json @@ -0,0 +1,45 @@ +{ + "title": "ProvisionedNetworks_ListByPrivateCloud", + "operationId": "ProvisionedNetworks_ListByPrivateCloud", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", + "name": "vsan", + "properties": { + "addressPrefix": "10.0.2.128/25", + "networkType": "vsan" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot", + "name": "esxvmot", + "properties": { + "addressPrefix": "10.0.1.128/25", + "networkType": "esxvmot" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet", + "name": "mgmtvnet", + "properties": { + "addressPrefix": "10.0.3.128/26", + "networkType": "mgmtvnet" + }, + "type": "Microsoft.AVS/privateClouds/provisionedNetworks" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json index 22003e92b3b9..6f58059df70c 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json @@ -1,6 +1,8 @@ { + "title": "ScriptCmdlets_Get", + "operationId": "ScriptCmdlets_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -15,6 +17,7 @@ "properties": { "description": "Add an external Sso domain to their vCenter", "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", "parameters": [ { "name": "DomainName", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json index b28f166fb9bf..f51de5f923c6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json @@ -1,6 +1,8 @@ { + "title": "ScriptCmdlets_List", + "operationId": "ScriptCmdlets_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -16,6 +18,7 @@ "properties": { "description": "Allow user to set the storage policy of the specified VM", "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", "parameters": [ { "name": "VM", @@ -41,6 +44,7 @@ "properties": { "description": "Add an external Sso domain to their vCenter", "timeout": "P0Y0M0DT0H60M0S", + "audience": "Any", "parameters": [ { "name": "DomainName", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json index 04d2c8dc532a..61d455573c9f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json @@ -1,6 +1,8 @@ { + "title": "ScriptExecutions_CreateOrUpdate", + "operationId": "ScriptExecutions_CreateOrUpdate", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json index ccc13ddf3ad5..1e4861879ef3 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json @@ -1,6 +1,8 @@ { + "title": "ScriptExecutions_Delete", + "operationId": "ScriptExecutions_Delete", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -10,7 +12,7 @@ "200": {}, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } }, "204": {} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json index 207caadbcfea..07b4bb84e0c2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json @@ -1,6 +1,8 @@ { + "title": "ScriptExecutions_Get", + "operationId": "ScriptExecutions_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json index ef2760ef503c..7608c0846235 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json @@ -1,6 +1,8 @@ { + "title": "ScriptExecutions_GetExecutionLogs", + "operationId": "ScriptExecutions_GetExecutionLogs", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json index 575adea14be8..bb35f9db2db7 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json @@ -1,6 +1,8 @@ { + "title": "ScriptExecutions_List", + "operationId": "ScriptExecutions_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json index 8986e5e8ad36..737b54f9e94d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json @@ -1,6 +1,8 @@ { + "title": "ScriptPackages_Get", + "operationId": "ScriptPackages_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json index 8d480bb017c8..12e520c461c2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json @@ -1,6 +1,8 @@ { + "title": "ScriptPackages_List", + "operationId": "ScriptPackages_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json index 264972043b1c..8f25bdc2d552 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json @@ -1,6 +1,8 @@ { + "title": "VirtualMachines_Get", + "operationId": "VirtualMachines_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json index b73d4a03ea82..60df3a2567d5 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json @@ -1,6 +1,8 @@ { + "title": "VirtualMachines_List", + "operationId": "VirtualMachines_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json index cedbe7fb2b7c..9329fa4b4ee4 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json @@ -1,6 +1,8 @@ { + "title": "VirtualMachines_RestrictMovement", + "operationId": "VirtualMachines_RestrictMovement", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -13,7 +15,7 @@ "responses": { "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } } } diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json new file mode 100644 index 000000000000..933875fce733 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDhcp", + "operationId": "WorkloadNetworks_CreateDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json new file mode 100644 index 000000000000..a2be1beeb7e7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json @@ -0,0 +1,61 @@ +{ + "title": "WorkloadNetworks_CreateDnsService", + "operationId": "WorkloadNetworks_CreateDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json new file mode 100644 index 000000000000..7da0394bfc59 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json @@ -0,0 +1,58 @@ +{ + "title": "WorkloadNetworks_CreateDnsZone", + "operationId": "WorkloadNetworks_CreateDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json new file mode 100644 index 000000000000..60000ee7ac88 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreatePortMirroring", + "operationId": "WorkloadNetworks_CreatePortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "displayName": "portMirroring1", + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json new file mode 100644 index 000000000000..e0caa928d773 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_CreatePublicIP", + "operationId": "WorkloadNetworks_CreatePublicIP", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1", + "workloadNetworkPublicIP": { + "properties": { + "displayName": "publicIP1", + "numberOfPublicIPs": 32 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json index 3c3c67611d2b..bed8eccc86b8 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_CreateSegments", + "operationId": "WorkloadNetworks_CreateSegments", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json new file mode 100644 index 000000000000..a92532362070 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json @@ -0,0 +1,52 @@ +{ + "title": "WorkloadNetworks_CreateVMGroup", + "operationId": "WorkloadNetworks_CreateVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "displayName": "vmGroup1", + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json new file mode 100644 index 000000000000..a26760e58b70 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDhcp", + "operationId": "WorkloadNetworks_DeleteDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json new file mode 100644 index 000000000000..4cf2abe8f384 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsService", + "operationId": "WorkloadNetworks_DeleteDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json new file mode 100644 index 000000000000..4156fbaaccf2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteDnsZone", + "operationId": "WorkloadNetworks_DeleteDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json new file mode 100644 index 000000000000..2e19600fdde1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePortMirroring", + "operationId": "WorkloadNetworks_DeletePortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json new file mode 100644 index 000000000000..a30f0bb6fbb9 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeletePublicIP", + "operationId": "WorkloadNetworks_DeletePublicIP", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json new file mode 100644 index 000000000000..b68ace210b88 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteSegment", + "operationId": "WorkloadNetworks_DeleteSegment", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json new file mode 100644 index 000000000000..aad6094bff32 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json @@ -0,0 +1,20 @@ +{ + "title": "WorkloadNetworks_DeleteVMGroup", + "operationId": "WorkloadNetworks_DeleteVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + }, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json index e3ddefc9df74..6fef13816da2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_Get", + "operationId": "WorkloadNetworks_Get", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json new file mode 100644 index 000000000000..2fcb1de106b6 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDhcp", + "operationId": "WorkloadNetworks_GetDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dhcpId": "dhcp1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json new file mode 100644 index 000000000000..6770c3a9c152 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_GetDnsService", + "operationId": "WorkloadNetworks_GetDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsServiceId": "dnsService1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json new file mode 100644 index 000000000000..e21810a60dea --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json @@ -0,0 +1,30 @@ +{ + "title": "WorkloadNetworks_GetDnsZone", + "operationId": "WorkloadNetworks_GetDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "dnsZoneId": "dnsZone1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json index e4cec05424f3..11c0eac3e3ee 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_GetGateway", + "operationId": "WorkloadNetworks_GetGateway", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json new file mode 100644 index 000000000000..2505c21ea643 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetPortMirroring", + "operationId": "WorkloadNetworks_GetPortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json new file mode 100644 index 000000000000..101d91f1e822 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json @@ -0,0 +1,24 @@ +{ + "title": "WorkloadNetworks_GetPublicIP", + "operationId": "WorkloadNetworks_GetPublicIP", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "publicIPId": "publicIP1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", + "name": "publicIP1", + "properties": { + "displayName": "publicIP1", + "publicIPBlock": "20.20.40.50/32" + }, + "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json new file mode 100644 index 000000000000..495a0d4872c2 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json @@ -0,0 +1,37 @@ +{ + "title": "WorkloadNetworks_GetSegment", + "operationId": "WorkloadNetworks_GetSegment", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "segmentId": "segment1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json new file mode 100644 index 000000000000..02f1f9e257e1 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json @@ -0,0 +1,28 @@ +{ + "title": "WorkloadNetworks_GetVMGroup", + "operationId": "WorkloadNetworks_GetVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json index 8d6fd8f3dcec..b599fb749b9a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_GetVirtualMachine", + "operationId": "WorkloadNetworks_GetVirtualMachine", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json index 47276823bb41..290d443e6a59 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_List.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_List", + "operationId": "WorkloadNetworks_List", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json new file mode 100644 index 000000000000..daf47b737451 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json @@ -0,0 +1,34 @@ +{ + "title": "WorkloadNetworks_ListDhcp", + "operationId": "WorkloadNetworks_ListDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json index 51e912fc99ea..b99df2a6872b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_ListDnsServices", + "operationId": "WorkloadNetworks_ListDnsServices", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json index d8d787c6d6f2..7dcf025391fa 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_ListDnsZones", + "operationId": "WorkloadNetworks_ListDnsZones", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json index 4c12c92c4f8c..f043446c2a91 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_ListGateways", + "operationId": "WorkloadNetworks_ListGateways", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json new file mode 100644 index 000000000000..a5acf85529b7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json @@ -0,0 +1,31 @@ +{ + "title": "WorkloadNetworks_ListPortMirroring", + "operationId": "WorkloadNetworks_ListPortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json index 6c1e4ed3c444..21c222ee88c7 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_ListPublicIPs", + "operationId": "WorkloadNetworks_ListPublicIPs", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json index f5ed5bbbcf14..2eee7a6c142b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_ListSegments", + "operationId": "WorkloadNetworks_ListSegments", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json index 56a025a05898..9d0141e6716e 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_ListVMGroups", + "operationId": "WorkloadNetworks_ListVMGroups", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json index 380d749d6e83..f63e522bd260 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_ListVirtualMachines", + "operationId": "WorkloadNetworks_ListVirtualMachines", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json new file mode 100644 index 000000000000..ae65393a8ac4 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json @@ -0,0 +1,44 @@ +{ + "title": "WorkloadNetworks_UpdateDhcp", + "operationId": "WorkloadNetworks_UpdateDhcp", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json new file mode 100644 index 000000000000..9e71d03146d7 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json @@ -0,0 +1,48 @@ +{ + "title": "WorkloadNetworks_UpdateDnsService", + "operationId": "WorkloadNetworks_UpdateDnsService", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json new file mode 100644 index 000000000000..e042b707070d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json @@ -0,0 +1,46 @@ +{ + "title": "WorkloadNetworks_UpdateDnsZone", + "operationId": "WorkloadNetworks_UpdateDnsZone", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json new file mode 100644 index 000000000000..c4d175bf35fa --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdatePortMirroring", + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "portMirroringId": "portMirroring1", + "workloadNetworkPortMirroring": { + "properties": { + "direction": "BIDIRECTIONAL", + "source": "vmGroup1", + "destination": "vmGroup2", + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json index b4ef679a8a3b..e6717f00d22e 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json @@ -1,6 +1,8 @@ { + "title": "WorkloadNetworks_UpdateSegments", + "operationId": "WorkloadNetworks_UpdateSegments", "parameters": { - "api-version": "2023-03-01", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", "privateCloudName": "cloud1", @@ -45,7 +47,7 @@ }, "202": { "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" } } } diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json new file mode 100644 index 000000000000..85744f8b8d5d --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json @@ -0,0 +1,41 @@ +{ + "title": "WorkloadNetworks_UpdateVMGroup", + "operationId": "WorkloadNetworks_UpdateVMGroup", + "parameters": { + "api-version": "2023-09-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "vmGroupId": "vmGroup1", + "workloadNetworkVMGroup": { + "properties": { + "members": [ + "564d43da-fefc-2a3b-1d92-42855622fa50" + ], + "revision": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 5af8f7c20ed9..f8c981a507ba 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -2,17 +2,22 @@ "swagger": "2.0", "info": { "title": "Azure VMware Solution API", + "version": "2023-09-01", "description": "Azure VMware Solution API", - "version": "2023-03-01" + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], "security": [ @@ -25,270 +30,106 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "description": "Azure Active Directory OAuth2 Flow.", "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } } }, - "parameters": { - "privateCloudName": { - "name": "privateCloudName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the private cloud", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" - }, - "clusterName": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the cluster in the private cloud", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" + "tags": [ + { + "name": "Operations" }, - "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", - "pattern": "^[-\\w\\._]+$" + { + "name": "Locations" }, - "addonName": { - "name": "addonName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the addon for the private cloud", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" + { + "name": "PrivateClouds" }, - "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", - "pattern": "^[-\\w\\._]+$" + { + "name": "Clusters" }, - "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", - "pattern": "^[-\\w\\._]+$" + { + "name": "Datastores" }, - "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" + { + "name": "HcxEnterpriseSites" }, - "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" + { + "name": "Authorizations" }, - "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" + { + "name": "GlobalReachConnections" }, - "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" + { + "name": "WorkloadNetworks" }, - "virtualMachineId": { - "name": "virtualMachineId", - "in": "path", - "required": true, - "type": "string", - "description": "Virtual Machine identifier", - "x-ms-parameter-location": "method" + { + "name": "WorkloadNetworkSegments" }, - "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" + { + "name": "WorkloadNetworkGateways" }, - "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" + { + "name": "WorkloadNetworkVirtualMachines" }, - "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" + { + "name": "CloudLinks" }, - "publicIPId": { - "name": "publicIPId", - "in": "path", - "required": true, - "type": "string", - "description": "NSX Public IP Block identifier. Generally the same as the Public IP Block's display name", - "x-ms-parameter-location": "method" + { + "name": "Addons" }, - "datastoreName": { - "name": "datastoreName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the datastore in the private cloud cluster", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" + { + "name": "VirtualMachines" }, - "cloudLinkName": { - "name": "cloudLinkName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the cloud link resource", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" + { + "name": "PlacementPolicies" }, - "placementPolicyName": { - "name": "placementPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" + { + "name": "ScriptPackages" }, - "scriptExecutionName": { - "name": "scriptExecutionName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the user-invoked script execution resource", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" + { + "name": "ScriptCmdlets" }, - "scriptPackageName": { - "name": "scriptPackageName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the script package in the private cloud", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._@]+$" + { + "name": "ScriptExecutions" }, - "scriptCmdletName": { - "name": "scriptCmdletName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the script cmdlet resource in the script package in the private cloud", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" - }, - "scriptOutputStreamType": { - "name": "scriptOutputStreamType", - "in": "body", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Information", - "Warning", - "Output", - "Error" - ], - "x-ms-enum": { - "name": "ScriptOutputStreamType", - "modelAsString": true - } - } - }, - "description": "Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing", - "x-ms-parameter-location": "method" + { + "name": "ProvisionedNetworks" }, - "workloadNetworkName": { - "name": "workloadNetworkName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "WorkloadNetworkName", - "modelAsString": true - }, - "description": "Name for the workload network in the private cloud", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._]+$" + { + "name": "Maintenances" }, - "provisionedNetworkName": { - "name": "provisionedNetworkName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the provisioned network in the private cloud", - "x-ms-parameter-location": "method" + { + "name": "IscsiPaths" } - }, + ], "paths": { "/providers/Microsoft.AVS/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], - "description": "Lists all of the available operations", - "operationId": "Operations_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Request has succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/OperationList" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -296,191 +137,196 @@ "Operations_List": { "$ref": "./examples/Operations_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability": { "post": { + "operationId": "Locations_CheckQuotaAvailability", "tags": [ "Locations" ], - "description": "Return trial status for subscription by region", - "operationId": "Locations_CheckTrialAvailability", + "description": "Return quota for subscription by region", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", "in": "path", + "description": "A location in a subscription", "required": true, "type": "string", - "description": "Azure region" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "sku", - "in": "body", - "required": false, - "description": "The sku to check for trial availability", - "schema": { - "$ref": "#/definitions/Sku" - } + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "Request has succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Trial" + "$ref": "#/definitions/Quota" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Locations_CheckTrialAvailability": { - "$ref": "./examples/Locations_CheckTrialAvailability.json" - }, - "Locations_CheckTrialAvailabilityWithSku": { - "$ref": "./examples/Locations_CheckTrialAvailabilityWithSku.json" + "Locations_CheckQuotaAvailability": { + "$ref": "./examples/Locations_CheckQuotaAvailability.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability": { "post": { + "operationId": "Locations_CheckTrialAvailability", "tags": [ "Locations" ], - "description": "Return quota for subscription by region", - "operationId": "Locations_CheckQuotaAvailability", + "description": "Return trial status for subscription by region", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", "in": "path", + "description": "A location in a subscription", "required": true, "type": "string", - "description": "Azure region" + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "sku", + "in": "body", + "description": "Optionally, check for a specific SKU", + "required": false, + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + } } ], "responses": { "200": { - "description": "Request has succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Quota" + "$ref": "#/definitions/Trial" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Locations_CheckQuotaAvailability": { - "$ref": "./examples/Locations_CheckQuotaAvailability.json" + "Locations_CheckTrialAvailability": { + "$ref": "./examples/Locations_CheckTrialAvailability.json" + }, + "Locations_CheckTrialAvailabilityWithSku": { + "$ref": "./examples/Locations_CheckTrialAvailabilityWithSku.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds": { "get": { - "operationId": "PrivateClouds_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "PrivateClouds_ListInSubscription", "tags": [ "PrivateClouds" ], - "summary": "List private clouds in a resource group", + "description": "List PrivateCloud resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateCloudList" + "$ref": "#/definitions/PrivateCloudListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateClouds_List": { - "$ref": "./examples/PrivateClouds_List.json" + "PrivateClouds_ListInSubscription": { + "$ref": "./examples/PrivateClouds_ListInSubscription.json" }, - "PrivateClouds_List_Stretched": { - "$ref": "./examples/PrivateClouds_List_Stretched.json" + "PrivateClouds_ListInSubscription_Stretched": { + "$ref": "./examples/PrivateClouds_ListInSubscription_Stretched.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds": { "get": { - "operationId": "PrivateClouds_ListInSubscription", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "PrivateClouds_List", "tags": [ "PrivateClouds" ], - "summary": "List private clouds in a subscription", + "description": "List PrivateCloud resources by resource group", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateCloudList" + "$ref": "#/definitions/PrivateCloudListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateClouds_ListInSubscription": { - "$ref": "./examples/PrivateClouds_ListInSubscription.json" + "PrivateClouds_List": { + "$ref": "./examples/PrivateClouds_List.json" }, - "PrivateClouds_ListInSubscription_Stretched": { - "$ref": "./examples/PrivateClouds_ListInSubscription_Stretched.json" + "PrivateClouds_List_Stretched": { + "$ref": "./examples/PrivateClouds_List_Stretched.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -490,32 +336,37 @@ "tags": [ "PrivateClouds" ], - "summary": "Get a private cloud", + "description": "Get a PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PrivateCloud" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -530,51 +381,63 @@ }, "put": { "operationId": "PrivateClouds_CreateOrUpdate", - "x-ms-long-running-operation": true, "tags": [ "PrivateClouds" ], - "summary": "Create or update a private cloud", + "description": "Create a PrivateCloud", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { "name": "privateCloud", - "description": "The private cloud", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { "$ref": "#/definitions/PrivateCloud" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + "x-ms-client-name": "privateCloud" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'PrivateCloud' update operation succeeded", "schema": { "$ref": "#/definitions/PrivateCloud" } }, "201": { - "description": "accepted operation", + "description": "Resource 'PrivateCloud' create operation succeeded", "schema": { "$ref": "#/definitions/PrivateCloud" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -584,56 +447,78 @@ }, "PrivateClouds_CreateOrUpdate_Stretched": { "$ref": "./examples/PrivateClouds_CreateOrUpdate_Stretched.json" + }, + "PrivateClouds_CreateOrUpdate_StretchedZones": { + "$ref": "./examples/PrivateClouds_CreateOrUpdate_StretchedZones.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, "patch": { "operationId": "PrivateClouds_Update", - "x-ms-long-running-operation": true, "tags": [ "PrivateClouds" ], - "summary": "Update a private cloud", + "description": "Update a PrivateCloud", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { "name": "privateCloudUpdate", - "description": "The private cloud properties to be updated", "in": "body", + "description": "The private cloud properties to be updated.", "required": true, "schema": { "$ref": "#/definitions/PrivateCloudUpdate" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PrivateCloud" } }, "201": { - "description": "accepted operation", + "description": "The request has succeeded and a new resource has been created as a result.", "schema": { "$ref": "#/definitions/PrivateCloud" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -644,43 +529,62 @@ "PrivateClouds_Update_Stretched": { "$ref": "./examples/PrivateClouds_Update_Stretched.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "PrivateClouds_Delete", - "x-ms-long-running-operation": true, "tags": [ "PrivateClouds" ], - "summary": "Delete a private cloud", + "description": "Delete a PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No private cloud to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -688,4886 +592,7569 @@ "PrivateClouds_Delete": { "$ref": "./examples/PrivateClouds_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword": { - "post": { - "operationId": "PrivateClouds_RotateVcenterPassword", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons": { + "get": { + "operationId": "Addons_List", "tags": [ - "PrivateClouds" + "Addons" ], - "summary": "Rotate the vCenter password", + "description": "List Addon resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], - "x-ms-long-running-operation": true, "responses": { - "202": { - "description": "The password rotation has started" - }, - "204": { - "description": "The password rotation was successful" + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AddonListResult" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateClouds_RotateVcenterPassword": { - "$ref": "./examples/PrivateClouds_RotateVcenterPassword.json" + "Addons_List": { + "$ref": "./examples/Addons_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword": { - "post": { - "operationId": "PrivateClouds_RotateNsxtPassword", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}": { + "get": { + "operationId": "Addons_Get", "tags": [ - "PrivateClouds" + "Addons" ], - "summary": "Rotate the NSX-T Manager password", + "description": "Get a Addon", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "addonName", + "in": "path", + "description": "Name of the addon.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], - "x-ms-long-running-operation": true, "responses": { - "202": { - "description": "The password rotation has started" - }, - "204": { - "description": "The password rotation was successful" + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Addon" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateClouds_RotateNsxtPassword": { - "$ref": "./examples/PrivateClouds_RotateNsxtPassword.json" + "Addons_Get_ArcReg": { + "$ref": "./examples/Addons_Get_ArcReg.json" + }, + "Addons_Get_HCX": { + "$ref": "./examples/Addons_Get_HCX.json" + }, + "Addons_Get_SRM": { + "$ref": "./examples/Addons_Get_SRM.json" + }, + "Addons_Get_VR": { + "$ref": "./examples/Addons_Get_VR.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters": { - "get": { - "operationId": "Clusters_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + }, + "put": { + "operationId": "Addons_CreateOrUpdate", "tags": [ - "Clusters" + "Addons" ], - "summary": "List clusters in a private cloud", + "description": "Create a Addon", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "addonName", + "in": "path", + "description": "Name of the addon.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "addon", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Addon" + }, + "x-ms-client-name": "addon" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'Addon' update operation succeeded", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "201": { + "description": "Resource 'Addon' create operation succeeded", "schema": { - "$ref": "#/definitions/ClusterList" + "$ref": "#/definitions/Addon" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Clusters_List": { - "$ref": "./examples/Clusters_List.json" + "Addons_CreateOrUpdate_ArcReg": { + "$ref": "./examples/Addons_CreateOrUpdate_ArcReg.json" + }, + "Addons_CreateOrUpdate_HCX": { + "$ref": "./examples/Addons_CreateOrUpdate_HCX.json" + }, + "Addons_CreateOrUpdate_SRM": { + "$ref": "./examples/Addons_CreateOrUpdate_SRM.json" + }, + "Addons_CreateOrUpdate_VR": { + "$ref": "./examples/Addons_CreateOrUpdate_VR.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}": { - "get": { - "operationId": "Clusters_Get", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Addons_Delete", "tags": [ - "Clusters" + "Addons" ], - "summary": "Get a cluster by name in a private cloud", + "description": "Delete a Addon", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/clusterName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "addonName", + "in": "path", + "description": "Name of the addon.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/Cluster" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Clusters_Get": { - "$ref": "./examples/Clusters_Get.json" + "Addons_Delete": { + "$ref": "./examples/Addons_Delete.json" } - } - }, - "put": { - "operationId": "Clusters_CreateOrUpdate", - "x-ms-long-running-operation": true, + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations": { + "get": { + "operationId": "Authorizations_List", "tags": [ - "Clusters" + "Authorizations" ], - "summary": "Create or update a cluster in a private cloud", + "description": "List ExpressRouteAuthorization resources by PrivateCloud", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", "in": "path", + "description": "Name of the private cloud", "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/v5/types.json#/parameters/ApiVersionParameter" + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "201": { - "description": "accepted operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Cluster" + "$ref": "#/definitions/ExpressRouteAuthorizationListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Clusters_CreateOrUpdate": { - "$ref": "./examples/Clusters_CreateOrUpdate.json" + "Authorizations_List": { + "$ref": "./examples/Authorizations_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "patch": { - "operationId": "Clusters_Update", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}": { + "get": { + "operationId": "Authorizations_Get", "tags": [ - "Clusters" + "Authorizations" ], - "summary": "Update a cluster in a private cloud", + "description": "Get a ExpressRouteAuthorization", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "clusterUpdate", - "description": "The cluster properties to be updated", - "in": "body", + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", "required": true, - "schema": { - "$ref": "#/definitions/ClusterUpdate" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "authorizationName", + "in": "path", + "description": "Name of the ExpressRoute Circuit Authorization", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "201": { - "description": "accepted operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Cluster" + "$ref": "#/definitions/ExpressRouteAuthorization" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Clusters_Update": { - "$ref": "./examples/Clusters_Update.json" + "Authorizations_Get": { + "$ref": "./examples/Authorizations_Get.json" } } }, - "delete": { - "operationId": "Clusters_Delete", - "x-ms-long-running-operation": true, + "put": { + "operationId": "Authorizations_CreateOrUpdate", "tags": [ - "Clusters" + "Authorizations" ], - "summary": "Delete a cluster in a private cloud", + "description": "Create a ExpressRouteAuthorization", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/clusterName" + "name": "authorizationName", + "in": "path", + "description": "Name of the ExpressRoute Circuit Authorization", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "authorization", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + }, + "x-ms-client-name": "authorization" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" - }, - "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource 'ExpressRouteAuthorization' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } }, - "204": { - "description": "No Content. No cluster to delete" + "201": { + "description": "Resource 'ExpressRouteAuthorization' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteAuthorization" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Clusters_Delete": { - "$ref": "./examples/Clusters_Delete.json" + "Authorizations_CreateOrUpdate": { + "$ref": "./examples/Authorizations_CreateOrUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/listZones": { - "post": { - "operationId": "Clusters_ListZones", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Authorizations_Delete", "tags": [ - "Cluster", - "Zone" + "Authorizations" ], - "summary": "List hosts by zone in a cluster", + "description": "Delete a ExpressRouteAuthorization", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/clusterName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "authorizationName", + "in": "path", + "description": "Name of the ExpressRoute Circuit Authorization", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "OK, zones information is returned", - "schema": { - "$ref": "#/definitions/ClusterZoneList" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Clusters_ListZoneData": { - "$ref": "./examples/Clusters_ListZones.json" - }, - "Clusters_ListZoneData_Stretched": { - "$ref": "./examples/Clusters_ListZones_Stretched.json" + "Authorizations_Delete": { + "$ref": "./examples/Authorizations_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks": { "get": { - "operationId": "Datastores_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "CloudLinks_List", "tags": [ - "Datastores" + "CloudLinks" ], - "summary": "List datastores in a private cloud cluster", + "description": "List CloudLink resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DatastoreList" + "$ref": "#/definitions/CloudLinkListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Datastores_List": { - "$ref": "./examples/Datastores_List.json" + "CloudLinks_List": { + "$ref": "./examples/CloudLinks_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}": { "get": { - "operationId": "Datastores_Get", + "operationId": "CloudLinks_Get", "tags": [ - "Datastores" + "CloudLinks" ], - "summary": "Get a datastore in a private cloud cluster", + "description": "Get a CloudLink", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/datastoreName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "cloudLinkName", + "in": "path", + "description": "Name of the cloud link.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Datastore" + "$ref": "#/definitions/CloudLink" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Datastores_Get": { - "$ref": "./examples/Datastores_Get.json" + "CloudLinks_Get": { + "$ref": "./examples/CloudLinks_Get.json" } } }, "put": { - "operationId": "Datastores_CreateOrUpdate", - "x-ms-long-running-operation": true, + "operationId": "CloudLinks_CreateOrUpdate", "tags": [ - "Datastores" + "CloudLinks" ], - "summary": "Create or update a datastore in a private cloud cluster", + "description": "Create a CloudLink", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/clusterName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/datastoreName" + "name": "cloudLinkName", + "in": "path", + "description": "Name of the cloud link.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "datastore", - "description": "A datastore in a private cloud cluster", + "name": "cloudLink", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/Datastore" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/definitions/CloudLink" + }, + "x-ms-client-name": "cloudLink" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'CloudLink' update operation succeeded", "schema": { - "$ref": "#/definitions/Datastore" + "$ref": "#/definitions/CloudLink" } }, "201": { - "description": "accepted operation", + "description": "Resource 'CloudLink' create operation succeeded", "schema": { - "$ref": "#/definitions/Datastore" + "$ref": "#/definitions/CloudLink" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Datastores_CreateOrUpdate": { - "$ref": "./examples/Datastores_CreateOrUpdate.json" + "CloudLinks_CreateOrUpdate": { + "$ref": "./examples/CloudLinks_CreateOrUpdate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, "delete": { - "operationId": "Datastores_Delete", - "x-ms-long-running-operation": true, + "operationId": "CloudLinks_Delete", "tags": [ - "Datastores" + "CloudLinks" ], - "summary": "Delete a datastore in a private cloud cluster", + "description": "Delete a CloudLink", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/datastoreName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "cloudLinkName", + "in": "path", + "description": "Name of the cloud link.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No datastore to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Datastores_Delete": { - "$ref": "./examples/Datastores_Delete.json" + "CloudLinks_Delete": { + "$ref": "./examples/CloudLinks_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials": { - "post": { - "operationId": "PrivateClouds_ListAdminCredentials", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters": { + "get": { + "operationId": "Clusters_List", "tags": [ - "PrivateClouds" + "Clusters" ], - "summary": "List the admin credentials for the private cloud", + "description": "List Cluster resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/AdminCredentials" + "$ref": "#/definitions/ClusterListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateClouds_ListAdminCredentials": { - "$ref": "./examples/PrivateClouds_ListAdminCredentials.json" + "Clusters_List": { + "$ref": "./examples/Clusters_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}": { "get": { - "operationId": "HcxEnterpriseSites_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "Clusters_Get", "tags": [ - "HcxEnterpriseSites" + "Clusters" ], - "summary": "List HCX on-premises key in a private cloud", + "description": "Get a Cluster", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/HcxEnterpriseSiteList" + "$ref": "#/definitions/Cluster" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "HcxEnterpriseSites_List": { - "$ref": "./examples/HcxEnterpriseSites_List.json" + "Clusters_Get": { + "$ref": "./examples/Clusters_Get.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}": { - "get": { - "operationId": "HcxEnterpriseSites_Get", + }, + "put": { + "operationId": "Clusters_CreateOrUpdate", "tags": [ - "HcxEnterpriseSites" + "Clusters" ], - "summary": "Get an HCX on-premises key by name in a private cloud", + "description": "Create a Cluster", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/hcxEnterpriseSiteName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "cluster", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Cluster" + }, + "x-ms-client-name": "cluster" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'Cluster' update operation succeeded", "schema": { - "$ref": "#/definitions/HcxEnterpriseSite" + "$ref": "#/definitions/Cluster" } }, - "default": { - "description": "Error response describing why the operation failed", + "201": { + "description": "Resource 'Cluster' create operation succeeded", + "schema": { + "$ref": "#/definitions/Cluster" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "HcxEnterpriseSites_Get": { - "$ref": "./examples/HcxEnterpriseSites_Get.json" + "Clusters_CreateOrUpdate": { + "$ref": "./examples/Clusters_CreateOrUpdate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, - "put": { - "operationId": "HcxEnterpriseSites_CreateOrUpdate", + "patch": { + "operationId": "Clusters_Update", "tags": [ - "HcxEnterpriseSites" + "Clusters" ], - "summary": "Create or update an activation key for on-premises HCX site", + "description": "Update a Cluster", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", "in": "path", + "description": "Name of the private cloud", "required": true, "type": "string", - "description": "The name of the private cloud." + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/hcxEnterpriseSiteName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "hcxEnterpriseSite", - "description": "The HCX Enterprise Site", + "name": "clusterUpdate", "in": "body", + "description": "The cluster properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/HcxEnterpriseSite" + "$ref": "#/definitions/ClusterUpdate" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "successful update", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/HcxEnterpriseSite" + "$ref": "#/definitions/Cluster" } }, "201": { - "description": "successful create", + "description": "The request has succeeded and a new resource has been created as a result.", "schema": { - "$ref": "#/definitions/HcxEnterpriseSite" + "$ref": "#/definitions/Cluster" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "HcxEnterpriseSites_CreateOrUpdate": { - "$ref": "./examples/HcxEnterpriseSites_CreateOrUpdate.json" + "Clusters_Update": { + "$ref": "./examples/Clusters_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "delete": { - "operationId": "HcxEnterpriseSites_Delete", + "operationId": "Clusters_Delete", "tags": [ - "HcxEnterpriseSites" + "Clusters" ], - "summary": "Delete HCX on-premises key in a private cloud", + "description": "Delete a Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/hcxEnterpriseSiteName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No HCX Enterprise Site to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "HcxEnterpriseSites_Delete": { - "$ref": "./examples/HcxEnterpriseSites_Delete.json" + "Clusters_Delete": { + "$ref": "./examples/Clusters_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores": { "get": { - "operationId": "Authorizations_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "Datastores_List", "tags": [ - "Authorizations" + "Datastores" ], - "summary": "List ExpressRoute Circuit Authorizations in a private cloud", + "description": "List Datastore resources by Cluster", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExpressRouteAuthorizationList" + "$ref": "#/definitions/DatastoreListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Authorizations_List": { - "$ref": "./examples/Authorizations_List.json" + "Datastores_List": { + "$ref": "./examples/Datastores_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}": { "get": { - "operationId": "Authorizations_Get", + "operationId": "Datastores_Get", "tags": [ - "Authorizations" + "Datastores" ], - "summary": "Get an ExpressRoute Circuit Authorization by name in a private cloud", + "description": "Get a Datastore", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/authorizationName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "datastoreName", + "in": "path", + "description": "Name of the datastore", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExpressRouteAuthorization" + "$ref": "#/definitions/Datastore" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Authorizations_Get": { - "$ref": "./examples/Authorizations_Get.json" + "Datastores_Get": { + "$ref": "./examples/Datastores_Get.json" } } }, "put": { - "operationId": "Authorizations_CreateOrUpdate", - "x-ms-long-running-operation": true, + "operationId": "Datastores_CreateOrUpdate", "tags": [ - "Authorizations" + "Datastores" ], - "summary": "Create or update an ExpressRoute Circuit Authorization in a private cloud", + "description": "Create a Datastore", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", "required": true, "type": "string", - "description": "The name of the private cloud." + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/authorizationName" + "name": "datastoreName", + "in": "path", + "description": "Name of the datastore", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "authorization", - "description": "An ExpressRoute Circuit Authorization", + "name": "datastore", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/ExpressRouteAuthorization" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/definitions/Datastore" + }, + "x-ms-client-name": "datastore" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'Datastore' update operation succeeded", "schema": { - "$ref": "#/definitions/ExpressRouteAuthorization" + "$ref": "#/definitions/Datastore" } }, "201": { - "description": "accepted operation", + "description": "Resource 'Datastore' create operation succeeded", "schema": { - "$ref": "#/definitions/ExpressRouteAuthorization" + "$ref": "#/definitions/Datastore" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Authorizations_CreateOrUpdate": { - "$ref": "./examples/Authorizations_CreateOrUpdate.json" + "Datastores_CreateOrUpdate": { + "$ref": "./examples/Datastores_CreateOrUpdate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, "delete": { - "operationId": "Authorizations_Delete", - "x-ms-long-running-operation": true, + "operationId": "Datastores_Delete", "tags": [ - "Authorizations" + "Datastores" ], - "summary": "Delete an ExpressRoute Circuit Authorization in a private cloud", + "description": "Delete a Datastore", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/authorizationName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "datastoreName", + "in": "path", + "description": "Name of the datastore", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No ExpressRoute Circuit Authorization to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Authorizations_Delete": { - "$ref": "./examples/Authorizations_Delete.json" + "Datastores_Delete": { + "$ref": "./examples/Datastores_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections": { - "get": { - "operationId": "GlobalReachConnections_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/listZones": { + "post": { + "operationId": "Clusters_ListZones", "tags": [ - "GlobalReachConnections" + "Clusters" ], - "summary": "List global reach connections in a private cloud", + "description": "List hosts by zone in a cluster", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/GlobalReachConnectionList" + "$ref": "#/definitions/ClusterZoneList" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "GlobalReachConnections_List": { - "$ref": "./examples/GlobalReachConnections_List.json" + "Clusters_ListZones": { + "$ref": "./examples/Clusters_ListZones.json" + }, + "Clusters_ListZones_Stretched": { + "$ref": "./examples/Clusters_ListZones_Stretched.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies": { "get": { - "operationId": "GlobalReachConnections_Get", + "operationId": "PlacementPolicies_List", "tags": [ - "GlobalReachConnections" + "PlacementPolicies" ], - "summary": "Get a global reach connection by name in a private cloud", + "description": "List PlacementPolicy resources by Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/globalReachConnectionName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/GlobalReachConnection" + "$ref": "#/definitions/PlacementPolicyListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "GlobalReachConnections_Get": { - "$ref": "./examples/GlobalReachConnections_Get.json" + "PlacementPolicies_List": { + "$ref": "./examples/PlacementPolicies_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { - "operationId": "GlobalReachConnections_CreateOrUpdate", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}": { + "get": { + "operationId": "PlacementPolicies_Get", "tags": [ - "GlobalReachConnections" + "PlacementPolicies" ], - "summary": "Create or update a global reach connection in a private cloud", + "description": "Get a PlacementPolicy", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", "in": "path", + "description": "Name of the private cloud", "required": true, "type": "string", - "description": "The name of the private cloud." - }, - { - "$ref": "#/parameters/globalReachConnectionName" + "pattern": "^[-\\w\\._]+$" }, { - "name": "globalReachConnection", - "description": "A global reach connection in the private cloud", - "in": "body", + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", "required": true, - "schema": { - "$ref": "#/definitions/GlobalReachConnection" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/GlobalReachConnection" - } - }, - "201": { - "description": "accepted operation", - "schema": { - "$ref": "#/definitions/GlobalReachConnection" + "$ref": "#/definitions/PlacementPolicy" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "GlobalReachConnections_CreateOrUpdate": { - "$ref": "./examples/GlobalReachConnections_CreateOrUpdate.json" + "PlacementPolicies_Get": { + "$ref": "./examples/PlacementPolicies_Get.json" } } }, - "delete": { - "operationId": "GlobalReachConnections_Delete", - "x-ms-long-running-operation": true, + "put": { + "operationId": "PlacementPolicies_CreateOrUpdate", "tags": [ - "GlobalReachConnections" + "PlacementPolicies" ], - "summary": "Delete a global reach connection in a private cloud", + "description": "Create a PlacementPolicy", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/globalReachConnectionName" + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "placementPolicy", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/PlacementPolicy" + }, + "x-ms-client-name": "placementPolicy" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" - }, - "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource 'PlacementPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + } }, - "204": { - "description": "No Content. No global reach connection to delete" + "201": { + "description": "Resource 'PlacementPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "GlobalReachConnections_Delete": { - "$ref": "./examples/GlobalReachConnections_Delete.json" + "PlacementPolicies_CreateOrUpdate": { + "$ref": "./examples/PlacementPolicies_CreateOrUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/{workloadNetworkName}": { - "get": { - "operationId": "WorkloadNetworks_Get", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "PlacementPolicies_Update", "tags": [ - "WorkloadNetworks" + "PlacementPolicies" ], - "summary": "Get a private cloud workload network.", + "description": "Update a PlacementPolicy", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/workloadNetworkName" + "name": "placementPolicyUpdate", + "in": "body", + "description": "The placement policy properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/PlacementPolicyUpdate" + } } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetwork" + "$ref": "#/definitions/PlacementPolicy" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/PlacementPolicy" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_Get": { - "$ref": "./examples/WorkloadNetworks_Get.json" + "PlacementPolicies_Update": { + "$ref": "./examples/PlacementPolicies_Update.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks": { - "get": { - "operationId": "WorkloadNetworks_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PlacementPolicies_Delete", "tags": [ - "WorkloadNetworks" + "PlacementPolicies" ], - "summary": "List of workload networks in a private cloud.", + "description": "Delete a PlacementPolicy", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "placementPolicyName", + "in": "path", + "description": "Name of the placement policy.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkList" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_List": { - "$ref": "./examples/WorkloadNetworks_List.json" + "PlacementPolicies_Delete": { + "$ref": "./examples/PlacementPolicies_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines": { "get": { - "operationId": "WorkloadNetworks_ListSegments", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "VirtualMachines_List", "tags": [ - "WorkloadNetworks" + "VirtualMachines" ], - "summary": "List of segments in a private cloud workload network.", + "description": "List VirtualMachine resources by Cluster", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkSegmentsList" + "$ref": "#/definitions/VirtualMachineListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListSegments": { - "$ref": "./examples/WorkloadNetworks_ListSegments.json" + "VirtualMachines_List": { + "$ref": "./examples/VirtualMachines_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}": { "get": { - "operationId": "WorkloadNetworks_GetSegment", + "operationId": "VirtualMachines_Get", "tags": [ - "WorkloadNetworks" + "VirtualMachines" ], - "summary": "Get a segment by id in a private cloud workload network.", + "description": "Get a VirtualMachine", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/segmentId" + "name": "virtualMachineId", + "in": "path", + "description": "ID of the virtual machine.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkSegment" + "$ref": "#/definitions/VirtualMachine" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetSegment": { - "$ref": "./examples/WorkloadNetworks_GetSegments.json" + "VirtualMachines_Get": { + "$ref": "./examples/VirtualMachines_Get.json" } } - }, - "put": { - "operationId": "WorkloadNetworks_CreateSegments", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}/restrictMovement": { + "post": { + "operationId": "VirtualMachines_RestrictMovement", "tags": [ - "WorkloadNetworks" + "VirtualMachines" ], - "summary": "Create a segment by id in a private cloud workload network.", + "description": "Enable or disable DRS-driven VM movement restriction", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "clusterName", + "in": "path", + "description": "Name of the cluster", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/segmentId" + "name": "virtualMachineId", + "in": "path", + "description": "ID of the virtual machine.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "workloadNetworkSegment", - "description": "NSX Segment", + "name": "restrictMovement", "in": "body", + "description": "The body type of the operation request.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadNetworkSegment" + "$ref": "#/definitions/VirtualMachineRestrictMovement" } } ], "responses": { - "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkSegment" - } - }, - "201": { - "description": "accepted operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkSegment" + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_CreateSegments": { - "$ref": "./examples/WorkloadNetworks_CreateSegments.json" + "VirtualMachines_RestrictMovement": { + "$ref": "./examples/VirtualMachines_RestrictMovement.json" } - } - }, - "patch": { - "operationId": "WorkloadNetworks_UpdateSegments", - "x-ms-long-running-operation": true, + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections": { + "get": { + "operationId": "GlobalReachConnections_List", "tags": [ - "WorkloadNetworks" + "GlobalReachConnections" ], - "summary": "Create or update a segment by id in a private cloud workload network.", + "description": "List GlobalReachConnection resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/segmentId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "workloadNetworkSegment", - "description": "NSX Segment", - "in": "body", + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkSegment" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkSegment" + "$ref": "#/definitions/GlobalReachConnectionListResult" } }, - "202": { - "description": "Accepted. The patch will complete asynchronously" + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GlobalReachConnections_List": { + "$ref": "./examples/GlobalReachConnections_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}": { + "get": { + "operationId": "GlobalReachConnections_Get", + "tags": [ + "GlobalReachConnections" + ], + "description": "Get a GlobalReachConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "globalReachConnectionName", + "in": "path", + "description": "Name of the global reach connection", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_UpdateSegments": { - "$ref": "./examples/WorkloadNetworks_UpdateSegments.json" + "GlobalReachConnections_Get": { + "$ref": "./examples/GlobalReachConnections_Get.json" } } }, - "delete": { - "operationId": "WorkloadNetworks_DeleteSegment", - "x-ms-long-running-operation": true, + "put": { + "operationId": "GlobalReachConnections_CreateOrUpdate", "tags": [ - "WorkloadNetworks" + "GlobalReachConnections" ], - "summary": "Delete a segment by id in a private cloud workload network.", + "description": "Create a GlobalReachConnection", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "globalReachConnectionName", + "in": "path", + "description": "Name of the global reach connection", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/segmentId" + "name": "globalReachConnection", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + }, + "x-ms-client-name": "globalReachConnection" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" - }, - "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource 'GlobalReachConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + } }, - "204": { - "description": "No Content. No segment to delete" + "201": { + "description": "Resource 'GlobalReachConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/GlobalReachConnection" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_DeleteSegment": { - "$ref": "./examples/WorkloadNetworks_DeleteSegments.json" + "GlobalReachConnections_CreateOrUpdate": { + "$ref": "./examples/GlobalReachConnections_CreateOrUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations": { - "get": { - "operationId": "WorkloadNetworks_ListDhcp", - "x-ms-pageable": { - "nextLinkName": "nextLink" }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "GlobalReachConnections_Delete", "tags": [ - "WorkloadNetworks" + "GlobalReachConnections" ], - "summary": "List dhcp in a private cloud workload network.", + "description": "Delete a GlobalReachConnection", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "globalReachConnectionName", + "in": "path", + "description": "Name of the global reach connection", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcpList" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListDhcp": { - "$ref": "./examples/WorkloadNetworks_ListDhcpConfigurations.json" + "GlobalReachConnections_Delete": { + "$ref": "./examples/GlobalReachConnections_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites": { "get": { - "operationId": "WorkloadNetworks_GetDhcp", + "operationId": "HcxEnterpriseSites_List", "tags": [ - "WorkloadNetworks" + "HcxEnterpriseSites" ], - "summary": "Get dhcp by id in a private cloud workload network.", + "description": "List HcxEnterpriseSite resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/dhcpId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcp" + "$ref": "#/definitions/HcxEnterpriseSiteListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetDhcp": { - "$ref": "./examples/WorkloadNetworks_GetDhcpConfigurations.json" + "HcxEnterpriseSites_List": { + "$ref": "./examples/HcxEnterpriseSites_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { - "operationId": "WorkloadNetworks_CreateDhcp", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}": { + "get": { + "operationId": "HcxEnterpriseSites_Get", "tags": [ - "WorkloadNetworks" + "HcxEnterpriseSites" ], - "summary": "Create dhcp by id in a private cloud workload network.", + "description": "Get a HcxEnterpriseSite", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/dhcpId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "workloadNetworkDhcp", - "description": "NSX DHCP", - "in": "body", + "name": "hcxEnterpriseSiteName", + "in": "path", + "description": "Name of the HCX Enterprise Site", "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcp" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcp" - } - }, - "201": { - "description": "accepted operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcp" + "$ref": "#/definitions/HcxEnterpriseSite" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_CreateDhcp": { - "$ref": "./examples/WorkloadNetworks_CreateDhcpConfigurations.json" + "HcxEnterpriseSites_Get": { + "$ref": "./examples/HcxEnterpriseSites_Get.json" } } }, - "patch": { - "operationId": "WorkloadNetworks_UpdateDhcp", - "x-ms-long-running-operation": true, + "put": { + "operationId": "HcxEnterpriseSites_CreateOrUpdate", "tags": [ - "WorkloadNetworks" + "HcxEnterpriseSites" ], - "summary": "Create or update dhcp by id in a private cloud workload network.", + "description": "Create a HcxEnterpriseSite", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/dhcpId" + "name": "hcxEnterpriseSiteName", + "in": "path", + "description": "Name of the HCX Enterprise Site", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "workloadNetworkDhcp", - "description": "NSX DHCP", + "name": "hcxEnterpriseSite", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcp" - } + "$ref": "#/definitions/HcxEnterpriseSite" + }, + "x-ms-client-name": "hcxEnterpriseSite" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'HcxEnterpriseSite' update operation succeeded", "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcp" + "$ref": "#/definitions/HcxEnterpriseSite" } }, - "202": { - "description": "Accepted. The patch will complete asynchronously" + "201": { + "description": "Resource 'HcxEnterpriseSite' create operation succeeded", + "schema": { + "$ref": "#/definitions/HcxEnterpriseSite" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_UpdateDhcp": { - "$ref": "./examples/WorkloadNetworks_UpdateDhcpConfigurations.json" + "HcxEnterpriseSites_CreateOrUpdate": { + "$ref": "./examples/HcxEnterpriseSites_CreateOrUpdate.json" } } }, "delete": { - "operationId": "WorkloadNetworks_DeleteDhcp", - "x-ms-long-running-operation": true, + "operationId": "HcxEnterpriseSites_Delete", "tags": [ - "WorkloadNetworks" + "HcxEnterpriseSites" ], - "summary": "Delete dhcp by id in a private cloud workload network.", + "description": "Delete a HcxEnterpriseSite", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/dhcpId" + "name": "hcxEnterpriseSiteName", + "in": "path", + "description": "Name of the HCX Enterprise Site", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" - }, - "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource deleted successfully." }, "204": { - "description": "No Content. No DHCP configuration to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_DeleteDhcp": { - "$ref": "./examples/WorkloadNetworks_DeleteDhcpConfigurations.json" + "HcxEnterpriseSites_Delete": { + "$ref": "./examples/HcxEnterpriseSites_Delete.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths": { "get": { - "operationId": "WorkloadNetworks_ListGateways", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "IscsiPaths_ListByPrivateCloud", "tags": [ - "WorkloadNetworks" + "IscsiPaths" ], - "summary": "List of gateways in a private cloud workload network.", + "description": "List IscsiPath resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkGatewayList" + "$ref": "#/definitions/IscsiPathListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListGateways": { - "$ref": "./examples/WorkloadNetworks_ListGateways.json" + "IscsiPaths_ListByPrivateCloud": { + "$ref": "./examples/IscsiPaths_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default": { "get": { - "operationId": "WorkloadNetworks_GetGateway", + "operationId": "IscsiPaths_Get", "tags": [ - "WorkloadNetworks" + "IscsiPaths" ], - "summary": "Get a gateway by id in a private cloud workload network.", + "description": "Get a IscsiPath", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" - }, - { - "$ref": "#/parameters/gatewayId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkGateway" + "$ref": "#/definitions/IscsiPath" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetGateway": { - "$ref": "./examples/WorkloadNetworks_GetGateway.json" + "IscsiPaths_Get": { + "$ref": "./examples/IscsiPaths_Get.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles": { - "get": { - "operationId": "WorkloadNetworks_ListPortMirroring", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + }, + "put": { + "operationId": "IscsiPaths_CreateOrUpdate", "tags": [ - "WorkloadNetworks" + "IscsiPaths" ], - "summary": "List of port mirroring profiles in a private cloud workload network.", + "description": "Create a IscsiPath", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/IscsiPath" + } } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'IscsiPath' update operation succeeded", + "schema": { + "$ref": "#/definitions/IscsiPath" + } + }, + "201": { + "description": "Resource 'IscsiPath' create operation succeeded", "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroringList" + "$ref": "#/definitions/IscsiPath" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListPortMirroring": { - "$ref": "./examples/WorkloadNetworks_ListPortMirroringProfiles.json" + "IscsiPaths_CreateOrUpdate": { + "$ref": "./examples/IscsiPaths_CreateOrUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}": { - "get": { - "operationId": "WorkloadNetworks_GetPortMirroring", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IscsiPaths_Delete", "tags": [ - "WorkloadNetworks" + "IscsiPaths" ], - "summary": "Get a port mirroring profile by id in a private cloud workload network.", + "description": "Delete a IscsiPath", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/portMirroringId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroring" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetPortMirroring": { - "$ref": "./examples/WorkloadNetworks_GetPortMirroringProfiles.json" + "IscsiPaths_Delete": { + "$ref": "./examples/IscsiPaths_Delete.json" } - } - }, - "put": { - "operationId": "WorkloadNetworks_CreatePortMirroring", - "x-ms-long-running-operation": true, + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials": { + "post": { + "operationId": "PrivateClouds_ListAdminCredentials", "tags": [ - "WorkloadNetworks" + "PrivateClouds" ], - "summary": "Create a port mirroring profile by id in a private cloud workload network.", + "description": "List the admin credentials for the private cloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/portMirroringId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "workloadNetworkPortMirroring", - "description": "NSX port mirroring", - "in": "body", + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroring" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroring" - } - }, - "201": { - "description": "accepted operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroring" + "$ref": "#/definitions/AdminCredentials" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_CreatePortMirroring": { - "$ref": "./examples/WorkloadNetworks_CreatePortMirroringProfiles.json" + "PrivateClouds_ListAdminCredentials": { + "$ref": "./examples/PrivateClouds_ListAdminCredentials.json" } } - }, - "patch": { - "operationId": "WorkloadNetworks_UpdatePortMirroring", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances": { + "get": { + "operationId": "Maintenances_List", "tags": [ - "WorkloadNetworks" + "Maintenances" ], - "summary": "Create or update a port mirroring profile by id in a private cloud workload network.", + "description": "List Maintenance resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/portMirroringId" + "name": "status", + "in": "query", + "description": "Filter active or inactive maintenances", + "required": false, + "type": "string", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "MaintenanceStatusFilter", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "is active" + }, + { + "name": "Inactive", + "value": "Inactive", + "description": "is inactive" + } + ] + } + }, + { + "name": "from", + "in": "query", + "description": "date from which result should be returned. ie. scheduledStartTime >= from", + "required": false, + "type": "string", + "format": "date-time" }, { - "name": "workloadNetworkPortMirroring", - "description": "NSX port mirroring", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroring" - } + "name": "to", + "in": "query", + "description": "date till which result should be returned. i.e. scheduledStartTime <= to", + "required": false, + "type": "string", + "format": "date-time" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroring" + "$ref": "#/definitions/MaintenanceListResult" } }, - "202": { - "description": "Accepted. The patch will complete asynchronously" - }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_UpdatePortMirroring": { - "$ref": "./examples/WorkloadNetworks_UpdatePortMirroringProfiles.json" + "Maintenances_List": { + "$ref": "./examples/Maintenances_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { - "operationId": "WorkloadNetworks_DeletePortMirroring", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}": { + "get": { + "operationId": "Maintenances_Get", "tags": [ - "WorkloadNetworks" + "Maintenances" ], - "summary": "Delete a port mirroring profile by id in a private cloud workload network.", + "description": "Get a Maintenance", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/portMirroringId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "maintenanceName", + "in": "path", + "description": "Name of the maintenance", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "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" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Maintenance" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_DeletePortMirroring": { - "$ref": "./examples/WorkloadNetworks_DeletePortMirroringProfiles.json" + "Maintenances_Get": { + "$ref": "./examples/Maintenances_Get.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups": { - "get": { - "operationId": "WorkloadNetworks_ListVMGroups", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}/reschedule": { + "post": { + "operationId": "Maintenances_Reschedule", "tags": [ - "WorkloadNetworks" + "Maintenances" ], - "summary": "List of vm groups in a private cloud workload network.", + "description": "Reschedule a maintenance", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "maintenanceName", + "in": "path", + "description": "Name of the maintenance", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/MaintenanceReschedule" + } } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkVMGroupsList" + "$ref": "#/definitions/Maintenance" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListVMGroups": { - "$ref": "./examples/WorkloadNetworks_ListVMGroups.json" + "Maintenances_Reschedule": { + "$ref": "./examples/Maintenances_Reschedule.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks": { "get": { - "operationId": "WorkloadNetworks_GetVMGroup", + "operationId": "ProvisionedNetworks_ListByPrivateCloud", "tags": [ - "WorkloadNetworks" + "ProvisionedNetworks" ], - "summary": "Get a vm group by id in a private cloud workload network.", + "description": "List ProvisionedNetwork resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/vmGroupId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkVMGroup" + "$ref": "#/definitions/ProvisionedNetworkListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetVMGroup": { - "$ref": "./examples/WorkloadNetworks_GetVMGroups.json" + "ProvisionedNetworks_ListByPrivateCloud": { + "$ref": "./examples/ProvisionedNetworks_ListByPrivateCloud.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { - "operationId": "WorkloadNetworks_CreateVMGroup", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}": { + "get": { + "operationId": "ProvisionedNetworks_Get", "tags": [ - "WorkloadNetworks" + "ProvisionedNetworks" ], - "summary": "Create a vm group by id in a private cloud workload network.", + "description": "Get a ProvisionedNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/vmGroupId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "workloadNetworkVMGroup", - "description": "NSX VM Group", - "in": "body", + "name": "provisionedNetworkName", + "in": "path", + "description": "Name of the cloud link.", "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkVMGroup" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkVMGroup" - } - }, - "201": { - "description": "accepted operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkVMGroup" + "$ref": "#/definitions/ProvisionedNetwork" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_CreateVMGroup": { - "$ref": "./examples/WorkloadNetworks_CreateVMGroups.json" + "ProvisionedNetworks_Get": { + "$ref": "./examples/ProvisionedNetworks_Get.json" } } - }, - "patch": { - "operationId": "WorkloadNetworks_UpdateVMGroup", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword": { + "post": { + "operationId": "PrivateClouds_RotateNsxtPassword", "tags": [ - "WorkloadNetworks" + "PrivateClouds" ], - "summary": "Create or update a vm group by id in a private cloud workload network.", + "description": "Rotate the NSX-T Manager password", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, - { - "$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" + "204": { + "description": "Action completed successfully." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_UpdateVMGroup": { - "$ref": "./examples/WorkloadNetworks_UpdateVMGroups.json" + "PrivateClouds_RotateNsxtPassword": { + "$ref": "./examples/PrivateClouds_RotateNsxtPassword.json" } - } - }, - "delete": { - "operationId": "WorkloadNetworks_DeleteVMGroup", - "x-ms-long-running-operation": true, + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword": { + "post": { + "operationId": "PrivateClouds_RotateVcenterPassword", "tags": [ - "WorkloadNetworks" + "PrivateClouds" ], - "summary": "Delete a vm group by id in a private cloud workload network.", + "description": "Rotate the vCenter password", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/vmGroupId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { - "200": { - "description": "OK. The delete has succeeded" - }, "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No VM group to delete" + "description": "Action completed successfully." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_DeleteVMGroup": { - "$ref": "./examples/WorkloadNetworks_DeleteVMGroups.json" + "PrivateClouds_RotateVcenterPassword": { + "$ref": "./examples/PrivateClouds_RotateVcenterPassword.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions": { "get": { - "operationId": "WorkloadNetworks_ListVirtualMachines", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "ScriptExecutions_List", "tags": [ - "WorkloadNetworks" + "ScriptExecutions" ], - "summary": "List of virtual machines in a private cloud workload network.", + "description": "List ScriptExecution resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkVirtualMachinesList" + "$ref": "#/definitions/ScriptExecutionListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListVirtualMachines": { - "$ref": "./examples/WorkloadNetworks_ListVirtualMachines.json" + "ScriptExecutions_List": { + "$ref": "./examples/ScriptExecutions_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}": { "get": { - "operationId": "WorkloadNetworks_GetVirtualMachine", + "operationId": "ScriptExecutions_Get", "tags": [ - "WorkloadNetworks" + "ScriptExecutions" ], - "summary": "Get a virtual machine by id in a private cloud workload network.", + "description": "Get a ScriptExecution", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/virtualMachineId" + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + "$ref": "#/definitions/ScriptExecution" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetVirtualMachine": { - "$ref": "./examples/WorkloadNetworks_GetVirtualMachine.json" + "ScriptExecutions_Get": { + "$ref": "./examples/ScriptExecutions_Get.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices": { - "get": { - "operationId": "WorkloadNetworks_ListDnsServices", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + }, + "put": { + "operationId": "ScriptExecutions_CreateOrUpdate", "tags": [ - "WorkloadNetworks" + "ScriptExecutions" ], - "summary": "List of DNS services in a private cloud workload network.", + "description": "Create a ScriptExecution", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "scriptExecution", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ScriptExecution" + }, + "x-ms-client-name": "scriptExecution" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'ScriptExecution' update operation succeeded", + "schema": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "201": { + "description": "Resource 'ScriptExecution' create operation succeeded", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsServicesList" + "$ref": "#/definitions/ScriptExecution" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListDnsServices": { - "$ref": "./examples/WorkloadNetworks_ListDnsServices.json" + "ScriptExecutions_CreateOrUpdate": { + "$ref": "./examples/ScriptExecutions_CreateOrUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}": { - "get": { - "operationId": "WorkloadNetworks_GetDnsService", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ScriptExecutions_Delete", "tags": [ - "WorkloadNetworks" + "ScriptExecutions" ], - "summary": "Get a DNS service by id in a private cloud workload network.", + "description": "Delete a ScriptExecution", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/dnsServiceId" + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsService" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetDnsService": { - "$ref": "./examples/WorkloadNetworks_GetDnsServices.json" + "ScriptExecutions_Delete": { + "$ref": "./examples/ScriptExecutions_Delete.json" } - } - }, - "put": { - "operationId": "WorkloadNetworks_CreateDnsService", - "x-ms-long-running-operation": true, + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs": { + "post": { + "operationId": "ScriptExecutions_GetExecutionLogs", "tags": [ - "WorkloadNetworks" + "ScriptExecutions" ], - "summary": "Create a DNS service by id in a private cloud workload network.", + "description": "Return the logs for a script execution resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/dnsServiceId" + "name": "scriptExecutionName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "workloadNetworkDnsService", - "description": "NSX DNS Service", + "name": "scriptOutputStreamType", "in": "body", - "required": true, + "description": "Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing.", + "required": false, "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsService" + "type": "array", + "items": { + "$ref": "#/definitions/ScriptOutputStreamType" + } } } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsService" - } - }, - "201": { - "description": "accepted operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsService" + "$ref": "#/definitions/ScriptExecution" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_CreateDnsService": { - "$ref": "./examples/WorkloadNetworks_CreateDnsServices.json" + "ScriptExecutions_GetExecutionLogs": { + "$ref": "./examples/ScriptExecutions_GetExecutionLogs.json" } } - }, - "patch": { - "operationId": "WorkloadNetworks_UpdateDnsService", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages": { + "get": { + "operationId": "ScriptPackages_List", "tags": [ - "WorkloadNetworks" + "ScriptPackages" ], - "summary": "Create or update a DNS service by id in a private cloud workload network.", + "description": "List ScriptPackage resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/dnsServiceId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "workloadNetworkDnsService", - "description": "NSX DNS Service", - "in": "body", + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsService" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsService" + "$ref": "#/definitions/ScriptPackageListResult" } }, - "202": { - "description": "Accepted. The patch will complete asynchronously" - }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_UpdateDnsService": { - "$ref": "./examples/WorkloadNetworks_UpdateDnsServices.json" + "ScriptPackages_List": { + "$ref": "./examples/ScriptPackages_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { - "operationId": "WorkloadNetworks_DeleteDnsService", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}": { + "get": { + "operationId": "ScriptPackages_Get", "tags": [ - "WorkloadNetworks" + "ScriptPackages" ], - "summary": "Delete a DNS service by id in a private cloud workload network.", + "description": "Get a ScriptPackage", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/dnsServiceId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "scriptPackageName", + "in": "path", + "description": "Name of the script package.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._@]+$" } ], "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" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScriptPackage" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_DeleteDnsService": { - "$ref": "./examples/WorkloadNetworks_DeleteDnsServices.json" + "ScriptPackages_Get": { + "$ref": "./examples/ScriptPackages_Get.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets": { "get": { - "operationId": "WorkloadNetworks_ListDnsZones", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "ScriptCmdlets_List", "tags": [ - "WorkloadNetworks" + "ScriptCmdlets" ], - "summary": "List of DNS zones in a private cloud workload network.", + "description": "List ScriptCmdlet resources by ScriptPackage", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "scriptPackageName", + "in": "path", + "description": "Name of the script package.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._@]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZonesList" + "$ref": "#/definitions/ScriptCmdletListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListDnsZones": { - "$ref": "./examples/WorkloadNetworks_ListDnsZones.json" + "ScriptCmdlets_List": { + "$ref": "./examples/ScriptCmdlets_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/{scriptCmdletName}": { "get": { - "operationId": "WorkloadNetworks_GetDnsZone", + "operationId": "ScriptCmdlets_Get", "tags": [ - "WorkloadNetworks" + "ScriptCmdlets" ], - "summary": "Get a DNS zone by id in a private cloud workload network.", + "description": "Get a ScriptCmdlet", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "scriptPackageName", + "in": "path", + "description": "Name of the script package.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._@]+$" }, { - "$ref": "#/parameters/dnsZoneId" + "name": "scriptCmdletName", + "in": "path", + "description": "Name of the script cmdlet.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" + "$ref": "#/definitions/ScriptCmdlet" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetDnsZone": { - "$ref": "./examples/WorkloadNetworks_GetDnsZones.json" + "ScriptCmdlets_Get": { + "$ref": "./examples/ScriptCmdlets_Get.json" } } - }, - "put": { - "operationId": "WorkloadNetworks_CreateDnsZone", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks": { + "get": { + "operationId": "WorkloadNetworks_List", "tags": [ "WorkloadNetworks" ], - "summary": "Create a DNS zone by id in a private cloud workload network.", + "description": "List WorkloadNetwork resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/dnsZoneId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "workloadNetworkDnsZone", - "description": "NSX DNS Zone", - "in": "body", + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" - } - }, - "201": { - "description": "accepted operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" + "$ref": "#/definitions/WorkloadNetworkListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_CreateDnsZone": { - "$ref": "./examples/WorkloadNetworks_CreateDnsZones.json" + "WorkloadNetworks_List": { + "$ref": "./examples/WorkloadNetworks_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "patch": { - "operationId": "WorkloadNetworks_UpdateDnsZone", - "x-ms-long-running-operation": true, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default": { + "get": { + "operationId": "WorkloadNetworks_Get", "tags": [ "WorkloadNetworks" ], - "summary": "Create or update a DNS zone by id in a private cloud workload network.", + "description": "Get a WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/dnsZoneId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "workloadNetworkDnsZone", - "description": "NSX DNS Zone", - "in": "body", + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", "required": true, - "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" + "$ref": "#/definitions/WorkloadNetwork" } }, - "202": { - "description": "Accepted. The patch will complete asynchronously" - }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_UpdateDnsZone": { - "$ref": "./examples/WorkloadNetworks_UpdateDnsZones.json" + "WorkloadNetworks_Get": { + "$ref": "./examples/WorkloadNetworks_Get.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.", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations": { + "get": { + "operationId": "WorkloadNetworks_ListDhcp", + "description": "List WorkloadNetworkDhcp resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/dnsZoneId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "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" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcpListResult" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_DeleteDnsZone": { - "$ref": "./examples/WorkloadNetworks_DeleteDnsZones.json" + "WorkloadNetworks_ListDhcp": { + "$ref": "./examples/WorkloadNetworks_ListDhcp.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}": { "get": { - "operationId": "WorkloadNetworks_ListPublicIPs", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "tags": [ - "WorkloadNetworks" - ], - "summary": "List of Public IP Blocks in a private cloud workload network.", + "operationId": "WorkloadNetworks_GetDhcp", + "description": "Get a WorkloadNetworkDhcp", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/DhcpIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "#/parameters/PrivateCloudNameParameter" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkPublicIPsList" + "$ref": "#/definitions/WorkloadNetworkDhcp" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_ListPublicIPs": { - "$ref": "./examples/WorkloadNetworks_ListPublicIPs.json" + "WorkloadNetworks_GetDhcp": { + "$ref": "./examples/WorkloadNetworks_GetDhcp.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}": { - "get": { - "operationId": "WorkloadNetworks_GetPublicIP", - "tags": [ - "WorkloadNetworks" - ], - "summary": "Get a Public IP Block by id in a private cloud workload network.", + }, + "put": { + "operationId": "WorkloadNetworks_CreateDhcp", + "description": "Create a WorkloadNetworkDhcp", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/publicIPId" + "name": "workloadNetworkDhcp", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + }, + "x-ms-client-name": "workloadNetworkDhcp" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'WorkloadNetworkDhcp' update operation succeeded", "schema": { - "$ref": "#/definitions/WorkloadNetworkPublicIP" + "$ref": "#/definitions/WorkloadNetworkDhcp" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkDhcp' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDhcp" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_GetPublicIP": { - "$ref": "./examples/WorkloadNetworks_GetPublicIPs.json" + "WorkloadNetworks_CreateDhcp": { + "$ref": "./examples/WorkloadNetworks_CreateDhcp.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, - "put": { - "operationId": "WorkloadNetworks_CreatePublicIP", - "x-ms-long-running-operation": true, - "tags": [ - "WorkloadNetworks" - ], - "summary": "Create a Public IP Block by id in a private cloud workload network.", + "patch": { + "operationId": "WorkloadNetworks_UpdateDhcp", + "description": "Update a WorkloadNetworkDhcp", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/publicIPId" + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "workloadNetworkPublicIP", - "description": "NSX Public IP Block", + "name": "workloadNetworkDhcp", "in": "body", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadNetworkPublicIP" - } + "$ref": "#/definitions/WorkloadNetworkDhcpUpdate" + }, + "x-ms-client-name": "workloadNetworkDhcp" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkPublicIP" + "$ref": "#/definitions/WorkloadNetworkDhcp" } }, - "201": { - "description": "accepted operation", - "schema": { - "$ref": "#/definitions/WorkloadNetworkPublicIP" + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_CreatePublicIP": { - "$ref": "./examples/WorkloadNetworks_CreatePublicIPs.json" + "WorkloadNetworks_UpdateDhcp": { + "$ref": "./examples/WorkloadNetworks_UpdateDhcp.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "delete": { - "operationId": "WorkloadNetworks_DeletePublicIP", - "x-ms-long-running-operation": true, - "tags": [ - "WorkloadNetworks" - ], - "summary": "Delete a Public IP Block by id in a private cloud workload network.", + "operationId": "WorkloadNetworks_DeleteDhcp", + "description": "Delete a WorkloadNetworkDhcp", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/publicIPId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/privateCloudName" - } - ], + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No VM group to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WorkloadNetworks_DeletePublicIP": { - "$ref": "./examples/WorkloadNetworks_DeletePublicIPs.json" + "WorkloadNetworks_DeleteDhcp": { + "$ref": "./examples/WorkloadNetworks_DeleteDhcp.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices": { "get": { - "operationId": "CloudLinks_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "tags": [ - "CloudLinks" - ], - "summary": "List cloud link in a private cloud", + "operationId": "WorkloadNetworks_ListDnsServices", + "description": "List WorkloadNetworkDnsService resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CloudLinkList" + "$ref": "#/definitions/WorkloadNetworkDnsServiceListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CloudLinks_List": { - "$ref": "./examples/CloudLinks_List.json" + "WorkloadNetworks_ListDnsServices": { + "$ref": "./examples/WorkloadNetworks_ListDnsServices.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}": { "get": { - "operationId": "CloudLinks_Get", - "tags": [ - "CloudLinks" - ], - "summary": "Get an cloud link by name in a private cloud", + "operationId": "WorkloadNetworks_GetDnsService", + "description": "Get a WorkloadNetworkDnsService", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/cloudLinkName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CloudLink" + "$ref": "#/definitions/WorkloadNetworkDnsService" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CloudLinks_Get": { - "$ref": "./examples/CloudLinks_Get.json" + "WorkloadNetworks_GetDnsService": { + "$ref": "./examples/WorkloadNetworks_GetDnsService.json" } } }, "put": { - "operationId": "CloudLinks_CreateOrUpdate", - "x-ms-long-running-operation": true, - "tags": [ - "CloudLinks" - ], - "summary": "Create or update a cloud link in a private cloud", + "operationId": "WorkloadNetworks_CreateDnsService", + "description": "Create a WorkloadNetworkDnsService", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", "in": "path", + "description": "Name of the private cloud", "required": true, "type": "string", - "description": "The name of the private cloud." + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/cloudLinkName" + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "cloudLink", - "description": "A cloud link in the private cloud", + "name": "workloadNetworkDnsService", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/CloudLink" + "$ref": "#/definitions/WorkloadNetworkDnsService" + }, + "x-ms-client-name": "workloadNetworkDnsService" + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkDnsService' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkDnsService' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateDnsService": { + "$ref": "./examples/WorkloadNetworks_CreateDnsService.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateDnsService", + "description": "Update a WorkloadNetworkDnsService", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "workloadNetworkDnsService", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsServiceUpdate" + }, + "x-ms-client-name": "workloadNetworkDnsService" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CloudLink" + "$ref": "#/definitions/WorkloadNetworkDnsService" } }, - "201": { - "description": "accepted operation", - "schema": { - "$ref": "#/definitions/CloudLink" + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CloudLinks_CreateOrUpdate": { - "$ref": "./examples/CloudLinks_CreateOrUpdate.json" + "WorkloadNetworks_UpdateDnsService": { + "$ref": "./examples/WorkloadNetworks_UpdateDnsService.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "delete": { - "operationId": "CloudLinks_Delete", - "x-ms-long-running-operation": true, - "tags": [ - "CloudLinks" - ], - "summary": "Delete a cloud link in a private cloud", + "operationId": "WorkloadNetworks_DeleteDnsService", + "description": "Delete a WorkloadNetworkDnsService", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/cloudLinkName" + "$ref": "#/parameters/DnsServiceIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/PrivateCloudNameParameter" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No cloud link to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CloudLinks_Delete": { - "$ref": "./examples/CloudLinks_Delete.json" + "WorkloadNetworks_DeleteDnsService": { + "$ref": "./examples/WorkloadNetworks_DeleteDnsService.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones": { "get": { - "operationId": "Addons_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "tags": [ - "Addons" - ], - "summary": "List addons in a private cloud", + "operationId": "WorkloadNetworks_ListDnsZones", + "description": "List WorkloadNetworkDnsZone resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/AddonList" + "$ref": "#/definitions/WorkloadNetworkDnsZoneListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Addons_List": { - "$ref": "./examples/Addons_List.json" + "WorkloadNetworks_ListDnsZones": { + "$ref": "./examples/WorkloadNetworks_ListDnsZones.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}": { "get": { - "operationId": "Addons_Get", - "tags": [ - "Addons" - ], - "summary": "Get an addon by name in a private cloud", + "operationId": "WorkloadNetworks_GetDnsZone", + "description": "Get a WorkloadNetworkDnsZone", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/addonName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Addon" + "$ref": "#/definitions/WorkloadNetworkDnsZone" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Addons_Get_SRM": { - "$ref": "./examples/Addons_Get_SRM.json" - }, - "Addons_Get_VR": { - "$ref": "./examples/Addons_Get_VR.json" - }, - "Addons_Get_HCX": { - "$ref": "./examples/Addons_Get_HCX.json" - }, - "Addons_Get_ArcReg": { - "$ref": "./examples/Addons_Get_ArcReg.json" + "WorkloadNetworks_GetDnsZone": { + "$ref": "./examples/WorkloadNetworks_GetDnsZone.json" } } }, "put": { - "operationId": "Addons_CreateOrUpdate", - "x-ms-long-running-operation": true, - "tags": [ - "Addons" - ], - "summary": "Create or update a addon in a private cloud", + "operationId": "WorkloadNetworks_CreateDnsZone", + "description": "Create a WorkloadNetworkDnsZone", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", "in": "path", + "description": "Name of the private cloud", "required": true, "type": "string", - "description": "The name of the private cloud." + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/addonName" + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "addon", - "description": "A addon in the private cloud", + "name": "workloadNetworkDnsZone", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/Addon" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/definitions/WorkloadNetworkDnsZone" + }, + "x-ms-client-name": "workloadNetworkDnsZone" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'WorkloadNetworkDnsZone' update operation succeeded", "schema": { - "$ref": "#/definitions/Addon" + "$ref": "#/definitions/WorkloadNetworkDnsZone" } }, "201": { - "description": "accepted operation", + "description": "Resource 'WorkloadNetworkDnsZone' create operation succeeded", "schema": { - "$ref": "#/definitions/Addon" + "$ref": "#/definitions/WorkloadNetworkDnsZone" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Addons_CreateOrUpdate_SRM": { - "$ref": "./examples/Addons_CreateOrUpdate_SRM.json" - }, - "Addons_CreateOrUpdate_VR": { - "$ref": "./examples/Addons_CreateOrUpdate_VR.json" - }, - "Addons_CreateOrUpdate_HCX": { - "$ref": "./examples/Addons_CreateOrUpdate_HCX.json" - }, - "Addons_CreateOrUpdate_Arc": { - "$ref": "./examples/Addons_CreateOrUpdate_ArcReg.json" + "WorkloadNetworks_CreateDnsZone": { + "$ref": "./examples/WorkloadNetworks_CreateDnsZone.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Addons_Delete", - "x-ms-long-running-operation": true, - "tags": [ - "Addons" - ], - "summary": "Delete a addon in a private cloud", + "patch": { + "operationId": "WorkloadNetworks_UpdateDnsZone", + "description": "Update a WorkloadNetworkDnsZone", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/addonName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkDnsZone", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZoneUpdate" + }, + "x-ms-client-name": "workloadNetworkDnsZone" + } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } }, "202": { - "description": "Accepted. The delete will complete asynchronously" - }, - "204": { - "description": "No Content. No addon to delete" + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Addons_Delete": { - "$ref": "./examples/Addons_Delete.json" + "WorkloadNetworks_UpdateDnsZone": { + "$ref": "./examples/WorkloadNetworks_UpdateDnsZone.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines": { - "get": { - "operationId": "VirtualMachines_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" }, - "tags": [ - "VirtualMachines" - ], - "summary": "List of virtual machines in a private cloud cluster", + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteDnsZone", + "description": "Delete a WorkloadNetworkDnsZone", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "#/parameters/DnsZoneIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "#/parameters/PrivateCloudNameParameter" } ], "responses": { "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/VirtualMachinesList" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ListClusterVirtualMachines": { - "$ref": "./examples/VirtualMachines_List.json" + "WorkloadNetworks_DeleteDnsZone": { + "$ref": "./examples/WorkloadNetworks_DeleteDnsZone.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways": { "get": { - "operationId": "VirtualMachines_Get", + "operationId": "WorkloadNetworks_ListGateways", "tags": [ - "VirtualMachines" + "WorkloadNetworkGateways" ], - "summary": "Get a virtual machine by id in a private cloud cluster", + "description": "List WorkloadNetworkGateway resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/virtualMachineId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/WorkloadNetworkGatewayListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "GetVirtualMachine": { - "$ref": "./examples/VirtualMachines_Get.json" + "WorkloadNetworks_ListGateways": { + "$ref": "./examples/WorkloadNetworks_ListGateways.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}/restrictMovement": { - "post": { - "x-ms-long-running-operation": true, - "operationId": "VirtualMachines_RestrictMovement", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}": { + "get": { + "operationId": "WorkloadNetworks_GetGateway", "tags": [ - "VirtualMachines", - "PlacementPolicies" + "WorkloadNetworkGateways" ], - "summary": "Enable or disable DRS-driven VM movement restriction", + "description": "Get a WorkloadNetworkGateway", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/virtualMachineId" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "restrictMovement", - "description": "Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled)", - "in": "body", + "name": "gatewayId", + "in": "path", + "description": "The ID of the NSX Gateway", "required": true, - "schema": { - "$ref": "#/definitions/VirtualMachineRestrictMovement" - } + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { - "202": { - "description": "Started flow to set/unset restrictedMovement of VM" + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkGateway" + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "VirtualMachine_RestrictMovement": { - "$ref": "./examples/VirtualMachines_RestrictMovement.json" + "WorkloadNetworks_GetGateway": { + "$ref": "./examples/WorkloadNetworks_GetGateway.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles": { "get": { - "operationId": "PlacementPolicies_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "tags": [ - "PlacementPolicies" - ], - "summary": "List placement policies in a private cloud cluster", + "operationId": "WorkloadNetworks_ListPortMirroring", + "description": "List WorkloadNetworkPortMirroring resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PlacementPoliciesList" + "$ref": "#/definitions/WorkloadNetworkPortMirroringListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PlacementPolicies_List": { - "$ref": "./examples/PlacementPolicies_List.json" + "WorkloadNetworks_ListPortMirroring": { + "$ref": "./examples/WorkloadNetworks_ListPortMirroring.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}": { "get": { - "operationId": "PlacementPolicies_Get", - "tags": [ - "PlacementPolicies" - ], - "summary": "Get a placement policy by name in a private cloud cluster", + "operationId": "WorkloadNetworks_GetPortMirroring", + "description": "Get a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/placementPolicyName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PlacementPolicy" + "$ref": "#/definitions/WorkloadNetworkPortMirroring" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PlacementPolicies_Get": { - "$ref": "./examples/PlacementPolicies_Get.json" + "WorkloadNetworks_GetPortMirroring": { + "$ref": "./examples/WorkloadNetworks_GetPortMirroring.json" } } }, "put": { - "operationId": "PlacementPolicies_CreateOrUpdate", - "x-ms-long-running-operation": true, - "tags": [ - "PlacementPolicies" - ], - "summary": "Create or update a placement policy in a private cloud cluster", + "operationId": "WorkloadNetworks_CreatePortMirroring", + "description": "Create a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/clusterName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/placementPolicyName" + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "placementPolicy", - "description": "A placement policy in the private cloud cluster", + "name": "workloadNetworkPortMirroring", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/PlacementPolicy" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + }, + "x-ms-client-name": "workloadNetworkPortMirroring" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'WorkloadNetworkPortMirroring' update operation succeeded", "schema": { - "$ref": "#/definitions/PlacementPolicy" + "$ref": "#/definitions/WorkloadNetworkPortMirroring" } }, "201": { - "description": "accepted operation", + "description": "Resource 'WorkloadNetworkPortMirroring' create operation succeeded", "schema": { - "$ref": "#/definitions/PlacementPolicy" + "$ref": "#/definitions/WorkloadNetworkPortMirroring" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PlacementPolicies_CreateOrUpdate": { - "$ref": "./examples/PlacementPolicies_CreateOrUpdate.json" + "WorkloadNetworks_CreatePortMirroring": { + "$ref": "./examples/WorkloadNetworks_CreatePortMirroring.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, "patch": { - "operationId": "PlacementPolicies_Update", - "x-ms-long-running-operation": true, - "tags": [ - "PlacementPolicies" - ], - "summary": "Update a placement policy in a private cloud cluster", + "operationId": "WorkloadNetworks_UpdatePortMirroring", + "description": "Update a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/clusterName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/placementPolicyName" + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "placementPolicyUpdate", - "description": "The placement policy properties that may be updated", + "name": "workloadNetworkPortMirroring", "in": "body", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/PlacementPolicyUpdate" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/definitions/WorkloadNetworkPortMirroringUpdate" + }, + "x-ms-client-name": "workloadNetworkPortMirroring" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PlacementPolicy" + "$ref": "#/definitions/WorkloadNetworkPortMirroring" } }, "202": { - "description": "accepted operation", - "schema": { - "$ref": "#/definitions/PlacementPolicy" + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PlacementPolicies_Update": { - "$ref": "./examples/PlacementPolicies_Update.json" + "WorkloadNetworks_UpdatePortMirroring": { + "$ref": "./examples/WorkloadNetworks_UpdatePortMirroring.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, "delete": { - "operationId": "PlacementPolicies_Delete", - "x-ms-long-running-operation": true, - "tags": [ - "PlacementPolicies" - ], - "summary": "Delete a placement policy in a private cloud cluster", + "operationId": "WorkloadNetworks_DeletePortMirroring", + "description": "Delete a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/clusterName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/placementPolicyName" + "$ref": "#/parameters/PortMirroringProfileParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/PrivateCloudNameParameter" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted. The delete will complete asynchronously" + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "204": { - "description": "No Content. No policy to delete" + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PlacementPolicies_Delete": { - "$ref": "./examples/PlacementPolicies_Delete.json" + "WorkloadNetworks_DeletePortMirroring": { + "$ref": "./examples/WorkloadNetworks_DeletePortMirroring.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs": { "get": { - "tags": [ - "Scripts" - ], - "description": "List script packages available to run on the private cloud", - "operationId": "ScriptPackages_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + "operationId": "WorkloadNetworks_ListPublicIPs", + "description": "List WorkloadNetworkPublicIP resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], "responses": { "200": { - "description": "Request has succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ScriptPackagesList" + "$ref": "#/definitions/WorkloadNetworkPublicIPListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptPackages_List": { - "$ref": "./examples/ScriptPackages_List.json" + "WorkloadNetworks_ListPublicIPs": { + "$ref": "./examples/WorkloadNetworks_ListPublicIPs.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}": { "get": { - "tags": [ - "Scripts" - ], - "description": "Get a script package available to run on a private cloud", - "operationId": "ScriptPackages_Get", + "operationId": "WorkloadNetworks_GetPublicIP", + "description": "Get a WorkloadNetworkPublicIP", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/scriptPackageName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "publicIPId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "Request has succeeded", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ScriptPackage" + "$ref": "#/definitions/WorkloadNetworkPublicIP" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptPackages_Get": { - "$ref": "./examples/ScriptPackages_Get.json" + "WorkloadNetworks_GetPublicIP": { + "$ref": "./examples/WorkloadNetworks_GetPublicIP.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets": { - "get": { - "tags": [ - "Scripts" - ], - "description": "List script cmdlet resources available for a private cloud to create a script execution resource on a private cloud", - "operationId": "ScriptCmdlets_List", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, + }, + "put": { + "operationId": "WorkloadNetworks_CreatePublicIP", + "description": "Create a WorkloadNetworkPublicIP", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "publicIPId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/scriptPackageName" + "name": "workloadNetworkPublicIP", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + }, + "x-ms-client-name": "workloadNetworkPublicIP" } ], "responses": { "200": { - "description": "Request has succeeded", + "description": "Resource 'WorkloadNetworkPublicIP' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkPublicIP' create operation succeeded", "schema": { - "$ref": "#/definitions/ScriptCmdletsList" + "$ref": "#/definitions/WorkloadNetworkPublicIP" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptCmdlets_List": { - "$ref": "./examples/ScriptCmdlets_List.json" + "WorkloadNetworks_CreatePublicIP": { + "$ref": "./examples/WorkloadNetworks_CreatePublicIP.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/{scriptCmdletName}": { - "get": { - "tags": [ - "Scripts" - ], - "description": "Return information about a script cmdlet resource in a specific package on a private cloud", - "operationId": "ScriptCmdlets_Get", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeletePublicIP", + "description": "Delete a WorkloadNetworkPublicIP", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/scriptPackageName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/scriptCmdletName" + "$ref": "#/parameters/PublicIPIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/PrivateCloudNameParameter" } ], "responses": { "200": { - "description": "Request has succeeded", - "schema": { - "$ref": "#/definitions/ScriptCmdlet" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptCmdlets_Get": { - "$ref": "./examples/ScriptCmdlets_Get.json" + "WorkloadNetworks_DeletePublicIP": { + "$ref": "./examples/WorkloadNetworks_DeletePublicIP.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments": { "get": { - "operationId": "ScriptExecutions_List", + "operationId": "WorkloadNetworks_ListSegments", "tags": [ - "Scripts" + "WorkloadNetworkSegments" ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "summary": "List script executions in a private cloud", + "description": "List WorkloadNetworkSegment resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ScriptExecutionsList" + "$ref": "#/definitions/WorkloadNetworkSegmentListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptExecutions_List": { - "$ref": "./examples/ScriptExecutions_List.json" + "WorkloadNetworks_ListSegments": { + "$ref": "./examples/WorkloadNetworks_ListSegments.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}": { "get": { - "operationId": "ScriptExecutions_Get", + "operationId": "WorkloadNetworks_GetSegment", "tags": [ - "Scripts" + "WorkloadNetworkSegments" ], - "summary": "Get an script execution by name in a private cloud", + "description": "Get a WorkloadNetworkSegment", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/scriptExecutionName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "successful operation", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ScriptExecution" + "$ref": "#/definitions/WorkloadNetworkSegment" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptExecutions_Get": { - "$ref": "./examples/ScriptExecutions_Get.json" + "WorkloadNetworks_GetSegment": { + "$ref": "./examples/WorkloadNetworks_GetSegment.json" } } }, "put": { - "operationId": "ScriptExecutions_CreateOrUpdate", - "x-ms-long-running-operation": true, + "operationId": "WorkloadNetworks_CreateSegments", "tags": [ - "Scripts" + "WorkloadNetworkSegments" ], - "summary": "Create or update a script execution in a private cloud", + "description": "Create a WorkloadNetworkSegment", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", "in": "path", + "description": "Name of the private cloud", "required": true, "type": "string", - "description": "The name of the private cloud." + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/scriptExecutionName" + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "name": "scriptExecution", - "description": "A script running in the private cloud", + "name": "workloadNetworkSegment", "in": "body", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/ScriptExecution" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "#/definitions/WorkloadNetworkSegment" + }, + "x-ms-client-name": "workloadNetworkSegment" } ], "responses": { "200": { - "description": "successful operation", + "description": "Resource 'WorkloadNetworkSegment' update operation succeeded", "schema": { - "$ref": "#/definitions/ScriptExecution" + "$ref": "#/definitions/WorkloadNetworkSegment" } }, "201": { - "description": "accepted operation", + "description": "Resource 'WorkloadNetworkSegment' create operation succeeded", "schema": { - "$ref": "#/definitions/ScriptExecution" + "$ref": "#/definitions/WorkloadNetworkSegment" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptExecutions_CreateOrUpdate": { - "$ref": "./examples/ScriptExecutions_CreateOrUpdate.json" + "WorkloadNetworks_CreateSegments": { + "$ref": "./examples/WorkloadNetworks_CreateSegments.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true }, - "delete": { - "operationId": "ScriptExecutions_Delete", - "x-ms-long-running-operation": true, + "patch": { + "operationId": "WorkloadNetworks_UpdateSegments", "tags": [ - "Scripts" + "WorkloadNetworkSegments" ], - "summary": "Cancel a ScriptExecution in a private cloud", + "description": "Update a WorkloadNetworkSegment", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/privateCloudName" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "#/parameters/scriptExecutionName" + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "workloadNetworkSegment", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegmentUpdate" + }, + "x-ms-client-name": "workloadNetworkSegment" } ], "responses": { "200": { - "description": "OK. The delete has succeeded" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } }, "202": { - "description": "Accepted. The delete will complete asynchronously" - }, - "204": { - "description": "No Content. No script to cancel" + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptExecutions_Delete": { - "$ref": "./examples/ScriptExecutions_Delete.json" + "WorkloadNetworks_UpdateSegments": { + "$ref": "./examples/WorkloadNetworks_UpdateSegments.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs": { - "post": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteSegment", "tags": [ - "Scripts" + "WorkloadNetworkSegments" ], - "description": "Return the logs for a script execution resource", - "operationId": "ScriptExecutions_GetExecutionLogs", + "description": "Delete a WorkloadNetworkSegment", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/privateCloudName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/scriptExecutionName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/scriptOutputStreamType" + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "segmentId", + "in": "path", + "description": "The ID of the NSX Segment", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" } ], "responses": { "200": { - "description": "Request has succeeded", - "schema": { - "$ref": "#/definitions/ScriptExecution" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScriptExecutions_GetExecutionLogs": { - "$ref": "./examples/ScriptExecutions_GetExecutionLogs.json" - } - } - } - } - }, - "definitions": { - "Trial": { - "type": "object", - "description": "Subscription trial availability", - "properties": { - "status": { - "description": "Trial status", - "type": "string", - "enum": [ - "TrialAvailable", - "TrialUsed", - "TrialDisabled" - ], - "readOnly": true, - "x-ms-enum": { - "name": "TrialStatus", - "modelAsString": true + "WorkloadNetworks_DeleteSegment": { + "$ref": "./examples/WorkloadNetworks_DeleteSegment.json" } }, - "availableHosts": { - "description": "Number of trial hosts available", - "type": "integer", - "format": "int32", - "readOnly": true - } + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines": { + "get": { + "operationId": "WorkloadNetworks_ListVirtualMachines", + "tags": [ + "WorkloadNetworkVirtualMachines" + ], + "description": "List WorkloadNetworkVirtualMachine resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachineListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListVirtualMachines": { + "$ref": "./examples/WorkloadNetworks_ListVirtualMachines.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}": { + "get": { + "operationId": "WorkloadNetworks_GetVirtualMachine", + "tags": [ + "WorkloadNetworkVirtualMachines" + ], + "description": "Get a WorkloadNetworkVirtualMachine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "virtualMachineId", + "in": "path", + "description": "ID of the virtual machine.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetVirtualMachine": { + "$ref": "./examples/WorkloadNetworks_GetVirtualMachine.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups": { + "get": { + "operationId": "WorkloadNetworks_ListVMGroups", + "description": "List WorkloadNetworkVMGroup resources by WorkloadNetwork", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_ListVMGroups": { + "$ref": "./examples/WorkloadNetworks_ListVMGroups.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}": { + "get": { + "operationId": "WorkloadNetworks_GetVMGroup", + "description": "Get a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_GetVMGroup": { + "$ref": "./examples/WorkloadNetworks_GetVMGroup.json" + } + } + }, + "put": { + "operationId": "WorkloadNetworks_CreateVMGroup", + "description": "Create a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkVMGroup", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + }, + "x-ms-client-name": "workloadNetworkVMGroup" + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadNetworkVMGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "201": { + "description": "Resource 'WorkloadNetworkVMGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_CreateVMGroup": { + "$ref": "./examples/WorkloadNetworks_CreateVMGroup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "WorkloadNetworks_UpdateVMGroup", + "description": "Update a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "workloadNetworkVMGroup", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroupUpdate" + }, + "x-ms-client-name": "workloadNetworkVMGroup" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_UpdateVMGroup": { + "$ref": "./examples/WorkloadNetworks_UpdateVMGroup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "WorkloadNetworks_DeleteVMGroup", + "description": "Delete a WorkloadNetworkVMGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VmGroupIdParameter" + }, + { + "$ref": "#/parameters/PrivateCloudNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WorkloadNetworks_DeleteVMGroup": { + "$ref": "./examples/WorkloadNetworks_DeleteVMGroup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Addon": { + "type": "object", + "description": "An addon resource", + "properties": { + "properties": { + "$ref": "#/definitions/AddonProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "AddonArcProperties": { + "type": "object", + "description": "The properties of an Arc addon", + "properties": { + "vCenter": { + "type": "string", + "description": "The VMware vCenter resource ID" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "Arc" + }, + "AddonHcxProperties": { + "type": "object", + "description": "The properties of an HCX addon", + "properties": { + "offer": { + "type": "string", + "description": "The HCX offer, example VMware MaaS Cloud Provider (Enterprise)" + } + }, + "required": [ + "offer" + ], + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "HCX" + }, + "AddonListResult": { + "type": "object", + "description": "The response of a Addon list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Addon items on this page", + "items": { + "$ref": "#/definitions/Addon" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AddonProperties": { + "type": "object", + "description": "The properties of an addon", + "properties": { + "addonType": { + "$ref": "#/definitions/AddonType", + "description": "Addon type" + }, + "provisioningState": { + "$ref": "#/definitions/AddonProvisioningState", + "description": "The state of the addon provisioning", + "readOnly": true + } + }, + "discriminator": "addonType", + "required": [ + "addonType" + ] + }, + "AddonProvisioningState": { + "type": "string", + "description": "Addon provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "AddonProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "AddonSrmProperties": { + "type": "object", + "description": "The properties of a Site Recovery Manager (SRM) addon", + "properties": { + "licenseKey": { + "type": "string", + "description": "The Site Recovery Manager (SRM) license" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "SRM" + }, + "AddonType": { + "type": "string", + "description": "Addon type", + "enum": [ + "SRM", + "VR", + "HCX", + "Arc" + ], + "x-ms-enum": { + "name": "AddonType", + "modelAsString": true, + "values": [ + { + "name": "SRM", + "value": "SRM" + }, + { + "name": "VR", + "value": "VR" + }, + { + "name": "HCX", + "value": "HCX" + }, + { + "name": "Arc", + "value": "Arc" + } + ] + } + }, + "AddonVrProperties": { + "type": "object", + "description": "The properties of a vSphere Replication (VR) addon", + "properties": { + "vrsCount": { + "type": "integer", + "format": "int32", + "description": "The vSphere Replication Server (VRS) count" + } + }, + "required": [ + "vrsCount" + ], + "allOf": [ + { + "$ref": "#/definitions/AddonProperties" + } + ], + "x-ms-discriminator-value": "VR" + }, + "AdminCredentials": { + "type": "object", + "description": "Administrative credentials for accessing vCenter and NSX-T", + "properties": { + "nsxtUsername": { + "type": "string", + "description": "NSX-T Manager username", + "readOnly": true + }, + "nsxtPassword": { + "type": "string", + "format": "password", + "description": "NSX-T Manager password", + "readOnly": true, + "x-ms-secret": true + }, + "vcenterUsername": { + "type": "string", + "description": "vCenter admin username", + "readOnly": true + }, + "vcenterPassword": { + "type": "string", + "format": "password", + "description": "vCenter admin password", + "readOnly": true, + "x-ms-secret": true + } + } + }, + "AffinityStrength": { + "type": "string", + "description": "Affinity Strength", + "enum": [ + "Should", + "Must" + ], + "x-ms-enum": { + "name": "AffinityStrength", + "modelAsString": true, + "values": [ + { + "name": "Should", + "value": "Should", + "description": "is should" + }, + { + "name": "Must", + "value": "Must", + "description": "is must" + } + ] + } + }, + "AffinityType": { + "type": "string", + "description": "Affinity type", + "enum": [ + "Affinity", + "AntiAffinity" + ], + "x-ms-enum": { + "name": "AffinityType", + "modelAsString": true, + "values": [ + { + "name": "Affinity", + "value": "Affinity", + "description": "is affinity" + }, + { + "name": "AntiAffinity", + "value": "AntiAffinity", + "description": "is anti-affinity" + } + ] + } + }, + "AvailabilityProperties": { + "type": "object", + "description": "The properties describing private cloud availability zone distribution", + "properties": { + "strategy": { + "$ref": "#/definitions/AvailabilityStrategy", + "description": "The availability strategy for the private cloud" + }, + "zone": { + "type": "integer", + "format": "int32", + "description": "The primary availability zone for the private cloud" + }, + "secondaryZone": { + "type": "integer", + "format": "int32", + "description": "The secondary availability zone for the private cloud" + } + } + }, + "AvailabilityStrategy": { + "type": "string", + "description": "Whether the private clouds is available in a single zone or two zones", + "enum": [ + "SingleZone", + "DualZone" + ], + "x-ms-enum": { + "name": "AvailabilityStrategy", + "modelAsString": true, + "values": [ + { + "name": "SingleZone", + "value": "SingleZone", + "description": "in single zone" + }, + { + "name": "DualZone", + "value": "DualZone", + "description": "in two zones" + } + ] + } + }, + "AzureHybridBenefitType": { + "type": "string", + "description": "Azure Hybrid Benefit type", + "enum": [ + "SqlHost", + "None" + ], + "x-ms-enum": { + "name": "AzureHybridBenefitType", + "modelAsString": true, + "values": [ + { + "name": "SqlHost", + "value": "SqlHost", + "description": "is SqlHost" + }, + { + "name": "None", + "value": "None", + "description": "is None" + } + ] + } + }, + "Circuit": { + "type": "object", + "description": "An ExpressRoute Circuit", + "properties": { + "primarySubnet": { + "type": "string", + "description": "CIDR of primary subnet", + "readOnly": true + }, + "secondarySubnet": { + "type": "string", + "description": "CIDR of secondary subnet", + "readOnly": true + }, + "expressRouteID": { + "type": "string", + "description": "Identifier of the ExpressRoute Circuit (Microsoft Colo only)", + "readOnly": true + }, + "expressRoutePrivatePeeringID": { + "type": "string", + "description": "ExpressRoute Circuit private peering identifier", + "readOnly": true + } } }, - "Quota": { + "CloudLink": { "type": "object", - "description": "Subscription quotas", + "description": "A cloud link resource", "properties": { - "hostsRemaining": { - "description": "Remaining hosts quota by sku type", - "type": "object", - "readOnly": true, - "additionalProperties": { - "type": "integer", - "format": "int32", - "readOnly": true + "properties": { + "$ref": "#/definitions/CloudLinkProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "CloudLinkListResult": { + "type": "object", + "description": "The response of a CloudLink list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CloudLink items on this page", + "items": { + "$ref": "#/definitions/CloudLink" } }, - "quotaEnabled": { - "description": "Host quota is active for current subscription", + "nextLink": { "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "readOnly": true, - "x-ms-enum": { - "name": "QuotaEnabled", - "modelAsString": true - } + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "Resource": { + "CloudLinkProperties": { "type": "object", - "description": "The core properties of ARM resources", + "description": "The properties of a cloud link.", "properties": { - "id": { - "description": "Resource ID.", - "readOnly": true, - "type": "string" + "provisioningState": { + "$ref": "#/definitions/CloudLinkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true }, - "name": { - "description": "Resource name.", - "readOnly": true, - "type": "string" + "status": { + "$ref": "#/definitions/CloudLinkStatus", + "description": "The state of the cloud link.", + "readOnly": true }, - "type": { - "description": "Resource type.", - "readOnly": true, - "type": "string" + "linkedCloud": { + "type": "string", + "description": "Identifier of the other private cloud participating in the link." } + } + }, + "CloudLinkProvisioningState": { + "type": "string", + "description": "cloud link provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "CloudLinkProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] }, - "x-ms-azure-resource": true + "readOnly": true + }, + "CloudLinkStatus": { + "type": "string", + "description": "Cloud Link status", + "enum": [ + "Active", + "Building", + "Deleting", + "Failed", + "Disconnected" + ], + "x-ms-enum": { + "name": "CloudLinkStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "is active" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Failed", + "value": "Failed", + "description": "is failed" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "is disconnected" + } + ] + } }, - "TrackedResource": { + "Cluster": { "type": "object", - "description": "The resource model definition for a ARM tracked top level resource", + "description": "A cluster resource", + "properties": { + "properties": { + "$ref": "#/definitions/ClusterProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sku": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + } + }, + "required": [ + "sku" + ], "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ClusterListResult": { + "type": "object", + "description": "The response of a Cluster list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Cluster items on this page", + "items": { + "$ref": "#/definitions/Cluster" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ClusterProperties": { + "type": "object", + "description": "The properties of a cluster", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the resource." + }, + "clusterSize": { + "type": "integer", + "format": "int32", + "description": "The cluster size" + }, + "provisioningState": { + "$ref": "#/definitions/ClusterProvisioningState", + "description": "The state of the cluster provisioning", + "readOnly": true + }, + "clusterId": { + "type": "integer", + "format": "int32", + "description": "The identity", + "readOnly": true + }, + "hosts": { + "type": "array", + "description": "The hosts", + "items": { + "type": "string" + } + }, + "vsanDatastoreName": { + "type": "string", + "description": "Name of the vsan datastore associated with the cluster" } + } + }, + "ClusterProvisioningState": { + "type": "string", + "description": "Cluster provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Deleting", + "Updating" ], + "x-ms-enum": { + "name": "ClusterProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "ClusterUpdate": { + "type": "object", + "description": "An update of a cluster resource", "properties": { - "location": { + "sku": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + }, + "properties": { + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of a cluster resource that may be updated", + "x-ms-client-flatten": true + } + } + }, + "ClusterUpdateProperties": { + "type": "object", + "description": "The properties of a cluster that may be updated", + "properties": { + "displayName": { "type": "string", - "description": "Resource location" + "description": "Display name of the resource." }, - "tags": { - "description": "Resource tags", - "$ref": "#/definitions/ResourceTags" + "clusterSize": { + "type": "integer", + "format": "int32", + "description": "The cluster size" + }, + "hosts": { + "type": "array", + "description": "The hosts", + "items": { + "type": "string" + } + }, + "vsanDatastoreName": { + "type": "string", + "description": "Name of the vsan datastore associated with the cluster" + } + } + }, + "ClusterZone": { + "type": "object", + "description": "Zone and associated hosts info", + "properties": { + "hosts": { + "type": "array", + "description": "List of hosts belonging to the availability zone in a cluster", + "items": { + "type": "string" + }, + "readOnly": true + }, + "zone": { + "type": "string", + "description": "Availability zone identifier", + "readOnly": true + } + } + }, + "ClusterZoneList": { + "type": "object", + "description": "List of all zones and associated hosts for a cluster", + "properties": { + "zones": { + "type": "array", + "description": "Zone and associated hosts info", + "items": { + "$ref": "#/definitions/ClusterZone" + }, + "x-ms-identifiers": [] } } }, - "ResourceTags": { - "description": "Resource tags", + "Datastore": { "type": "object", - "additionalProperties": { - "type": "string" + "description": "A datastore resource", + "properties": { + "properties": { + "$ref": "#/definitions/DatastoreProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } }, - "x-ms-mutability": [ - "read", - "create", - "update" - ] - }, - "ProxyResource": { - "type": "object", - "description": "The resource model definition for a ARM proxy resource", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ] }, - "OperationList": { + "DatastoreListResult": { "type": "object", - "description": "Pageable list of operations", + "description": "The response of a Datastore list operation.", "properties": { "value": { - "description": "List of operations", "type": "array", - "readOnly": true, + "description": "The Datastore items on this page", "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] + "$ref": "#/definitions/Datastore" + } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "Operation": { - "description": "A REST API operation", + "DatastoreProperties": { "type": "object", + "description": "The properties of a datastore", "properties": { - "name": { - "description": "Name of the operation being performed on this object", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/DatastoreProvisioningState", + "description": "The state of the datastore provisioning", "readOnly": true }, - "display": { - "type": "object", - "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 - } - } + "netAppVolume": { + "$ref": "#/definitions/NetAppVolume", + "description": "An Azure NetApp Files volume" }, - "isDataAction": { - "description": "Gets or sets a value indicating whether the operation is a data action or not", - "type": "boolean" + "diskPoolVolume": { + "$ref": "#/definitions/DiskPoolVolume", + "description": "An iSCSI volume" }, - "origin": { - "description": "Origin of the operation", - "type": "string" + "elasticSanVolume": { + "$ref": "#/definitions/ElasticSanVolume", + "description": "An Elastic SAN volume" }, - "properties": { - "$ref": "#/definitions/OperationProperties", - "description": "Properties of the operation" + "status": { + "$ref": "#/definitions/DatastoreStatus", + "description": "The operational status of the datastore", + "readOnly": true } } }, - "OperationProperties": { - "description": "Extra Operation properties", + "DatastoreProvisioningState": { + "type": "string", + "description": "datastore provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Pending", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "DatastoreProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Creating", + "value": "Creating", + "description": "is creating" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + } + ] + }, + "readOnly": true + }, + "DatastoreStatus": { + "type": "string", + "description": "datastore status", + "enum": [ + "Unknown", + "Accessible", + "Inaccessible", + "Attached", + "Detached", + "LostCommunication", + "DeadOrError" + ], + "x-ms-enum": { + "name": "DatastoreStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "is unknown" + }, + { + "name": "Accessible", + "value": "Accessible", + "description": "is accessible" + }, + { + "name": "Inaccessible", + "value": "Inaccessible", + "description": "is inaccessible" + }, + { + "name": "Attached", + "value": "Attached", + "description": "is attached" + }, + { + "name": "Detached", + "value": "Detached", + "description": "is detached" + }, + { + "name": "LostCommunication", + "value": "LostCommunication", + "description": "is lost communication" + }, + { + "name": "DeadOrError", + "value": "DeadOrError", + "description": "is dead or error" + } + ] + } + }, + "DhcpTypeEnum": { + "type": "string", + "description": "Type of DHCP: SERVER or RELAY.", + "enum": [ + "SERVER", + "RELAY" + ], + "x-ms-enum": { + "name": "DhcpTypeEnum", + "modelAsString": true, + "values": [ + { + "name": "SERVER", + "value": "SERVER" + }, + { + "name": "RELAY", + "value": "RELAY" + } + ] + } + }, + "DiskPoolVolume": { "type": "object", + "description": "An iSCSI volume from Microsoft.StoragePool provider", "properties": { - "serviceSpecification": { - "$ref": "#/definitions/ServiceSpecification", - "description": "Service specifications of the operation" + "targetId": { + "type": "string", + "description": "Azure resource ID of the iSCSI target" + }, + "lunName": { + "type": "string", + "description": "Name of the LUN to be used for datastore" + }, + "mountOption": { + "type": "string", + "description": "Mode that describes whether the LUN has to be mounted as a datastore or\nattached as a LUN", + "default": "MOUNT", + "enum": [ + "MOUNT", + "ATTACH" + ], + "x-ms-enum": { + "name": "MountOptionEnum", + "modelAsString": true, + "values": [ + { + "name": "MOUNT", + "value": "MOUNT", + "description": "is mount" + }, + { + "name": "ATTACH", + "value": "ATTACH", + "description": "is attach" + } + ] + } + }, + "path": { + "type": "string", + "description": "Device path", + "readOnly": true } + }, + "required": [ + "targetId", + "lunName" + ] + }, + "DnsServiceLogLevelEnum": { + "type": "string", + "description": "DNS service log level", + "enum": [ + "DEBUG", + "INFO", + "WARNING", + "ERROR", + "FATAL" + ], + "x-ms-enum": { + "name": "DnsServiceLogLevelEnum", + "modelAsString": true, + "values": [ + { + "name": "DEBUG", + "value": "DEBUG", + "description": "is debug" + }, + { + "name": "INFO", + "value": "INFO", + "description": "is info" + }, + { + "name": "WARNING", + "value": "WARNING", + "description": "is warning" + }, + { + "name": "ERROR", + "value": "ERROR", + "description": "is error" + }, + { + "name": "FATAL", + "value": "FATAL", + "description": "is fatal" + } + ] } }, - "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" + "DnsServiceStatusEnum": { + "type": "string", + "description": "DNS service status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "DnsServiceStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" }, - "x-ms-identifiers": [ - "name" - ] - }, - "metricSpecifications": { - "description": "Specifications of the Metrics for Azure Monitoring", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/MetricSpecification" + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] + } + }, + "DnsZoneType": { + "type": "string", + "description": "The type of DNS zone.", + "enum": [ + "Public", + "Private" + ], + "x-ms-enum": { + "name": "DnsZoneType", + "modelAsString": true, + "values": [ + { + "name": "Public", + "value": "Public", + "description": "Primary DNS zone." }, - "x-ms-identifiers": [ - "name" - ] - } + { + "name": "Private", + "value": "Private", + "description": "Private DNS zone." + } + ] } }, - "LogSpecification": { - "description": "Specifications of the Log for Azure Monitoring", + "ElasticSanVolume": { "type": "object", + "description": "An Elastic SAN volume from Microsoft.ElasticSan provider", "properties": { - "name": { - "description": "Name of the log", - "type": "string" - }, - "displayName": { - "description": "Localized friendly display name of the log", - "type": "string" + "targetId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the Elastic SAN Volume", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups/volumes" + } + ] + } + } + }, + "required": [ + "targetId" + ] + }, + "Encryption": { + "type": "object", + "description": "The properties of customer managed encryption key", + "properties": { + "status": { + "$ref": "#/definitions/EncryptionState", + "description": "Status of customer managed encryption key" }, - "blobDuration": { - "description": "Blob duration of the log", - "type": "string" + "keyVaultProperties": { + "$ref": "#/definitions/EncryptionKeyVaultProperties", + "description": "The key vault where the encryption key is stored" } } }, - "MetricSpecification": { - "description": "Specifications of the Metrics for Azure Monitoring", + "EncryptionKeyStatus": { + "type": "string", + "description": "Whether the the encryption key is connected or access denied", + "enum": [ + "Connected", + "AccessDenied" + ], + "x-ms-enum": { + "name": "EncryptionKeyStatus", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "is connected" + }, + { + "name": "AccessDenied", + "value": "AccessDenied", + "description": "is access denied" + } + ] + } + }, + "EncryptionKeyVaultProperties": { "type": "object", + "description": "An Encryption Key", "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" + "keyName": { + "type": "string", + "description": "The name of the key." }, - "unit": { - "description": "Unit that makes sense for the metric", - "type": "string" + "keyVersion": { + "type": "string", + "description": "The version of the key." }, - "category": { - "description": "Name of the metric category that the metric belongs to. A metric can only belong to a single category.", - "type": "string" + "autoDetectedKeyVersion": { + "type": "string", + "description": "The auto-detected version of the key if versionType is auto-detected.", + "readOnly": true }, - "aggregationType": { - "description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.", - "type": "string" + "keyVaultUrl": { + "type": "string", + "description": "The URL of the vault." }, - "supportedAggregationTypes": { - "description": "Supported aggregation types", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } + "keyState": { + "$ref": "#/definitions/EncryptionKeyStatus", + "description": "The state of key provided", + "readOnly": true }, - "supportedTimeGrainTypes": { - "description": "Supported time grain types", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" + "versionType": { + "$ref": "#/definitions/EncryptionVersionType", + "description": "Property of the key if user provided or auto detected", + "readOnly": true + } + } + }, + "EncryptionState": { + "type": "string", + "description": "Whether encryption is enabled or disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EncryptionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" } - }, - "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" + ] + } + }, + "EncryptionVersionType": { + "type": "string", + "description": "Whether the encryption version is fixed or auto-detected", + "enum": [ + "Fixed", + "AutoDetected" + ], + "x-ms-enum": { + "name": "EncryptionVersionType", + "modelAsString": true, + "values": [ + { + "name": "Fixed", + "value": "Fixed", + "description": "is fixed" }, - "x-ms-identifiers": [ - "name" - ] - }, - "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" - } + { + "name": "AutoDetected", + "value": "AutoDetected", + "description": "is auto-detected" + } + ] } }, - "MetricDimension": { - "description": "Specifications of the Dimension of metrics", + "Endpoints": { "type": "object", + "description": "Endpoint addresses", "properties": { - "name": { - "description": "Name of the dimension", - "type": "string" + "nsxtManager": { + "type": "string", + "description": "Endpoint FQDN for the NSX-T Data Center manager", + "readOnly": true + }, + "vcsa": { + "type": "string", + "description": "Endpoint FQDN for Virtual Center Server Appliance", + "readOnly": true }, - "displayName": { - "description": "Localized friendly display name of the dimension", - "type": "string" + "hcxCloudManager": { + "type": "string", + "description": "Endpoint FQDN for the HCX Cloud Manager", + "readOnly": true }, - "internalName": { - "description": "Name of the dimension as it appears in MDM", - "type": "string" + "nsxtManagerIp": { + "type": "string", + "description": "Endpoint IP for the NSX-T Data Center manager", + "readOnly": true + }, + "vcenterIp": { + "type": "string", + "description": "Endpoint IP for Virtual Center Server Appliance", + "readOnly": true }, - "toBeExportedForShoebox": { - "description": "A boolean flag indicating whether this dimension should be included for the shoebox export scenario", - "type": "boolean" + "hcxCloudManagerIp": { + "type": "string", + "description": "Endpoint IP for the HCX Cloud Manager", + "readOnly": true } } }, "ExpressRouteAuthorization": { "type": "object", "description": "ExpressRoute Circuit Authorization", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], "properties": { "properties": { - "description": "The properties of an ExpressRoute Circuit Authorization resource", "$ref": "#/definitions/ExpressRouteAuthorizationProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "readOnly": true + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ExpressRouteAuthorizationListResult": { + "type": "object", + "description": "The response of a ExpressRouteAuthorization list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteAuthorization items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteAuthorization" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] }, "ExpressRouteAuthorizationProperties": { "type": "object", "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", - "Canceled" - ], - "x-ms-enum": { - "name": "ExpressRouteAuthorizationProvisioningState", - "modelAsString": true - } + "$ref": "#/definitions/ExpressRouteAuthorizationProvisioningState", + "description": "The state of the ExpressRoute Circuit Authorization provisioning", + "readOnly": true }, "expressRouteAuthorizationId": { - "description": "The ID of the ExpressRoute Circuit Authorization", "type": "string", + "description": "The ID of the ExpressRoute Circuit Authorization", "readOnly": true }, "expressRouteAuthorizationKey": { - "description": "The key of the ExpressRoute Circuit Authorization", "type": "string", + "description": "The key of the ExpressRoute Circuit Authorization", "readOnly": true }, "expressRouteId": { @@ -5576,2791 +8163,4114 @@ } } }, - "ExpressRouteAuthorizationList": { + "ExpressRouteAuthorizationProvisioningState": { + "type": "string", + "description": "Express Route Circuit Authorization provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "ExpressRouteAuthorizationProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "GlobalReachConnection": { + "type": "object", + "description": "A global reach connection resource", + "properties": { + "properties": { + "$ref": "#/definitions/GlobalReachConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "GlobalReachConnectionListResult": { "type": "object", - "description": "A paged list of ExpressRoute Circuit Authorizations", + "description": "The response of a GlobalReachConnection list operation.", "properties": { "value": { - "description": "The items on a page", "type": "array", - "readOnly": true, + "description": "The GlobalReachConnection items on this page", "items": { - "$ref": "#/definitions/ExpressRouteAuthorization" + "$ref": "#/definitions/GlobalReachConnection" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "Circuit": { + "GlobalReachConnectionProperties": { "type": "object", - "description": "An ExpressRoute Circuit", + "description": "The properties of a global reach connection", "properties": { - "primarySubnet": { + "provisioningState": { + "$ref": "#/definitions/GlobalReachConnectionProvisioningState", + "description": "The state of the ExpressRoute Circuit Authorization provisioning", + "readOnly": true + }, + "addressPrefix": { "type": "string", - "readOnly": true, - "description": "CIDR of primary subnet" + "description": "The network used for global reach carved out from the original network block\nprovided for the private cloud", + "readOnly": true }, - "secondarySubnet": { + "authorizationKey": { "type": "string", - "readOnly": true, - "description": "CIDR of secondary subnet" + "description": "Authorization key from the peer express route used for the global reach\nconnection" }, - "expressRouteID": { + "circuitConnectionStatus": { + "$ref": "#/definitions/GlobalReachConnectionStatus", + "description": "The connection status of the global reach connection", + "readOnly": true + }, + "peerExpressRouteCircuit": { "type": "string", - "readOnly": true, - "description": "Identifier of the ExpressRoute Circuit (Microsoft Colo only)" + "description": "Identifier of the ExpressRoute Circuit to peer with in the global reach\nconnection" }, - "expressRoutePrivatePeeringID": { + "expressRouteId": { "type": "string", - "readOnly": true, - "description": "ExpressRoute Circuit private peering identifier" + "description": "The ID of the Private Cloud's ExpressRoute Circuit that is participating in the\nglobal reach connection" } } }, - "EncryptionKeyVaultProperties": { - "type": "object", - "description": "An Encryption Key", - "properties": { - "keyName": { - "type": "string", - "description": "The name of the key." - }, - "keyVersion": { - "type": "string", - "description": "The version of the key." - }, - "autoDetectedKeyVersion": { - "type": "string", - "readOnly": true, - "description": "The auto-detected version of the key if versionType is auto-detected." - }, - "keyVaultUrl": { - "type": "string", - "description": "The URL of the vault." - }, - "keyState": { - "type": "string", - "description": "The state of key provided", - "readOnly": true, - "enum": [ - "Connected", - "AccessDenied" - ], - "x-ms-enum": { - "name": "EncryptionKeyStatus", - "modelAsString": true + "GlobalReachConnectionProvisioningState": { + "type": "string", + "description": "Global Reach Connection provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "GlobalReachConnectionProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" } - }, - "versionType": { - "type": "string", - "description": "Property of the key if user provided or auto detected", - "readOnly": true, - "enum": [ - "Fixed", - "AutoDetected" - ], - "x-ms-enum": { - "name": "EncryptionVersionType", - "modelAsString": true + ] + }, + "readOnly": true + }, + "GlobalReachConnectionStatus": { + "type": "string", + "description": "Global Reach Connection status", + "enum": [ + "Connected", + "Connecting", + "Disconnected" + ], + "x-ms-enum": { + "name": "GlobalReachConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "is connected" + }, + { + "name": "Connecting", + "value": "Connecting", + "description": "is connecting" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "is disconnected" } - } + ] } }, - "Encryption": { + "HcxEnterpriseSite": { "type": "object", - "description": "The properties of customer managed encryption key", + "description": "An HCX Enterprise Site resource", "properties": { - "status": { - "description": "Status of customer managed encryption key", - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "EncryptionState", - "modelAsString": true + "properties": { + "$ref": "#/definitions/HcxEnterpriseSiteProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "HcxEnterpriseSiteListResult": { + "type": "object", + "description": "The response of a HcxEnterpriseSite list operation.", + "properties": { + "value": { + "type": "array", + "description": "The HcxEnterpriseSite items on this page", + "items": { + "$ref": "#/definitions/HcxEnterpriseSite" } }, - "keyVaultProperties": { - "description": "The key vault where the encryption key is stored", - "$ref": "#/definitions/EncryptionKeyVaultProperties" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "Endpoints": { + "HcxEnterpriseSiteProperties": { "type": "object", - "description": "Endpoint addresses", + "description": "The properties of an HCX Enterprise Site", "properties": { - "nsxtManager": { - "description": "Endpoint for the NSX-T Data Center manager", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/HcxEnterpriseSiteProvisioningState", + "description": "The provisioning state of the resource.", "readOnly": true }, - "vcsa": { - "description": "Endpoint for Virtual Center Server Appliance", + "activationKey": { "type": "string", + "description": "The activation key", "readOnly": true }, - "hcxCloudManager": { - "description": "Endpoint for the HCX Cloud Manager", - "type": "string", + "status": { + "$ref": "#/definitions/HcxEnterpriseSiteStatus", + "description": "The status of the HCX Enterprise Site", "readOnly": true } } }, + "HcxEnterpriseSiteProvisioningState": { + "type": "string", + "description": "HCX Enterprise Site provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "HcxEnterpriseSiteProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "HcxEnterpriseSiteStatus": { + "type": "string", + "description": "HCX Enterprise Site status", + "enum": [ + "Available", + "Consumed", + "Deactivated", + "Deleted" + ], + "x-ms-enum": { + "name": "HcxEnterpriseSiteStatus", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available", + "description": "is available" + }, + { + "name": "Consumed", + "value": "Consumed", + "description": "is consumed" + }, + { + "name": "Deactivated", + "value": "Deactivated", + "description": "is deactivated" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "is deleted" + } + ] + } + }, "IdentitySource": { "type": "object", "description": "vCenter Single Sign On Identity Source", "properties": { "name": { - "description": "The name of the identity source", - "type": "string" + "type": "string", + "description": "The name of the identity source" }, "alias": { - "description": "The domain's NetBIOS name", - "type": "string" + "type": "string", + "description": "The domain's NetBIOS name" }, "domain": { - "description": "The domain's dns name", - "type": "string" + "type": "string", + "description": "The domain's dns name" }, "baseUserDN": { - "description": "The base distinguished name for users", - "type": "string" + "type": "string", + "description": "The base distinguished name for users" }, "baseGroupDN": { - "description": "The base distinguished name for groups", - "type": "string" + "type": "string", + "description": "The base distinguished name for groups" }, "primaryServer": { - "description": "Primary server URL", - "type": "string" + "type": "string", + "description": "Primary server URL" }, "secondaryServer": { - "description": "Secondary server URL", - "type": "string" + "type": "string", + "description": "Secondary server URL" }, "ssl": { - "description": "Protect LDAP communication using SSL certificate (LDAPS)", - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "SslEnum", - "modelAsString": true - } + "$ref": "#/definitions/SslEnum", + "description": "Protect LDAP communication using SSL certificate (LDAPS)" }, "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" + "type": "string", + "description": "The ID of an Active Directory user with a minimum of read-only access to Base\nDN for users and group" }, "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", + "format": "password", + "description": "The password of the Active Directory user with a minimum of read-only access to\nBase DN for users and groups.", "x-ms-secret": true } } }, - "AvailabilityProperties": { + "IscsiPath": { "type": "object", - "description": "The properties describing private cloud availability zone distribution", + "description": "An iSCSI path resource", "properties": { - "strategy": { - "description": "The availability strategy for the private cloud", - "type": "string", - "enum": [ - "SingleZone", - "DualZone" - ], - "x-ms-enum": { - "name": "AvailabilityStrategy", - "modelAsString": true + "properties": { + "$ref": "#/definitions/IscsiPathProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "IscsiPathListResult": { + "type": "object", + "description": "The response of a IscsiPath list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IscsiPath items on this page", + "items": { + "$ref": "#/definitions/IscsiPath" } }, - "zone": { - "description": "The primary availability zone for the private cloud", - "type": "integer", - "format": "int32" - }, - "secondaryZone": { - "description": "The secondary availability zone for the private cloud", - "type": "integer", - "format": "int32" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "PrivateCloud": { + "IscsiPathProperties": { "type": "object", - "description": "A private cloud resource", + "description": "The properties of an iSCSI path resource", + "properties": { + "provisioningState": { + "$ref": "#/definitions/IscsiPathProvisioningState", + "description": "The state of the iSCSI path provisioning", + "readOnly": true + }, + "networkBlock": { + "type": "string", + "description": "CIDR Block for iSCSI path.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, "required": [ - "location", - "sku" + "networkBlock" + ] + }, + "IscsiPathProvisioningState": { + "type": "string", + "description": "private cloud provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Pending", + "Building", + "Deleting", + "Updating" ], + "x-ms-enum": { + "name": "IscsiPathProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "Maintenance": { + "type": "object", + "description": "A cluster resource", + "properties": { + "properties": { + "$ref": "#/definitions/MaintenanceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, "allOf": [ { - "$ref": "#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], + ] + }, + "MaintenanceListResult": { + "type": "object", + "description": "The response of a Maintenance list operation.", "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 + "value": { + "type": "array", + "description": "The Maintenance items on this page", + "items": { + "$ref": "#/definitions/Maintenance" + } }, - "identity": { - "$ref": "#/definitions/PrivateCloudIdentity", - "description": "The identity of the private cloud, if configured." + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "PrivateCloudUpdate": { + "MaintenanceProperties": { "type": "object", - "description": "An update to a private cloud resource", + "description": "properties of a maintenance", "properties": { - "tags": { - "description": "Resource tags", - "$ref": "#/definitions/ResourceTags" + "component": { + "$ref": "#/definitions/MaintenanceType", + "description": "type of maintenance", + "readOnly": true }, - "properties": { - "description": "The updatable properties of a private cloud resource", - "$ref": "#/definitions/PrivateCloudUpdateProperties", - "x-ms-client-flatten": true + "displayName": { + "type": "string", + "description": "Display name for maintenance", + "readOnly": true }, - "identity": { - "$ref": "#/definitions/PrivateCloudIdentity", - "description": "The identity of the private cloud, if configured." + "clusterId": { + "type": "integer", + "format": "int32", + "description": "Cluster ID for on which maintenance will be applied. Empty if maintenance is at private cloud level", + "readOnly": true + }, + "infoLink": { + "type": "string", + "description": "Link to maintenance info", + "readOnly": true + }, + "impact": { + "type": "string", + "description": "Impact on the resource during maintenance period", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/MaintenanceState", + "description": "The state of the maintenance", + "readOnly": true + }, + "scheduledStartTime": { + "type": "string", + "format": "date-time", + "description": "Scheduled maintenance start time", + "readOnly": true + }, + "estimatedDurationInMinutes": { + "type": "integer", + "format": "int64", + "description": "Estimated time maintenance will take in minutes", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/MaintenanceProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "rescheduleConstraints": { + "$ref": "#/definitions/MaintenanceRescheduleConstraints", + "description": "Constraints for rescheduling maintenance", + "readOnly": true } } }, - "PrivateCloudUpdateProperties": { + "MaintenanceProvisioningState": { + "type": "string", + "description": "provisioning state of the maintenance", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "MaintenanceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "MaintenanceReschedule": { "type": "object", - "description": "The properties of a private cloud resource that may be updated", + "description": "reschedule a maintenance", "properties": { - "managementCluster": { - "description": "The default cluster used for management", - "$ref": "#/definitions/ManagementCluster" + "rescheduleTime": { + "type": "string", + "format": "date-time", + "description": "reschedule time" }, - "internet": { - "description": "Connectivity to internet is enabled or disabled", + "message": { "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "default": "Disabled", - "x-ms-enum": { - "name": "InternetEnum", - "modelAsString": true - } + "description": "rescheduling reason" + } + } + }, + "MaintenanceRescheduleConstraints": { + "type": "object", + "description": "Constraints for rescheduling maintenance", + "properties": { + "deadline": { + "type": "string", + "format": "date-time", + "description": "Deadline for upgrade", + "readOnly": true }, - "identitySources": { - "description": "vCenter Single Sign On Identity Sources", + "freezeDays": { "type": "array", + "description": "Freeze days", "items": { - "$ref": "#/definitions/IdentitySource" + "type": "string", + "format": "date" }, - "x-ms-identifiers": [ - "name" - ] - }, - "availability": { - "description": "Properties describing how the cloud is distributed across availability zones", - "$ref": "#/definitions/AvailabilityProperties", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "encryption": { - "description": "Customer managed key encryption, can be enabled or disabled", - "$ref": "#/definitions/Encryption" - }, - "extendedNetworkBlocks": { - "description": "Array of additional networks noncontiguous with networkBlock. Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute. Make sure the CIDR format conforms to (A.B.C.D/X).", - "type": "array", - "items": { - "type": "string" - } + "readOnly": true } - } - }, - "PrivateCloudProperties": { - "type": "object", - "description": "The properties of a private cloud resource", + }, "required": [ - "managementCluster", - "networkBlock" + "freezeDays" + ] + }, + "MaintenanceStage": { + "type": "string", + "description": "stage of the maintenance", + "enum": [ + "Creation", + "CustomerApproval", + "PreCheck", + "Execution", + "Reschedule", + "Cancellation" ], - "allOf": [ - { - "$ref": "#/definitions/PrivateCloudUpdateProperties" - } + "x-ms-enum": { + "name": "MaintenanceStage", + "modelAsString": true, + "values": [ + { + "name": "Creation", + "value": "Creation", + "description": "is creation" + }, + { + "name": "CustomerApproval", + "value": "CustomerApproval", + "description": "id customer approval" + }, + { + "name": "PreCheck", + "value": "PreCheck", + "description": "is pre-check" + }, + { + "name": "Execution", + "value": "Execution", + "description": "is execution" + }, + { + "name": "Reschedule", + "value": "Reschedule", + "description": "is reschedule" + }, + { + "name": "Cancellation", + "value": "Cancellation", + "description": "is cancellation" + } + ] + } + }, + "MaintenanceStageStatus": { + "type": "string", + "description": "status of the maintenance", + "enum": [ + "NotStarted", + "InProgress", + "Succeeded", + "Failed" ], - "properties": { - "provisioningState": { - "description": "The provisioning state", - "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Cancelled", - "Pending", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "PrivateCloudProvisioningState", - "modelAsString": true + "x-ms-enum": { + "name": "MaintenanceStageStatus", + "modelAsString": true, + "values": [ + { + "name": "NotStarted", + "value": "NotStarted", + "description": "is not started" + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "is in progress" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "is succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "is failed" } + ] + }, + "readOnly": true + }, + "MaintenanceState": { + "type": "object", + "description": "state of the maintenance", + "properties": { + "stage": { + "$ref": "#/definitions/MaintenanceStage", + "description": "stage of the maintenance" }, - "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", - "x-ms-mutability": [ - "create", - "read" - ] + "stageStatus": { + "$ref": "#/definitions/MaintenanceStageStatus", + "description": "state of the maintenance stage" }, - "managementNetwork": { - "description": "Network used to access vCenter Server and NSX-T Manager", + "message": { "type": "string", - "readOnly": true + "description": "Failure/Success info" }, - "provisioningNetwork": { - "description": "Used for virtual machine cold migration, cloning, and snapshot migration", + "startedAt": { "type": "string", - "readOnly": true + "format": "date-time", + "description": "Time when current state started" }, - "vmotionNetwork": { - "description": "Used for live migration of virtual machines", + "endedAt": { "type": "string", - "readOnly": true - }, - "vcenterPassword": { - "description": "Optionally, set the vCenter admin password when the private cloud is created", + "format": "date-time", + "description": "Time when current state ended" + } + } + }, + "MaintenanceType": { + "type": "string", + "description": "type of the maintenance", + "enum": [ + "VCSA", + "ESXI", + "NSXT" + ], + "x-ms-enum": { + "name": "MaintenanceType", + "modelAsString": true, + "values": [ + { + "name": "VCSA", + "value": "VCSA", + "description": "maintenance for vCenter Server Appliance" + }, + { + "name": "ESXI", + "value": "ESXI", + "description": "maintenance for ESXi" + }, + { + "name": "NSXT", + "value": "NSXT", + "description": "maintenance for NSX-T" + } + ] + } + }, + "ManagementCluster": { + "type": "object", + "description": "The properties of a management cluster", + "properties": { + "displayName": { "type": "string", - "x-ms-secret": true + "description": "Display name of the resource." }, - "nsxtPassword": { - "description": "Optionally, set the NSX-T Manager password when the private cloud is created", - "type": "string", - "x-ms-secret": true + "clusterSize": { + "type": "integer", + "format": "int32", + "description": "The cluster size" }, - "vcenterCertificateThumbprint": { - "description": "Thumbprint of the vCenter Server SSL certificate", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/ClusterProvisioningState", + "description": "The state of the cluster provisioning", "readOnly": true }, - "nsxtCertificateThumbprint": { - "description": "Thumbprint of the NSX-T Manager SSL certificate", - "type": "string", + "clusterId": { + "type": "integer", + "format": "int32", + "description": "The identity", "readOnly": true }, - "externalCloudLinks": { - "description": "Array of cloud link IDs from other clouds that connect to this one", + "hosts": { "type": "array", - "readOnly": true, + "description": "The hosts", "items": { "type": "string" } }, - "secondaryCircuit": { - "description": "A secondary expressRoute circuit from a separate AZ. Only present in a stretched private cloud", - "$ref": "#/definitions/Circuit" - }, - "nsxPublicIpQuotaRaised": { - "description": "Flag to indicate whether the private cloud has the quota for provisioned NSX Public IP count raised from 64 to 1024", + "vsanDatastoreName": { "type": "string", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "nsxPublicIpQuotaRaisedEnum", - "modelAsString": true - } + "description": "Name of the vsan datastore associated with the cluster" } } }, - "Cluster": { + "NetAppVolume": { "type": "object", - "description": "A cluster resource", + "description": "An Azure NetApp Files volume from Microsoft.NetApp provider", + "properties": { + "id": { + "type": "string", + "description": "Azure resource ID of the NetApp volume" + } + }, "required": [ - "sku" + "id" + ] + }, + "NsxPublicIpQuotaRaisedEnum": { + "type": "string", + "description": "NSX public IP quota raised", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "NsxPublicIpQuotaRaisedEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "OptionalParamEnum": { + "type": "string", + "description": "Optional Param", + "enum": [ + "Optional", + "Required" ], + "x-ms-enum": { + "name": "OptionalParamEnum", + "modelAsString": true, + "values": [ + { + "name": "Optional", + "value": "Optional", + "description": "is optional" + }, + { + "name": "Required", + "value": "Required", + "description": "is required" + } + ] + } + }, + "PSCredentialExecutionParameter": { + "type": "object", + "description": "a powershell credential object", + "properties": { + "username": { + "type": "string", + "description": "username for login" + }, + "password": { + "type": "string", + "format": "password", + "description": "password for login", + "x-ms-secret": true + } + }, "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ScriptExecutionParameter" } ], + "x-ms-discriminator-value": "Credential" + }, + "PlacementPolicy": { + "type": "object", + "description": "A vSphere Distributed Resource Scheduler (DRS) placement policy", "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 + "$ref": "#/definitions/PlacementPolicyProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PlacementPolicyListResult": { + "type": "object", + "description": "The response of a PlacementPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PlacementPolicy items on this page", + "items": { + "$ref": "#/definitions/PlacementPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PlacementPolicyProperties": { + "type": "object", + "description": "Abstract placement policy properties", + "properties": { + "type": { + "$ref": "#/definitions/PlacementPolicyType", + "description": "Placement Policy type" + }, + "state": { + "$ref": "#/definitions/PlacementPolicyState", + "description": "Whether the placement policy is enabled or disabled" + }, + "displayName": { + "type": "string", + "description": "Display name of the placement policy" + }, + "provisioningState": { + "$ref": "#/definitions/PlacementPolicyProvisioningState", + "description": "The provisioning state", + "readOnly": true } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "PlacementPolicyProvisioningState": { + "type": "string", + "description": "Placement Policy provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "PlacementPolicyProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "PlacementPolicyState": { + "type": "string", + "description": "Placement Policy state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PlacementPolicyState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] } }, - "ClusterUpdate": { + "PlacementPolicyType": { + "type": "string", + "description": "Placement Policy type", + "enum": [ + "VmVm", + "VmHost" + ], + "x-ms-enum": { + "name": "PlacementPolicyType", + "modelAsString": true, + "values": [ + { + "name": "VmVm", + "value": "VmVm" + }, + { + "name": "VmHost", + "value": "VmHost" + } + ] + } + }, + "PlacementPolicyUpdate": { "type": "object", - "description": "An update of a cluster resource", + "description": "An update of a DRS placement policy resource", "properties": { "properties": { - "description": "The properties of a cluster resource that may be updated", - "$ref": "#/definitions/ClusterUpdateProperties", + "$ref": "#/definitions/PlacementPolicyUpdateProperties", + "description": "The properties of a placement policy resource that may be updated", "x-ms-client-flatten": true } } }, - "ClusterUpdateProperties": { + "PlacementPolicyUpdateProperties": { "type": "object", - "description": "The properties of a cluster that may be updated", + "description": "The properties of a placement policy resource that may be updated", "properties": { - "clusterSize": { - "description": "The cluster size", - "type": "integer", - "format": "int32" + "state": { + "$ref": "#/definitions/PlacementPolicyState", + "description": "Whether the placement policy is enabled or disabled" }, - "hosts": { - "description": "The hosts", + "vmMembers": { + "type": "array", + "description": "Virtual machine members list", + "items": { + "type": "string" + } + }, + "hostMembers": { "type": "array", + "description": "Host members list", "items": { "type": "string" } + }, + "affinityStrength": { + "$ref": "#/definitions/AffinityStrength", + "description": "vm-host placement policy affinity strength (should/must)" + }, + "azureHybridBenefitType": { + "$ref": "#/definitions/AzureHybridBenefitType", + "description": "placement policy azure hybrid benefit opt-in type" } } }, - "ClusterProvisioningState": { - "description": "The state of the cluster provisioning", + "PortMirroringDirectionEnum": { "type": "string", - "readOnly": true, + "description": "Port Mirroring Direction", "enum": [ - "Succeeded", - "Failed", - "Cancelled", - "Deleting", - "Updating", - "Canceled" + "INGRESS", + "EGRESS", + "BIDIRECTIONAL" ], "x-ms-enum": { - "name": "ClusterProvisioningState", - "modelAsString": true + "name": "PortMirroringDirectionEnum", + "modelAsString": true, + "values": [ + { + "name": "INGRESS", + "value": "INGRESS", + "description": "is ingress" + }, + { + "name": "EGRESS", + "value": "EGRESS", + "description": "is egress" + }, + { + "name": "BIDIRECTIONAL", + "value": "BIDIRECTIONAL", + "description": "is bidirectional" + } + ] + } + }, + "PortMirroringStatusEnum": { + "type": "string", + "description": "Port Mirroring status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "PortMirroringStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" + }, + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] } }, - "CommonClusterProperties": { + "PrivateCloud": { "type": "object", - "description": "The common properties of a cluster", + "description": "A private cloud resource", "properties": { - "clusterSize": { - "description": "The cluster size", - "type": "integer", - "format": "int32" + "properties": { + "$ref": "#/definitions/PrivateCloudProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] }, - "provisioningState": { - "description": "The state of the cluster provisioning", - "$ref": "#/definitions/ClusterProvisioningState" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } }, - "clusterId": { - "description": "The identity", - "type": "integer", - "format": "int32", - "readOnly": true + "sku": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." }, - "hosts": { - "description": "The hosts", + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/SystemAssignedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "zones": { "type": "array", + "description": "The availability zones.", "items": { "type": "string" } } - } - }, - "ManagementCluster": { - "type": "object", - "description": "The properties of a management cluster", + }, "required": [ - "clusterSize" + "sku" ], "allOf": [ { - "$ref": "#/definitions/CommonClusterProperties" - } - ] - }, - "ClusterProperties": { - "type": "object", - "description": "The properties of a cluster", - "allOf": [ - { - "$ref": "#/definitions/CommonClusterProperties" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ] }, - "PrivateCloudList": { + "PrivateCloudListResult": { "type": "object", - "description": "A paged list of private clouds", + "description": "The response of a PrivateCloud list operation.", "properties": { "value": { - "description": "The items on the page", "type": "array", - "readOnly": true, + "description": "The PrivateCloud items on this page", "items": { "$ref": "#/definitions/PrivateCloud" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "ClusterList": { + "PrivateCloudProperties": { "type": "object", - "description": "A paged list of clusters", + "description": "The properties of a private cloud resource", "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", + "displayName": { "type": "string", - "readOnly": true - } - } - }, - "Addon": { - "type": "object", - "description": "An addon resource", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "The properties of an addon resource", - "$ref": "#/definitions/AddonProperties", - "x-ms-client-flatten": false - } - } - }, - "AddonProperties": { - "type": "object", - "description": "The properties of an addon", - "discriminator": "addonType", - "properties": { - "addonType": { - "description": "The type of private cloud addon", + "description": "Display name of the resource." + }, + "managementCluster": { + "$ref": "#/definitions/ManagementCluster", + "description": "The default cluster used for management" + }, + "internet": { "type": "string", + "description": "Connectivity to internet is enabled or disabled", + "default": "Disabled", "enum": [ - "SRM", - "VR", - "HCX", - "Arc" + "Enabled", + "Disabled" ], "x-ms-enum": { - "name": "AddonType", - "modelAsString": true + "name": "InternetEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "identitySources": { + "type": "array", + "description": "vCenter Single Sign On Identity Sources", + "items": { + "$ref": "#/definitions/IdentitySource" + }, + "x-ms-identifiers": [] + }, + "availability": { + "$ref": "#/definitions/AvailabilityProperties", + "description": "Properties describing how the cloud is distributed across availability zones", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Customer managed key encryption, can be enabled or disabled" + }, + "extendedNetworkBlocks": { + "type": "array", + "description": "Array of additional networks noncontiguous with networkBlock. Networks must be\nunique and non-overlapping across VNet in your subscription, on-premise, and\nthis privateCloud networkBlock attribute. Make sure the CIDR format conforms to\n(A.B.C.D/X).", + "items": { + "type": "string" } }, "provisioningState": { - "description": "The state of the addon provisioning", + "$ref": "#/definitions/PrivateCloudProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "circuit": { + "$ref": "#/definitions/Circuit", + "description": "An ExpressRoute Circuit" + }, + "endpoints": { + "$ref": "#/definitions/Endpoints", + "description": "The endpoints", + "readOnly": true + }, + "networkBlock": { "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Cancelled", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "AddonProvisioningState", - "modelAsString": true - } - } - }, - "required": [ - "addonType" - ] - }, - "AddonSrmProperties": { - "type": "object", - "description": "The properties of a Site Recovery Manager (SRM) addon", - "x-ms-discriminator-value": "SRM", - "allOf": [ - { - "$ref": "#/definitions/AddonProperties" - } - ], - "properties": { - "licenseKey": { - "description": "The Site Recovery Manager (SRM) license", - "type": "string" - } - } - }, - "AddonVrProperties": { - "type": "object", - "description": "The properties of a vSphere Replication (VR) addon", - "x-ms-discriminator-value": "VR", - "allOf": [ - { - "$ref": "#/definitions/AddonProperties" - } - ], - "properties": { - "vrsCount": { - "description": "The vSphere Replication Server (VRS) count", - "type": "integer", - "format": "int32" - } - }, - "required": [ - "vrsCount" - ] - }, - "AddonHcxProperties": { - "type": "object", - "description": "The properties of an HCX addon", - "x-ms-discriminator-value": "HCX", - "allOf": [ - { - "$ref": "#/definitions/AddonProperties" - } - ], - "properties": { - "offer": { - "description": "The HCX offer, example VMware MaaS Cloud Provider (Enterprise)", - "type": "string" + "description": "The block of addresses should be unique across VNet in your subscription as\nwell as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where\nA,B,C,D are between 0 and 255, and X is between 0 and 22" + }, + "managementNetwork": { + "type": "string", + "description": "Network used to access vCenter Server and NSX-T Manager", + "readOnly": true + }, + "provisioningNetwork": { + "type": "string", + "description": "Used for virtual machine cold migration, cloning, and snapshot migration", + "readOnly": true + }, + "vmotionNetwork": { + "type": "string", + "description": "Used for live migration of virtual machines", + "readOnly": true + }, + "vcenterPassword": { + "type": "string", + "format": "password", + "description": "Optionally, set the vCenter admin password when the private cloud is created", + "x-ms-secret": true + }, + "nsxtPassword": { + "type": "string", + "format": "password", + "description": "Optionally, set the NSX-T Manager password when the private cloud is created", + "x-ms-secret": true + }, + "vcenterCertificateThumbprint": { + "type": "string", + "description": "Thumbprint of the vCenter Server SSL certificate", + "readOnly": true + }, + "nsxtCertificateThumbprint": { + "type": "string", + "description": "Thumbprint of the NSX-T Manager SSL certificate", + "readOnly": true + }, + "externalCloudLinks": { + "type": "array", + "description": "Array of cloud link IDs from other clouds that connect to this one", + "items": { + "type": "string" + }, + "readOnly": true + }, + "secondaryCircuit": { + "$ref": "#/definitions/Circuit", + "description": "A secondary expressRoute circuit from a separate AZ. Only present in a\nstretched private cloud" + }, + "nsxPublicIpQuotaRaised": { + "$ref": "#/definitions/NsxPublicIpQuotaRaisedEnum", + "description": "Flag to indicate whether the private cloud has the quota for provisioned NSX\nPublic IP count raised from 64 to 1024", + "readOnly": true + }, + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the virtual network", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "\\Microsoft.Network\\vnet" + } + ] + } + }, + "dnsZoneType": { + "$ref": "#/definitions/DnsZoneType", + "description": "The type of DNS zone to use." } }, "required": [ - "offer" + "managementCluster", + "networkBlock" ] }, - "AddonArcProperties": { - "type": "object", - "description": "The properties of an Arc addon", - "x-ms-discriminator-value": "Arc", - "allOf": [ - { - "$ref": "#/definitions/AddonProperties" - } + "PrivateCloudProvisioningState": { + "type": "string", + "description": "private cloud provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Cancelled", + "Pending", + "Building", + "Deleting", + "Updating" ], - "properties": { - "vCenter": { - "description": "The VMware vCenter resource ID", - "type": "string" - } - } - }, - "AddonList": { - "type": "object", - "description": "A paged list of addons", - "properties": { - "value": { - "description": "The items on a page", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Addon" + "x-ms-enum": { + "name": "PrivateCloudProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" } - }, - "nextLink": { - "description": "URL to get the next page if any", - "type": "string", - "readOnly": true - } - } + ] + }, + "readOnly": true }, - "DatastoreList": { + "PrivateCloudUpdate": { "type": "object", - "description": "A paged list of datastores", + "description": "An update to a private cloud resource", "properties": { - "value": { - "description": "The items on a page", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Datastore" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" } }, - "nextLink": { - "description": "URL to get the next page if any", - "type": "string", - "readOnly": true - } - } - }, - "Datastore": { - "type": "object", - "description": "A datastore resource", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { + "sku": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/SystemAssignedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, "properties": { - "description": "The properties of a datastore resource", - "$ref": "#/definitions/DatastoreProperties", + "$ref": "#/definitions/PrivateCloudUpdateProperties", + "description": "The updatable properties of a private cloud resource", "x-ms-client-flatten": true } } }, - "DatastoreProperties": { + "PrivateCloudUpdateProperties": { "type": "object", - "description": "The properties of a datastore", + "description": "The properties of a private cloud resource that may be updated", "properties": { - "provisioningState": { - "description": "The state of the datastore provisioning", + "displayName": { "type": "string", - "readOnly": true, + "description": "Display name of the resource." + }, + "managementCluster": { + "$ref": "#/definitions/ManagementCluster", + "description": "The default cluster used for management" + }, + "internet": { + "type": "string", + "description": "Connectivity to internet is enabled or disabled", + "default": "Disabled", "enum": [ - "Succeeded", - "Failed", - "Cancelled", - "Pending", - "Creating", - "Updating", - "Deleting", - "Canceled" + "Enabled", + "Disabled" ], "x-ms-enum": { - "name": "DatastoreProvisioningState", - "modelAsString": true + "name": "InternetEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] } }, - "netAppVolume": { - "description": "An Azure NetApp Files volume", - "$ref": "#/definitions/NetAppVolume" + "identitySources": { + "type": "array", + "description": "vCenter Single Sign On Identity Sources", + "items": { + "$ref": "#/definitions/IdentitySource" + }, + "x-ms-identifiers": [] }, - "diskPoolVolume": { - "description": "An iSCSI volume", - "$ref": "#/definitions/DiskPoolVolume" + "availability": { + "$ref": "#/definitions/AvailabilityProperties", + "description": "Properties describing how the cloud is distributed across availability zones", + "x-ms-mutability": [ + "read", + "create" + ] }, - "status": { - "description": "The operational status of the datastore", - "type": "string", - "readOnly": true, - "enum": [ - "Unknown", - "Accessible", - "Inaccessible", - "Attached", - "Detached", - "LostCommunication", - "DeadOrError" - ], - "x-ms-enum": { - "name": "DatastoreStatus", - "modelAsString": true + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Customer managed key encryption, can be enabled or disabled" + }, + "extendedNetworkBlocks": { + "type": "array", + "description": "Array of additional networks noncontiguous with networkBlock. Networks must be\nunique and non-overlapping across VNet in your subscription, on-premise, and\nthis privateCloud networkBlock attribute. Make sure the CIDR format conforms to\n(A.B.C.D/X).", + "items": { + "type": "string" } + }, + "dnsZoneType": { + "$ref": "#/definitions/DnsZoneType", + "description": "The type of DNS zone to use." } } }, - "NetAppVolume": { + "ProvisionedNetwork": { "type": "object", - "description": "An Azure NetApp Files volume from Microsoft.NetApp provider", + "description": "A provisioned network resource", "properties": { - "id": { - "type": "string", - "description": "Azure resource ID of the NetApp volume" + "properties": { + "$ref": "#/definitions/ProvisionedNetworkProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } }, - "required": [ - "id" + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } ] }, - "DiskPoolVolume": { + "ProvisionedNetworkListResult": { "type": "object", - "description": "An iSCSI volume from Microsoft.StoragePool provider", + "description": "The response of a ProvisionedNetwork list operation.", "properties": { - "targetId": { - "type": "string", - "description": "Azure resource ID of the iSCSI target" - }, - "lunName": { - "type": "string", - "description": "Name of the LUN to be used for datastore" - }, - "mountOption": { - "type": "string", - "description": "Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN", - "enum": [ - "MOUNT", - "ATTACH" - ], - "x-ms-enum": { - "name": "MountOptionEnum", - "modelAsString": true - }, - "default": "MOUNT" + "value": { + "type": "array", + "description": "The ProvisionedNetwork items on this page", + "items": { + "$ref": "#/definitions/ProvisionedNetwork" + } }, - "path": { + "nextLink": { "type": "string", - "description": "Device path", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } }, "required": [ - "targetId", - "lunName" + "value" ] }, - "AdminCredentials": { + "ProvisionedNetworkProperties": { "type": "object", - "description": "Administrative credentials for accessing vCenter and NSX-T", + "description": "The properties of a provisioned network.", "properties": { - "nsxtUsername": { - "description": "NSX-T Manager username", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/CloudLinkProvisioningState", + "description": "The provisioning state of the resource.", "readOnly": true }, - "nsxtPassword": { - "description": "NSX-T Manager password", - "type": "string", - "readOnly": true, - "x-ms-secret": true - }, - "vcenterUsername": { - "description": "vCenter admin username", + "addressPrefix": { "type": "string", + "description": "The address prefixes of the provisioned network in CIDR notation.", "readOnly": true }, - "vcenterPassword": { - "description": "vCenter admin password", - "type": "string", - "readOnly": true, - "x-ms-secret": true + "networkType": { + "$ref": "#/definitions/ProvisionedNetworkTypes", + "description": "The type of network provisioned.", + "readOnly": true } } }, - "Sku": { - "type": "object", - "description": "The resource model definition representing SKU", - "properties": { - "name": { - "type": "string", - "description": "The name of the SKU." - } - }, - "required": [ - "name" - ] + "ProvisionedNetworkTypes": { + "type": "string", + "description": "The type of network provisioned.", + "enum": [ + "esxManagement", + "esxReplication", + "hcxManagement", + "hcxUplink", + "vcenterManagement", + "vmotion", + "vsan" + ], + "x-ms-enum": { + "name": "ProvisionedNetworkTypes", + "modelAsString": true, + "values": [ + { + "name": "esxManagement", + "value": "esxManagement", + "description": "network for ESX management" + }, + { + "name": "esxReplication", + "value": "esxReplication", + "description": "network for ESX replication" + }, + { + "name": "hcxManagement", + "value": "hcxManagement", + "description": "network for HCX management" + }, + { + "name": "hcxUplink", + "value": "hcxUplink", + "description": "network for HCX uplink" + }, + { + "name": "vcenterManagement", + "value": "vcenterManagement", + "description": "network for vCenter management" + }, + { + "name": "vmotion", + "value": "vmotion", + "description": "network for vmotion" + }, + { + "name": "vsan", + "value": "vsan", + "description": "network for vsan" + } + ] + } }, - "HcxEnterpriseSiteList": { + "Quota": { "type": "object", - "description": "A paged list of HCX Enterprise Sites", + "description": "Subscription quotas", "properties": { - "value": { - "description": "The items on a page", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/HcxEnterpriseSite" - } + "hostsRemaining": { + "type": "object", + "description": "Remaining hosts quota by sku type", + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "readOnly": true }, - "nextLink": { - "description": "URL to get the next page if any", - "type": "string", + "quotaEnabled": { + "$ref": "#/definitions/QuotaEnabled", + "description": "Host quota is active for current subscription", "readOnly": true } } }, - "HcxEnterpriseSite": { + "QuotaEnabled": { + "type": "string", + "description": "quote enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "QuotaEnabled", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "ScriptCmdlet": { "type": "object", - "description": "An HCX Enterprise Site resource", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], + "description": "A cmdlet available for script execution", "properties": { "properties": { - "description": "The properties of an HCX Enterprise Site resource", - "$ref": "#/definitions/HcxEnterpriseSiteProperties", + "$ref": "#/definitions/ScriptCmdletProperties", + "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true, - "readOnly": true + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "HcxEnterpriseSiteProperties": { - "type": "object", - "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 + "ScriptCmdletAudience": { + "type": "string", + "description": "Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers", + "enum": [ + "Automation", + "Any" + ], + "x-ms-enum": { + "name": "ScriptCmdletAudience", + "modelAsString": true, + "values": [ + { + "name": "Automation", + "value": "Automation", + "description": "is automation" + }, + { + "name": "Any", + "value": "Any", + "description": "is any" } - } + ] } }, - "GlobalReachConnectionList": { + "ScriptCmdletListResult": { "type": "object", - "description": "A paged list of global reach connections", + "description": "The response of a ScriptCmdlet list operation.", "properties": { "value": { - "description": "The items on a page", "type": "array", - "readOnly": true, + "description": "The ScriptCmdlet items on this page", "items": { - "$ref": "#/definitions/GlobalReachConnection" + "$ref": "#/definitions/ScriptCmdlet" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true - } - } - }, - "GlobalReachConnection": { - "type": "object", - "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 + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "GlobalReachConnectionProperties": { + "ScriptCmdletProperties": { "type": "object", - "description": "The properties of a global reach connection", + "description": "Properties of a pre-canned script", "properties": { "provisioningState": { - "description": "The state of the ExpressRoute Circuit Authorization provisioning", + "$ref": "#/definitions/ScriptCmdletProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "description": { "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "GlobalReachConnectionProvisioningState", - "modelAsString": true - } + "description": "Description of the scripts functionality", + "readOnly": true }, - "addressPrefix": { - "description": "The network used for global reach carved out from the original network block provided for the private cloud", + "timeout": { "type": "string", + "description": "Recommended time limit for execution", "readOnly": true }, - "authorizationKey": { - "description": "Authorization key from the peer express route used for the global reach connection", - "type": "string" + "audience": { + "$ref": "#/definitions/ScriptCmdletAudience", + "description": "Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers", + "readOnly": true }, - "circuitConnectionStatus": { - "description": "The connection status of the global reach connection", - "type": "string", + "parameters": { + "type": "array", + "description": "Parameters the script will accept", + "items": { + "$ref": "#/definitions/ScriptParameter" + }, "readOnly": true, - "enum": [ - "Connected", - "Connecting", - "Disconnected" - ], - "x-ms-enum": { - "name": "GlobalReachConnectionStatus", - "modelAsString": true + "x-ms-identifiers": [] + } + }, + "required": [ + "audience" + ] + }, + "ScriptCmdletProvisioningState": { + "type": "string", + "description": "A script cmdlet provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ScriptCmdletProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." } - }, - "peerExpressRouteCircuit": { - "type": "string", - "description": "Identifier of the ExpressRoute Circuit to peer with in the global reach connection" - }, - "expressRouteId": { - "type": "string", - "description": "The ID of the Private Cloud's ExpressRoute Circuit that is participating in the global reach connection" + ] + }, + "readOnly": true + }, + "ScriptExecution": { + "type": "object", + "description": "An instance of a script executed by a user - custom or AVS", + "properties": { + "properties": { + "$ref": "#/definitions/ScriptExecutionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "CloudLinkList": { + "ScriptExecutionListResult": { "type": "object", - "description": "A paged list of cloud links", + "description": "The response of a ScriptExecution list operation.", "properties": { "value": { - "description": "The items on a page", "type": "array", - "readOnly": true, + "description": "The ScriptExecution items on this page", "items": { - "$ref": "#/definitions/CloudLink" + "$ref": "#/definitions/ScriptExecution" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true - } - } - }, - "CloudLink": { - "type": "object", - "description": "A cloud link resource", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "The properties of a cloud link.", - "$ref": "#/definitions/CloudLinkProperties", - "x-ms-client-flatten": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "CloudLinkProperties": { + "ScriptExecutionParameter": { "type": "object", - "description": "The properties of a cloud link.", + "description": "The arguments passed in to the execution", "properties": { - "status": { - "description": "The state of the cloud link.", - "type": "string", - "readOnly": true, - "enum": [ - "Active", - "Building", - "Deleting", - "Failed", - "Disconnected" - ], - "x-ms-enum": { - "name": "CloudLinkStatus", - "modelAsString": true - } + "type": { + "$ref": "#/definitions/ScriptExecutionParameterType", + "description": "script execution parameter type" }, - "linkedCloud": { + "name": { "type": "string", - "description": "Identifier of the other private cloud participating in the link." + "description": "The parameter name" } + }, + "discriminator": "type", + "required": [ + "type", + "name" + ] + }, + "ScriptExecutionParameterType": { + "type": "string", + "description": "script execution parameter type", + "enum": [ + "Value", + "SecureValue", + "Credential" + ], + "x-ms-enum": { + "name": "ScriptExecutionParameterType", + "modelAsString": true, + "values": [ + { + "name": "Value", + "value": "Value" + }, + { + "name": "SecureValue", + "value": "SecureValue" + }, + { + "name": "Credential", + "value": "Credential" + } + ] } }, - "WorkloadNetworkSegmentSubnet": { + "ScriptExecutionProperties": { "type": "object", - "description": "Subnet configuration for segment", + "description": "Properties of a user-invoked script", "properties": { - "dhcpRanges": { - "description": "DHCP Range assigned for subnet.", + "scriptCmdletId": { + "type": "string", + "description": "A reference to the script cmdlet resource if user is running a AVS script" + }, + "parameters": { "type": "array", + "description": "Parameters the script will accept", "items": { - "type": "string" - } + "$ref": "#/definitions/ScriptExecutionParameter" + }, + "x-ms-identifiers": [] }, - "gatewayAddress": { - "description": "Gateway address.", - "type": "string" - } - } - }, - "WorkloadNetworkSegmentPortVif": { - "type": "object", - "description": "Ports and any VIF attached to segment.", - "properties": { - "portName": { - "description": "Name of port or VIF attached to segment.", - "type": "string" - } - } - }, - "WorkloadNetworkSegmentProperties": { - "type": "object", - "description": "NSX Segment Properties", - "properties": { - "displayName": { - "description": "Display name of the segment.", - "type": "string" + "hiddenParameters": { + "type": "array", + "description": "Parameters that will be hidden/not visible to ARM, such as passwords and\ncredentials", + "items": { + "$ref": "#/definitions/ScriptExecutionParameter" + }, + "x-ms-identifiers": [] + }, + "failureReason": { + "type": "string", + "description": "Error message if the script was able to run, but if the script itself had\nerrors or powershell threw an exception" + }, + "timeout": { + "type": "string", + "description": "Time limit for execution" + }, + "retention": { + "type": "string", + "description": "Time to live for the resource. If not provided, will be available for 60 days" + }, + "submittedAt": { + "type": "string", + "format": "date-time", + "description": "Time the script execution was submitted", + "readOnly": true + }, + "startedAt": { + "type": "string", + "format": "date-time", + "description": "Time the script execution was started", + "readOnly": true + }, + "finishedAt": { + "type": "string", + "format": "date-time", + "description": "Time the script execution was finished", + "readOnly": true }, - "connectedGateway": { - "description": "Gateway which to connect segment to.", - "type": "string" + "provisioningState": { + "$ref": "#/definitions/ScriptExecutionProvisioningState", + "description": "The state of the script execution resource", + "readOnly": true }, - "subnet": { - "description": "Subnet which to connect segment to.", - "$ref": "#/definitions/WorkloadNetworkSegmentSubnet" + "output": { + "type": "array", + "description": "Standard output stream from the powershell execution", + "items": { + "type": "string" + } }, - "portVif": { - "description": "Port Vif which segment is associated with.", + "namedOutputs": { + "type": "object", + "description": "User-defined dictionary.", + "additionalProperties": { + "type": "object" + } + }, + "information": { "type": "array", + "description": "Standard information out stream from the powershell execution", "items": { - "$ref": "#/definitions/WorkloadNetworkSegmentPortVif" + "type": "string" }, - "x-ms-identifiers": [ - "portName" - ], "readOnly": true }, - "status": { - "description": "Segment status.", - "type": "string", - "enum": [ - "SUCCESS", - "FAILURE" - ], - "x-ms-enum": { - "name": "SegmentStatusEnum", - "modelAsString": true + "warnings": { + "type": "array", + "description": "Standard warning out stream from the powershell execution", + "items": { + "type": "string" }, "readOnly": true }, - "provisioningState": { - "description": "The provisioning state", - "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "WorkloadNetworkSegmentProvisioningState", - "modelAsString": true - } - }, - "revision": { - "description": "NSX revision number.", - "type": "integer", - "format": "int64" + "errors": { + "type": "array", + "description": "Standard error output stream from the powershell execution", + "items": { + "type": "string" + }, + "readOnly": true } + }, + "required": [ + "timeout" + ] + }, + "ScriptExecutionProvisioningState": { + "type": "string", + "description": "Script Execution provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Pending", + "Running", + "Cancelling", + "Cancelled", + "Deleting" + ], + "x-ms-enum": { + "name": "ScriptExecutionProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Pending", + "value": "Pending", + "description": "is pending" + }, + { + "name": "Running", + "value": "Running", + "description": "is running" + }, + { + "name": "Cancelling", + "value": "Cancelling", + "description": "is cancelling" + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "is cancelled" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + } + ] + }, + "readOnly": true + }, + "ScriptOutputStreamType": { + "type": "string", + "description": "Script Output Stream type", + "enum": [ + "Information", + "Warning", + "Output", + "Error" + ], + "x-ms-enum": { + "name": "ScriptOutputStreamType", + "modelAsString": true, + "values": [ + { + "name": "Information", + "value": "Information", + "description": "is information" + }, + { + "name": "Warning", + "value": "Warning", + "description": "is warning" + }, + { + "name": "Output", + "value": "Output", + "description": "is output" + }, + { + "name": "Error", + "value": "Error", + "description": "is error" + } + ] } }, - "WorkloadNetwork": { + "ScriptPackage": { "type": "object", - "description": "Workload Network", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + "description": "Script Package resources available for execution", + "properties": { + "properties": { + "$ref": "#/definitions/ScriptPackageProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - ] - }, - "WorkloadNetworkSegment": { - "type": "object", - "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 + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - } + ] }, - "WorkloadNetworkList": { + "ScriptPackageListResult": { "type": "object", - "description": "A list of workload networks", + "description": "The response of a ScriptPackage list operation.", "properties": { "value": { - "description": "The items on the page", "type": "array", - "readOnly": true, + "description": "The ScriptPackage items on this page", "items": { - "$ref": "#/definitions/WorkloadNetwork" + "$ref": "#/definitions/ScriptPackage" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "WorkloadNetworkSegmentsList": { + "ScriptPackageProperties": { "type": "object", - "description": "A list of NSX Segments", + "description": "Properties of a Script Package subresource", "properties": { - "value": { - "description": "The items on the page", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/WorkloadNetworkSegment" - } + "provisioningState": { + "$ref": "#/definitions/ScriptPackageProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true }, - "nextLink": { - "description": "URL to get the next page if any", + "description": { "type": "string", + "description": "User friendly description of the package", "readOnly": true - } - } - }, - "WorkloadNetworkDhcpEntity": { - "type": "object", - "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" - }, + "version": { + "type": "string", + "description": "Module version", "readOnly": true }, - "provisioningState": { - "description": "The provisioning state", + "company": { "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "WorkloadNetworkDhcpProvisioningState", - "modelAsString": true - } + "description": "Company that created and supports the package", + "readOnly": true }, - "revision": { - "description": "NSX revision number.", - "type": "integer", - "format": "int64" + "uri": { + "type": "string", + "description": "Link to support by the package vendor", + "readOnly": true } + } + }, + "ScriptPackageProvisioningState": { + "type": "string", + "description": "Script Package provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ScriptPackageProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] }, - "required": [ - "dhcpType" - ] + "readOnly": true }, - "WorkloadNetworkDhcpServer": { + "ScriptParameter": { "type": "object", - "description": "NSX DHCP Server", - "x-ms-discriminator-value": "SERVER", - "allOf": [ - { - "$ref": "#/definitions/WorkloadNetworkDhcpEntity" - } - ], + "description": "An parameter that the script will accept", "properties": { - "serverAddress": { - "description": "DHCP Server Address.", - "type": "string" + "type": { + "$ref": "#/definitions/ScriptParameterTypes", + "description": "The type of parameter the script is expecting. psCredential is a\nPSCredentialObject", + "readOnly": true }, - "leaseTime": { - "description": "DHCP Server Lease Time.", - "type": "integer", - "format": "int64" + "name": { + "type": "string", + "description": "The parameter name that the script will expect a parameter value for" + }, + "description": { + "type": "string", + "description": "User friendly description of the parameter", + "readOnly": true + }, + "visibility": { + "$ref": "#/definitions/VisibilityParameterEnum", + "description": "Should this parameter be visible to arm and passed in the parameters argument\nwhen executing", + "readOnly": true + }, + "optional": { + "$ref": "#/definitions/OptionalParamEnum", + "description": "Is this parameter required or optional", + "readOnly": true } } }, - "WorkloadNetworkDhcpRelay": { - "type": "object", - "description": "NSX DHCP Relay", - "x-ms-discriminator-value": "RELAY", - "allOf": [ - { - "$ref": "#/definitions/WorkloadNetworkDhcpEntity" - } + "ScriptParameterTypes": { + "type": "string", + "description": "Script Parameter types", + "enum": [ + "String", + "SecureString", + "Credential", + "Int", + "Bool", + "Float" ], - "properties": { - "serverAddresses": { - "description": "DHCP Relay Addresses. Max 3.", - "type": "array", - "items": { - "type": "string" + "x-ms-enum": { + "name": "ScriptParameterTypes", + "modelAsString": true, + "values": [ + { + "name": "String", + "value": "String", + "description": "is string" }, - "minItems": 1, - "maxItems": 3 - } + { + "name": "SecureString", + "value": "SecureString", + "description": "is secure string" + }, + { + "name": "Credential", + "value": "Credential", + "description": "is credential" + }, + { + "name": "Int", + "value": "Int", + "description": "is int" + }, + { + "name": "Bool", + "value": "Bool", + "description": "is bool" + }, + { + "name": "Float", + "value": "Float", + "description": "is float" + } + ] } }, - "WorkloadNetworkDhcp": { + "ScriptSecureStringExecutionParameter": { "type": "object", - "description": "NSX DHCP", + "description": "a plain text value execution parameter", + "properties": { + "secureValue": { + "type": "string", + "format": "password", + "description": "A secure value for the passed parameter, not to be stored in logs", + "x-ms-secret": true + } + }, "allOf": [ { - "$ref": "#/definitions/ProxyResource" + "$ref": "#/definitions/ScriptExecutionParameter" } ], - "properties": { - "properties": { - "description": "DHCP properties.", - "$ref": "#/definitions/WorkloadNetworkDhcpEntity", - "x-ms-client-flatten": false - } - } + "x-ms-discriminator-value": "SecureValue" }, - "WorkloadNetworkDhcpList": { + "ScriptStringExecutionParameter": { "type": "object", - "description": "A list of NSX dhcp entities", + "description": "a plain text value execution parameter", "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 + "description": "The value for the passed parameter" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ScriptExecutionParameter" } + ], + "x-ms-discriminator-value": "Value" + }, + "SegmentStatusEnum": { + "type": "string", + "description": "Segment status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "SegmentStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" + }, + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] } }, - "WorkloadNetworkPortMirroringProperties": { + "SslEnum": { + "type": "string", + "description": "Whether SSL is enabled or disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SslEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, + "Trial": { "type": "object", - "description": "NSX Port Mirroring Properties", + "description": "Subscription trial availability", "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 - }, + "$ref": "#/definitions/TrialStatus", + "description": "Trial status", "readOnly": true }, - "provisioningState": { - "description": "The provisioning state", - "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "WorkloadNetworkPortMirroringProvisioningState", - "modelAsString": true - } - }, - "revision": { - "description": "NSX revision number.", + "availableHosts": { "type": "integer", - "format": "int64" + "format": "int32", + "description": "Number of trial hosts available", + "readOnly": true } } }, - "WorkloadNetworkPortMirroring": { - "type": "object", - "description": "NSX Port Mirroring", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } + "TrialStatus": { + "type": "string", + "description": "trial status", + "enum": [ + "TrialAvailable", + "TrialUsed", + "TrialDisabled" + ], + "x-ms-enum": { + "name": "TrialStatus", + "modelAsString": true, + "values": [ + { + "name": "TrialAvailable", + "value": "TrialAvailable", + "description": "is available" + }, + { + "name": "TrialUsed", + "value": "TrialUsed", + "description": "is used" + }, + { + "name": "TrialDisabled", + "value": "TrialDisabled", + "description": "is disabled" + } + ] + } + }, + "VMGroupStatusEnum": { + "type": "string", + "description": "VM group status", + "enum": [ + "SUCCESS", + "FAILURE" + ], + "x-ms-enum": { + "name": "VMGroupStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "SUCCESS", + "value": "SUCCESS", + "description": "is success" + }, + { + "name": "FAILURE", + "value": "FAILURE", + "description": "is failure" + } + ] + } + }, + "VMTypeEnum": { + "type": "string", + "description": "VM type", + "enum": [ + "REGULAR", + "EDGE", + "SERVICE" ], + "x-ms-enum": { + "name": "VMTypeEnum", + "modelAsString": true, + "values": [ + { + "name": "REGULAR", + "value": "REGULAR", + "description": "is regular" + }, + { + "name": "EDGE", + "value": "EDGE", + "description": "is edge" + }, + { + "name": "SERVICE", + "value": "SERVICE", + "description": "is service" + } + ] + } + }, + "VirtualMachine": { + "type": "object", + "description": "Virtual Machine", "properties": { "properties": { - "description": "Port Mirroring Properties.", - "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties", - "x-ms-client-flatten": true + "$ref": "#/definitions/VirtualMachineProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "WorkloadNetworkPortMirroringList": { + "VirtualMachineListResult": { "type": "object", - "description": "A list of NSX Port Mirroring", + "description": "The response of a VirtualMachine list operation.", "properties": { "value": { - "description": "The items on the page", "type": "array", - "readOnly": true, + "description": "The VirtualMachine items on this page", "items": { - "$ref": "#/definitions/WorkloadNetworkPortMirroring" + "$ref": "#/definitions/VirtualMachine" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "WorkloadNetworkVMGroupProperties": { + "VirtualMachineProperties": { "type": "object", - "description": "NSX VM Group Properties", + "description": "Virtual Machine Properties", "properties": { - "displayName": { - "description": "Display name of the VM group.", - "type": "string" + "provisioningState": { + "$ref": "#/definitions/VirtualMachineProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true }, - "members": { - "description": "Virtual machine members of this group.", - "type": "array", - "items": { - "type": "string" - } + "displayName": { + "type": "string", + "description": "Display name of the VM.", + "readOnly": true }, - "status": { - "description": "VM Group status.", + "moRefId": { "type": "string", - "enum": [ - "SUCCESS", - "FAILURE" - ], - "x-ms-enum": { - "name": "VMGroupStatusEnum", - "modelAsString": true - }, + "description": "Virtual machine managed object reference id", "readOnly": true }, - "provisioningState": { - "description": "The provisioning state", + "folderPath": { "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "WorkloadNetworkVMGroupProvisioningState", - "modelAsString": true - } + "description": "Path to virtual machine's folder starting from datacenter virtual machine folder", + "readOnly": true }, - "revision": { - "description": "NSX revision number.", - "type": "integer", - "format": "int64" + "restrictMovement": { + "$ref": "#/definitions/VirtualMachineRestrictMovementState", + "description": "Whether VM DRS-driven movement is restricted (enabled) or not (disabled)", + "readOnly": true } } }, - "WorkloadNetworkVMGroup": { - "type": "object", - "description": "NSX VM Group", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } + "VirtualMachineProvisioningState": { + "type": "string", + "description": "Virtual Machine provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled" ], - "properties": { - "properties": { - "description": "VM Group properties.", - "$ref": "#/definitions/WorkloadNetworkVMGroupProperties", - "x-ms-client-flatten": true - } - } + "x-ms-enum": { + "name": "VirtualMachineProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true }, - "WorkloadNetworkVMGroupsList": { + "VirtualMachineRestrictMovement": { "type": "object", - "description": "A list of NSX VM Groups", + "description": "Set VM DRS-driven movement to restricted (enabled) or not (disabled)", "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 + "restrictMovement": { + "$ref": "#/definitions/VirtualMachineRestrictMovementState", + "description": "Whether VM DRS-driven movement is restricted (enabled) or not (disabled)" } } }, - "WorkloadNetworkVirtualMachineProperties": { - "type": "object", - "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 + "VirtualMachineRestrictMovementState": { + "type": "string", + "description": "Virtual Machine Restrict Movement state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "VirtualMachineRestrictMovementState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" }, - "readOnly": true - } + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] } }, - "WorkloadNetworkVirtualMachine": { - "type": "object", - "description": "NSX Virtual Machine", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } + "VisibilityParameterEnum": { + "type": "string", + "description": "Visibility Parameter", + "enum": [ + "Visible", + "Hidden" ], - "properties": { - "properties": { - "description": "Virtual machine properties.", - "$ref": "#/definitions/WorkloadNetworkVirtualMachineProperties", - "x-ms-client-flatten": true - } + "x-ms-enum": { + "name": "VisibilityParameterEnum", + "modelAsString": true, + "values": [ + { + "name": "Visible", + "value": "Visible", + "description": "is visible" + }, + { + "name": "Hidden", + "value": "Hidden", + "description": "is hidden" + } + ] } }, - "WorkloadNetworkVirtualMachinesList": { + "VmHostPlacementPolicyProperties": { "type": "object", - "description": "A list of NSX Virtual Machines", + "description": "VM-Host placement policy properties", "properties": { - "value": { - "description": "The items on the page", + "vmMembers": { "type": "array", - "readOnly": true, + "description": "Virtual machine members list", "items": { - "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + "type": "string" } }, - "nextLink": { - "description": "URL to get the next page if any", - "type": "string", - "readOnly": true + "hostMembers": { + "type": "array", + "description": "Host members list", + "items": { + "type": "string" + } + }, + "affinityType": { + "$ref": "#/definitions/AffinityType", + "description": "placement policy affinity type" + }, + "affinityStrength": { + "$ref": "#/definitions/AffinityStrength", + "description": "vm-host placement policy affinity strength (should/must)" + }, + "azureHybridBenefitType": { + "$ref": "#/definitions/AzureHybridBenefitType", + "description": "placement policy azure hybrid benefit opt-in type" } - } + }, + "required": [ + "vmMembers", + "hostMembers", + "affinityType" + ], + "allOf": [ + { + "$ref": "#/definitions/PlacementPolicyProperties" + } + ], + "x-ms-discriminator-value": "VmHost" }, - "WorkloadNetworkGatewayProperties": { + "VmVmPlacementPolicyProperties": { "type": "object", - "description": "Properties of a NSX Gateway.", + "description": "VM-VM placement policy properties", "properties": { - "displayName": { - "description": "Display name of the DHCP entity.", - "type": "string" + "vmMembers": { + "type": "array", + "description": "Virtual machine members list", + "items": { + "type": "string" + } }, - "path": { - "description": "NSX Gateway Path.", - "type": "string", - "readOnly": true + "affinityType": { + "$ref": "#/definitions/AffinityType", + "description": "placement policy affinity type" } - } - }, - "WorkloadNetworkGateway": { - "type": "object", - "description": "NSX Gateway.", + }, + "required": [ + "vmMembers", + "affinityType" + ], "allOf": [ { - "$ref": "#/definitions/ProxyResource" + "$ref": "#/definitions/PlacementPolicyProperties" } ], + "x-ms-discriminator-value": "VmVm" + }, + "WorkloadNetwork": { + "type": "object", + "description": "Workload Network", "properties": { "properties": { - "description": "Gateway properties.", - "$ref": "#/definitions/WorkloadNetworkGatewayProperties", - "x-ms-client-flatten": true + "$ref": "#/definitions/WorkloadNetworkProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "WorkloadNetworkGatewayList": { + "WorkloadNetworkDhcp": { "type": "object", - "description": "A list of NSX Gateways", + "description": "NSX DHCP", "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 + "properties": { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "WorkloadNetworkDnsServiceProperties": { + "WorkloadNetworkDhcpEntity": { "type": "object", - "description": "NSX DNS Service Properties", + "description": "Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to\ninherit from", "properties": { - "displayName": { - "description": "Display name of the DNS Service.", - "type": "string" - }, - "dnsServiceIp": { - "description": "DNS service IP of the DNS Service.", - "type": "string" + "dhcpType": { + "$ref": "#/definitions/DhcpTypeEnum", + "description": "Type of DHCP: SERVER or RELAY." }, - "defaultDnsZone": { - "description": "Default DNS zone of the DNS Service.", - "type": "string" + "displayName": { + "type": "string", + "description": "Display name of the DHCP entity." }, - "fqdnZones": { - "description": "FQDN zones of the DNS Service.", + "segments": { "type": "array", + "description": "NSX Segments consuming DHCP.", "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": { + "$ref": "#/definitions/WorkloadNetworkDhcpProvisioningState", "description": "The provisioning state", - "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "WorkloadNetworkDnsServiceProvisioningState", - "modelAsString": true - } + "readOnly": true }, "revision": { - "description": "NSX revision number.", "type": "integer", - "format": "int64" + "format": "int64", + "description": "NSX revision number." } - } + }, + "discriminator": "dhcpType", + "required": [ + "dhcpType" + ] }, - "WorkloadNetworkDnsService": { + "WorkloadNetworkDhcpEntityUpdate": { "type": "object", - "description": "NSX DNS Service", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to\ninherit from", "properties": { - "properties": { - "description": "DNS Service properties", - "$ref": "#/definitions/WorkloadNetworkDnsServiceProperties", - "x-ms-client-flatten": true + "dhcpType": { + "$ref": "#/definitions/DhcpTypeEnum", + "description": "Type of DHCP: SERVER or RELAY." + }, + "displayName": { + "type": "string", + "description": "Display name of the DHCP entity." + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." } - } + }, + "discriminator": "dhcpType", + "required": [ + "dhcpType" + ] }, - "WorkloadNetworkDnsServicesList": { + "WorkloadNetworkDhcpListResult": { "type": "object", - "description": "A list of NSX DNS Services", + "description": "The response of a WorkloadNetworkDhcp list operation.", "properties": { "value": { - "description": "The items on the page", "type": "array", - "readOnly": true, + "description": "The WorkloadNetworkDhcp items on this page", "items": { - "$ref": "#/definitions/WorkloadNetworkDnsService" + "$ref": "#/definitions/WorkloadNetworkDhcp" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "WorkloadNetworkDnsZoneProperties": { + "WorkloadNetworkDhcpProvisioningState": { + "type": "string", + "description": "Workload Network DHCP provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDhcpProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkDhcpRelay": { "type": "object", - "description": "NSX DNS Zone Properties", + "description": "NSX DHCP Relay", "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.", + "serverAddresses": { "type": "array", + "description": "DHCP Relay Addresses. Max 3.", + "minItems": 1, + "maxItems": 3, "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", - "Canceled" - ], - "x-ms-enum": { - "name": "WorkloadNetworkDnsZoneProvisioningState", - "modelAsString": true - } - }, - "revision": { - "description": "NSX revision number.", - "type": "integer", - "format": "int64" } - } - }, - "WorkloadNetworkDnsZone": { - "type": "object", - "description": "NSX DNS Zone", + }, "allOf": [ { - "$ref": "#/definitions/ProxyResource" + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" } ], - "properties": { - "properties": { - "description": "DNS Zone properties", - "$ref": "#/definitions/WorkloadNetworkDnsZoneProperties", - "x-ms-client-flatten": true - } - } + "x-ms-discriminator-value": "RELAY" }, - "WorkloadNetworkDnsZonesList": { + "WorkloadNetworkDhcpRelayUpdate": { "type": "object", - "description": "A list of NSX DNS Zones", + "description": "NSX DHCP Relay", "properties": { - "value": { - "description": "The items on the page", + "serverAddresses": { "type": "array", - "readOnly": true, + "description": "DHCP Relay Addresses. Max 3.", + "minItems": 1, + "maxItems": 3, "items": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" + "type": "string" } - }, - "nextLink": { - "description": "URL to get the next page if any", - "type": "string", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntityUpdate" + } + ], + "x-ms-discriminator-value": "RELAY" }, - "WorkloadNetworkPublicIPProperties": { + "WorkloadNetworkDhcpServer": { "type": "object", - "description": "NSX Public IP Block Properties", + "description": "NSX DHCP Server", "properties": { - "displayName": { - "description": "Display name of the Public IP Block.", - "type": "string" - }, - "numberOfPublicIPs": { - "description": "Number of Public IPs requested.", - "type": "integer", - "format": "int64" - }, - "publicIPBlock": { - "description": "CIDR Block of the Public IP Block.", + "serverAddress": { "type": "string", - "readOnly": true + "description": "DHCP Server Address." }, - "provisioningState": { - "description": "The provisioning state", - "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "WorkloadNetworkPublicIPProvisioningState", - "modelAsString": true - } + "leaseTime": { + "type": "integer", + "format": "int32", + "description": "DHCP Server Lease Time." } - } + }, + "allOf": [ + { + "$ref": "#/definitions/WorkloadNetworkDhcpEntity" + } + ], + "x-ms-discriminator-value": "SERVER" }, - "WorkloadNetworkPublicIP": { + "WorkloadNetworkDhcpServerUpdate": { "type": "object", - "description": "NSX Public IP Block", + "description": "NSX DHCP Server", + "properties": { + "serverAddress": { + "type": "string", + "description": "DHCP Server Address." + }, + "leaseTime": { + "type": "integer", + "format": "int32", + "description": "DHCP Server Lease Time." + } + }, "allOf": [ { - "$ref": "#/definitions/ProxyResource" + "$ref": "#/definitions/WorkloadNetworkDhcpEntityUpdate" } ], + "x-ms-discriminator-value": "SERVER" + }, + "WorkloadNetworkDhcpUpdate": { + "type": "object", + "description": "NSX DHCP update", "properties": { "properties": { - "description": "Public IP Block properties", - "$ref": "#/definitions/WorkloadNetworkPublicIPProperties", - "x-ms-client-flatten": true + "$ref": "#/definitions/WorkloadNetworkDhcpEntityUpdate", + "description": "The updatable properties of a DHCP update", + "x-ms-client-flatten": false } } }, - "WorkloadNetworkPublicIPsList": { + "WorkloadNetworkDnsService": { + "type": "object", + "description": "NSX DNS Service", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDnsServiceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDnsServiceListResult": { "type": "object", - "description": "A list of NSX Public IP Blocks", + "description": "The response of a WorkloadNetworkDnsService list operation.", "properties": { "value": { - "description": "The items on the page", "type": "array", - "readOnly": true, + "description": "The WorkloadNetworkDnsService items on this page", "items": { - "$ref": "#/definitions/WorkloadNetworkPublicIP" + "$ref": "#/definitions/WorkloadNetworkDnsService" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true - } - } - }, - "VirtualMachineRestrictMovementState": { - "description": "Whether VM DRS-driven movement is restricted (enabled) or not (disabled)", - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "virtualMachineRestrictMovementState", - "modelAsString": true - } - }, - "VirtualMachineRestrictMovement": { - "type": "object", - "description": "Set VM DRS-driven movement to restricted (enabled) or not (disabled)", - "properties": { - "restrictMovement": { - "$ref": "#/definitions/VirtualMachineRestrictMovementState" + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "VirtualMachineProperties": { + "WorkloadNetworkDnsServiceProperties": { "type": "object", - "description": "Virtual Machine Properties", + "description": "NSX DNS Service Properties", "properties": { "displayName": { - "description": "Display name of the VM.", "type": "string", - "readOnly": true + "description": "Display name of the DNS Service." }, - "moRefId": { - "description": "Virtual machine managed object reference id", + "dnsServiceIp": { "type": "string", - "readOnly": true + "description": "DNS service IP of the DNS Service." }, - "folderPath": { - "description": "Path to virtual machine's folder starting from datacenter virtual machine folder", + "defaultDnsZone": { "type": "string", + "description": "Default DNS zone of the DNS Service." + }, + "fqdnZones": { + "type": "array", + "description": "FQDN zones of the DNS Service.", + "items": { + "type": "string" + } + }, + "logLevel": { + "$ref": "#/definitions/DnsServiceLogLevelEnum", + "description": "DNS Service log level." + }, + "status": { + "$ref": "#/definitions/DnsServiceStatusEnum", + "description": "DNS Service status.", "readOnly": true }, - "restrictMovement": { - "$ref": "#/definitions/VirtualMachineRestrictMovementState", + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkDnsServiceProvisioningState", + "description": "The provisioning state", "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." } } }, - "VirtualMachine": { - "type": "object", - "description": "Virtual Machine", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } + "WorkloadNetworkDnsServiceProvisioningState": { + "type": "string", + "description": "Workload Network DNS Service provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsServiceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkDnsServiceUpdate": { + "type": "object", + "description": "NSX DNS Service update", "properties": { "properties": { - "description": "Virtual machine properties.", - "$ref": "#/definitions/VirtualMachineProperties", + "$ref": "#/definitions/WorkloadNetworkDnsServiceProperties", + "description": "The updatable properties of a DNS Service update", "x-ms-client-flatten": true } } }, - "VirtualMachinesList": { + "WorkloadNetworkDnsZone": { + "type": "object", + "description": "NSX DNS Zone", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDnsZoneProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "WorkloadNetworkDnsZoneListResult": { "type": "object", - "description": "A list of Virtual Machines", + "description": "The response of a WorkloadNetworkDnsZone list operation.", "properties": { "value": { - "description": "The items to be displayed on the page", "type": "array", - "readOnly": true, + "description": "The WorkloadNetworkDnsZone items on this page", "items": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/WorkloadNetworkDnsZone" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "PlacementPolicyProperties": { + "WorkloadNetworkDnsZoneProperties": { "type": "object", - "description": "Abstract placement policy properties", - "discriminator": "type", + "description": "NSX DNS Zone Properties", "properties": { - "type": { - "description": "placement policy type", + "displayName": { "type": "string", - "enum": [ - "VmVm", - "VmHost" - ], - "x-ms-enum": { - "name": "PlacementPolicyType", - "modelAsString": true + "description": "Display name of the DNS Zone." + }, + "domain": { + "type": "array", + "description": "Domain names of the DNS Zone.", + "items": { + "type": "string" } }, - "state": { - "description": "Whether the placement policy is enabled or disabled", - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PlacementPolicyState", - "modelAsString": true + "dnsServerIps": { + "type": "array", + "description": "DNS Server IP array of the DNS Zone.", + "items": { + "type": "string" } }, - "displayName": { - "description": "Display name of the placement policy", - "type": "string" + "sourceIp": { + "type": "string", + "description": "Source IP of the DNS Zone." + }, + "dnsServices": { + "type": "integer", + "format": "int32", + "description": "Number of DNS Services using the DNS zone." }, "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkDnsZoneProvisioningState", "description": "The provisioning state", - "type": "string", - "readOnly": true, - "enum": [ - "Succeeded", - "Failed", - "Building", - "Deleting", - "Updating", - "Canceled" - ], - "x-ms-enum": { - "name": "PlacementPolicyProvisioningState", - "modelAsString": true + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + } + }, + "WorkloadNetworkDnsZoneProvisioningState": { + "type": "string", + "description": "Workload Network DNS Zone provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkDnsZoneProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" } - } + ] }, - "required": [ - "type" - ] + "readOnly": true }, - "VmVmPlacementPolicyProperties": { + "WorkloadNetworkDnsZoneUpdate": { "type": "object", - "description": "VM-VM placement policy properties", - "x-ms-discriminator-value": "VmVm", + "description": "NSX DNS Zone update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkDnsZoneProperties", + "description": "The updatable properties of a DNS Zone update", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkGateway": { + "type": "object", + "description": "NSX Gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkGatewayProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, "allOf": [ { - "$ref": "#/definitions/PlacementPolicyProperties" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], + ] + }, + "WorkloadNetworkGatewayListResult": { + "type": "object", + "description": "The response of a WorkloadNetworkGateway list operation.", "properties": { - "vmMembers": { - "description": "Virtual machine members list", + "value": { "type": "array", + "description": "The WorkloadNetworkGateway items on this page", "items": { - "type": "string" + "$ref": "#/definitions/WorkloadNetworkGateway" } }, - "affinityType": { - "description": "placement policy affinity type", - "$ref": "#/definitions/AffinityType" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } }, "required": [ - "vmMembers", - "affinityType" + "value" ] }, - "VmHostPlacementPolicyProperties": { + "WorkloadNetworkGatewayProperties": { "type": "object", - "description": "VM-Host placement policy properties", - "x-ms-discriminator-value": "VmHost", - "allOf": [ - { - "$ref": "#/definitions/PlacementPolicyProperties" - } - ], + "description": "Properties of a NSX Gateway.", "properties": { - "vmMembers": { - "description": "Virtual machine members list", - "type": "array", - "items": { - "type": "string" - } + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true }, - "hostMembers": { - "description": "Host members list", + "displayName": { + "type": "string", + "description": "Display name of the DHCP entity." + }, + "path": { + "type": "string", + "description": "NSX Gateway Path.", + "readOnly": true + } + } + }, + "WorkloadNetworkListResult": { + "type": "object", + "description": "The response of a WorkloadNetwork list operation.", + "properties": { + "value": { "type": "array", + "description": "The WorkloadNetwork items on this page", "items": { - "type": "string" + "$ref": "#/definitions/WorkloadNetwork" } }, - "affinityType": { - "description": "placement policy affinity type", - "$ref": "#/definitions/AffinityType" - }, - "affinityStrength": { - "description": "vm-host placement policy affinity strength (should/must)", - "$ref": "#/definitions/AffinityStrength" - }, - "azureHybridBenefitType": { - "description": "placement policy azure hybrid benefit opt-in type", - "$ref": "#/definitions/AzureHybridBenefitType" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } }, "required": [ - "vmMembers", - "hostMembers", - "affinityType" + "value" ] }, - "PlacementPolicy": { + "WorkloadNetworkPortMirroring": { "type": "object", - "description": "A vSphere Distributed Resource Scheduler (DRS) placement policy", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], + "description": "NSX Port Mirroring", "properties": { "properties": { - "description": "placement policy properties", - "$ref": "#/definitions/PlacementPolicyProperties", - "x-ms-client-flatten": false + "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "PlacementPoliciesList": { + "WorkloadNetworkPortMirroringListResult": { "type": "object", - "description": "Represents list of placement policies", + "description": "The response of a WorkloadNetworkPortMirroring list operation.", "properties": { "value": { - "description": "The items on the page", "type": "array", - "readOnly": true, + "description": "The WorkloadNetworkPortMirroring items on this page", "items": { - "$ref": "#/definitions/PlacementPolicy" + "$ref": "#/definitions/WorkloadNetworkPortMirroring" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true - } - } - }, - "PlacementPolicyUpdate": { - "type": "object", - "description": "An update of a DRS placement policy resource", - "properties": { - "properties": { - "description": "The properties of a placement policy resource that may be updated", - "$ref": "#/definitions/PlacementPolicyUpdateProperties", - "x-ms-client-flatten": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "PlacementPolicyUpdateProperties": { + "WorkloadNetworkPortMirroringProperties": { "type": "object", - "description": "The properties of a placement policy resource that may be updated", + "description": "NSX Port Mirroring Properties", "properties": { - "state": { - "description": "Whether the placement policy is enabled or disabled", + "displayName": { "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PlacementPolicyState", - "modelAsString": true - } + "description": "Display name of the port mirroring profile." }, - "vmMembers": { - "description": "Virtual machine members list", - "type": "array", - "items": { - "type": "string" - } + "direction": { + "$ref": "#/definitions/PortMirroringDirectionEnum", + "description": "Direction of port mirroring profile." }, - "hostMembers": { - "description": "Host members list", - "type": "array", - "items": { - "type": "string" - } + "source": { + "type": "string", + "description": "Source VM Group." }, - "affinityStrength": { - "description": "vm-host placement policy affinity strength (should/must)", - "$ref": "#/definitions/AffinityStrength" + "destination": { + "type": "string", + "description": "Destination VM Group." }, - "azureHybridBenefitType": { - "description": "placement policy azure hybrid benefit opt-in type", - "$ref": "#/definitions/AzureHybridBenefitType" + "status": { + "$ref": "#/definitions/PortMirroringStatusEnum", + "description": "Port Mirroring Status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkPortMirroringProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." } } }, - "AffinityType": { - "description": "Placement policy affinity type", + "WorkloadNetworkPortMirroringProvisioningState": { "type": "string", + "description": "Workload Network Port Mirroring provisioning state", "enum": [ - "Affinity", - "AntiAffinity" + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" ], "x-ms-enum": { - "name": "AffinityType", - "modelAsString": true + "name": "WorkloadNetworkPortMirroringProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true + }, + "WorkloadNetworkPortMirroringUpdate": { + "type": "object", + "description": "NSX Port Mirroring update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkPortMirroringProperties", + "description": "The updatable properties of a Port Mirroring update", + "x-ms-client-flatten": true + } } }, - "AffinityStrength": { - "description": "VM-Host placement policy affinity strength (should/must)", - "type": "string", - "enum": [ - "Should", - "Must" - ], - "x-ms-enum": { - "name": "AffinityStrength", - "modelAsString": true + "WorkloadNetworkProperties": { + "type": "object", + "description": "The properties of a workload network", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } } }, - "AzureHybridBenefitType": { - "description": "Placement policy hosts opt-in Azure Hybrid Benefit type", + "WorkloadNetworkProvisioningState": { "type": "string", + "description": "base Workload Network provisioning state", "enum": [ - "SqlHost", - "None" + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" ], "x-ms-enum": { - "name": "AzureHybridBenefitType", - "modelAsString": true - } + "name": "WorkloadNetworkProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true }, - "ScriptPackageProperties": { + "WorkloadNetworkPublicIP": { "type": "object", - "description": "Properties of a Script Package subresource", - "properties": { - "description": { - "description": "User friendly description of the package", - "type": "string", - "readOnly": true - }, - "version": { - "description": "Module version", - "type": "string", - "readOnly": true - }, - "company": { - "description": "Company that created and supports the package", - "type": "string", - "readOnly": true - }, - "uri": { - "description": "Link to support by the package vendor", - "type": "string", - "readOnly": true + "description": "NSX Public IP Block", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkPublicIPProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "ScriptPackagesList": { + "WorkloadNetworkPublicIPListResult": { "type": "object", - "description": "A list of the available script packages", + "description": "The response of a WorkloadNetworkPublicIP list operation.", "properties": { "value": { - "description": "List of script package resources", "type": "array", - "readOnly": true, + "description": "The WorkloadNetworkPublicIP items on this page", "items": { - "$ref": "#/definitions/ScriptPackage" + "$ref": "#/definitions/WorkloadNetworkPublicIP" } }, "nextLink": { - "description": "URL to get the next page if any", "type": "string", - "readOnly": true - } - } - }, - "ScriptPackage": { - "type": "object", - "description": "Script Package resources available for execution", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "ScriptPackage resource properties", - "$ref": "#/definitions/ScriptPackageProperties", - "x-ms-client-flatten": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "ScriptParameter": { + "WorkloadNetworkPublicIPProperties": { "type": "object", - "description": "An parameter that the script will accept", + "description": "NSX Public IP Block Properties", "properties": { - "type": { - "type": "string", - "readOnly": true, - "description": "The type of parameter the script is expecting. psCredential is a PSCredentialObject", - "enum": [ - "String", - "SecureString", - "Credential", - "Int", - "Bool", - "Float" - ], - "x-ms-enum": { - "name": "ScriptParameterTypes", - "modelAsString": true - } - }, - "name": { + "displayName": { "type": "string", - "description": "The parameter name that the script will expect a parameter value for" + "description": "Display name of the Public IP Block." }, - "description": { - "type": "string", - "readOnly": true, - "description": "User friendly description of the parameter" + "numberOfPublicIPs": { + "type": "integer", + "format": "int64", + "description": "Number of Public IPs requested." }, - "visibility": { - "description": "Should this parameter be visible to arm and passed in the parameters argument when executing", + "publicIPBlock": { "type": "string", - "readOnly": true, - "enum": [ - "Visible", - "Hidden" - ], - "x-ms-enum": { - "name": "VisibilityParameterEnum", - "modelAsString": true - } + "description": "CIDR Block of the Public IP Block.", + "readOnly": true }, - "optional": { - "description": "Is this parameter required or optional", - "type": "string", - "readOnly": true, - "enum": [ - "Optional", - "Required" - ], - "x-ms-enum": { - "name": "OptionalParamEnum", - "modelAsString": true - } + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkPublicIPProvisioningState", + "description": "The provisioning state", + "readOnly": true } } }, - "ScriptCmdlet": { - "type": "object", - "description": "A cmdlet available for script execution", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } + "WorkloadNetworkPublicIPProvisioningState": { + "type": "string", + "description": "Workload Network Public IP provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" ], - "properties": { - "properties": { - "description": "The properties of a script cmdlet resource", - "$ref": "#/definitions/ScriptCmdletProperties", - "x-ms-client-flatten": true - } - } + "x-ms-enum": { + "name": "WorkloadNetworkPublicIPProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] + }, + "readOnly": true }, - "ScriptCmdletProperties": { + "WorkloadNetworkSegment": { "type": "object", - "description": "Properties of a pre-canned script", + "description": "NSX Segment", "properties": { - "description": { - "description": "Description of the scripts functionality", - "type": "string", - "readOnly": true - }, - "timeout": { - "description": "Recommended time limit for execution", - "type": "string", - "readOnly": true - }, - "parameters": { - "description": "Parameters the script will accept", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/ScriptParameter" - }, - "x-ms-identifiers": [ - "name" + "properties": { + "$ref": "#/definitions/WorkloadNetworkSegmentProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "ScriptCmdletsList": { + "WorkloadNetworkSegmentListResult": { "type": "object", - "description": "Pageable list of scripts/cmdlets", + "description": "The response of a WorkloadNetworkSegment list operation.", "properties": { "value": { - "description": "List of scripts", "type": "array", - "readOnly": true, + "description": "The WorkloadNetworkSegment items on this page", "items": { - "$ref": "#/definitions/ScriptCmdlet" + "$ref": "#/definitions/WorkloadNetworkSegment" } }, "nextLink": { - "description": "URL to get the next page if any", - "type": "string", - "readOnly": true - } - } - }, - "ScriptExecutionParameter": { - "type": "object", - "discriminator": "type", - "description": "The arguments passed in to the execution", - "properties": { - "name": { - "type": "string", - "description": "The parameter name" - }, - "type": { - "description": "The type of execution parameter", "type": "string", - "enum": [ - "Value", - "SecureValue", - "Credential" - ], - "x-ms-enum": { - "name": "ScriptExecutionParameterType", - "modelAsString": true - } + "format": "uri", + "description": "The link to the next page of items" } }, "required": [ - "type", - "name" + "value" ] }, - "ScriptExecution": { + "WorkloadNetworkSegmentPortVif": { "type": "object", - "description": "An instance of a script executed by a user - custom or AVS", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "Ports and any VIF attached to segment.", "properties": { - "properties": { - "description": "The properties of a script execution resource", - "$ref": "#/definitions/ScriptExecutionProperties", - "x-ms-client-flatten": true + "portName": { + "type": "string", + "description": "Name of port or VIF attached to segment." } } }, - "ScriptExecutionProperties": { + "WorkloadNetworkSegmentProperties": { "type": "object", - "description": "Properties of a user-invoked script", + "description": "NSX Segment Properties", "properties": { - "scriptCmdletId": { - "description": "A reference to the script cmdlet resource if user is running a AVS script", - "type": "string" - }, - "parameters": { - "description": "Parameters the script will accept", - "type": "array", - "items": { - "$ref": "#/definitions/ScriptExecutionParameter" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "hiddenParameters": { - "description": "Parameters that will be hidden/not visible to ARM, such as passwords and credentials", - "type": "array", - "items": { - "$ref": "#/definitions/ScriptExecutionParameter" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "failureReason": { - "type": "string", - "description": "Error message if the script was able to run, but if the script itself had errors or powershell threw an exception" - }, - "timeout": { - "description": "Time limit for execution", - "type": "string" - }, - "retention": { - "description": "Time to live for the resource. If not provided, will be available for 60 days", - "type": "string" - }, - "submittedAt": { - "description": "Time the script execution was submitted", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "startedAt": { - "description": "Time the script execution was started", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "finishedAt": { - "description": "Time the script execution was finished", + "displayName": { "type": "string", - "format": "date-time", - "readOnly": true + "description": "Display name of the segment." }, - "provisioningState": { - "description": "The state of the script execution resource", + "connectedGateway": { "type": "string", - "readOnly": true, - "enum": [ - "Pending", - "Running", - "Succeeded", - "Failed", - "Cancelling", - "Cancelled", - "Deleting", - "Canceled" - ], - "x-ms-enum": { - "name": "ScriptExecutionProvisioningState", - "modelAsString": true - } - }, - "output": { - "description": "Standard output stream from the powershell execution", - "type": "array", - "items": { - "type": "string" - } - }, - "namedOutputs": { - "description": "User-defined dictionary.", - "type": "object", - "additionalProperties": { - "type": "object", - "description": "Dictionary in pair." - } + "description": "Gateway which to connect segment to." }, - "information": { - "description": "Standard information out stream from the powershell execution", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "warnings": { - "description": "Standard warning out stream from the powershell execution", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true + "subnet": { + "$ref": "#/definitions/WorkloadNetworkSegmentSubnet", + "description": "Subnet which to connect segment to." }, - "errors": { - "description": "Standard error output stream from the powershell execution", + "portVif": { "type": "array", + "description": "Port Vif which segment is associated with.", "items": { - "type": "string" + "$ref": "#/definitions/WorkloadNetworkSegmentPortVif" }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/SegmentStatusEnum", + "description": "Segment status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkSegmentProvisioningState", + "description": "The provisioning state", "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." } + } + }, + "WorkloadNetworkSegmentProvisioningState": { + "type": "string", + "description": "Workload Network Segment provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkSegmentProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" + } + ] }, - "required": [ - "timeout" - ] + "readOnly": true }, - "ScriptExecutionsList": { + "WorkloadNetworkSegmentSubnet": { "type": "object", - "description": "Pageable list of script executions", + "description": "Subnet configuration for segment", "properties": { - "value": { - "description": "List of scripts", + "dhcpRanges": { "type": "array", - "readOnly": true, + "description": "DHCP Range assigned for subnet.", "items": { - "$ref": "#/definitions/ScriptExecution" + "type": "string" } }, - "nextLink": { - "description": "URL to get the next page if any", + "gatewayAddress": { "type": "string", - "readOnly": true + "description": "Gateway address." } } }, - "ScriptSecureStringExecutionParameter": { + "WorkloadNetworkSegmentUpdate": { "type": "object", - "description": "a plain text value execution parameter", - "x-ms-discriminator-value": "SecureValue", - "allOf": [ - { - "$ref": "#/definitions/ScriptExecutionParameter" - } - ], + "description": "NSX Segment update", "properties": { - "secureValue": { - "type": "string", - "description": "A secure value for the passed parameter, not to be stored in logs", - "x-ms-secret": true + "properties": { + "$ref": "#/definitions/WorkloadNetworkSegmentProperties", + "description": "The updatable properties of a Segment update", + "x-ms-client-flatten": true } } }, - "ScriptStringExecutionParameter": { + "WorkloadNetworkVMGroup": { "type": "object", - "description": "a plain text value execution parameter", - "x-ms-discriminator-value": "Value", - "allOf": [ - { - "$ref": "#/definitions/ScriptExecutionParameter" - } - ], + "description": "NSX VM Group", "properties": { - "value": { - "type": "string", - "description": "The value for the passed parameter" + "properties": { + "$ref": "#/definitions/WorkloadNetworkVMGroupProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } - }, - "PSCredentialExecutionParameter": { - "type": "object", - "description": "a powershell credential object", - "x-ms-discriminator-value": "Credential", + }, "allOf": [ { - "$ref": "#/definitions/ScriptExecutionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], + ] + }, + "WorkloadNetworkVMGroupListResult": { + "type": "object", + "description": "The response of a WorkloadNetworkVMGroup list operation.", "properties": { - "username": { - "description": "username for login", - "type": "string" + "value": { + "type": "array", + "description": "The WorkloadNetworkVMGroup items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } }, - "password": { - "description": "password for login", - "type": "string" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } }, - "x-ms-secret": true + "required": [ + "value" + ] }, - "PrivateCloudIdentity": { + "WorkloadNetworkVMGroupProperties": { "type": "object", + "description": "NSX VM Group Properties", "properties": { - "principalId": { - "readOnly": true, + "displayName": { "type": "string", - "description": "The principal ID of private cloud identity. This property will only be provided for a system assigned identity." + "description": "Display name of the VM group." }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID associated with the private cloud. This property will only be provided for a system assigned identity." + "members": { + "type": "array", + "description": "Virtual machine members of this group.", + "items": { + "type": "string" + } }, - "type": { - "type": "string", - "description": "The type of identity used for the private cloud. The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud.", - "enum": [ - "SystemAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": true + "status": { + "$ref": "#/definitions/VMGroupStatusEnum", + "description": "VM Group status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkVMGroupProvisioningState", + "description": "The provisioning state", + "readOnly": true + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "NSX revision number." + } + } + }, + "WorkloadNetworkVMGroupProvisioningState": { + "type": "string", + "description": "Workload Network VM Group provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Building", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "WorkloadNetworkVMGroupProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Building", + "value": "Building", + "description": "is building" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "is deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "is updating" } + ] + }, + "readOnly": true + }, + "WorkloadNetworkVMGroupUpdate": { + "type": "object", + "description": "NSX VM Group update", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkVMGroupProperties", + "description": "The updatable properties of a VM Group update", + "x-ms-client-flatten": true + } + } + }, + "WorkloadNetworkVirtualMachine": { + "type": "object", + "description": "NSX Virtual Machine", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachineProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } }, - "description": "Identity for the virtual machine." + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, - "ClusterZone": { + "WorkloadNetworkVirtualMachineListResult": { "type": "object", + "description": "The response of a WorkloadNetworkVirtualMachine list operation.", "properties": { - "hosts": { - "readOnly": true, + "value": { "type": "array", + "description": "The WorkloadNetworkVirtualMachine items on this page", "items": { - "type": "string" - }, - "description": "List of hosts belonging to the availability zone in a cluster" + "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + } }, - "zone": { - "readOnly": true, + "nextLink": { "type": "string", - "description": "Availability zone identifier" + "format": "uri", + "description": "The link to the next page of items" } }, - "description": "Zone and associated hosts info" + "required": [ + "value" + ] }, - "ClusterZoneList": { + "WorkloadNetworkVirtualMachineProperties": { "type": "object", + "description": "NSX Virtual Machine Properties", "properties": { - "zones": { - "type": "array", - "description": "Zone and associated hosts info", - "items": { - "$ref": "#/definitions/ClusterZone" - }, - "x-ms-identifiers": [ - "zone" - ] + "provisioningState": { + "$ref": "#/definitions/WorkloadNetworkProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Display name of the VM." + }, + "vmType": { + "$ref": "#/definitions/VMTypeEnum", + "description": "Virtual machine type.", + "readOnly": true } - }, - "description": "List of all zones and associated hosts for a cluster" + } + } + }, + "parameters": { + "DhcpIdParameter": { + "name": "dhcpId", + "in": "path", + "description": "The ID of the DHCP configuration", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "DnsServiceIdParameter": { + "name": "dnsServiceId", + "in": "path", + "description": "ID of the DNS service.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "DnsZoneIdParameter": { + "name": "dnsZoneId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "PortMirroringProfileParameter": { + "name": "portMirroringId", + "in": "path", + "description": "ID of the NSX port mirroring profile.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "PrivateCloudNameParameter": { + "name": "privateCloudName", + "in": "path", + "description": "Name of the private cloud", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "PublicIPIdParameter": { + "name": "publicIPId", + "in": "path", + "description": "ID of the DNS zone.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" + }, + "VmGroupIdParameter": { + "name": "vmGroupId", + "in": "path", + "description": "ID of the VM group.", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._]+$", + "x-ms-parameter-location": "method" } } } From c05c68965434878d765e58ca056fdded3d5833ff Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 09:55:32 -0300 Subject: [PATCH 06/27] these examples were renamed --- ...loadNetworks_CreateDhcpConfigurations.json | 56 ------------------ .../WorkloadNetworks_CreateDnsServices.json | 59 ------------------- .../WorkloadNetworks_CreateDnsZones.json | 56 ------------------ ...dNetworks_CreatePortMirroringProfiles.json | 50 ---------------- .../WorkloadNetworks_CreatePublicIPs.json | 39 ------------ .../WorkloadNetworks_CreateVMGroups.json | 50 ---------------- ...loadNetworks_DeleteDhcpConfigurations.json | 18 ------ .../WorkloadNetworks_DeleteDnsServices.json | 18 ------ .../WorkloadNetworks_DeleteDnsZones.json | 18 ------ ...dNetworks_DeletePortMirroringProfiles.json | 18 ------ .../WorkloadNetworks_DeletePublicIPs.json | 18 ------ .../WorkloadNetworks_DeleteSegments.json | 18 ------ .../WorkloadNetworks_DeleteVMGroups.json | 18 ------ ...orkloadNetworks_GetDhcpConfigurations.json | 29 --------- .../WorkloadNetworks_GetDnsServices.json | 29 --------- .../WorkloadNetworks_GetDnsZones.json | 28 --------- ...loadNetworks_GetPortMirroringProfiles.json | 26 -------- .../WorkloadNetworks_GetPublicIPs.json | 22 ------- .../WorkloadNetworks_GetSegments.json | 35 ----------- .../WorkloadNetworks_GetVMGroups.json | 26 -------- ...rkloadNetworks_ListDhcpConfigurations.json | 32 ---------- ...oadNetworks_ListPortMirroringProfiles.json | 29 --------- ...loadNetworks_UpdateDhcpConfigurations.json | 42 ------------- .../WorkloadNetworks_UpdateDnsServices.json | 46 --------------- .../WorkloadNetworks_UpdateDnsZones.json | 44 -------------- ...dNetworks_UpdatePortMirroringProfiles.json | 39 ------------ .../WorkloadNetworks_UpdateVMGroups.json | 39 ------------ 27 files changed, 902 deletions(-) delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json deleted file mode 100644 index 9663a2ab79d3..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcpConfigurations.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json deleted file mode 100644 index be7c76fed03b..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsServices.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json deleted file mode 100644 index f859eda82479..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZones.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "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/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json deleted file mode 100644 index 83c40e4cc435..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroringProfiles.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "portMirroringId": "portMirroring1", - "workloadNetworkPortMirroring": { - "properties": { - "displayName": "portMirroring1", - "direction": "BIDIRECTIONAL", - "source": "vmGroup1", - "destination": "vmGroup2", - "revision": 1 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json deleted file mode 100644 index fbdc64cd2c0d..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIPs.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "publicIPId": "publicIP1", - "workloadNetworkPublicIP": { - "properties": { - "displayName": "publicIP1", - "numberOfPublicIPs": 32 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", - "name": "publicIP1", - "properties": { - "displayName": "publicIP1", - "publicIPBlock": "20.20.40.50/32" - }, - "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", - "name": "publicIP1", - "properties": { - "displayName": "publicIP1", - "publicIPBlock": "20.20.40.50/32" - }, - "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json deleted file mode 100644 index 5900f6f321bb..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroups.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "vmGroupId": "vmGroup1", - "workloadNetworkVMGroup": { - "properties": { - "displayName": "vmGroup1", - "members": [ - "564d43da-fefc-2a3b-1d92-42855622fa50" - ], - "revision": 1 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json deleted file mode 100644 index fa8be0dbd12f..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcpConfigurations.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "dhcpId": "dhcp1" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - }, - "204": {} - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json deleted file mode 100644 index 0920c92dccc3..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsServices.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "dnsServiceId": "dnsService1" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - }, - "204": {} - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json deleted file mode 100644 index 737708a6d02c..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZones.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "dnsZoneId": "dnsZone1" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - }, - "204": {} - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json deleted file mode 100644 index 15f86075b377..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroringProfiles.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "portMirroringId": "portMirroring1" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - }, - "204": {} - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json deleted file mode 100644 index 3acd77fd5da4..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIPs.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "publicIPId": "publicIP1" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - }, - "204": {} - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json deleted file mode 100644 index 8f38779ffa6a..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegments.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "segmentId": "segment1" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - }, - "204": {} - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json deleted file mode 100644 index 40641c6744f7..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroups.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "vmGroupId": "vmGroup1" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - }, - "204": {} - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json deleted file mode 100644 index 3d3012670767..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcpConfigurations.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "dhcpId": "dhcp1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json deleted file mode 100644 index 88e1e67e2942..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsServices.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "dnsServiceId": "dnsService1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json deleted file mode 100644 index 6c848d160782..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZones.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "dnsZoneId": "dnsZone1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json deleted file mode 100644 index 1c2e2b200361..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroringProfiles.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "portMirroringId": "portMirroring1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json deleted file mode 100644 index 2fd2ce0cad3a..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIPs.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "publicIPId": "publicIP1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1", - "name": "publicIP1", - "properties": { - "displayName": "publicIP1", - "publicIPBlock": "20.20.40.50/32" - }, - "type": "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json deleted file mode 100644 index 430ba9e4d85d..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegments.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "segmentId": "segment1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json deleted file mode 100644 index 0c7aa3057b5e..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroups.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "vmGroupId": "vmGroup1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json deleted file mode 100644 index 7748f74fbee4..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcpConfigurations.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json deleted file mode 100644 index d0dc52b8d386..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroringProfiles.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json deleted file mode 100644 index 764e495e240f..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcpConfigurations.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "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/00000000-0000-0000-0000-000000000000/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": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json deleted file mode 100644 index 7ed025111e23..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsServices.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "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/00000000-0000-0000-0000-000000000000/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": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json deleted file mode 100644 index be177acb73dc..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZones.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "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/00000000-0000-0000-0000-000000000000/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": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json deleted file mode 100644 index 55f291e2bb69..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroringProfiles.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "portMirroringId": "portMirroring1", - "workloadNetworkPortMirroring": { - "properties": { - "direction": "BIDIRECTIONAL", - "source": "vmGroup1", - "destination": "vmGroup2", - "revision": 1 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json deleted file mode 100644 index d516ca3ed63b..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroups.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "vmGroupId": "vmGroup1", - "workloadNetworkVMGroup": { - "properties": { - "members": [ - "564d43da-fefc-2a3b-1d92-42855622fa50" - ], - "revision": 1 - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/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": { - "headers": { - "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01" - } - } - } -} From 5bab4cf6d39e9e12a95a4bfa7c6ef574bb38f1c0 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 10:34:09 -0300 Subject: [PATCH 07/27] set default tag to new API version --- specification/vmware/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 695239d2dc31..0e0ccc85aa3b 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -21,7 +21,7 @@ These are the global settings for the VMware Solution API. ``` yaml openapi-type: arm -tag: package-2023-03-01 +tag: package-2023-09-01 ``` ### Tag: package-2023-09-01 From 49c09a54a1f96f8b78ddce62e79fb9b7dc30b535 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 1 Mar 2024 11:02:42 -0300 Subject: [PATCH 08/27] Properties of a PATCH request body must not have default value, property:internet. --- specification/vmware/Microsoft.AVS/models.tsp | 2 +- .../stable/2023-09-01/vmware.json | 49 ++++++++++--------- 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index fbb1043fde02..f6c9fe73fe10 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -583,7 +583,7 @@ model PrivateCloudUpdateProperties { managementCluster?: ManagementCluster; @doc("Connectivity to internet is enabled or disabled") - internet?: InternetEnum = InternetEnum.Disabled; + internet?: InternetEnum; @doc("vCenter Single Sign On Identity Sources") identitySources?: IdentitySource[]; diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index f8c981a507ba..9bdf4bd967b3 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -8518,6 +8518,30 @@ } } }, + "InternetEnum": { + "type": "string", + "description": "Whether internet is enabled or disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "InternetEnum", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "is disabled" + } + ] + } + }, "IscsiPath": { "type": "object", "description": "An iSCSI path resource", @@ -9663,29 +9687,8 @@ "description": "The default cluster used for management" }, "internet": { - "type": "string", - "description": "Connectivity to internet is enabled or disabled", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "InternetEnum", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled", - "description": "is enabled" - }, - { - "name": "Disabled", - "value": "Disabled", - "description": "is disabled" - } - ] - } + "$ref": "#/definitions/InternetEnum", + "description": "Connectivity to internet is enabled or disabled" }, "identitySources": { "type": "array", From 2f20dd7a92e7a9f4196a5997ee4a87a46bd3f66b Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 5 Mar 2024 11:50:47 -0300 Subject: [PATCH 09/27] remove Maintenances (#28028) --- .../examples/2023-09-01/Maintenances_Get.json | 43 -- .../2023-09-01/Maintenances_List.json | 74 --- .../2023-09-01/Maintenances_Reschedule.json | 47 -- specification/vmware/Microsoft.AVS/models.tsp | 156 ----- specification/vmware/Microsoft.AVS/routes.tsp | 32 -- .../2023-09-01/examples/Maintenances_Get.json | 43 -- .../examples/Maintenances_List.json | 74 --- .../examples/Maintenances_Reschedule.json | 47 -- .../stable/2023-09-01/vmware.json | 534 ------------------ 9 files changed, 1050 deletions(-) delete mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json delete mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json delete mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json deleted file mode 100644 index ea9958d59345..000000000000 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Maintenances_Get", - "operationId": "Maintenances_Get", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "maintenanceName": "maintenance1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", - "name": "maintenance1", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T11:00:11.830Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "PreCheck", - "stageStatus": "NotStarted", - "message": "CD rom mounted", - "startedAt": "2023-01-12T11:00:11.830Z", - "endedAt": "2023-01-12T11:00:11.830Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - } - } - } -} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json deleted file mode 100644 index cd3feddfd8a3..000000000000 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_List.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "title": "Maintenances_List", - "operationId": "Maintenances_List", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", - "name": "maintenance1", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T11:00:11.830Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "PreCheck", - "stageStatus": "NotStarted", - "message": "CD rom mounted", - "startedAt": "2023-01-12T11:00:11.830Z", - "endedAt": "2023-01-12T11:00:11.830Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance2", - "name": "maintenance2", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T11:00:11.830Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "PreCheck", - "stageStatus": "NotStarted", - "message": "CD rom mounted", - "startedAt": "2023-01-12T11:00:11.830Z", - "endedAt": "2023-01-12T11:00:11.830Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - } - ] - } - } - } -} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json deleted file mode 100644 index 3d73e5afd101..000000000000 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Maintenances_Reschedule.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Maintenances_Reschedule", - "operationId": "Maintenances_Reschedule", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "maintenanceName": "maintenance1", - "body": { - "rescheduleTime": "2023-01-12T16:17:55.237Z", - "message": "Rescheduled due to xyz" - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", - "name": "maintenance1", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T16:17:55.237Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "Reschedule", - "stageStatus": "Success", - "message": "Rescheduled due to xyz", - "startedAt": "2023-01-12T16:17:55.237Z", - "endedAt": "2023-01-12T16:17:55.237Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - } - } - } -} diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index f6c9fe73fe10..99790ff16de1 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -2161,162 +2161,6 @@ enum ProvisionedNetworkTypes { vsan, } -@doc("A cluster resource") -@parentResource(PrivateCloud) -model Maintenance is ProxyResource { - @doc("Name of the maintenance") - @pattern("^[-\\w\\._]+$") - @key("maintenanceName") - @path - @segment("maintenances") - name: string; -} - -@doc("status filter for the maintenance") -enum MaintenanceStatusFilter { - @doc("is active") - Active, - - @doc("is inactive") - Inactive, -} - -@doc("provisioning state of the maintenance") -enum MaintenanceProvisioningState { - ...ResourceProvisioningState, - - @doc("is updating") - Updating, -} - -@doc("type of the maintenance") -enum MaintenanceType { - @doc("maintenance for vCenter Server Appliance") - VCSA, - - @doc("maintenance for ESXi") - ESXI, - - @doc("maintenance for NSX-T") - NSXT, -} - -@doc("state of the maintenance") -model MaintenanceState { - @doc("stage of the maintenance") - stage?: MaintenanceStage; - - @doc("state of the maintenance stage") - stageStatus?: MaintenanceStageStatus; - - @doc("Failure/Success info") - message?: string; - - @doc("Time when current state started") - startedAt?: utcDateTime; - - @doc("Time when current state ended") - endedAt?: utcDateTime; -} - -@doc("stage of the maintenance") -enum MaintenanceStage { - @doc("is creation") - Creation, - - @doc("id customer approval") - CustomerApproval, - - @doc("is pre-check") - PreCheck, - - @doc("is execution") - Execution, - - @doc("is reschedule") - Reschedule, - - @doc("is cancellation") - Cancellation, -} - -@doc("status of the maintenance") -enum MaintenanceStageStatus { - @doc("is not started") - NotStarted, - - @doc("is in progress") - InProgress, - - @doc("is succeeded") - Succeeded, - - @doc("is failed") - Failed, -} - -@doc("Constraints for rescheduling maintenance") -model MaintenanceRescheduleConstraints { - @doc("Deadline for upgrade") - @visibility("read") - deadline?: utcDateTime; - - @doc("Freeze days") - @visibility("read") - freezeDays: plainDate[]; -} - -@doc("properties of a maintenance") -model MaintenanceProperties { - @doc("type of maintenance") - @visibility("read") - component?: MaintenanceType; - - @doc("Display name for maintenance") - @visibility("read") - displayName?: string; - - @doc("Cluster ID for on which maintenance will be applied. Empty if maintenance is at private cloud level") - @visibility("read") - clusterId?: int32; - - @doc("Link to maintenance info") - @visibility("read") - infoLink?: string; - - @doc("Impact on the resource during maintenance period") - @visibility("read") - impact?: string; - - @doc("The state of the maintenance") - @visibility("read") - state?: MaintenanceState; - - @doc("Scheduled maintenance start time") - @visibility("read") - scheduledStartTime?: utcDateTime; - - @doc("Estimated time maintenance will take in minutes") - @visibility("read") - estimatedDurationInMinutes?: int64; - - @doc("The provisioning state") - @visibility("read") - provisioningState?: MaintenanceProvisioningState; - - @doc("Constraints for rescheduling maintenance") - @visibility("read") - rescheduleConstraints?: MaintenanceRescheduleConstraints; -} - -@doc("reschedule a maintenance") -model MaintenanceReschedule { - @doc("reschedule time") - rescheduleTime?: utcDateTime; - - @doc("rescheduling reason") - message?: string; -} @doc("An iSCSI path resource") @parentResource(PrivateCloud) @singleton diff --git a/specification/vmware/Microsoft.AVS/routes.tsp b/specification/vmware/Microsoft.AVS/routes.tsp index 0d09dac4a2ac..e700ded341b5 100644 --- a/specification/vmware/Microsoft.AVS/routes.tsp +++ b/specification/vmware/Microsoft.AVS/routes.tsp @@ -884,38 +884,6 @@ interface ProvisionedNetworks { get is ArmResourceRead; } -@armResourceOperations -interface Maintenances { - @doc("List {name} resources by subscription ID", Maintenance) - @segmentOf(Maintenance) - @armResourceList(Maintenance) - @get - list( - ...ResourceParentParameters, - - @query - @doc("Filter active or inactive maintenances") - status?: MaintenanceStatusFilter, - - @query - @doc("date from which result should be returned. ie. scheduledStartTime >= from") - from?: utcDateTime, - - @query - @doc("date till which result should be returned. i.e. scheduledStartTime <= to") - to?: utcDateTime, - ): ArmResponse> | ErrorResponse; - - get is ArmResourceRead; - - @doc("Reschedule a maintenance") - reschedule is ArmResourceActionSync< - Maintenance, - MaintenanceReschedule, - Maintenance - >; -} - @doc("The location envelope.") model LocationHeader { @doc("The Location header contains the URL where the status of the long running operation can be checked.") diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json deleted file mode 100644 index ea9958d59345..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Maintenances_Get", - "operationId": "Maintenances_Get", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "maintenanceName": "maintenance1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", - "name": "maintenance1", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T11:00:11.830Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "PreCheck", - "stageStatus": "NotStarted", - "message": "CD rom mounted", - "startedAt": "2023-01-12T11:00:11.830Z", - "endedAt": "2023-01-12T11:00:11.830Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json deleted file mode 100644 index cd3feddfd8a3..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_List.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "title": "Maintenances_List", - "operationId": "Maintenances_List", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", - "name": "maintenance1", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T11:00:11.830Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "PreCheck", - "stageStatus": "NotStarted", - "message": "CD rom mounted", - "startedAt": "2023-01-12T11:00:11.830Z", - "endedAt": "2023-01-12T11:00:11.830Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance2", - "name": "maintenance2", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T11:00:11.830Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "PreCheck", - "stageStatus": "NotStarted", - "message": "CD rom mounted", - "startedAt": "2023-01-12T11:00:11.830Z", - "endedAt": "2023-01-12T11:00:11.830Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - } - ] - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json deleted file mode 100644 index 3d73e5afd101..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Maintenances_Reschedule.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Maintenances_Reschedule", - "operationId": "Maintenances_Reschedule", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "maintenanceName": "maintenance1", - "body": { - "rescheduleTime": "2023-01-12T16:17:55.237Z", - "message": "Rescheduled due to xyz" - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000001-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/maintenances/maintenance1", - "name": "maintenance1", - "type": "Microsoft.AVS/privateClouds/maintenances", - "properties": { - "component": "VCSA", - "displayName": "vcsa 7.0 upgrade", - "clusterId": 1, - "infoLink": "https://vmwarekb/arcticle", - "impact": "This upgrade will update your vcsa to 7.0. Control plance performance will be impacted for the duration", - "scheduledStartTime": "2023-01-12T16:17:55.237Z", - "estimatedDurationInMinutes": 960, - "state": { - "stage": "Reschedule", - "stageStatus": "Success", - "message": "Rescheduled due to xyz", - "startedAt": "2023-01-12T16:17:55.237Z", - "endedAt": "2023-01-12T16:17:55.237Z" - }, - "provisioningState": "Succeeded", - "rescheduleConstraints": { - "deadline": "2023-01-12T11:00:11.830Z", - "freezeDays": [ - "2023-01-13" - ] - } - } - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 9bdf4bd967b3..0adcff87e2f9 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -99,9 +99,6 @@ { "name": "ProvisionedNetworks" }, - { - "name": "Maintenances" - }, { "name": "IscsiPaths" } @@ -3415,218 +3412,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances": { - "get": { - "operationId": "Maintenances_List", - "tags": [ - "Maintenances" - ], - "description": "List Maintenance resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "privateCloudName", - "in": "path", - "description": "Name of the private cloud", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - }, - { - "name": "status", - "in": "query", - "description": "Filter active or inactive maintenances", - "required": false, - "type": "string", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "MaintenanceStatusFilter", - "modelAsString": true, - "values": [ - { - "name": "Active", - "value": "Active", - "description": "is active" - }, - { - "name": "Inactive", - "value": "Inactive", - "description": "is inactive" - } - ] - } - }, - { - "name": "from", - "in": "query", - "description": "date from which result should be returned. ie. scheduledStartTime >= from", - "required": false, - "type": "string", - "format": "date-time" - }, - { - "name": "to", - "in": "query", - "description": "date till which result should be returned. i.e. scheduledStartTime <= to", - "required": false, - "type": "string", - "format": "date-time" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/MaintenanceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Maintenances_List": { - "$ref": "./examples/Maintenances_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}": { - "get": { - "operationId": "Maintenances_Get", - "tags": [ - "Maintenances" - ], - "description": "Get a Maintenance", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "privateCloudName", - "in": "path", - "description": "Name of the private cloud", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - }, - { - "name": "maintenanceName", - "in": "path", - "description": "Name of the maintenance", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Maintenance" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Maintenances_Get": { - "$ref": "./examples/Maintenances_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/maintenances/{maintenanceName}/reschedule": { - "post": { - "operationId": "Maintenances_Reschedule", - "tags": [ - "Maintenances" - ], - "description": "Reschedule a maintenance", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "privateCloudName", - "in": "path", - "description": "Name of the private cloud", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - }, - { - "name": "maintenanceName", - "in": "path", - "description": "Name of the maintenance", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/MaintenanceReschedule" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Maintenance" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Maintenances_Reschedule": { - "$ref": "./examples/Maintenances_Reschedule.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks": { "get": { "operationId": "ProvisionedNetworks_ListByPrivateCloud", @@ -8660,325 +8445,6 @@ }, "readOnly": true }, - "Maintenance": { - "type": "object", - "description": "A cluster resource", - "properties": { - "properties": { - "$ref": "#/definitions/MaintenanceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true, - "x-ms-mutability": [ - "read", - "create" - ] - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "MaintenanceListResult": { - "type": "object", - "description": "The response of a Maintenance list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Maintenance items on this page", - "items": { - "$ref": "#/definitions/Maintenance" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "MaintenanceProperties": { - "type": "object", - "description": "properties of a maintenance", - "properties": { - "component": { - "$ref": "#/definitions/MaintenanceType", - "description": "type of maintenance", - "readOnly": true - }, - "displayName": { - "type": "string", - "description": "Display name for maintenance", - "readOnly": true - }, - "clusterId": { - "type": "integer", - "format": "int32", - "description": "Cluster ID for on which maintenance will be applied. Empty if maintenance is at private cloud level", - "readOnly": true - }, - "infoLink": { - "type": "string", - "description": "Link to maintenance info", - "readOnly": true - }, - "impact": { - "type": "string", - "description": "Impact on the resource during maintenance period", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/MaintenanceState", - "description": "The state of the maintenance", - "readOnly": true - }, - "scheduledStartTime": { - "type": "string", - "format": "date-time", - "description": "Scheduled maintenance start time", - "readOnly": true - }, - "estimatedDurationInMinutes": { - "type": "integer", - "format": "int64", - "description": "Estimated time maintenance will take in minutes", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/MaintenanceProvisioningState", - "description": "The provisioning state", - "readOnly": true - }, - "rescheduleConstraints": { - "$ref": "#/definitions/MaintenanceRescheduleConstraints", - "description": "Constraints for rescheduling maintenance", - "readOnly": true - } - } - }, - "MaintenanceProvisioningState": { - "type": "string", - "description": "provisioning state of the maintenance", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Updating" - ], - "x-ms-enum": { - "name": "MaintenanceProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Updating", - "value": "Updating", - "description": "is updating" - } - ] - }, - "readOnly": true - }, - "MaintenanceReschedule": { - "type": "object", - "description": "reschedule a maintenance", - "properties": { - "rescheduleTime": { - "type": "string", - "format": "date-time", - "description": "reschedule time" - }, - "message": { - "type": "string", - "description": "rescheduling reason" - } - } - }, - "MaintenanceRescheduleConstraints": { - "type": "object", - "description": "Constraints for rescheduling maintenance", - "properties": { - "deadline": { - "type": "string", - "format": "date-time", - "description": "Deadline for upgrade", - "readOnly": true - }, - "freezeDays": { - "type": "array", - "description": "Freeze days", - "items": { - "type": "string", - "format": "date" - }, - "readOnly": true - } - }, - "required": [ - "freezeDays" - ] - }, - "MaintenanceStage": { - "type": "string", - "description": "stage of the maintenance", - "enum": [ - "Creation", - "CustomerApproval", - "PreCheck", - "Execution", - "Reschedule", - "Cancellation" - ], - "x-ms-enum": { - "name": "MaintenanceStage", - "modelAsString": true, - "values": [ - { - "name": "Creation", - "value": "Creation", - "description": "is creation" - }, - { - "name": "CustomerApproval", - "value": "CustomerApproval", - "description": "id customer approval" - }, - { - "name": "PreCheck", - "value": "PreCheck", - "description": "is pre-check" - }, - { - "name": "Execution", - "value": "Execution", - "description": "is execution" - }, - { - "name": "Reschedule", - "value": "Reschedule", - "description": "is reschedule" - }, - { - "name": "Cancellation", - "value": "Cancellation", - "description": "is cancellation" - } - ] - } - }, - "MaintenanceStageStatus": { - "type": "string", - "description": "status of the maintenance", - "enum": [ - "NotStarted", - "InProgress", - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "MaintenanceStageStatus", - "modelAsString": true, - "values": [ - { - "name": "NotStarted", - "value": "NotStarted", - "description": "is not started" - }, - { - "name": "InProgress", - "value": "InProgress", - "description": "is in progress" - }, - { - "name": "Succeeded", - "value": "Succeeded", - "description": "is succeeded" - }, - { - "name": "Failed", - "value": "Failed", - "description": "is failed" - } - ] - }, - "readOnly": true - }, - "MaintenanceState": { - "type": "object", - "description": "state of the maintenance", - "properties": { - "stage": { - "$ref": "#/definitions/MaintenanceStage", - "description": "stage of the maintenance" - }, - "stageStatus": { - "$ref": "#/definitions/MaintenanceStageStatus", - "description": "state of the maintenance stage" - }, - "message": { - "type": "string", - "description": "Failure/Success info" - }, - "startedAt": { - "type": "string", - "format": "date-time", - "description": "Time when current state started" - }, - "endedAt": { - "type": "string", - "format": "date-time", - "description": "Time when current state ended" - } - } - }, - "MaintenanceType": { - "type": "string", - "description": "type of the maintenance", - "enum": [ - "VCSA", - "ESXI", - "NSXT" - ], - "x-ms-enum": { - "name": "MaintenanceType", - "modelAsString": true, - "values": [ - { - "name": "VCSA", - "value": "VCSA", - "description": "maintenance for vCenter Server Appliance" - }, - { - "name": "ESXI", - "value": "ESXI", - "description": "maintenance for ESXi" - }, - { - "name": "NSXT", - "value": "NSXT", - "description": "maintenance for NSX-T" - } - ] - } - }, "ManagementCluster": { "type": "object", "description": "The properties of a management cluster", From dc37f3561f91620b50975f6ee429e9a733f60c9d Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 6 Mar 2024 09:13:28 -0300 Subject: [PATCH 10/27] new audience parameter must be optional --- specification/vmware/Microsoft.AVS/models.tsp | 2 +- .../Microsoft.AVS/stable/2023-09-01/vmware.json | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index 99790ff16de1..261b1004e87e 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -1846,7 +1846,7 @@ model ScriptCmdletProperties { @doc("Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers") @visibility("read") - audience: ScriptCmdletAudience; + audience?: ScriptCmdletAudience; @doc("Parameters the script will accept") @visibility("read") diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 0adcff87e2f9..08da3e0f114b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -9447,10 +9447,7 @@ "readOnly": true, "x-ms-identifiers": [] } - }, - "required": [ - "audience" - ] + } }, "ScriptCmdletProvisioningState": { "type": "string", From 3578998afdd0bd0cec6dd9193599743d5afe165b Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 6 Mar 2024 15:56:05 -0300 Subject: [PATCH 11/27] remove custom rename from 2023-09-01 API (#28105) --- .../2023-09-01/Clusters_CreateOrUpdate.json | 2 -- .../examples/2023-09-01/Clusters_Get.json | 1 - .../examples/2023-09-01/Clusters_List.json | 1 - .../examples/2023-09-01/Clusters_Update.json | 5 ---- .../PrivateClouds_CreateOrUpdate.json | 8 ------- ...rivateClouds_CreateOrUpdate_Stretched.json | 5 ---- ...eClouds_CreateOrUpdate_StretchedZones.json | 5 ---- .../2023-09-01/PrivateClouds_Get.json | 3 --- .../PrivateClouds_Get_Stretched.json | 3 --- .../2023-09-01/PrivateClouds_List.json | 3 --- .../PrivateClouds_ListInSubscription.json | 3 --- ...teClouds_ListInSubscription_Stretched.json | 3 --- .../PrivateClouds_List_Stretched.json | 2 -- .../2023-09-01/PrivateClouds_Update.json | 8 ------- .../PrivateClouds_Update_Stretched.json | 8 ------- specification/vmware/Microsoft.AVS/models.tsp | 17 ------------- .../examples/Clusters_CreateOrUpdate.json | 2 -- .../2023-09-01/examples/Clusters_Get.json | 1 - .../2023-09-01/examples/Clusters_List.json | 1 - .../2023-09-01/examples/Clusters_Update.json | 5 ---- .../PrivateClouds_CreateOrUpdate.json | 8 ------- ...rivateClouds_CreateOrUpdate_Stretched.json | 5 ---- ...eClouds_CreateOrUpdate_StretchedZones.json | 5 ---- .../examples/PrivateClouds_Get.json | 3 --- .../examples/PrivateClouds_Get_Stretched.json | 3 --- .../examples/PrivateClouds_List.json | 3 --- .../PrivateClouds_ListInSubscription.json | 3 --- ...teClouds_ListInSubscription_Stretched.json | 3 --- .../PrivateClouds_List_Stretched.json | 2 -- .../examples/PrivateClouds_Update.json | 8 ------- .../PrivateClouds_Update_Stretched.json | 8 ------- .../stable/2023-09-01/vmware.json | 24 ------------------- 32 files changed, 161 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json index afb85e4f167c..60055b64bb63 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_CreateOrUpdate.json @@ -25,7 +25,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 3, "hosts": [ "fakehost22.nyc1.kubernetes.center", @@ -45,7 +44,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 3, "provisioningState": "Updating" }, diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json index c49600294ba9..59f425ab5f27 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Get.json @@ -17,7 +17,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 4, "hosts": [ "fakehost22.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json index 8e1dddf22fda..2a2565f1bd23 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_List.json @@ -18,7 +18,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 3, "hosts": [ "fakehost22.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json index 27438b4b1a20..d85060459e83 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/Clusters_Update.json @@ -9,8 +9,6 @@ "clusterName": "cluster1", "clusterUpdate": { "properties": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 } } @@ -24,9 +22,7 @@ "name": "AV20" }, "properties": { - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost22.nyc1.kubernetes.center", "fakehost23.nyc1.kubernetes.center", @@ -46,7 +42,6 @@ "name": "AV20" }, "properties": { - "displayName": "renamedCluster1", "clusterSize": 4, "provisioningState": "Updating" }, diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json index e5675ba90936..c4773f702167 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate.json @@ -17,8 +17,6 @@ "properties": { "networkBlock": "192.168.48.0/22", "managementCluster": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -39,7 +37,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -48,9 +45,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -97,7 +92,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -106,8 +100,6 @@ }, "managementCluster": { "clusterId": 1, - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json index 13a9c3bedff5..8ea61d7baf7b 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json @@ -19,7 +19,6 @@ }, "networkBlock": "192.168.48.0/22", "managementCluster": { - "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -45,7 +44,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -59,7 +57,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -111,7 +108,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -120,7 +116,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json index f13756564b88..db31b8c0b697 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json @@ -18,7 +18,6 @@ "properties": { "networkBlock": "192.168.48.0/22", "managementCluster": { - "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -44,7 +43,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -58,7 +56,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -110,7 +107,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -119,7 +115,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json index 5c1ef26ec0f8..4aea03fa2ec1 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get.json @@ -26,7 +26,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -36,9 +35,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json index e0fd2fdcd2bf..0b431ee65f92 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Get_Stretched.json @@ -22,7 +22,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -38,9 +37,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json index 90ede988b812..c10716b98619 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List.json @@ -22,7 +22,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -32,9 +31,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json index 0d13d22553c2..bf4ff0decc41 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription.json @@ -21,7 +21,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -31,9 +30,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json index 03047b3eff30..05e60737212a 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_ListInSubscription_Stretched.json @@ -22,7 +22,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -38,9 +37,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json index b82470c942d7..caa617d386a5 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_List_Stretched.json @@ -23,7 +23,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -39,7 +38,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json index cbc36b1b3522..eca10b3b953f 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update.json @@ -11,10 +11,7 @@ "type": "None" }, "properties": { - "displayName": "renamedDatacenter1", "managementCluster": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 }, "encryption": { @@ -38,7 +35,6 @@ "name": "AV36" }, "properties": { - "displayName": "renamedDatacenter1", "availability": { "strategy": "SingleZone", "zone": 1 @@ -52,9 +48,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -110,7 +104,6 @@ "name": "AV36" }, "properties": { - "displayName": "renamedDatacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -120,7 +113,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json index 5ad7f11a89be..733abd3984c2 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_Update_Stretched.json @@ -8,10 +8,7 @@ "privateCloudName": "cloud1", "privateCloudUpdate": { "properties": { - "displayName": "renamedDatacenter1", "managementCluster": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 } } @@ -27,7 +24,6 @@ "name": "AV36" }, "properties": { - "displayName": "renamedDatacenter1", "availability": { "strategy": "DualZone", "zone": 1, @@ -48,7 +44,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -97,7 +92,6 @@ }, "properties": { "networkBlock": "192.168.48.0/22", - "displayName": "renamedDatacenter1", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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", @@ -106,9 +100,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index 261b1004e87e..7029d0a28a6b 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -577,8 +577,6 @@ model PrivateCloudUpdate { @doc("The properties of a private cloud resource that may be updated") model PrivateCloudUpdateProperties { - ...DisplayNameProperty; - @doc("The default cluster used for management") managementCluster?: ManagementCluster; @@ -609,8 +607,6 @@ this privateCloud networkBlock attribute. Make sure the CIDR format conforms to @doc("The properties of a private cloud resource") model PrivateCloudProperties { - ...DisplayNameProperty; - @doc("The default cluster used for management") managementCluster: ManagementCluster; @@ -765,8 +761,6 @@ model ManagementCluster { @doc("The common properties of a cluster") model CommonClusterProperties { - ...DisplayNameProperty; - @doc("The cluster size") clusterSize?: int32; @@ -901,16 +895,11 @@ model ClusterUpdate { @doc("The properties of a cluster that may be updated") model ClusterUpdateProperties { - ...DisplayNameProperty; - @doc("The cluster size") clusterSize?: int32; @doc("The hosts") hosts?: string[]; - - @doc("Name of the vsan datastore associated with the cluster") - vsanDatastoreName?: string; } @doc("List of all zones and associated hosts for a cluster") @@ -2083,12 +2072,6 @@ model PSCredentialExecutionParameter extends ScriptExecutionParameter { type: "Credential"; } -@doc("The display name property envelope") -model DisplayNameProperty { - @doc("Display name of the resource.") - displayName?: string; -} - // https://github.com/Azure/typespec-azure/issues/3856 #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" @doc("Availability zones envelope.") diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json index afb85e4f167c..60055b64bb63 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json @@ -25,7 +25,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 3, "hosts": [ "fakehost22.nyc1.kubernetes.center", @@ -45,7 +44,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 3, "provisioningState": "Updating" }, diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json index c49600294ba9..59f425ab5f27 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -17,7 +17,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 4, "hosts": [ "fakehost22.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json index 8e1dddf22fda..2a2565f1bd23 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json @@ -18,7 +18,6 @@ "name": "AV20" }, "properties": { - "displayName": "nameCluster1", "clusterSize": 3, "hosts": [ "fakehost22.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json index 27438b4b1a20..d85060459e83 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json @@ -9,8 +9,6 @@ "clusterName": "cluster1", "clusterUpdate": { "properties": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 } } @@ -24,9 +22,7 @@ "name": "AV20" }, "properties": { - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost22.nyc1.kubernetes.center", "fakehost23.nyc1.kubernetes.center", @@ -46,7 +42,6 @@ "name": "AV20" }, "properties": { - "displayName": "renamedCluster1", "clusterSize": 4, "provisioningState": "Updating" }, diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json index e5675ba90936..c4773f702167 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json @@ -17,8 +17,6 @@ "properties": { "networkBlock": "192.168.48.0/22", "managementCluster": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -39,7 +37,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -48,9 +45,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -97,7 +92,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -106,8 +100,6 @@ }, "managementCluster": { "clusterId": 1, - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json index 13a9c3bedff5..8ea61d7baf7b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json @@ -19,7 +19,6 @@ }, "networkBlock": "192.168.48.0/22", "managementCluster": { - "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -45,7 +44,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -59,7 +57,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -111,7 +108,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -120,7 +116,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json index f13756564b88..db31b8c0b697 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json @@ -18,7 +18,6 @@ "properties": { "networkBlock": "192.168.48.0/22", "managementCluster": { - "displayName": "renamedCluster1", "clusterSize": 4 } }, @@ -44,7 +43,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -58,7 +56,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -110,7 +107,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -119,7 +115,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json index 5c1ef26ec0f8..4aea03fa2ec1 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -26,7 +26,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -36,9 +35,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json index e0fd2fdcd2bf..0b431ee65f92 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -22,7 +22,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -38,9 +37,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json index 90ede988b812..c10716b98619 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json @@ -22,7 +22,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -32,9 +31,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json index 0d13d22553c2..bf4ff0decc41 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json @@ -21,7 +21,6 @@ "strategy": "SingleZone", "zone": 1 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -31,9 +30,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json index 03047b3eff30..05e60737212a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json @@ -22,7 +22,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -38,9 +37,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, - "vsanDatastoreName": "vsanDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json index b82470c942d7..caa617d386a5 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json @@ -23,7 +23,6 @@ "zone": 1, "secondaryZone": 2 }, - "displayName": "datacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -39,7 +38,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "nameCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json index cbc36b1b3522..eca10b3b953f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json @@ -11,10 +11,7 @@ "type": "None" }, "properties": { - "displayName": "renamedDatacenter1", "managementCluster": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 }, "encryption": { @@ -38,7 +35,6 @@ "name": "AV36" }, "properties": { - "displayName": "renamedDatacenter1", "availability": { "strategy": "SingleZone", "zone": 1 @@ -52,9 +48,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", @@ -110,7 +104,6 @@ "name": "AV36" }, "properties": { - "displayName": "renamedDatacenter1", "networkBlock": "192.168.48.0/22", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", @@ -120,7 +113,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json index 5ad7f11a89be..733abd3984c2 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json @@ -8,10 +8,7 @@ "privateCloudName": "cloud1", "privateCloudUpdate": { "properties": { - "displayName": "renamedDatacenter1", "managementCluster": { - "vsanDatastoreName": "renamedDatastore1", - "displayName": "renamedCluster1", "clusterSize": 4 } } @@ -27,7 +24,6 @@ "name": "AV36" }, "properties": { - "displayName": "renamedDatacenter1", "availability": { "strategy": "DualZone", "zone": 1, @@ -48,7 +44,6 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, "hosts": [ "fakehost18.nyc1.kubernetes.center", @@ -97,7 +92,6 @@ }, "properties": { "networkBlock": "192.168.48.0/22", - "displayName": "renamedDatacenter1", "circuit": { "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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", @@ -106,9 +100,7 @@ }, "managementCluster": { "clusterId": 1, - "displayName": "renamedCluster1", "clusterSize": 4, - "vsanDatastoreName": "renamedDatastore1", "hosts": [ "fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 08da3e0f114b..3970f76cd7aa 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -7206,10 +7206,6 @@ "type": "object", "description": "The properties of a cluster", "properties": { - "displayName": { - "type": "string", - "description": "Display name of the resource." - }, "clusterSize": { "type": "integer", "format": "int32", @@ -7307,10 +7303,6 @@ "type": "object", "description": "The properties of a cluster that may be updated", "properties": { - "displayName": { - "type": "string", - "description": "Display name of the resource." - }, "clusterSize": { "type": "integer", "format": "int32", @@ -7322,10 +7314,6 @@ "items": { "type": "string" } - }, - "vsanDatastoreName": { - "type": "string", - "description": "Name of the vsan datastore associated with the cluster" } } }, @@ -8449,10 +8437,6 @@ "type": "object", "description": "The properties of a management cluster", "properties": { - "displayName": { - "type": "string", - "description": "Display name of the resource." - }, "clusterSize": { "type": "integer", "format": "int32", @@ -8895,10 +8879,6 @@ "type": "object", "description": "The properties of a private cloud resource", "properties": { - "displayName": { - "type": "string", - "description": "Display name of the resource." - }, "managementCluster": { "$ref": "#/definitions/ManagementCluster", "description": "The default cluster used for management" @@ -9144,10 +9124,6 @@ "type": "object", "description": "The properties of a private cloud resource that may be updated", "properties": { - "displayName": { - "type": "string", - "description": "Display name of the resource." - }, "managementCluster": { "$ref": "#/definitions/ManagementCluster", "description": "The default cluster used for management" From 08142ac69a12e484b69b85710153ec113dd9f987 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 6 Mar 2024 15:56:38 -0300 Subject: [PATCH 12/27] remove ProvisionedNetwork ProxyResource (#28108) --- .../2023-09-01/ProvisionedNetworks_Get.json | 24 -- ...rovisionedNetworks_ListByPrivateCloud.json | 45 ---- specification/vmware/Microsoft.AVS/models.tsp | 55 ----- specification/vmware/Microsoft.AVS/routes.tsp | 7 - .../examples/ProvisionedNetworks_Get.json | 24 -- ...rovisionedNetworks_ListByPrivateCloud.json | 45 ---- .../stable/2023-09-01/vmware.json | 224 ------------------ 7 files changed, 424 deletions(-) delete mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json delete mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json deleted file mode 100644 index 7aa6623c44c2..000000000000 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_Get.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ProvisionedNetworks_Get", - "operationId": "ProvisionedNetworks_Get", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "provisionedNetworkName": "vsan" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", - "name": "vsan", - "properties": { - "addressPrefix": "10.0.2.128/25", - "networkType": "vsan" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - } - } - } -} diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json deleted file mode 100644 index 46dc3017b8df..000000000000 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/ProvisionedNetworks_ListByPrivateCloud.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "ProvisionedNetworks_ListByPrivateCloud", - "operationId": "ProvisionedNetworks_ListByPrivateCloud", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", - "name": "vsan", - "properties": { - "addressPrefix": "10.0.2.128/25", - "networkType": "vsan" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot", - "name": "esxvmot", - "properties": { - "addressPrefix": "10.0.1.128/25", - "networkType": "esxvmot" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet", - "name": "mgmtvnet", - "properties": { - "addressPrefix": "10.0.3.128/26", - "networkType": "mgmtvnet" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - } - ] - } - } - } -} diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index 7029d0a28a6b..4eaab5f34ffe 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -2089,61 +2089,6 @@ enum DnsZoneType { Private, } -@doc("A provisioned network resource") -@parentResource(PrivateCloud) -model ProvisionedNetwork is ProxyResource { - @doc("Name of the cloud link.") - @pattern("^[-\\w\\._]+$") - @key("provisionedNetworkName") - @path - @segment("provisionedNetworks") - name: string; -} - -@doc("provisioned network provisioning state") -enum ProvisionedNetworkProvisioningState { - ...ResourceProvisioningState, -} - -@doc("The properties of a provisioned network.") -model ProvisionedNetworkProperties { - @doc("The provisioning state of the resource.") - @visibility("read") - provisioningState?: CloudLinkProvisioningState; - - @doc("The address prefixes of the provisioned network in CIDR notation.") - @visibility("read") - addressPrefix?: string; - - @doc("The type of network provisioned.") - @visibility("read") - networkType?: ProvisionedNetworkTypes; -} - -@doc("The type of network provisioned.") -enum ProvisionedNetworkTypes { - @doc("network for ESX management") - esxManagement, - - @doc("network for ESX replication") - esxReplication, - - @doc("network for HCX management") - hcxManagement, - - @doc("network for HCX uplink") - hcxUplink, - - @doc("network for vCenter management") - vcenterManagement, - - @doc("network for vmotion") - vmotion, - - @doc("network for vsan") - vsan, -} - @doc("An iSCSI path resource") @parentResource(PrivateCloud) @singleton diff --git a/specification/vmware/Microsoft.AVS/routes.tsp b/specification/vmware/Microsoft.AVS/routes.tsp index e700ded341b5..0f966d2d63bb 100644 --- a/specification/vmware/Microsoft.AVS/routes.tsp +++ b/specification/vmware/Microsoft.AVS/routes.tsp @@ -877,13 +877,6 @@ interface ScriptExecutions { "scriptExecution" ); -@armResourceOperations -interface ProvisionedNetworks { - list is ArmResourceListByParent; - - get is ArmResourceRead; -} - @doc("The location envelope.") model LocationHeader { @doc("The Location header contains the URL where the status of the long running operation can be checked.") diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json deleted file mode 100644 index 7aa6623c44c2..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_Get.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ProvisionedNetworks_Get", - "operationId": "ProvisionedNetworks_Get", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "provisionedNetworkName": "vsan" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", - "name": "vsan", - "properties": { - "addressPrefix": "10.0.2.128/25", - "networkType": "vsan" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json deleted file mode 100644 index 46dc3017b8df..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ProvisionedNetworks_ListByPrivateCloud.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "ProvisionedNetworks_ListByPrivateCloud", - "operationId": "ProvisionedNetworks_ListByPrivateCloud", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan", - "name": "vsan", - "properties": { - "addressPrefix": "10.0.2.128/25", - "networkType": "vsan" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot", - "name": "esxvmot", - "properties": { - "addressPrefix": "10.0.1.128/25", - "networkType": "esxvmot" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet", - "name": "mgmtvnet", - "properties": { - "addressPrefix": "10.0.3.128/26", - "networkType": "mgmtvnet" - }, - "type": "Microsoft.AVS/privateClouds/provisionedNetworks" - } - ] - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 3970f76cd7aa..15c58381cf7d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -96,9 +96,6 @@ { "name": "ScriptExecutions" }, - { - "name": "ProvisionedNetworks" - }, { "name": "IscsiPaths" } @@ -3412,111 +3409,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks": { - "get": { - "operationId": "ProvisionedNetworks_ListByPrivateCloud", - "tags": [ - "ProvisionedNetworks" - ], - "description": "List ProvisionedNetwork resources by PrivateCloud", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "privateCloudName", - "in": "path", - "description": "Name of the private cloud", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ProvisionedNetworkListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ProvisionedNetworks_ListByPrivateCloud": { - "$ref": "./examples/ProvisionedNetworks_ListByPrivateCloud.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}": { - "get": { - "operationId": "ProvisionedNetworks_Get", - "tags": [ - "ProvisionedNetworks" - ], - "description": "Get a ProvisionedNetwork", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "privateCloudName", - "in": "path", - "description": "Name of the private cloud", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - }, - { - "name": "provisionedNetworkName", - "in": "path", - "description": "Name of the cloud link.", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ProvisionedNetwork" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ProvisionedNetworks_Get": { - "$ref": "./examples/ProvisionedNetworks_Get.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword": { "post": { "operationId": "PrivateClouds_RotateNsxtPassword", @@ -9165,122 +9057,6 @@ } } }, - "ProvisionedNetwork": { - "type": "object", - "description": "A provisioned network resource", - "properties": { - "properties": { - "$ref": "#/definitions/ProvisionedNetworkProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true, - "x-ms-mutability": [ - "read", - "create" - ] - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "ProvisionedNetworkListResult": { - "type": "object", - "description": "The response of a ProvisionedNetwork list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ProvisionedNetwork items on this page", - "items": { - "$ref": "#/definitions/ProvisionedNetwork" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ProvisionedNetworkProperties": { - "type": "object", - "description": "The properties of a provisioned network.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/CloudLinkProvisioningState", - "description": "The provisioning state of the resource.", - "readOnly": true - }, - "addressPrefix": { - "type": "string", - "description": "The address prefixes of the provisioned network in CIDR notation.", - "readOnly": true - }, - "networkType": { - "$ref": "#/definitions/ProvisionedNetworkTypes", - "description": "The type of network provisioned.", - "readOnly": true - } - } - }, - "ProvisionedNetworkTypes": { - "type": "string", - "description": "The type of network provisioned.", - "enum": [ - "esxManagement", - "esxReplication", - "hcxManagement", - "hcxUplink", - "vcenterManagement", - "vmotion", - "vsan" - ], - "x-ms-enum": { - "name": "ProvisionedNetworkTypes", - "modelAsString": true, - "values": [ - { - "name": "esxManagement", - "value": "esxManagement", - "description": "network for ESX management" - }, - { - "name": "esxReplication", - "value": "esxReplication", - "description": "network for ESX replication" - }, - { - "name": "hcxManagement", - "value": "hcxManagement", - "description": "network for HCX management" - }, - { - "name": "hcxUplink", - "value": "hcxUplink", - "description": "network for HCX uplink" - }, - { - "name": "vcenterManagement", - "value": "vcenterManagement", - "description": "network for vCenter management" - }, - { - "name": "vmotion", - "value": "vmotion", - "description": "network for vmotion" - }, - { - "name": "vsan", - "value": "vsan", - "description": "network for vsan" - } - ] - } - }, "Quota": { "type": "object", "description": "Subscription quotas", From 1c7a144fb6df56ea4c24bd865de25fdc524908b6 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 6 Mar 2024 16:32:40 -0300 Subject: [PATCH 13/27] remove AvailabilityZones from 2023-09-01 API (#28111) --- ...rivateClouds_CreateOrUpdate_Stretched.json | 4 - ...eClouds_CreateOrUpdate_StretchedZones.json | 154 ------------------ specification/vmware/Microsoft.AVS/models.tsp | 9 - ...rivateClouds_CreateOrUpdate_Stretched.json | 4 - ...eClouds_CreateOrUpdate_StretchedZones.json | 154 ------------------ .../stable/2023-09-01/vmware.json | 10 -- 6 files changed, 335 deletions(-) delete mode 100644 specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json delete mode 100644 specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json index 8ea61d7baf7b..f937576f2884 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_Stretched.json @@ -30,10 +30,6 @@ "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", "location": "eastus2", - "zones": [ - "1", - "2" - ], "name": "cloud1", "sku": { "name": "AV36" diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json deleted file mode 100644 index db31b8c0b697..000000000000 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "title": "PrivateClouds_CreateOrUpdate_StretchedZones", - "operationId": "PrivateClouds_CreateOrUpdate", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "privateCloud": { - "location": "eastus2", - "zones": [ - "1", - "2" - ], - "sku": { - "name": "AV36" - }, - "properties": { - "networkBlock": "192.168.48.0/22", - "managementCluster": { - "clusterSize": 4 - } - }, - "tags": {} - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", - "location": "eastus2", - "zones": [ - "1", - "2" - ], - "name": "cloud1", - "sku": { - "name": "AV36" - }, - "properties": { - "availability": { - "strategy": "DualZone", - "zone": 1, - "secondaryZone": 2 - }, - "networkBlock": "192.168.48.0/22", - "circuit": { - "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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" - }, - "secondaryCircuit": { - "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", - "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://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "nsxtManagerIp": "192.168.50.3", - "vcenterIp": "192.168.50.2", - "hcxCloudManagerIp": "192.168.50.4" - }, - "externalCloudLinks": [ - "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" - ], - "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", - "location": "eastus2", - "name": "cloud1", - "sku": { - "name": "AV36" - }, - "properties": { - "availability": { - "strategy": "SingleZone", - "zone": 1 - }, - "networkBlock": "192.168.48.0/22", - "circuit": { - "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "nsxtManagerIp": "192.168.50.3", - "vcenterIp": "192.168.50.2", - "hcxCloudManagerIp": "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": "Updating" - }, - "tags": {}, - "type": "Microsoft.AVS/privateClouds" - } - } - } -} diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index 4eaab5f34ffe..d8857e20a8d2 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -546,7 +546,6 @@ model PrivateCloud is TrackedResource { ...ArmTagsProperty; ...ResourceSkuRequired; ...ManagedSystemAssignedIdentity; - ...AvailabilityZones; @doc("Name of the private cloud") @pattern("^[-\\w\\._]+$") @@ -2072,14 +2071,6 @@ model PSCredentialExecutionParameter extends ScriptExecutionParameter { type: "Credential"; } -// https://github.com/Azure/typespec-azure/issues/3856 -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" -@doc("Availability zones envelope.") -model AvailabilityZones { - @doc("The availability zones.") - zones?: string[]; -} - @doc("The type of DNS zone.") enum DnsZoneType { @doc("Primary DNS zone.") diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json index 8ea61d7baf7b..f937576f2884 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json @@ -30,10 +30,6 @@ "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", "location": "eastus2", - "zones": [ - "1", - "2" - ], "name": "cloud1", "sku": { "name": "AV36" diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json deleted file mode 100644 index db31b8c0b697..000000000000 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_StretchedZones.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "title": "PrivateClouds_CreateOrUpdate_StretchedZones", - "operationId": "PrivateClouds_CreateOrUpdate", - "parameters": { - "api-version": "2023-09-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "privateCloud": { - "location": "eastus2", - "zones": [ - "1", - "2" - ], - "sku": { - "name": "AV36" - }, - "properties": { - "networkBlock": "192.168.48.0/22", - "managementCluster": { - "clusterSize": 4 - } - }, - "tags": {} - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", - "location": "eastus2", - "zones": [ - "1", - "2" - ], - "name": "cloud1", - "sku": { - "name": "AV36" - }, - "properties": { - "availability": { - "strategy": "DualZone", - "zone": 1, - "secondaryZone": 2 - }, - "networkBlock": "192.168.48.0/22", - "circuit": { - "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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" - }, - "secondaryCircuit": { - "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect2", - "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://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "nsxtManagerIp": "192.168.50.3", - "vcenterIp": "192.168.50.2", - "hcxCloudManagerIp": "192.168.50.4" - }, - "externalCloudLinks": [ - "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" - ], - "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/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1", - "location": "eastus2", - "name": "cloud1", - "sku": { - "name": "AV36" - }, - "properties": { - "availability": { - "strategy": "SingleZone", - "zone": 1 - }, - "networkBlock": "192.168.48.0/22", - "circuit": { - "expressRouteID": "/subscriptions/00000000-0000-0000-0000-000000000000/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://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "vcsa": "https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "hcxCloudManager": "https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/", - "nsxtManagerIp": "192.168.50.3", - "vcenterIp": "192.168.50.2", - "hcxCloudManagerIp": "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": "Updating" - }, - "tags": {}, - "type": "Microsoft.AVS/privateClouds" - } - } - } -} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 15c58381cf7d..062b4c8abff6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -441,9 +441,6 @@ }, "PrivateClouds_CreateOrUpdate_Stretched": { "$ref": "./examples/PrivateClouds_CreateOrUpdate_Stretched.json" - }, - "PrivateClouds_CreateOrUpdate_StretchedZones": { - "$ref": "./examples/PrivateClouds_CreateOrUpdate_StretchedZones.json" } }, "x-ms-long-running-operation-options": { @@ -8728,13 +8725,6 @@ "identity": { "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/SystemAssignedServiceIdentity", "description": "The managed service identities assigned to this resource." - }, - "zones": { - "type": "array", - "description": "The availability zones.", - "items": { - "type": "string" - } } }, "required": [ From d0af234a87db6c8b2ffb83da6ce4c72299a3a2ce Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 6 Mar 2024 21:44:00 -0300 Subject: [PATCH 14/27] "quota", not "quote" --- specification/vmware/Microsoft.AVS/models.tsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index d8857e20a8d2..dc979b532603 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -22,7 +22,7 @@ enum TrialStatus { TrialDisabled, } -@doc("quote enabled") +@doc("quota enabled") enum QuotaEnabled { @doc("is enabled") Enabled, From 3b53612c1ba494b401fe807d7506e37989872989 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Thu, 7 Mar 2024 12:38:43 -0300 Subject: [PATCH 15/27] "quota" fix in swagger --- .../Microsoft.AVS/stable/2023-09-01/vmware.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 062b4c8abff6..56a06ebe8a93 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -9069,7 +9069,7 @@ }, "QuotaEnabled": { "type": "string", - "description": "quote enabled", + "description": "quota enabled", "enum": [ "Enabled", "Disabled" From 2213585eed54328a19f28437c756ba3717600095 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Thu, 7 Mar 2024 12:39:06 -0300 Subject: [PATCH 16/27] remove "workloadNetworkName": "default" from example --- .../examples/2023-09-01/WorkloadNetworks_Get.json | 3 +-- .../stable/2023-09-01/examples/WorkloadNetworks_Get.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json index 6fef13816da2..f8d5f4e28a34 100644 --- a/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json +++ b/specification/vmware/Microsoft.AVS/examples/2023-09-01/WorkloadNetworks_Get.json @@ -5,8 +5,7 @@ "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "workloadNetworkName": "default" + "privateCloudName": "cloud1" }, "responses": { "200": { diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json index 6fef13816da2..f8d5f4e28a34 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json @@ -5,8 +5,7 @@ "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "group1", - "privateCloudName": "cloud1", - "workloadNetworkName": "default" + "privateCloudName": "cloud1" }, "responses": { "200": { From 2950018a4ae315ca52037788cb5881cc1dfe9ab1 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 11 Mar 2024 10:15:00 -0300 Subject: [PATCH 17/27] TypeSpec compiler v0.54.0 --- .../stable/2023-09-01/vmware.json | 72 ++++++++++++------- 1 file changed, 48 insertions(+), 24 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 56a06ebe8a93..5053cb254470 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -6588,7 +6588,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -6943,7 +6944,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -7084,7 +7086,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -7273,7 +7276,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -7793,7 +7797,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -7896,7 +7901,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -8037,7 +8043,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -8238,7 +8245,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -8472,7 +8480,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -8750,7 +8759,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -9149,7 +9159,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -9256,7 +9267,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -9542,7 +9554,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -9906,7 +9919,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -10216,7 +10230,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -10401,7 +10416,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -10546,7 +10562,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -10690,7 +10707,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -10731,7 +10749,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -10772,7 +10791,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -10970,7 +10990,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -11085,7 +11106,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -11255,7 +11277,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ @@ -11388,7 +11411,8 @@ "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items" + "description": "The link to the next page of items", + "readOnly": true } }, "required": [ From 57fb9faf0ffb8c1ca28ab911598bab502d9f6d52 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 11 Mar 2024 12:48:46 -0300 Subject: [PATCH 18/27] suppress namedOutputs again --- specification/vmware/Microsoft.AVS/models.tsp | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index dc979b532603..e4571184a7cb 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -1935,6 +1935,7 @@ errors or powershell threw an exception output?: string[]; #suppress "@azure-tools/typespec-azure-core/bad-record-type" "It is unknown." + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "It is unknown." @doc("User-defined dictionary.") namedOutputs?: Record<{}>; From 19f9675be4bddfb94b498a1a6a28628b9e392f04 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 11 Mar 2024 13:19:35 -0300 Subject: [PATCH 19/27] suppress 200s in deletes --- specification/vmware/Microsoft.AVS/routes.tsp | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/specification/vmware/Microsoft.AVS/routes.tsp b/specification/vmware/Microsoft.AVS/routes.tsp index 0f966d2d63bb..0da3d33d453a 100644 --- a/specification/vmware/Microsoft.AVS/routes.tsp +++ b/specification/vmware/Microsoft.AVS/routes.tsp @@ -74,6 +74,8 @@ interface PrivateClouds { placementPolicy: PrivateCloud; } | ErrorResponse; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; @doc("Rotate the vCenter password") @@ -138,6 +140,8 @@ interface Clusters { cluster: Cluster; } | ErrorResponse; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; @doc("List hosts by zone in a cluster") @@ -163,6 +167,8 @@ interface Datastores { createOrUpdate is ArmResourceCreateOrUpdateAsync; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; } @@ -210,6 +216,8 @@ interface Authorizations { BaseParameters >; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; } @@ -232,6 +240,8 @@ interface GlobalReachConnections { createOrUpdate is ArmResourceCreateOrUpdateAsync; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; } @@ -277,6 +287,8 @@ interface WorkloadNetworkSegments { WorkloadNetworkSegmentUpdate >; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_DeleteSegment") deleteSegment is ArmResourceDeleteAsync; @@ -328,6 +340,8 @@ interface WorkloadNetworkDhcpConfigurations { @operationId("WorkloadNetworks_UpdateDhcp") update is ArmCustomPatchAsync; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_DeleteDhcp") delete is ArmResourceDeleteAsync; @@ -714,6 +728,8 @@ interface CloudLinks { createOrUpdate is ArmResourceCreateOrUpdateAsync; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; } @@ -736,6 +752,8 @@ interface Addons { createOrUpdate is ArmResourceCreateOrUpdateAsync; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; } @@ -812,6 +830,8 @@ interface PlacementPolicies { placementPolicy: PlacementPolicy; } | ErrorResponse; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; } @@ -852,6 +872,8 @@ interface ScriptExecutions { createOrUpdate is ArmResourceCreateOrUpdateAsync; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; @doc("Return the logs for a script execution resource") @@ -892,6 +914,8 @@ interface IscsiPaths { createOrUpdate is ArmResourceCreateOrUpdateAsync; + #suppress "deprecated" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" delete is ArmResourceDeleteAsync; } From 44cd0aec2b9546ec81a2b469d50aaafffe1293ca Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 11 Mar 2024 13:21:46 -0300 Subject: [PATCH 20/27] suppress missing-x-ms-identifiers --- specification/vmware/Microsoft.AVS/models.tsp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index e4571184a7cb..706680b486fd 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -582,6 +582,7 @@ model PrivateCloudUpdateProperties { @doc("Connectivity to internet is enabled or disabled") internet?: InternetEnum; + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" @doc("vCenter Single Sign On Identity Sources") identitySources?: IdentitySource[]; @@ -612,6 +613,7 @@ model PrivateCloudProperties { @doc("Connectivity to internet is enabled or disabled") internet?: InternetEnum = InternetEnum.Disabled; + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" @doc("vCenter Single Sign On Identity Sources") identitySources?: IdentitySource[]; @@ -903,6 +905,7 @@ model ClusterUpdateProperties { @doc("List of all zones and associated hosts for a cluster") model ClusterZoneList { + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" @doc("Zone and associated hosts info") zones?: ClusterZone[]; } @@ -1182,6 +1185,7 @@ model WorkloadNetworkSegmentProperties { @doc("Subnet which to connect segment to.") subnet?: WorkloadNetworkSegmentSubnet; + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" @doc("Port Vif which segment is associated with.") @visibility("read") portVif?: WorkloadNetworkSegmentPortVif[]; @@ -1836,6 +1840,7 @@ model ScriptCmdletProperties { @visibility("read") audience?: ScriptCmdletAudience; + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" @doc("Parameters the script will accept") @visibility("read") parameters?: ScriptParameter[]; @@ -1894,9 +1899,11 @@ model ScriptExecutionProperties { @doc("A reference to the script cmdlet resource if user is running a AVS script") scriptCmdletId?: string; + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" @doc("Parameters the script will accept") parameters?: ScriptExecutionParameter[]; + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" @doc(""" Parameters that will be hidden/not visible to ARM, such as passwords and credentials From c05d4aceb18ef1714eb1a30e9de92aa1c3c2833d Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 11 Mar 2024 17:13:28 -0300 Subject: [PATCH 21/27] format tspconfig.yaml --- specification/vmware/Microsoft.AVS/tspconfig.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/tspconfig.yaml b/specification/vmware/Microsoft.AVS/tspconfig.yaml index 2e6f4883770e..957eb1d86523 100644 --- a/specification/vmware/Microsoft.AVS/tspconfig.yaml +++ b/specification/vmware/Microsoft.AVS/tspconfig.yaml @@ -3,9 +3,7 @@ parameters: default: "sdk/vmware" "service-directory-name": default: "vmware" -emit: [ - "@azure-tools/typespec-autorest", -] +emit: ["@azure-tools/typespec-autorest"] linter: extends: - "@azure-tools/typespec-azure-resource-manager/all" From fb5850b9ab79d8dc5de122a5951adaeebff758c1 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 12 Mar 2024 09:17:38 -0400 Subject: [PATCH 22/27] suppress false positives (#28220) --- specification/vmware/resource-manager/readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 0e0ccc85aa3b..5816b1dedb11 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -291,6 +291,14 @@ suppressions: reasons: false positives # createOrUpdate is ArmResourceCreateOrUpdateAsync; + - code: PatchBodyParametersSchema + reasons: false positives + # https://github.com/Azure/azure-sdk-tools/issues/7802 + + - code: EvenSegmentedPathForPutOperation + reasons: false positives + # https://github.com/Azure/azure-sdk-tools/issues/7801 + ``` ## TypeScript From 98dbba4e27e5dfbb1eb7971f5be610c638634a92 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 12 Mar 2024 09:52:41 -0400 Subject: [PATCH 23/27] use common LocationParameter (#28221) --- specification/vmware/Microsoft.AVS/models.tsp | 4 ++++ .../Microsoft.AVS/stable/2023-09-01/vmware.json | 14 ++------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index 706680b486fd..38cccc36fcf5 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -526,6 +526,10 @@ model Location is ProxyResource { @key("location") @path @segment("locations") + @Azure.ResourceManager.Private.armCommonParameter( + "LocationParameter", + Azure.ResourceManager.CommonTypes.Versions.v3 + ) name: string; } diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 5053cb254470..bb0c63bbf78f 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -152,12 +152,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "location", - "in": "path", - "description": "A location in a subscription", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" } ], "responses": { @@ -196,12 +191,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "location", - "in": "path", - "description": "A location in a subscription", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._]+$" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" }, { "name": "sku", From c35c8b70d677bd1ede1c1b942ac47e8550feb889 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 12 Mar 2024 14:46:36 -0400 Subject: [PATCH 24/27] remove LintDiff suppressions in readme (#28222) --- .../vmware/resource-manager/readme.md | 175 ------------------ 1 file changed, 175 deletions(-) diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 5816b1dedb11..6d93aaafefad 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -115,58 +115,8 @@ swagger-to-sdk: - repo: azure-powershell ``` -## Suppression - -### AutoRest v2 Suppressions ``` yaml directive: - - suppress: pathresourceprovidernamepascalcase - reason: Microsoft.AVS was chosen over Microsoft.AzureVMwareSolution - from: - - vmware.json - - - suppress: TrackedResourceListByImmediateParent - reason: list by immediate parent operations are defined - from: vmware.json - - - suppress: TrackedResourceListByResourceGroup - reason: the PrivateClouds_List operation is by resource group - from: vmware.json - - - suppress: EnumInsteadOfBoolean - reason: standard property for Operation - from: vmware.json - where: $.definitions.Operation.properties.isDataAction - - - suppress: EnumInsteadOfBoolean - reason: standard property for MetricSpecification - from: vmware.json - where: $.definitions.MetricSpecification.properties.fillGapWithZero - - - suppress: AvoidNestedProperties - reason: x-ms-client-flatten not needed for Operation - from: vmware.json - where: $.definitions.Operation.properties.properties - - - suppress: RequiredReadOnlySystemData - reason: systemData is not in this API version - from: vmware.json - - - suppress: EnumInsteadOfBoolean - reason: standard property defined by Geneva Metrics - from: vmware.json - where: $.definitions.MetricDimension.properties.toBeExportedForShoebox - - - suppress: ParametersOrder - reason: Breaking change to update the parameters order - from: vmware.json - where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].get - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].delete - transform: $["x-ms-client-flatten"] = false from: vmware.json @@ -176,131 +126,6 @@ directive: - $.definitions.WorkloadNetworkDhcp.properties.properties ``` -### AutoRest v3 Suppressions -``` yaml -suppressions: - - - code: pathresourceprovidernamepascalcase - reason: Microsoft.AVS was chosen over Microsoft.AzureVMwareSolution - from: vmware.json - - - code: ParametersOrder - reason: Breaking change to update the parameters order - from: vmware.json - where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].get - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].delete - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].delete - - - code: ConsistentPatchProperties - reason: The properties are consistent for the discriminator hierarchy. - from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch - # - $.definitions.PlacementPolicyUpdate.properties.vmMembers - # - $.definitions.PlacementPolicyUpdate.properties.hostMembers - # - $.definitions.PlacementPolicyUpdate.properties.affinityStrength - # - $.definitions.PlacementPolicyUpdate.properties.azureHybridBenefitType - - - code: DefinitionsPropertiesNamesCamelCase - reason: Breaking change to update existing property names - from: vmware.json - where: - - $.definitions.Circuit.properties.expressRouteID - - $.definitions.Circuit.properties.expressRoutePrivatePeeringID - - $.definitions.IdentitySource.properties.baseUserDN - - $.definitions.IdentitySource.properties.baseGroupDN - - $.definitions.WorkloadNetworkPublicIPProperties.properties.numberOfPublicIPs - - $.definitions.WorkloadNetworkPublicIPProperties.properties.publicIPBlock - - $.definitions.WorkloadNetworkPublicIPProperties.properties.numberOfPublicIPs - - - code: ArmResourcePropertiesBag - reason: Breaking change to update existing property names - from: vmware.json - where: - - $.definitions.PlacementPolicy - - - code: DeleteOperationAsyncResponseValidation - reason: x-ms-long-running-operation-options does not need to be set if you follow ARM guidelines - # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options - from: vmware.json - - - code: PatchSkuProperty - reason: sku can not be updated - from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch - # - $.definitions.PrivateCloudUpdate - # - $.definitions.ClusterUpdate - - - code: LroPatch202 - reason: Breaking change to add response - from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch - - - code: UnSupportedPatchProperties - reason: Breaking change to remove name or type properties - from: vmware.json - # where: - # - $ $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch - - - code: XmsLongRunningOperationOptions - reason: This option is designed for cases where the server does NOT follow ARM guidelines - # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options - from: vmware.json - - - code: XmsClientName - reason: false positives - from: vmware.json - - - code: XmsClientNameParameter - reason: this warning is false postive - from: vmware.json - - - code: docLinkLocale - reason: false positives - from: vmware.json - - - code: PropertiesTypeObjectNoDefinition - reason: false positives - from: vmware.json - - - code: LatestVersionOfCommonTypesMustBeUsed - reason: this warning is TODO - from: vmware.json - - - code: AvoidAdditionalProperties - reasons: this is how TypeSpec models records - from: vmware.json - - - code: XmsPageableForListCalls - reasons: This is a TypeSpec @singleton. - from: vmware.json - # where: WorkloadNetworks_Get - - - code: DeleteResponseCodes - reasons: false positives - # delete is ArmResourceDeleteAsync; - - - code: RequestBodyMustExistForPutPatch - reasons: false positives - # createOrUpdate is ArmResourceCreateOrUpdateAsync; - - - code: PatchBodyParametersSchema - reasons: false positives - # https://github.com/Azure/azure-sdk-tools/issues/7802 - - - code: EvenSegmentedPathForPutOperation - reasons: false positives - # https://github.com/Azure/azure-sdk-tools/issues/7801 - -``` - ## TypeScript See configuration in [readme.typescript.md](./readme.typescript.md) From 80fd9bdfd8d9c0c99edbbbbc93fd3f2e8299514e Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 12 Mar 2024 22:14:43 -0400 Subject: [PATCH 25/27] add minimal suppressions back (#28234) --- specification/vmware/Microsoft.AVS/main.tsp | 1 + specification/vmware/Microsoft.AVS/models.tsp | 2 +- .../stable/2023-09-01/vmware.json | 882 +++++++++--------- .../vmware/resource-manager/readme.md | 103 ++ 4 files changed, 546 insertions(+), 442 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/main.tsp b/specification/vmware/Microsoft.AVS/main.tsp index fd80bf75cd33..ef633b4e88ed 100644 --- a/specification/vmware/Microsoft.AVS/main.tsp +++ b/specification/vmware/Microsoft.AVS/main.tsp @@ -20,5 +20,6 @@ enum Versions { @doc("Azure VMware Solution API version 2023-03-01.") @useDependency(Azure.Core.Versions.v1_0_Preview_2) @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) v2023_09_01: "2023-09-01", } diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index 38cccc36fcf5..7255aff0c954 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -528,7 +528,7 @@ model Location is ProxyResource { @segment("locations") @Azure.ResourceManager.Private.armCommonParameter( "LocationParameter", - Azure.ResourceManager.CommonTypes.Versions.v3 + Azure.ResourceManager.CommonTypes.Versions.v5 ) name: string; } diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index bb0c63bbf78f..1ff2e33706e9 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -110,20 +110,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -146,13 +146,13 @@ "description": "Return quota for subscription by region", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" } ], "responses": { @@ -165,7 +165,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -185,13 +185,13 @@ "description": "Return trial status for subscription by region", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { "name": "sku", @@ -199,7 +199,7 @@ "description": "Optionally, check for a specific SKU", "required": false, "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Sku" } } ], @@ -213,7 +213,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -236,10 +236,10 @@ "description": "List PrivateCloud resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -252,7 +252,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -278,13 +278,13 @@ "description": "List PrivateCloud resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -297,7 +297,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -323,13 +323,13 @@ "description": "Get a PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -350,7 +350,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -371,13 +371,13 @@ "description": "Create a PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -421,7 +421,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -446,13 +446,13 @@ "description": "Update a PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -499,7 +499,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -524,13 +524,13 @@ "description": "Delete a PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -565,7 +565,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -589,13 +589,13 @@ "description": "List Addon resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -616,7 +616,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -639,13 +639,13 @@ "description": "Get a Addon", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -674,7 +674,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -701,13 +701,13 @@ "description": "Create a Addon", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -759,7 +759,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -790,13 +790,13 @@ "description": "Delete a Addon", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -839,7 +839,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -863,13 +863,13 @@ "description": "List ExpressRouteAuthorization resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -890,7 +890,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -913,13 +913,13 @@ "description": "Get a ExpressRouteAuthorization", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -948,7 +948,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -966,13 +966,13 @@ "description": "Create a ExpressRouteAuthorization", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1024,7 +1024,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1046,13 +1046,13 @@ "description": "Delete a ExpressRouteAuthorization", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1095,7 +1095,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1119,13 +1119,13 @@ "description": "List CloudLink resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1146,7 +1146,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1169,13 +1169,13 @@ "description": "Get a CloudLink", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1204,7 +1204,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1222,13 +1222,13 @@ "description": "Create a CloudLink", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1280,7 +1280,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1302,13 +1302,13 @@ "description": "Delete a CloudLink", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1351,7 +1351,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1375,13 +1375,13 @@ "description": "List Cluster resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1402,7 +1402,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1425,13 +1425,13 @@ "description": "Get a Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1460,7 +1460,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1478,13 +1478,13 @@ "description": "Create a Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1536,7 +1536,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1558,13 +1558,13 @@ "description": "Update a Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1619,7 +1619,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1641,13 +1641,13 @@ "description": "Delete a Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1690,7 +1690,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1714,13 +1714,13 @@ "description": "List Datastore resources by Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1749,7 +1749,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1772,13 +1772,13 @@ "description": "Get a Datastore", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1815,7 +1815,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1833,13 +1833,13 @@ "description": "Create a Datastore", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1899,7 +1899,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1921,13 +1921,13 @@ "description": "Delete a Datastore", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -1978,7 +1978,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2002,13 +2002,13 @@ "description": "List hosts by zone in a cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2037,7 +2037,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2060,13 +2060,13 @@ "description": "List PlacementPolicy resources by Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2095,7 +2095,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2118,13 +2118,13 @@ "description": "Get a PlacementPolicy", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2161,7 +2161,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2179,13 +2179,13 @@ "description": "Create a PlacementPolicy", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2245,7 +2245,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2267,13 +2267,13 @@ "description": "Update a PlacementPolicy", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2336,7 +2336,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2358,13 +2358,13 @@ "description": "Delete a PlacementPolicy", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2415,7 +2415,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2439,13 +2439,13 @@ "description": "List VirtualMachine resources by Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2474,7 +2474,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2497,13 +2497,13 @@ "description": "Get a VirtualMachine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2540,7 +2540,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2560,13 +2560,13 @@ "description": "Enable or disable DRS-driven VM movement restriction", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2620,7 +2620,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2644,13 +2644,13 @@ "description": "List GlobalReachConnection resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2671,7 +2671,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2694,13 +2694,13 @@ "description": "Get a GlobalReachConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2729,7 +2729,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2747,13 +2747,13 @@ "description": "Create a GlobalReachConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2805,7 +2805,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2827,13 +2827,13 @@ "description": "Delete a GlobalReachConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2876,7 +2876,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2900,13 +2900,13 @@ "description": "List HcxEnterpriseSite resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2927,7 +2927,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2950,13 +2950,13 @@ "description": "Get a HcxEnterpriseSite", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -2985,7 +2985,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3003,13 +3003,13 @@ "description": "Create a HcxEnterpriseSite", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3054,7 +3054,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3072,13 +3072,13 @@ "description": "Delete a HcxEnterpriseSite", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3107,7 +3107,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3127,13 +3127,13 @@ "description": "List IscsiPath resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3154,7 +3154,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3177,13 +3177,13 @@ "description": "Get a IscsiPath", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3204,7 +3204,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3222,13 +3222,13 @@ "description": "Create a IscsiPath", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3271,7 +3271,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3293,13 +3293,13 @@ "description": "Delete a IscsiPath", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3334,7 +3334,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3358,13 +3358,13 @@ "description": "List the admin credentials for the private cloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3385,7 +3385,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3405,13 +3405,13 @@ "description": "Rotate the NSX-T Manager password", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3443,7 +3443,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3467,13 +3467,13 @@ "description": "Rotate the vCenter password", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3505,7 +3505,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3529,13 +3529,13 @@ "description": "List ScriptExecution resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3556,7 +3556,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3579,13 +3579,13 @@ "description": "Get a ScriptExecution", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3614,7 +3614,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3632,13 +3632,13 @@ "description": "Create a ScriptExecution", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3690,7 +3690,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3712,13 +3712,13 @@ "description": "Delete a ScriptExecution", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3761,7 +3761,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3785,13 +3785,13 @@ "description": "Return the logs for a script execution resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3832,7 +3832,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3852,13 +3852,13 @@ "description": "List ScriptPackage resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3879,7 +3879,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3902,13 +3902,13 @@ "description": "Get a ScriptPackage", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3937,7 +3937,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3957,13 +3957,13 @@ "description": "List ScriptCmdlet resources by ScriptPackage", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -3992,7 +3992,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4015,13 +4015,13 @@ "description": "Get a ScriptCmdlet", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4058,7 +4058,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4078,13 +4078,13 @@ "description": "List WorkloadNetwork resources by PrivateCloud", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4105,7 +4105,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4128,13 +4128,13 @@ "description": "Get a WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4155,7 +4155,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4172,13 +4172,13 @@ "description": "List WorkloadNetworkDhcp resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4199,7 +4199,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4219,13 +4219,13 @@ "description": "Get a WorkloadNetworkDhcp", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/DhcpIdParameter" @@ -4244,7 +4244,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4259,13 +4259,13 @@ "description": "Create a WorkloadNetworkDhcp", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4317,7 +4317,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4336,13 +4336,13 @@ "description": "Update a WorkloadNetworkDhcp", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4395,7 +4395,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4414,13 +4414,13 @@ "description": "Delete a WorkloadNetworkDhcp", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4463,7 +4463,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4484,13 +4484,13 @@ "description": "List WorkloadNetworkDnsService resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4511,7 +4511,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4531,13 +4531,13 @@ "description": "Get a WorkloadNetworkDnsService", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4566,7 +4566,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4581,13 +4581,13 @@ "description": "Create a WorkloadNetworkDnsService", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4639,7 +4639,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4658,13 +4658,13 @@ "description": "Update a WorkloadNetworkDnsService", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4717,7 +4717,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4736,13 +4736,13 @@ "description": "Delete a WorkloadNetworkDnsService", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/DnsServiceIdParameter" @@ -4775,7 +4775,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4796,13 +4796,13 @@ "description": "List WorkloadNetworkDnsZone resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4823,7 +4823,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4843,13 +4843,13 @@ "description": "Get a WorkloadNetworkDnsZone", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4878,7 +4878,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4893,13 +4893,13 @@ "description": "Create a WorkloadNetworkDnsZone", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -4951,7 +4951,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -4970,13 +4970,13 @@ "description": "Update a WorkloadNetworkDnsZone", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5029,7 +5029,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5048,13 +5048,13 @@ "description": "Delete a WorkloadNetworkDnsZone", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/DnsZoneIdParameter" @@ -5087,7 +5087,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5111,13 +5111,13 @@ "description": "List WorkloadNetworkGateway resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5138,7 +5138,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5161,13 +5161,13 @@ "description": "Get a WorkloadNetworkGateway", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5196,7 +5196,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5213,13 +5213,13 @@ "description": "List WorkloadNetworkPortMirroring resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5240,7 +5240,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5260,13 +5260,13 @@ "description": "Get a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5295,7 +5295,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5310,13 +5310,13 @@ "description": "Create a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5368,7 +5368,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5387,13 +5387,13 @@ "description": "Update a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5446,7 +5446,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5465,13 +5465,13 @@ "description": "Delete a WorkloadNetworkPortMirroring", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/PortMirroringProfileParameter" @@ -5504,7 +5504,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5525,13 +5525,13 @@ "description": "List WorkloadNetworkPublicIP resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5552,7 +5552,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5572,13 +5572,13 @@ "description": "Get a WorkloadNetworkPublicIP", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5607,7 +5607,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5622,13 +5622,13 @@ "description": "Create a WorkloadNetworkPublicIP", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5680,7 +5680,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5699,13 +5699,13 @@ "description": "Delete a WorkloadNetworkPublicIP", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/PublicIPIdParameter" @@ -5738,7 +5738,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5762,13 +5762,13 @@ "description": "List WorkloadNetworkSegment resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5789,7 +5789,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5812,13 +5812,13 @@ "description": "Get a WorkloadNetworkSegment", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5847,7 +5847,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5865,13 +5865,13 @@ "description": "Create a WorkloadNetworkSegment", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -5923,7 +5923,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -5945,13 +5945,13 @@ "description": "Update a WorkloadNetworkSegment", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6004,7 +6004,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6026,13 +6026,13 @@ "description": "Delete a WorkloadNetworkSegment", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6075,7 +6075,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6099,13 +6099,13 @@ "description": "List WorkloadNetworkVirtualMachine resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6126,7 +6126,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6149,13 +6149,13 @@ "description": "Get a WorkloadNetworkVirtualMachine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6184,7 +6184,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6201,13 +6201,13 @@ "description": "List WorkloadNetworkVMGroup resources by WorkloadNetwork", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6228,7 +6228,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6248,13 +6248,13 @@ "description": "Get a WorkloadNetworkVMGroup", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6283,7 +6283,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6298,13 +6298,13 @@ "description": "Create a WorkloadNetworkVMGroup", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6356,7 +6356,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6375,13 +6375,13 @@ "description": "Update a WorkloadNetworkVMGroup", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "privateCloudName", @@ -6434,7 +6434,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6453,13 +6453,13 @@ "description": "Delete a WorkloadNetworkVMGroup", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/VmGroupIdParameter" @@ -6492,7 +6492,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -6525,7 +6525,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -6916,7 +6916,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -7049,7 +7049,7 @@ ] }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", "description": "The SKU (Stock Keeping Unit) assigned to this resource." } }, @@ -7058,7 +7058,7 @@ ], "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -7171,7 +7171,7 @@ "description": "An update of a cluster resource", "properties": { "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", "description": "The SKU (Stock Keeping Unit) assigned to this resource." }, "properties": { @@ -7248,7 +7248,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -7769,7 +7769,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -7873,7 +7873,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -8015,7 +8015,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -8217,7 +8217,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -8452,7 +8452,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -8718,11 +8718,11 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", "description": "The SKU (Stock Keeping Unit) assigned to this resource." }, "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/SystemAssignedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, @@ -8731,7 +8731,7 @@ ], "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -8988,11 +8988,11 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Sku", "description": "The SKU (Stock Keeping Unit) assigned to this resource." }, "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/SystemAssignedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity", "description": "The managed service identities assigned to this resource." }, "properties": { @@ -9107,7 +9107,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -9239,7 +9239,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -9526,7 +9526,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -9891,7 +9891,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -10123,7 +10123,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -10143,7 +10143,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -10388,7 +10388,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -10534,7 +10534,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -10679,7 +10679,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -10763,7 +10763,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -10962,7 +10962,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -11078,7 +11078,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -11249,7 +11249,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -11383,7 +11383,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 6d93aaafefad..fee1161caac7 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -115,6 +115,8 @@ swagger-to-sdk: - repo: azure-powershell ``` +## Suppression + ``` yaml directive: @@ -124,6 +126,107 @@ directive: - $.definitions.Addon.properties.properties - $.definitions.PlacementPolicy.properties.properties - $.definitions.WorkloadNetworkDhcp.properties.properties + +suppressions: + + - code: pathresourceprovidernamepascalcase + reason: Microsoft.AVS was chosen over Microsoft.AzureVMwareSolution + from: vmware.json + + - code: ParametersOrder + reason: Breaking change to update the parameters order + from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].get + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].delete + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].delete + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].delete + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].delete + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].delete + + - code: ConsistentPatchProperties + reason: The PlacementPolicies_Update properties are consistent for the discriminator hierarchy. + from: vmware.json + # where: + # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.vmMembers + # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.hostMembers + # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.affinityStrength + # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.azureHybridBenefitType + + - code: DefinitionsPropertiesNamesCamelCase + reason: Breaking change to update existing property names + from: vmware.json + where: + - $.definitions.Circuit.properties.expressRouteID + - $.definitions.Circuit.properties.expressRoutePrivatePeeringID + - $.definitions.IdentitySource.properties.baseUserDN + - $.definitions.IdentitySource.properties.baseGroupDN + - $.definitions.WorkloadNetworkPublicIPProperties.properties.numberOfPublicIPs + - $.definitions.WorkloadNetworkPublicIPProperties.properties.publicIPBlock + - $.definitions.WorkloadNetworkPublicIPProperties.properties.numberOfPublicIPs + + - code: DeleteOperationAsyncResponseValidation + reason: x-ms-long-running-operation-options does not need to be set if you follow ARM guidelines + # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options + from: vmware.json + + - code: PatchSkuProperty + reason: sku can not be updated + from: vmware.json + + - code: PatchResponseCodes + reason: PrivateClouds_Update and Clusters_Update respond with 201 instead of 202. Changing it is breaking. + from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch + + - code: LroPatch202 + reason: PrivateClouds_Update and Clusters_Update respond with 201 instead of 202. Changing it is breaking. + from: vmware.json + # where: + # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch + # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch + + - code: PostResponseCodes + reason: PrivateClouds_RotateNsxtPassword & PrivateClouds_RotateVcenterPassword respond with 202 & 204. Changing it is breaking. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword"].post + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword"].post + + - code: XmsLongRunningOperationOptions + reason: This option is designed for cases where the server does NOT follow ARM guidelines + # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options + from: vmware.json + + - code: XmsClientName + reason: false positives + from: vmware.json + + - code: XmsClientNameParameter + reason: this warning is false postive + from: vmware.json + + - code: docLinkLocale + reason: false positives + from: vmware.json + + - code: XmsPageableForListCalls + reasons: This are gets on a TypeSpec @singleton. These are false positives. + from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default"].get + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default"].get + + - code: DeleteResponseCodes + reasons: ArmResourceDeleteAsync is still being used. Moving to ArmResourceDeleteWithoutOkAsync is breaking. + + - code: PatchBodyParametersSchema + reasons: False positives. https://github.com/Azure/azure-sdk-tools/issues/7802 + + - code: EvenSegmentedPathForPutOperation + reasons: False positives. https://github.com/Azure/azure-sdk-tools/issues/7801 + ``` ## TypeScript From 3e688c08b1dc1cf6c9a271199a46071e7a786fb4 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 13 Mar 2024 11:04:58 -0300 Subject: [PATCH 26/27] do not specify x-ms-long-running-operation-options for VirtualMachines_RestrictMovement --- specification/vmware/Microsoft.AVS/routes.tsp | 6 ------ .../Microsoft.AVS/stable/2023-09-01/vmware.json | 3 --- 2 files changed, 9 deletions(-) diff --git a/specification/vmware/Microsoft.AVS/routes.tsp b/specification/vmware/Microsoft.AVS/routes.tsp index 0da3d33d453a..0c39b9f2ab2e 100644 --- a/specification/vmware/Microsoft.AVS/routes.tsp +++ b/specification/vmware/Microsoft.AVS/routes.tsp @@ -776,12 +776,6 @@ interface VirtualMachines { @armResourceAction(Location) @post @extension("x-ms-long-running-operation", true) - @extension( - "x-ms-long-running-operation-options", - { - `final-state-via`: "azure-async-operation", - } - ) restrictMovement( ...ResourceInstanceParameters, diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 1ff2e33706e9..9e683a527266 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -2629,9 +2629,6 @@ "$ref": "./examples/VirtualMachines_RestrictMovement.json" } }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-long-running-operation": true } }, From 1d629fcbb96ceb1cd2c26de15ac9767b85172720 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Fri, 15 Mar 2024 12:43:56 -0400 Subject: [PATCH 27/27] specify paths for suppressions (#28281) --- .../vmware/resource-manager/readme.md | 127 ++++++++++++++---- 1 file changed, 98 insertions(+), 29 deletions(-) diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index fee1161caac7..edc6d37482fc 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -147,11 +147,8 @@ suppressions: - code: ConsistentPatchProperties reason: The PlacementPolicies_Update properties are consistent for the discriminator hierarchy. from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.vmMembers - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.hostMembers - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.affinityStrength - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters.placementPolicyUpdate.azureHybridBenefitType + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].patch.parameters[6]["schema"] - code: DefinitionsPropertiesNamesCamelCase reason: Breaking change to update existing property names @@ -165,15 +162,6 @@ suppressions: - $.definitions.WorkloadNetworkPublicIPProperties.properties.publicIPBlock - $.definitions.WorkloadNetworkPublicIPProperties.properties.numberOfPublicIPs - - code: DeleteOperationAsyncResponseValidation - reason: x-ms-long-running-operation-options does not need to be set if you follow ARM guidelines - # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options - from: vmware.json - - - code: PatchSkuProperty - reason: sku can not be updated - from: vmware.json - - code: PatchResponseCodes reason: PrivateClouds_Update and Clusters_Update respond with 201 instead of 202. Changing it is breaking. from: vmware.json @@ -184,9 +172,9 @@ suppressions: - code: LroPatch202 reason: PrivateClouds_Update and Clusters_Update respond with 201 instead of 202. Changing it is breaking. from: vmware.json - # where: - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch.responses + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch.responses - code: PostResponseCodes reason: PrivateClouds_RotateNsxtPassword & PrivateClouds_RotateVcenterPassword respond with 202 & 204. Changing it is breaking. @@ -194,22 +182,92 @@ suppressions: - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword"].post - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword"].post - - code: XmsLongRunningOperationOptions - reason: This option is designed for cases where the server does NOT follow ARM guidelines - # https://azure.github.io/autorest/extensions/#x-ms-long-running-operation-options - from: vmware.json - - code: XmsClientName - reason: false positives + reason: False positives. https://github.com/Azure/azure-sdk-tools/issues/7886 from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].put.parameters[4] # privateCloud + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}"].put.parameters[5] # addon + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}"].put.parameters[5] # authorization + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}"].put.parameters[5] # cloudLink + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].put.parameters[5] # cluster + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}"].put.parameters[6] # datastore + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].put.parameters[6] # placementPolicy + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}"].put.parameters[5] # globalReachConnection + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}"].put.parameters[5] # hcxEnterpriseSite + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}"].put.parameters[5] # scriptExecution + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].patch.parameters[5] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].put.parameters[5] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].patch.parameters[5] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].put.parameters[5] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].patch.parameters[5] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].put.parameters[5] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].put.parameters[5] # workloadNetworkPublicIP + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch.parameters[5] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].put.parameters[5] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].patch.parameters[5] # workloadNetworkVmGroup + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].put.parameters[5] # workloadNetworkVmGroup - code: XmsClientNameParameter - reason: this warning is false postive + reason: False positives. https://github.com/Azure/azure-sdk-tools/issues/7887 from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].put.parameters[4]["x-ms-client-name"] # privateCloud + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}"].put.parameters[5]["x-ms-client-name"] # addon + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}"].put.parameters[5]["x-ms-client-name"] # authorization + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}"].put.parameters[5]["x-ms-client-name"] # cloudLink + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].put.parameters[5]["x-ms-client-name"] # cluster + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}"].put.parameters[6]["x-ms-client-name"] # datastore + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].put.parameters[6]["x-ms-client-name"] # placementPolicy + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}"].put.parameters[5]["x-ms-client-name"] # globalReachConnection + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}"].put.parameters[5]["x-ms-client-name"] # hcxEnterpriseSite + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}"].put.parameters[5]["x-ms-client-name"] # scriptExecution + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPublicIP + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup - code: docLinkLocale - reason: false positives + reason: False positives. https://github.com/Azure/azure-sdk-tools/issues/7888 from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].put.parameters[4]["x-ms-client-name"] # privateCloud + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}"].put.parameters[5]["x-ms-client-name"] # addon + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}"].put.parameters[5]["x-ms-client-name"] # authorization + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}"].put.parameters[5]["x-ms-client-name"] # cloudLink + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].put.parameters[5]["x-ms-client-name"] # cluster + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}"].put.parameters[6]["x-ms-client-name"] # datastore + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}"].put.parameters[6]["x-ms-client-name"] # placementPolicy + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}"].put.parameters[5]["x-ms-client-name"] # globalReachConnection + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}"].put.parameters[5]["x-ms-client-name"] # hcxEnterpriseSite + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}"].put.parameters[5]["x-ms-client-name"] # scriptExecution + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDhcp + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsService + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkDnsZone + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPortMirroring + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkPublicIP + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkSegment + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].patch.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"].put.parameters[5]["x-ms-client-name"] # workloadNetworkVmGroup - code: XmsPageableForListCalls reasons: This are gets on a TypeSpec @singleton. These are false positives. @@ -218,15 +276,26 @@ suppressions: - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default"].get - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default"].get - - code: DeleteResponseCodes - reasons: ArmResourceDeleteAsync is still being used. Moving to ArmResourceDeleteWithoutOkAsync is breaking. - - code: PatchBodyParametersSchema reasons: False positives. https://github.com/Azure/azure-sdk-tools/issues/7802 + from: vmware.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch.parameters[4].schema.properties.identity + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}"].patch.parameters[4].schema.properties.sku + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}"].patch.parameters[5].schema.properties.sku + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"].patch.parameters[5].schema.properties.properties - code: EvenSegmentedPathForPutOperation reasons: False positives. https://github.com/Azure/azure-sdk-tools/issues/7801 - + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}"] ``` ## TypeScript