From 34d4b28da15e73833ac4bc8f54fef0a6572c49d7 Mon Sep 17 00:00:00 2001 From: Ana Arias Rosales Date: Fri, 13 Jun 2025 00:05:36 -0400 Subject: [PATCH 1/3] test recordings and docs updated --- .../Properties/AssemblyInfo.cs | 4 + src/VMware/VMware.Autorest/README.md | 4 +- .../UX/Microsoft.AVS/locations.json | 2 +- .../privateClouds-authorizations.json | 2 +- .../privateClouds-cloudLinks.json | 2 +- .../privateClouds-clusters-datastores.json | 2 +- .../privateClouds-clusters-hosts.json | 57 +++ ...vateClouds-clusters-placementPolicies.json | 2 +- ...rivateClouds-clusters-virtualMachines.json | 2 +- .../Microsoft.AVS/privateClouds-clusters.json | 2 +- .../privateClouds-globalReachConnections.json | 2 +- .../privateClouds-provisionedNetworks.json | 52 +++ .../privateClouds-pureStoragePolicies.json | 95 +++++ .../UX/Microsoft.AVS/privateClouds.json | 2 +- src/VMware/VMware.Autorest/docs/Az.VMware.md | 53 ++- .../VMware.Autorest/docs/Get-AzVMwareHost.md | 231 ++++++++++++ .../docs/Get-AzVMwareProvisionedNetwork.md | 196 ++++++++++ .../docs/Get-AzVMwarePureStoragePolicy.md | 193 ++++++++++ .../VMware.Autorest/docs/Get-AzVMwareSku.md | 85 +++++ .../docs/New-AzVMwareAuthorization.md | 4 +- .../docs/New-AzVMwareCloudLink.md | 4 +- .../docs/New-AzVMwareCluster.md | 4 +- .../docs/New-AzVMwareDatastore.md | 51 ++- .../docs/New-AzVMwareGlobalReachConnection.md | 4 +- .../docs/New-AzVMwareIscsiPath.md | 4 +- .../docs/New-AzVMwarePlacementPolicy.md | 4 +- .../docs/New-AzVMwarePureStoragePolicy.md | 270 ++++++++++++++ .../docs/Remove-AzVMwarePureStoragePolicy.md | 246 +++++++++++++ .../docs/Update-AzVMwareAuthorization.md | 4 +- .../docs/Update-AzVMwareCloudLink.md | 4 +- .../docs/Update-AzVMwareCluster.md | 4 +- .../docs/Update-AzVMwareDatastore.md | 52 ++- .../Update-AzVMwareGlobalReachConnection.md | 4 +- .../docs/Update-AzVMwareIscsiPath.md | 4 +- .../docs/Update-AzVMwarePlacementPolicy.md | 4 +- .../docs/Update-AzVMwarePrivateCloud.md | 27 +- .../docs/Update-AzVMwarePureStoragePolicy.md | 270 ++++++++++++++ .../examples/Get-AzVMwareHost.md | 27 ++ .../Get-AzVMwareProvisionedNetwork.md | 28 ++ .../examples/Get-AzVMwarePureStoragePolicy.md | 26 ++ .../examples/Get-AzVMwareSku.md | 14 + .../examples/New-AzVMwarePureStoragePolicy.md | 12 + .../Remove-AzVMwarePureStoragePolicy.md | 6 + .../Update-AzVMwarePureStoragePolicy.md | 12 + src/VMware/VMware.Autorest/generate-info.json | 2 +- .../test/AzVMwareAddon.Recording.json | 119 +++--- .../test/AzVMwareAuthorization.Recording.json | 119 +++--- .../test/AzVMwareCloudLink.Recording.json | 95 +++-- .../test/AzVMwareCluster.Recording.json | 186 ++++++---- .../test/AzVMwareDatastore.Recording.json | 114 ++++-- ...VMwareGlobalReachConnection.Recording.json | 183 ++++++---- .../test/AzVMwareHost.Recording.json | 74 ++++ .../test/AzVMwareHost.Tests.ps1 | 30 ++ ...reLocationQuotaAvailability.Recording.json | 16 +- ...reLocationTrialAvailability.Recording.json | 10 +- .../AzVMwarePlacementPolicy.Recording.json | 202 +++++++---- .../test/AzVMwarePrivateCloud.Recording.json | 341 +++++++++++------- ...PrivateCloudAdminCredential.Recording.json | 16 +- ...arePrivateCloudNsxtPassword.Recording.json | 17 +- ...PrivateCloudVcenterPassword.Recording.json | 17 +- .../AzVMwareProvisionedNetwork.Recording.json | 74 ++++ .../test/AzVMwareProvisionedNetwork.Tests.ps1 | 29 ++ .../AzVMwarePureStoragePolicy.Recording.json | 316 ++++++++++++++++ .../test/AzVMwarePureStoragePolicy.Tests.ps1 | 41 +++ .../test/AzVMwareSku.Recording.json | 38 ++ .../test/AzVMwareSku.Tests.ps1 | 23 ++ .../AzVMwareVirtualMachine.Recording.json | 32 +- .../test/Get-AzVMwareHost.Tests.ps1 | 37 ++ .../Get-AzVMwareProvisionedNetwork.Tests.ps1 | 33 ++ .../Get-AzVMwarePureStoragePolicy.Tests.ps1 | 33 ++ .../test/Get-AzVMwareSku.Tests.ps1 | 21 ++ .../New-AzVMwarePureStoragePolicy.Tests.ps1 | 29 ++ ...Remove-AzVMwarePureStoragePolicy.Tests.ps1 | 29 ++ ...Update-AzVMwarePureStoragePolicy.Tests.ps1 | 29 ++ src/VMware/VMware.Autorest/test/env.json | 28 +- src/VMware/VMware/Az.VMware.psd1 | 18 +- src/VMware/VMware/help/Az.VMware.md | 21 ++ src/VMware/VMware/help/Get-AzVMwareHost.md | 233 ++++++++++++ .../help/Get-AzVMwareProvisionedNetwork.md | 197 ++++++++++ .../help/Get-AzVMwarePureStoragePolicy.md | 195 ++++++++++ src/VMware/VMware/help/Get-AzVMwareSku.md | 85 +++++ .../VMware/help/New-AzVMwareAuthorization.md | 4 +- .../VMware/help/New-AzVMwareCloudLink.md | 4 +- src/VMware/VMware/help/New-AzVMwareCluster.md | 4 +- .../VMware/help/New-AzVMwareDatastore.md | 54 ++- .../help/New-AzVMwareGlobalReachConnection.md | 4 +- .../VMware/help/New-AzVMwareIscsiPath.md | 4 +- ...arePSCredentialExecutionParameterObject.md | 2 +- .../help/New-AzVMwarePlacementPolicy.md | 4 +- .../help/New-AzVMwarePureStoragePolicy.md | 269 ++++++++++++++ ...iptSecureStringExecutionParameterObject.md | 2 +- .../help/Remove-AzVMwarePureStoragePolicy.md | 246 +++++++++++++ .../help/Update-AzVMwareAuthorization.md | 4 +- .../VMware/help/Update-AzVMwareCloudLink.md | 4 +- .../VMware/help/Update-AzVMwareCluster.md | 4 +- .../VMware/help/Update-AzVMwareDatastore.md | 54 ++- .../Update-AzVMwareGlobalReachConnection.md | 4 +- .../VMware/help/Update-AzVMwareIscsiPath.md | 4 +- .../help/Update-AzVMwarePlacementPolicy.md | 4 +- .../help/Update-AzVMwarePrivateCloud.md | 27 +- .../help/Update-AzVMwarePureStoragePolicy.md | 269 ++++++++++++++ 101 files changed, 5450 insertions(+), 680 deletions(-) create mode 100644 src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-hosts.json create mode 100644 src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-provisionedNetworks.json create mode 100644 src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-pureStoragePolicies.json create mode 100644 src/VMware/VMware.Autorest/docs/Get-AzVMwareHost.md create mode 100644 src/VMware/VMware.Autorest/docs/Get-AzVMwareProvisionedNetwork.md create mode 100644 src/VMware/VMware.Autorest/docs/Get-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/docs/Get-AzVMwareSku.md create mode 100644 src/VMware/VMware.Autorest/docs/New-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/docs/Remove-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/docs/Update-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/examples/Get-AzVMwareHost.md create mode 100644 src/VMware/VMware.Autorest/examples/Get-AzVMwareProvisionedNetwork.md create mode 100644 src/VMware/VMware.Autorest/examples/Get-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/examples/Get-AzVMwareSku.md create mode 100644 src/VMware/VMware.Autorest/examples/New-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/examples/Remove-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/examples/Update-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware.Autorest/test/AzVMwareHost.Recording.json create mode 100644 src/VMware/VMware.Autorest/test/AzVMwareHost.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Recording.json create mode 100644 src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Recording.json create mode 100644 src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/AzVMwareSku.Recording.json create mode 100644 src/VMware/VMware.Autorest/test/AzVMwareSku.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/Get-AzVMwareHost.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/Get-AzVMwareProvisionedNetwork.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/Get-AzVMwarePureStoragePolicy.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/Get-AzVMwareSku.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/New-AzVMwarePureStoragePolicy.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/Remove-AzVMwarePureStoragePolicy.Tests.ps1 create mode 100644 src/VMware/VMware.Autorest/test/Update-AzVMwarePureStoragePolicy.Tests.ps1 create mode 100644 src/VMware/VMware/help/Get-AzVMwareHost.md create mode 100644 src/VMware/VMware/help/Get-AzVMwareProvisionedNetwork.md create mode 100644 src/VMware/VMware/help/Get-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware/help/Get-AzVMwareSku.md create mode 100644 src/VMware/VMware/help/New-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware/help/Remove-AzVMwarePureStoragePolicy.md create mode 100644 src/VMware/VMware/help/Update-AzVMwarePureStoragePolicy.md diff --git a/src/VMware/VMware.Autorest/Properties/AssemblyInfo.cs b/src/VMware/VMware.Autorest/Properties/AssemblyInfo.cs index c728c035de4a..43d436c9cda5 100644 --- a/src/VMware/VMware.Autorest/Properties/AssemblyInfo.cs +++ b/src/VMware/VMware.Autorest/Properties/AssemblyInfo.cs @@ -24,3 +24,7 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.7.2")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] + + + + diff --git a/src/VMware/VMware.Autorest/README.md b/src/VMware/VMware.Autorest/README.md index 8ce9241623ec..6e04b027bb7a 100644 --- a/src/VMware/VMware.Autorest/README.md +++ b/src/VMware/VMware.Autorest/README.md @@ -44,11 +44,11 @@ In this directory, run AutoRest: > see https://aka.ms/autorest ``` yaml -commit: f1546dc981fa5d164d7ecd13588520457462c22c +commit: a8db86234cec7d3f4f6139db0230f22f234af675 require: - $(this-folder)/../../readme.azure.noprofile.md input-file: - - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json + - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/vmware.json module-version: 0.4.0 title: VMware diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json index 5a7d76dcaa97..22a20dd5201d 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json @@ -1,6 +1,6 @@ { "resourceType": "locations", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json index 649f8c7f9f9f..75bdd0691d68 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-authorizations.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds/authorizations", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json index e1f42758c9ae..56b36fe2e59d 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-cloudLinks.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds/cloudLinks", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json index 3e65e3996051..37808be85890 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-datastores.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds/clusters/datastores", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-hosts.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-hosts.json new file mode 100644 index 000000000000..eaa4470045e2 --- /dev/null +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-hosts.json @@ -0,0 +1,57 @@ +{ + "resourceType": "privateClouds/clusters/hosts", + "apiVersion": "2024-09-01", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.vmware" + }, + "commands": [ + { + "name": "Get-AzVMwareHost", + "description": "Get a Host", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts/{hostId}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarehost" + }, + "parameterSets": [ + { + "parameters": [ + "-ClusterName ", + "-Id ", + "-PrivateCloudName ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Get a Host", + "parameters": [ + { + "name": "-ClusterName", + "value": "[Path.clusterName]" + }, + { + "name": "-Id", + "value": "[Path.hostId]" + }, + { + "name": "-PrivateCloudName", + "value": "[Path.privateCloudName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json index 335ea0fb0922..492d83fac5ff 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-placementPolicies.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds/clusters/placementPolicies", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json index db15345b9eeb..fd52f6ad9c4a 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters-virtualMachines.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds/clusters/virtualMachines", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json index 740cd32979e1..f181b2928d03 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-clusters.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds/clusters", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json index 2942935122a7..b03ca9354e3d 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-globalReachConnections.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds/globalReachConnections", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-provisionedNetworks.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-provisionedNetworks.json new file mode 100644 index 000000000000..a75a7f0a4bf6 --- /dev/null +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-provisionedNetworks.json @@ -0,0 +1,52 @@ +{ + "resourceType": "privateClouds/provisionedNetworks", + "apiVersion": "2024-09-01", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.vmware" + }, + "commands": [ + { + "name": "Get-AzVMwareProvisionedNetwork", + "description": "Get a ProvisionedNetwork", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareprovisionednetwork" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-PrivateCloudName ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Get a ProvisionedNetwork", + "parameters": [ + { + "name": "-Name", + "value": "[Path.provisionedNetworkName]" + }, + { + "name": "-PrivateCloudName", + "value": "[Path.privateCloudName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-pureStoragePolicies.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-pureStoragePolicies.json new file mode 100644 index 000000000000..5d8db8554ac6 --- /dev/null +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds-pureStoragePolicies.json @@ -0,0 +1,95 @@ +{ + "resourceType": "privateClouds/pureStoragePolicies", + "apiVersion": "2024-09-01", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.vmware" + }, + "commands": [ + { + "name": "Get-AzVMwarePureStoragePolicy", + "description": "Get a PureStoragePolicy", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarepurestoragepolicy" + }, + "parameterSets": [ + { + "parameters": [ + "-PrivateCloudName ", + "-ResourceGroupName ", + "-StoragePolicyName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Get a PureStoragePolicy", + "parameters": [ + { + "name": "-PrivateCloudName", + "value": "[Path.privateCloudName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-StoragePolicyName", + "value": "[Path.storagePolicyName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Remove-AzVMwarePureStoragePolicy", + "description": "Delete a PureStoragePolicy", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwarepurestoragepolicy" + }, + "parameterSets": [ + { + "parameters": [ + "-PrivateCloudName ", + "-ResourceGroupName ", + "-StoragePolicyName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Delete a PureStoragePolicy", + "parameters": [ + { + "name": "-PrivateCloudName", + "value": "[Path.privateCloudName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-StoragePolicyName", + "value": "[Path.storagePolicyName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json index 2e96abe37143..91c1c9c405b2 100644 --- a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json +++ b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json @@ -1,6 +1,6 @@ { "resourceType": "privateClouds", - "apiVersion": "2023-09-01", + "apiVersion": "2024-09-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/docs/Az.VMware.md b/src/VMware/VMware.Autorest/docs/Az.VMware.md index 085a94d07746..b68508e4ef41 100644 --- a/src/VMware/VMware.Autorest/docs/Az.VMware.md +++ b/src/VMware/VMware.Autorest/docs/Az.VMware.md @@ -1,6 +1,6 @@ --- Module Name: Az.VMware -Module Guid: 03b1bace-0c6d-4ffc-9019-6af02c2b4b87 +Module Guid: 6bee2b60-5b08-4f28-b776-6dfda4fc70db Download Help Link: https://learn.microsoft.com/powershell/module/az.vmware Help Version: 1.0.0.0 Locale: en-US @@ -32,6 +32,9 @@ Get a Datastore ### [Get-AzVMwareGlobalReachConnection](Get-AzVMwareGlobalReachConnection.md) Get a GlobalReachConnection +### [Get-AzVMwareHost](Get-AzVMwareHost.md) +Get a Host + ### [Get-AzVMwareIscsiPath](Get-AzVMwareIscsiPath.md) Get a IscsiPath @@ -44,6 +47,15 @@ Get a PrivateCloud ### [Get-AzVMwarePrivateCloudAdminCredential](Get-AzVMwarePrivateCloudAdminCredential.md) List the admin credentials for the private cloud +### [Get-AzVMwareProvisionedNetwork](Get-AzVMwareProvisionedNetwork.md) +Get a ProvisionedNetwork + +### [Get-AzVMwarePureStoragePolicy](Get-AzVMwarePureStoragePolicy.md) +Get a PureStoragePolicy + +### [Get-AzVMwareSku](Get-AzVMwareSku.md) +A list of SKUs. + ### [Get-AzVMwareVirtualMachine](Get-AzVMwareVirtualMachine.md) Get a VirtualMachine @@ -57,25 +69,25 @@ Create an in-memory object for AddonSrmProperties. Create an in-memory object for AddonVrProperties. ### [New-AzVMwareAuthorization](New-AzVMwareAuthorization.md) -create a ExpressRouteAuthorization +Create a ExpressRouteAuthorization ### [New-AzVMwareCloudLink](New-AzVMwareCloudLink.md) -create a CloudLink +Create a CloudLink ### [New-AzVMwareCluster](New-AzVMwareCluster.md) -create a Cluster +Create a Cluster ### [New-AzVMwareDatastore](New-AzVMwareDatastore.md) -create a Datastore +Create a Datastore ### [New-AzVMwareGlobalReachConnection](New-AzVMwareGlobalReachConnection.md) -create a GlobalReachConnection +Create a GlobalReachConnection ### [New-AzVMwareIscsiPath](New-AzVMwareIscsiPath.md) -create a IscsiPath +Create a IscsiPath ### [New-AzVMwarePlacementPolicy](New-AzVMwarePlacementPolicy.md) -create a PlacementPolicy +Create a PlacementPolicy ### [New-AzVMwarePrivateCloud](New-AzVMwarePrivateCloud.md) Create a private cloud @@ -89,6 +101,9 @@ Rotate the vCenter password ### [New-AzVMwarePSCredentialExecutionParameterObject](New-AzVMwarePSCredentialExecutionParameterObject.md) Create an in-memory object for PSCredentialExecutionParameter. +### [New-AzVMwarePureStoragePolicy](New-AzVMwarePureStoragePolicy.md) +Create a PureStoragePolicy + ### [New-AzVMwareScriptSecureStringExecutionParameterObject](New-AzVMwareScriptSecureStringExecutionParameterObject.md) Create an in-memory object for ScriptSecureStringExecutionParameter. @@ -128,6 +143,9 @@ Delete a PlacementPolicy ### [Remove-AzVMwarePrivateCloud](Remove-AzVMwarePrivateCloud.md) Delete a private cloud +### [Remove-AzVMwarePureStoragePolicy](Remove-AzVMwarePureStoragePolicy.md) +Delete a PureStoragePolicy + ### [Test-AzVMwareLocationQuotaAvailability](Test-AzVMwareLocationQuotaAvailability.md) Return quota for subscription by region @@ -135,26 +153,29 @@ Return quota for subscription by region Return trial status for subscription by region ### [Update-AzVMwareAuthorization](Update-AzVMwareAuthorization.md) -update a ExpressRouteAuthorization +Update a ExpressRouteAuthorization ### [Update-AzVMwareCloudLink](Update-AzVMwareCloudLink.md) -update a CloudLink +Update a CloudLink ### [Update-AzVMwareCluster](Update-AzVMwareCluster.md) -update a Cluster +Update a Cluster ### [Update-AzVMwareDatastore](Update-AzVMwareDatastore.md) -update a Datastore +Update a Datastore ### [Update-AzVMwareGlobalReachConnection](Update-AzVMwareGlobalReachConnection.md) -update a GlobalReachConnection +Update a GlobalReachConnection ### [Update-AzVMwareIscsiPath](Update-AzVMwareIscsiPath.md) -update a IscsiPath +Update a IscsiPath ### [Update-AzVMwarePlacementPolicy](Update-AzVMwarePlacementPolicy.md) -update a PlacementPolicy +Update a PlacementPolicy ### [Update-AzVMwarePrivateCloud](Update-AzVMwarePrivateCloud.md) -update a PrivateCloud +Update a PrivateCloud + +### [Update-AzVMwarePureStoragePolicy](Update-AzVMwarePureStoragePolicy.md) +Update a PureStoragePolicy diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareHost.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareHost.md new file mode 100644 index 000000000000..918b4aab3b0b --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareHost.md @@ -0,0 +1,231 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarehost +schema: 2.0.0 +--- + +# Get-AzVMwareHost + +## SYNOPSIS +Get a Host + +## SYNTAX + +### List (Default) +``` +Get-AzVMwareHost -ClusterName -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzVMwareHost -ClusterName -Id -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzVMwareHost -InputObject [-DefaultProfile ] [] +``` + +### GetViaIdentityCluster +``` +Get-AzVMwareHost -ClusterInputObject -Id [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareHost -ClusterName -Id -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a Host + +## EXAMPLES + +### Example 1: List all hosts in a cluster +```powershell +Get-AzVMwareHost -ClusterName azps_test_cluster -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type SkuName ResourceGroupName Kind Maintenance +---- ---- ------- ----------------- ------------- ----------- +esx03-r52.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts av64 azps_test_group General +esx03-r60.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts av64 azps_test_group General Replacement +esx03-r65.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts azps_test_group Specialized +``` + +Lists all hosts in the specified cluster within the private cloud and resource group. + +### Example 2: Get a host by ID in a cluster +```powershell +Get-AzVMwareHost -ClusterName azps_test_cluster -Id esx03-r52.1111111111111111111.westcentralus.prod.azure.com -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type ResourceGroupName SkuName Kind +---- ---- ----------------- ------- ---- +esx03-r52.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts azps_test_group av64 General +``` + +Gets a specific host by its ID in the specified cluster, private cloud, and resource group. + +## PARAMETERS + +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterName +Name of the cluster + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityPrivateCloud, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +The host identifier. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityCluster, GetViaIdentityPrivateCloud +Aliases: HostId + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IHost + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareProvisionedNetwork.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareProvisionedNetwork.md new file mode 100644 index 000000000000..303f1b2a58e6 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareProvisionedNetwork.md @@ -0,0 +1,196 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareprovisionednetwork +schema: 2.0.0 +--- + +# Get-AzVMwareProvisionedNetwork + +## SYNOPSIS +Get a ProvisionedNetwork + +## SYNTAX + +### List (Default) +``` +Get-AzVMwareProvisionedNetwork -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzVMwareProvisionedNetwork -Name -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzVMwareProvisionedNetwork -InputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareProvisionedNetwork -Name -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a ProvisionedNetwork + +## EXAMPLES + +### Example 1: List all provisioned networks in a private cloud +```powershell +Get-AzVMwareProvisionedNetwork -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type AddressPrefix NetworkType ResourceGroupName +---- ---- ------------- ---------- ----------------- +vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group +esxvmot Microsoft.AVS/privateClouds/provisionedNetworks 10.0.1.128/25 esxvmot azps_test_group +mgmtvnet Microsoft.AVS/privateClouds/provisionedNetworks 10.0.3.128/26 mgmtvnet azps_test_group +``` + +Lists all provisioned networks in the specified private cloud and resource group. + +### Example 2: Get a provisioned network by name +```powershell +Get-AzVMwareProvisionedNetwork -Name vsan -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type AddressPrefix NetworkType ResourceGroupName +---- ---- ------------- ---------- ----------------- +vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group +``` + +Gets a specific provisioned network by name in the specified private cloud and resource group + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the cloud link. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityPrivateCloud +Aliases: ProvisionedNetworkName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IProvisionedNetwork + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..9d7284305b2d --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePureStoragePolicy.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarepurestoragepolicy +schema: 2.0.0 +--- + +# Get-AzVMwarePureStoragePolicy + +## SYNOPSIS +Get a PureStoragePolicy + +## SYNTAX + +### List (Default) +``` +Get-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzVMwarePureStoragePolicy -InputObject [-DefaultProfile ] [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwarePureStoragePolicy -PrivateCloudInputObject -StoragePolicyName + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get a PureStoragePolicy + +## EXAMPLES + +### Example 1: List all Pure Storage policies in a private cloud +```powershell +Get-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Lists all Pure Storage policies in the specified private cloud and resource group. + +### Example 2: Get a Pure Storage policy by name +```powershell +Get-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Gets a specific Pure Storage policy by name in the specified private cloud and resource group. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPureStoragePolicy + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareSku.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareSku.md new file mode 100644 index 000000000000..57cfe7f5d9ad --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareSku.md @@ -0,0 +1,85 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwaresku +schema: 2.0.0 +--- + +# Get-AzVMwareSku + +## SYNOPSIS +A list of SKUs. + +## SYNTAX + +``` +Get-AzVMwareSku [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +A list of SKUs. + +## EXAMPLES + +### Example 1: List all available SKUs +```powershell +Get-AzVMwareSku +``` + +```output +Name Location ResourceType +---- -------- ------------ +av36 australiaeast privateClouds +av36p centralindia privateClouds +av36pt westeurope privateClouds +``` + +Lists all available SKUs. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IResourceSku + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md index 4ce6b1046764..71dd1fac6007 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareAuthorization ## SYNOPSIS -create a ExpressRouteAuthorization +Create a ExpressRouteAuthorization ## SYNTAX @@ -32,7 +32,7 @@ New-AzVMwareAuthorization -Name -PrivateCloudInputObject -PrivateCloudInputObject ``` ## DESCRIPTION -create a CloudLink +Create a CloudLink ## EXAMPLES diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md index 36e43e668840..63bc4d1c6e57 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareCluster ## SYNOPSIS -create a Cluster +Create a Cluster ## SYNTAX @@ -37,7 +37,7 @@ New-AzVMwareCluster -Name -PrivateCloudInputObject -S ``` ## DESCRIPTION -create a Cluster +Create a Cluster ## EXAMPLES diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md index 76a818783232..7edf18855180 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareDatastore ## SYNOPSIS -create a Datastore +Create a Datastore ## SYNTAX @@ -17,36 +17,37 @@ create a Datastore New-AzVMwareDatastore -ClusterName -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### CreateViaIdentityClusterExpanded ``` New-AzVMwareDatastore -ClusterInputObject -Name [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### CreateViaIdentityExpanded ``` New-AzVMwareDatastore -InputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### CreateViaIdentityPrivateCloudExpanded ``` New-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] - [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] + [-PureStorageVolumeStoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION -create a Datastore +Create a Datastore ## EXAMPLES @@ -276,6 +277,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PureStorageVolumeSizeGb +Volume size to be used to create a Virtual Volumes (vVols) datastore + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PureStorageVolumeStoragePoolId +Azure resource ID of the Pure Storage Pool + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md index a82bc588f042..12579b058bfe 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareGlobalReachConnection ## SYNOPSIS -create a GlobalReachConnection +Create a GlobalReachConnection ## SYNTAX @@ -35,7 +35,7 @@ New-AzVMwareGlobalReachConnection -Name -PrivateCloudInputObject [-NetworkBlock ] [- ``` ## DESCRIPTION -create a IscsiPath +Create a IscsiPath ## EXAMPLES diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md b/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md index e4b81ed4237e..202be534f214 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwarePlacementPolicy ## SYNOPSIS -create a PlacementPolicy +Create a PlacementPolicy ## SYNTAX @@ -40,7 +40,7 @@ New-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudIn ``` ## DESCRIPTION -create a PlacementPolicy +Create a PlacementPolicy ## EXAMPLES diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/docs/New-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..9fc8b0ad4728 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwarePureStoragePolicy.md @@ -0,0 +1,270 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwarepurestoragepolicy +schema: 2.0.0 +--- + +# New-AzVMwarePureStoragePolicy + +## SYNOPSIS +Create a PureStoragePolicy + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityExpanded +``` +New-AzVMwarePureStoragePolicy -InputObject [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwarePureStoragePolicy -PrivateCloudInputObject -StoragePolicyName + [-StoragePolicyDefinition ] [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a PureStoragePolicy + +## EXAMPLES + +### Example 1: Create a new Pure Storage policy in a private cloud +```powershell +New-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +reates a new Pure Storage policy in the specified private cloud and resource group. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: CreateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyDefinition +Definition of a Pure Storage Policy Based Management policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePoolId +Azure resource ID of the Pure Storage Pool associated with the storage policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPureStoragePolicy + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..8cb2c3934f48 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePureStoragePolicy.md @@ -0,0 +1,246 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwarepurestoragepolicy +schema: 2.0.0 +--- + +# Remove-AzVMwarePureStoragePolicy + +## SYNOPSIS +Delete a PureStoragePolicy + +## SYNTAX + +### Delete (Default) +``` +Remove-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzVMwarePureStoragePolicy -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwarePureStoragePolicy -PrivateCloudInputObject -StoragePolicyName + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a PureStoragePolicy + +## EXAMPLES + +### Example 1: Remove a Pure Storage policy from a private cloud +```powershell +Remove-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +Removes the Pure Storage policy from the specified private cloud and resource group. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: DeleteViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareAuthorization.md index c1730b0f643f..6a067be02ef0 100644 --- a/src/VMware/VMware.Autorest/docs/Update-AzVMwareAuthorization.md +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareAuthorization.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareAuthorization ## SYNOPSIS -update a ExpressRouteAuthorization +Update a ExpressRouteAuthorization ## SYNTAX @@ -33,7 +33,7 @@ Update-AzVMwareAuthorization -Name -PrivateCloudInputObject -PrivateCloudInputObject -PrivateCloudInputObject ``` ## DESCRIPTION -update a Cluster +Update a Cluster ## EXAMPLES diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareDatastore.md index 28ab5b663214..cd2ccb3901fc 100644 --- a/src/VMware/VMware.Autorest/docs/Update-AzVMwareDatastore.md +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareDatastore.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareDatastore ## SYNOPSIS -update a Datastore +Update a Datastore ## SYNTAX @@ -17,36 +17,38 @@ update a Datastore Update-AzVMwareDatastore -ClusterName -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityClusterExpanded ``` Update-AzVMwareDatastore -ClusterInputObject -Name [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] - [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] + [-PureStorageVolumeStoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzVMwareDatastore -InputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityPrivateCloudExpanded ``` Update-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] - [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] + [-PureStorageVolumeStoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION -update a Datastore +Update a Datastore ## EXAMPLES @@ -276,6 +278,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PureStorageVolumeSizeGb +Volume size to be used to create a Virtual Volumes (vVols) datastore + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PureStorageVolumeStoragePoolId +Azure resource ID of the Pure Storage Pool + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareGlobalReachConnection.md index 1d6ccaea0c35..c8b168af3264 100644 --- a/src/VMware/VMware.Autorest/docs/Update-AzVMwareGlobalReachConnection.md +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareGlobalReachConnection.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareGlobalReachConnection ## SYNOPSIS -update a GlobalReachConnection +Update a GlobalReachConnection ## SYNTAX @@ -35,7 +35,7 @@ Update-AzVMwareGlobalReachConnection -Name -PrivateCloudInputObject [-DefaultProfile -Name -PrivateClou ``` ## DESCRIPTION -update a PlacementPolicy +Update a PlacementPolicy ## EXAMPLES diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md index 7b62256b110b..1fecc81fd7a4 100644 --- a/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwarePrivateCloud ## SYNOPSIS -update a PrivateCloud +Update a PrivateCloud ## SYNTAX @@ -21,8 +21,8 @@ Update-AzVMwarePrivateCloud -Name -ResourceGroupName [-Subscri [-KeyVaultPropertyKeyVersion ] [-ManagementClusterHost ] [-ManagementClusterSize ] [-ManagementClusterVsanDatastoreName ] [-NetworkBlock ] [-NsxtPassword ] [-SkuCapacity ] [-SkuFamily ] [-SkuName ] [-SkuSize ] [-SkuTier ] - [-Tag ] [-VcenterPassword ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-Tag ] [-VcenterPassword ] [-Zone ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityExpanded @@ -34,12 +34,12 @@ Update-AzVMwarePrivateCloud -InputObject [-DnsZoneType ] [-ManagementClusterSize ] [-ManagementClusterVsanDatastoreName ] [-NetworkBlock ] [-NsxtPassword ] [-SkuCapacity ] [-SkuFamily ] [-SkuName ] [-SkuSize ] [-SkuTier ] - [-Tag ] [-VcenterPassword ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-Tag ] [-VcenterPassword ] [-Zone ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -update a PrivateCloud +Update a PrivateCloud ## EXAMPLES @@ -502,6 +502,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Zone +The availability zones. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..01da36afd7b0 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePureStoragePolicy.md @@ -0,0 +1,270 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwarepurestoragepolicy +schema: 2.0.0 +--- + +# Update-AzVMwarePureStoragePolicy + +## SYNOPSIS +Update a PureStoragePolicy + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzVMwarePureStoragePolicy -InputObject [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwarePureStoragePolicy -PrivateCloudInputObject -StoragePolicyName + [-StoragePolicyDefinition ] [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a PureStoragePolicy + +## EXAMPLES + +### Example 1: Update a Pure Storage policy in a private cloud +```powershell +Update-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Updates the Pure Storage policy in the specified private cloud and resource group. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: UpdateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyDefinition +Definition of a Pure Storage Policy Based Management policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePoolId +Azure resource ID of the Pure Storage Pool associated with the storage policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPureStoragePolicy + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/examples/Get-AzVMwareHost.md b/src/VMware/VMware.Autorest/examples/Get-AzVMwareHost.md new file mode 100644 index 000000000000..2f38d17856f2 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Get-AzVMwareHost.md @@ -0,0 +1,27 @@ +### Example 1: List all hosts in a cluster +```powershell +Get-AzVMwareHost -ClusterName azps_test_cluster -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type SkuName ResourceGroupName Kind Maintenance +---- ---- ------- ----------------- ------------- ----------- +esx03-r52.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts av64 azps_test_group General +esx03-r60.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts av64 azps_test_group General Replacement +esx03-r65.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts azps_test_group Specialized +``` + +Lists all hosts in the specified cluster within the private cloud and resource group. + +### Example 2: Get a host by ID in a cluster +```powershell +Get-AzVMwareHost -ClusterName azps_test_cluster -Id esx03-r52.1111111111111111111.westcentralus.prod.azure.com -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type ResourceGroupName SkuName Kind +---- ---- ----------------- ------- ---- +esx03-r52.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts azps_test_group av64 General +``` + +Gets a specific host by its ID in the specified cluster, private cloud, and resource group. diff --git a/src/VMware/VMware.Autorest/examples/Get-AzVMwareProvisionedNetwork.md b/src/VMware/VMware.Autorest/examples/Get-AzVMwareProvisionedNetwork.md new file mode 100644 index 000000000000..74f92da205b8 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Get-AzVMwareProvisionedNetwork.md @@ -0,0 +1,28 @@ +### Example 1: List all provisioned networks in a private cloud +```powershell +Get-AzVMwareProvisionedNetwork -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type AddressPrefix NetworkType ResourceGroupName +---- ---- ------------- ---------- ----------------- +vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group +esxvmot Microsoft.AVS/privateClouds/provisionedNetworks 10.0.1.128/25 esxvmot azps_test_group +mgmtvnet Microsoft.AVS/privateClouds/provisionedNetworks 10.0.3.128/26 mgmtvnet azps_test_group +``` + +Lists all provisioned networks in the specified private cloud and resource group. + +### Example 2: Get a provisioned network by name +```powershell +Get-AzVMwareProvisionedNetwork -Name vsan -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type AddressPrefix NetworkType ResourceGroupName +---- ---- ------------- ---------- ----------------- +vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group +``` + +Gets a specific provisioned network by name in the specified private cloud and resource group + diff --git a/src/VMware/VMware.Autorest/examples/Get-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/examples/Get-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..c266e6bd091f --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Get-AzVMwarePureStoragePolicy.md @@ -0,0 +1,26 @@ +### Example 1: List all Pure Storage policies in a private cloud +```powershell +Get-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Lists all Pure Storage policies in the specified private cloud and resource group. + +### Example 2: Get a Pure Storage policy by name +```powershell +Get-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Gets a specific Pure Storage policy by name in the specified private cloud and resource group. + diff --git a/src/VMware/VMware.Autorest/examples/Get-AzVMwareSku.md b/src/VMware/VMware.Autorest/examples/Get-AzVMwareSku.md new file mode 100644 index 000000000000..2a6db6605bcd --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Get-AzVMwareSku.md @@ -0,0 +1,14 @@ +### Example 1: List all available SKUs +```powershell +Get-AzVMwareSku +``` + +```output +Name Location ResourceType +---- -------- ------------ +av36 australiaeast privateClouds +av36p centralindia privateClouds +av36pt westeurope privateClouds +``` + +Lists all available SKUs. diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/examples/New-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..72e37f27f877 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwarePureStoragePolicy.md @@ -0,0 +1,12 @@ +### Example 1: Create a new Pure Storage policy in a private cloud +```powershell +New-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +reates a new Pure Storage policy in the specified private cloud and resource group. diff --git a/src/VMware/VMware.Autorest/examples/Remove-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/examples/Remove-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..2e598c69ee09 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Remove-AzVMwarePureStoragePolicy.md @@ -0,0 +1,6 @@ +### Example 1: Remove a Pure Storage policy from a private cloud +```powershell +Remove-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +Removes the Pure Storage policy from the specified private cloud and resource group. diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwarePureStoragePolicy.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..88d735b83f47 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwarePureStoragePolicy.md @@ -0,0 +1,12 @@ +### Example 1: Update a Pure Storage policy in a private cloud +```powershell +Update-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Updates the Pure Storage policy in the specified private cloud and resource group. \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/generate-info.json b/src/VMware/VMware.Autorest/generate-info.json index 59b04e4d4c28..c26392de3c87 100644 --- a/src/VMware/VMware.Autorest/generate-info.json +++ b/src/VMware/VMware.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "d08378ea-58d8-4ccf-bf9c-e79140be8616" + "generate_Id": "b8fa384b-d0b9-4b21-abae-de0a40d5c8ac" } diff --git a/src/VMware/VMware.Autorest/test/AzVMwareAddon.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareAddon.Recording.json index a04251b524e6..2af20c24698b 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareAddon.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareAddon.Recording.json @@ -1,8 +1,8 @@ { - "AzVMwareAddon+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/SRM?api-version=2023-09-01+1": { + "AzVMwareAddon+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/SRM?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/SRM?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/SRM?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"addonType\": \"SRM\",\r\n \"licenseKey\": \"YourLicenseKeyValue\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -16,7 +16,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:36:30 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:51:43 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -26,20 +30,20 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/SRM?api-version=2023-09-01+2": { + "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/SRM?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/SRM?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/SRM?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "fe12c72a-41d6-4906-af58-33320e286484" ], + "x-ms-client-request-id": [ "c5c5db91-6a2c-406a-926a-9bae451fad86" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -48,7 +52,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:00 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:13 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -58,20 +66,20 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/SRM?api-version=2023-09-01+3": { + "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/SRM?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/SRM?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/SRM?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "fe12c72a-41d6-4906-af58-33320e286484" ], + "x-ms-client-request-id": [ "c5c5db91-6a2c-406a-926a-9bae451fad86" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -80,7 +88,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:00 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:13 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -90,19 +102,19 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons?api-version=2023-09-01+4": { + "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "bed5bd58-6a9c-4b7c-8f0c-378f261975dd" ], + "x-ms-client-request-id": [ "1dfd73ed-d1a6-4eb7-aa1d-190a93185358" ], "CommandName": [ "Az.VMware.internal\\Get-AzVMwareAddon" ], "FullCommandName": [ "Get-AzVMwareAddon_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -112,7 +124,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:00 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:13 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -122,19 +138,19 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/vr?api-version=2023-09-01+1": { + "AzVMwareAddon+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/vr?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/addons/vr?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/addons/vr?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "b4c47d28-4835-4ca0-bd19-9894211ba7f4" ], + "x-ms-client-request-id": [ "92144917-9481-43ff-a4b6-ab7f92d670bf" ], "CommandName": [ "Az.VMware.internal\\Get-AzVMwareAddon" ], "FullCommandName": [ "Get-AzVMwareAddon_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -144,7 +160,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:00 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:14 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -154,10 +174,10 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/SRM?api-version=2023-09-01+1": { + "AzVMwareAddon+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/SRM?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/SRM?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/SRM?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"addonType\": \"SRM\",\r\n \"licenseKey\": \"YourLicenseKeyValue\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -171,7 +191,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:00 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:14 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -181,20 +205,20 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/SRM?api-version=2023-09-01+2": { + "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/SRM?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/SRM?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/SRM?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "d5796fcb-78ae-4fdc-9b88-18ee0d7f997a" ], + "x-ms-client-request-id": [ "7ccacc13-d9fe-4ed8-bd6d-b38ad878466f" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -203,7 +227,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:30 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:44 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -213,20 +241,20 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/SRM?api-version=2023-09-01+3": { + "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/SRM?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/SRM?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/SRM?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "d5796fcb-78ae-4fdc-9b88-18ee0d7f997a" ], + "x-ms-client-request-id": [ "7ccacc13-d9fe-4ed8-bd6d-b38ad878466f" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -235,7 +263,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:30 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:44 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -245,19 +277,19 @@ "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/vr?api-version=2023-09-01+1": { + "AzVMwareAddon+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/vr?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/addons/vr?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/addons/vr?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "87ccfa85-3e94-44ea-b4a3-1a694d7bb8d2" ], + "x-ms-client-request-id": [ "8ae150ce-311d-4786-a43a-f622e5087bfb" ], "CommandName": [ "Az.VMware.internal\\Remove-AzVMwareAddon" ], "FullCommandName": [ "Remove-AzVMwareAddon_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -267,9 +299,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:30 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:44 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Recording.json index 3431bd894953..ca1114200342 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Recording.json @@ -1,8 +1,8 @@ { - "AzVMwareAuthorization+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01+1": { + "AzVMwareAuthorization+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01", "Content": "{\r\n}", "isContentBase64": false, "Headers": { @@ -16,7 +16,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:37:32 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:52:46 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -26,20 +30,20 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01+2": { + "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "744ae479-9a3f-467a-b62f-9fc466c292ab" ], + "x-ms-client-request-id": [ "91168377-f1bd-416d-b402-c7d89810e064" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -48,7 +52,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:02 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:17 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -58,20 +66,20 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01+3": { + "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "744ae479-9a3f-467a-b62f-9fc466c292ab" ], + "x-ms-client-request-id": [ "91168377-f1bd-416d-b402-c7d89810e064" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -80,7 +88,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:02 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:17 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -90,19 +102,19 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations?api-version=2023-09-01+4": { + "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "d2328a3f-f5cb-46ca-9f02-b7b231e92d1a" ], + "x-ms-client-request-id": [ "e7d4365a-124a-4a41-8d1f-5ef5a3ea0a5c" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -112,7 +124,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:02 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:17 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -122,19 +138,19 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01+1": { + "AzVMwareAuthorization+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/authorization1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/authorization1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "4363fef5-5014-429b-bf41-d733c6742d9c" ], + "x-ms-client-request-id": [ "5d1c0590-d03e-4e22-a538-9522d5f64de6" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -144,7 +160,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:02 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:17 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -154,10 +174,10 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40/authorizations/authorization1?api-version=2023-09-01+1": { + "AzVMwareAuthorization+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3/authorizations/authorization1?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40/authorizations/authorization1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3/authorizations/authorization1?api-version=2024-09-01", "Content": "{\r\n}", "isContentBase64": false, "Headers": { @@ -171,7 +191,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:02 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:17 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -181,20 +205,20 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40/authorizations/authorization1?api-version=2023-09-01+2": { + "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3/authorizations/authorization1?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40/authorizations/authorization1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3/authorizations/authorization1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "bbb0ef07-fa6f-45b4-b75d-3494dba764d3" ], + "x-ms-client-request-id": [ "26e22357-113e-45bb-afe6-d7f7e2c70abc" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -203,7 +227,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:32 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:47 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -213,20 +241,20 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40/authorizations/authorization1?api-version=2023-09-01+3": { + "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3/authorizations/authorization1?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40/authorizations/authorization1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3/authorizations/authorization1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "bbb0ef07-fa6f-45b4-b75d-3494dba764d3" ], + "x-ms-client-request-id": [ "26e22357-113e-45bb-afe6-d7f7e2c70abc" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -235,7 +263,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:32 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:47 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -245,19 +277,19 @@ "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/qgr0ld?api-version=2023-09-01+1": { + "AzVMwareAuthorization+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/xh7cms?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/qgr0ld?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/xh7cms?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "9a15c60c-e8bc-4d38-b47a-d9cb11f7e53f" ], + "x-ms-client-request-id": [ "6bbb30be-1de0-4706-ba45-77e7eb5ed5b9" ], "CommandName": [ "Remove-AzVMwareAuthorization" ], "FullCommandName": [ "Remove-AzVMwareAuthorization_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -267,9 +299,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:32 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:47 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Recording.json index 7352fe2e7973..d37972044873 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Recording.json @@ -1,9 +1,9 @@ { - "AzVMwareCloudLink+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/cloudLink1?api-version=2023-09-01+1": { + "AzVMwareCloudLink+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/cloudLink1?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/cloudLink1?api-version=2023-09-01", - "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/cloudLink1?api-version=2024-09-01", + "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -16,7 +16,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:38:32 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:53:47 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -26,20 +30,20 @@ "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/cloudLink1?api-version=2023-09-01+2": { + "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/cloudLink1?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/cloudLink1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/cloudLink1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "f9768a2d-a2d7-4269-8d61-f47c5ab5df37" ], + "x-ms-client-request-id": [ "90df6426-1732-4d87-8ead-7773a0385ee0" ], "CommandName": [ "New-AzVMwareCloudLink" ], "FullCommandName": [ "New-AzVMwareCloudLink_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -48,7 +52,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:39:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:54:18 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -58,19 +66,19 @@ "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks?api-version=2023-09-01+3": { + "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "06306c76-ffce-46ea-aca0-c51f854c41b1" ], + "x-ms-client-request-id": [ "e05782f6-9454-4905-8bde-357a8e71de8c" ], "CommandName": [ "Get-AzVMwareCloudLink" ], "FullCommandName": [ "Get-AzVMwareCloudLink_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -80,7 +88,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:39:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:54:18 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -90,19 +102,19 @@ "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/cloudLink1?api-version=2023-09-01+1": { + "AzVMwareCloudLink+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/cloudLink1?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/cloudLink1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/cloudLink1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "4fc82681-fa8c-4153-a36d-06dfdc7304b3" ], + "x-ms-client-request-id": [ "94c27cd8-b737-4114-ad0d-b8b75e5ace0c" ], "CommandName": [ "Get-AzVMwareCloudLink" ], "FullCommandName": [ "Get-AzVMwareCloudLink_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -112,7 +124,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:39:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:54:18 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -122,11 +138,11 @@ "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/qgr0ld?api-version=2023-09-01+1": { + "AzVMwareCloudLink+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/xh7cms?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/qgr0ld?api-version=2023-09-01", - "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/xh7cms?api-version=2024-09-01", + "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -139,7 +155,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:39:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:54:18 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -149,20 +169,20 @@ "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/qgr0ld?api-version=2023-09-01+2": { + "AzVMwareCloudLink+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/xh7cms?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/qgr0ld?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/xh7cms?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "1fa32be7-e6b2-46eb-a9c0-f5bc2ffd8a81" ], + "x-ms-client-request-id": [ "cc48b26c-8035-4d56-9035-6e677e2127fd" ], "CommandName": [ "New-AzVMwareCloudLink" ], "FullCommandName": [ "New-AzVMwareCloudLink_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -171,7 +191,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:39:33 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:54:49 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -181,19 +205,19 @@ "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/qgr0ld?api-version=2023-09-01+1": { + "AzVMwareCloudLink+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/xh7cms?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/cloudLinks/qgr0ld?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/cloudLinks/xh7cms?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "e6de8bd5-8277-4dc4-8610-0849039b8284" ], + "x-ms-client-request-id": [ "0bf0a783-5594-4a27-8f82-c35996d84f1f" ], "CommandName": [ "Remove-AzVMwareCloudLink" ], "FullCommandName": [ "Remove-AzVMwareCloudLink_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -203,9 +227,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:39:33 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:54:49 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwareCluster.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareCluster.Recording.json index 49ac94cbb63d..940e8f12638f 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareCluster.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareCluster.Recording.json @@ -1,8 +1,8 @@ { - "AzVMwareCluster+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01+1": { + "AzVMwareCluster+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n },\r\n \"sku\": {\r\n \"name\": \"av20\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -16,7 +16,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:39:33 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:54:49 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -26,20 +30,20 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01+2": { + "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "3dffab55-016a-4a39-ad72-4a2d0a7cd8c4" ], + "x-ms-client-request-id": [ "48d3bf86-e69c-467a-b9a5-f47a0d044353" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -48,7 +52,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:20 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -58,20 +66,20 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01+3": { + "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "3dffab55-016a-4a39-ad72-4a2d0a7cd8c4" ], + "x-ms-client-request-id": [ "48d3bf86-e69c-467a-b9a5-f47a0d044353" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -80,7 +88,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:20 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -90,19 +102,19 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters?api-version=2023-09-01+4": { + "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "9268b782-ce32-4b54-ab91-f3c0c4dc8daa" ], + "x-ms-client-request-id": [ "1e7a85e3-47d9-46bc-b249-04c62cf10308" ], "CommandName": [ "Get-AzVMwareCluster" ], "FullCommandName": [ "Get-AzVMwareCluster_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -112,7 +124,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:20 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -122,19 +138,19 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01+1": { + "AzVMwareCluster+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "23205411-04c3-4f1c-9841-436a7ce3b190" ], + "x-ms-client-request-id": [ "ca9cb073-23b5-49ad-b1db-3792b5d0ed14" ], "CommandName": [ "Get-AzVMwareCluster" ], "FullCommandName": [ "Get-AzVMwareCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -144,7 +160,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:20 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -154,10 +174,10 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+1": { + "AzVMwareCluster+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n },\r\n \"sku\": {\r\n \"name\": \"av36\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -171,7 +191,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:03 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:20 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -181,20 +205,20 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+2": { + "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "6f029a84-85d0-4e43-b2af-773575ccf7d4" ], + "x-ms-client-request-id": [ "ccecc04c-cb65-4c5c-8aca-2b10981d3631" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -203,7 +227,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:34 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:50 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -213,20 +241,20 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+3": { + "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "6f029a84-85d0-4e43-b2af-773575ccf7d4" ], + "x-ms-client-request-id": [ "ccecc04c-cb65-4c5c-8aca-2b10981d3631" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -235,7 +263,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:34 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:50 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -245,10 +277,10 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+1": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n },\r\n \"sku\": {\r\n \"name\": \"av36\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -262,7 +294,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:40:34 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:55:50 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -272,20 +308,20 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+2": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "e6a082a4-4dd8-4501-b26a-5ba9c5915bd8" ], + "x-ms-client-request-id": [ "aa361eaa-a96e-489a-ac1b-ea8c61206457" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -294,7 +330,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:04 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:21 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -304,20 +344,20 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+3": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "e6a082a4-4dd8-4501-b26a-5ba9c5915bd8" ], + "x-ms-client-request-id": [ "aa361eaa-a96e-489a-ac1b-ea8c61206457" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -326,7 +366,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:04 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:21 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -336,10 +380,10 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+4": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+4": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"clusterSize\": 4\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -353,29 +397,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:04 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:21 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "448" ] + "Content-Length": [ "485" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]},\"sku\":{\"name\":\"AV20\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"sku\":{\"name\":\"AV20\"}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+5": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "fb819462-5ace-4224-b7e5-58457e7035a5" ], + "x-ms-client-request-id": [ "7b299f26-80f1-4322-9e35-7dc6b1406c7b" ], "CommandName": [ "Remove-AzVMwareCluster" ], "FullCommandName": [ "Remove-AzVMwareCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -385,28 +433,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:04 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:21 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01+1": { + "AzVMwareCluster+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv/clusters/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n/clusters/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "20948b3f-f1e0-4293-a221-72f6f57927c5" ], + "x-ms-client-request-id": [ "52708f19-8d7b-4c82-8ee3-12ef28c1cffe" ], "CommandName": [ "Remove-AzVMwareCluster" ], "FullCommandName": [ "Remove-AzVMwareCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -416,9 +469,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:04 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:21 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwareDatastore.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareDatastore.Recording.json index 66a81357b0e9..666f607b1c8b 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareDatastore.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareDatastore.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01+1": { + "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"netAppVolume\": {\r\n \"id\": \"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -16,7 +16,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:04 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:21 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -26,20 +30,20 @@ "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01+2": { + "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "03eec513-ead0-4cc6-bbf2-aa32772e2485" ], + "x-ms-client-request-id": [ "8ed3c023-e1af-4ca9-ae36-9fed3595387f" ], "CommandName": [ "New-AzVMwareDatastore" ], "FullCommandName": [ "New-AzVMwareDatastore_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -48,7 +52,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:52 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -58,20 +66,20 @@ "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01+3": { + "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "03eec513-ead0-4cc6-bbf2-aa32772e2485" ], + "x-ms-client-request-id": [ "8ed3c023-e1af-4ca9-ae36-9fed3595387f" ], "CommandName": [ "New-AzVMwareDatastore" ], "FullCommandName": [ "New-AzVMwareDatastore_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -80,7 +88,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:52 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -90,19 +102,19 @@ "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01+1": { + "Get-AzVMwareDatastore+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "19527434-3b4c-4eeb-9657-c1848681dde6" ], + "x-ms-client-request-id": [ "2958fc18-b36b-4ee0-bec0-a6e2092923e8" ], "CommandName": [ "Get-AzVMwareDatastore" ], "FullCommandName": [ "Get-AzVMwareDatastore_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -112,7 +124,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:52 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -122,19 +138,19 @@ "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores?api-version=2023-09-01+1": { + "Get-AzVMwareDatastore+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "63c302f8-1180-4a6a-adf8-8162d91447db" ], + "x-ms-client-request-id": [ "2c1bea08-307b-4f70-b82e-d84a2e11beb4" ], "CommandName": [ "Get-AzVMwareDatastore" ], "FullCommandName": [ "Get-AzVMwareDatastore_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -144,29 +160,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:52 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1660" ] + "Content-Length": [ "2162" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1\",\"name\":\"datastore1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/datastores\",\"properties\":{\"provisioningState\":\"Succeeded\",\"netAppVolume\":{\"id\":\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1\"},\"status\":\"Accessible\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2\",\"name\":\"datastore2\",\"type\":\"Microsoft.AVS/privateClouds/clusters/datastores\",\"properties\":{\"provisioningState\":\"Succeeded\",\"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\"},\"status\":\"Accessible\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2\",\"name\":\"datastore2\",\"type\":\"Microsoft.AVS/privateClouds/clusters/datastores\",\"properties\":{\"provisioningState\":\"Succeeded\",\"elasticSanVolume\":{\"targetId\":\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1\"},\"status\":\"Accessible\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1\",\"name\":\"datastore1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/datastores\",\"properties\":{\"provisioningState\":\"Succeeded\",\"netAppVolume\":{\"id\":\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1\"},\"status\":\"Accessible\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2\",\"name\":\"datastore2\",\"type\":\"Microsoft.AVS/privateClouds/clusters/datastores\",\"properties\":{\"provisioningState\":\"Succeeded\",\"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\"},\"status\":\"Accessible\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2\",\"name\":\"datastore2\",\"type\":\"Microsoft.AVS/privateClouds/clusters/datastores\",\"properties\":{\"provisioningState\":\"Succeeded\",\"elasticSanVolume\":{\"targetId\":\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1\"},\"status\":\"Accessible\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore3\",\"name\":\"datastore3\",\"type\":\"Microsoft.AVS/privateClouds/clusters/datastores\",\"properties\":{\"provisioningState\":\"Succeeded\",\"pureStorageVolume\":{\"storagePoolId\":\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/PureStorage.Block/storagePools/storagePool1\",\"sizeGb\":64},\"status\":\"Accessible\"}}]}", "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01+1": { + "Get-AzVMwareDatastore+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "17f21976-e249-4b53-91f4-ed1b6a5a10da" ], + "x-ms-client-request-id": [ "e03b3515-4e71-4dc3-b40f-f93da25648be" ], "CommandName": [ "Remove-AzVMwareDatastore" ], "FullCommandName": [ "Remove-AzVMwareDatastore_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -176,28 +196,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:52 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01+1": { + "Get-AzVMwareDatastore+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/datastores/datastore1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/datastores/datastore1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "7c07b864-90f8-4632-bf61-5fdac0393d38" ], + "x-ms-client-request-id": [ "c4160825-8743-43ff-bdff-b002d23de1a0" ], "CommandName": [ "Get-AzVMwareDatastore" ], "FullCommandName": [ "Get-AzVMwareDatastore_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -207,7 +232,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:52 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -217,19 +246,19 @@ "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1?api-version=2023-09-01+2": { + "Get-AzVMwareDatastore+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1?api-version=2024-09-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "91eafc5d-184f-4d1c-80b2-29db32ee39f0" ], + "x-ms-client-request-id": [ "785ee180-8c69-4b28-bc31-8543fabc32dc" ], "CommandName": [ "Remove-AzVMwareDatastore" ], "FullCommandName": [ "Remove-AzVMwareDatastore_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -239,9 +268,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:52 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwareGlobalReachConnection.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareGlobalReachConnection.Recording.json index 4c61e1567734..fae006bed31e 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareGlobalReachConnection.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareGlobalReachConnection.Recording.json @@ -1,17 +1,17 @@ { - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/lq4hfg?api-version=2023-09-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/kb4ygv?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "519b83c4-ff9d-4c17-b7b8-aba76b57abfd" ], + "x-ms-client-request-id": [ "3ef94b65-e200-4f37-a913-7ab62ee0d9c6" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -21,7 +21,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:53 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -31,19 +35,19 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40?api-version=2023-09-01+2": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "6075b47a-bb6b-4fe2-9c83-a89d17390a51" ], + "x-ms-client-request-id": [ "e0068b00-c845-438f-b166-9ffb9f2568d7" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -53,20 +57,24 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:53 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01+3": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"authorizationKey\": \"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\r\n \"peerExpressRouteCircuit\": \"/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\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -80,7 +88,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:41:35 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:56:53 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -90,20 +102,20 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01+4": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "55866a5a-6e4f-47a5-b43d-f371d65aa19c" ], + "x-ms-client-request-id": [ "1ce8dff7-df95-4da6-9bbc-2d10b93c34f3" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -112,7 +124,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:05 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:24 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -122,20 +138,20 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01+5": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "55866a5a-6e4f-47a5-b43d-f371d65aa19c" ], + "x-ms-client-request-id": [ "1ce8dff7-df95-4da6-9bbc-2d10b93c34f3" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -144,7 +160,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:05 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:24 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -154,19 +174,19 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections?api-version=2023-09-01+6": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections?api-version=2024-09-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "53" ], - "x-ms-client-request-id": [ "5b9d28fb-a883-4e53-a55e-d9d9aecee25a" ], + "x-ms-client-request-id": [ "6256bff1-1921-4234-a9ca-3a320beb5b4a" ], "CommandName": [ "Get-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "Get-AzVMwareGlobalReachConnection_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -176,7 +196,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:05 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:24 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -186,19 +210,19 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qgr0ld?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/xh7cms?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "d1391301-a64d-4c17-bd56-a031ee774773" ], + "x-ms-client-request-id": [ "70d49622-c7d5-4bab-9fe1-1b9f4da612ea" ], "CommandName": [ "Get-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "Get-AzVMwareGlobalReachConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -208,7 +232,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:05 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:24 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -218,19 +246,19 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/lq4hfg?api-version=2023-09-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/kb4ygv?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/authorizations/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/authorizations/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "0a5a8e44-fb7a-49bb-aeee-12788e6b219e" ], + "x-ms-client-request-id": [ "1cff318b-3689-4df1-84c6-9c9256e2a163" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -240,7 +268,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:05 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:24 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -250,19 +282,19 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40?api-version=2023-09-01+2": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudfq40?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudszc3?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "2ae2c64b-c2fb-4fae-bd4e-0c7d2062d3c5" ], + "x-ms-client-request-id": [ "daaf2384-ece5-45cb-9a3d-13d621dd7854" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -272,20 +304,24 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:05 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:24 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01+3": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"authorizationKey\": \"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\r\n \"peerExpressRouteCircuit\": \"/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\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -299,7 +335,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:05 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:24 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -309,20 +349,20 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01+4": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "58" ], - "x-ms-client-request-id": [ "5283a326-bdf8-4c08-8d1e-598fef39107b" ], + "x-ms-client-request-id": [ "f6ac3103-e70c-4a2e-86e3-74b46ec19032" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -331,7 +371,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:36 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:55 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -341,20 +385,20 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01+5": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "5283a326-bdf8-4c08-8d1e-598fef39107b" ], + "x-ms-client-request-id": [ "f6ac3103-e70c-4a2e-86e3-74b46ec19032" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -363,7 +407,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:36 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:55 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -373,19 +421,19 @@ "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/globalReachConnections/qbeopr?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/globalReachConnections/t27wzr?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "819e2e38-b674-4a3d-85fa-a2976bb02b2e" ], + "x-ms-client-request-id": [ "506ea5ce-d2b6-44e7-ba80-c4355485dd43" ], "CommandName": [ "Remove-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "Remove-AzVMwareGlobalReachConnection_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -395,9 +443,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:36 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:55 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwareHost.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareHost.Recording.json new file mode 100644 index 000000000000..c96b0c01fecd --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwareHost.Recording.json @@ -0,0 +1,74 @@ +{ + "AzVMwareHost+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/hosts?api-version=2024-09-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/hosts?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "cba6b733-b7ce-4c3d-b89b-e5cbd0058729" ], + "CommandName": [ "Get-AzVMwareHost" ], + "FullCommandName": [ "Get-AzVMwareHost_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:55 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "1496" ] + }, + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"name\":\"esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"type\":\"Microsoft.AVS/privateClouds/clusters/hosts\",\"properties\":{\"kind\":\"General\",\"displayName\":\"esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"moRefId\":\"host-209\",\"fqdn\":\"esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"faultDomain\":\"1\"},\"zones\":[\"1\"],\"sku\":{\"name\":\"av64\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r60.1111111111111111111.westcentralus.prod.azure.com\",\"name\":\"esx03-r60.1111111111111111111.westcentralus.prod.azure.com\",\"type\":\"Microsoft.AVS/privateClouds/clusters/hosts\",\"properties\":{\"kind\":\"General\",\"displayName\":\"esx03-r60.1111111111111111111.westcentralus.prod.azure.com\",\"moRefId\":\"host-128\",\"maintenance\":\"Replacement\"},\"zones\":[\"1\"],\"sku\":{\"name\":\"av64\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r65.1111111111111111111.westcentralus.prod.azure.com\",\"name\":\"esx03-r65.1111111111111111111.westcentralus.prod.azure.com\",\"type\":\"Microsoft.AVS/privateClouds/clusters/hosts\",\"properties\":{\"kind\":\"Specialized\"},\"zones\":[\"1\"]}]}", + "isContentBase64": false + } + }, + "AzVMwareHost+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com?api-version=2024-09-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "c534273c-1c21-41b9-8298-f34e98689861" ], + "CommandName": [ "Get-AzVMwareHost" ], + "FullCommandName": [ "Get-AzVMwareHost_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:55 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "580" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/Hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"name\":\"esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"type\":\"Microsoft.AVS/privateClouds/clusters/hosts\",\"properties\":{\"kind\":\"General\",\"displayName\":\"esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"moRefId\":\"host-209\",\"fqdn\":\"esx03-r52.1111111111111111111.westcentralus.prod.azure.com\",\"faultDomain\":\"1\"},\"zones\":[\"1\"],\"sku\":{\"name\":\"av64\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwareHost.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwareHost.Tests.ps1 new file mode 100644 index 000000000000..7c0b1df978d0 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwareHost.Tests.ps1 @@ -0,0 +1,30 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'AzVMwareHost.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'AzVMwareHost' { + It 'List' { + { + $result = Get-AzVMwareHost -ClusterName $env.rstr1 -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 + $result | Should -Not -BeNullOrEmpty + $result[0].Name | Should -Not -BeNullOrEmpty + } | Should -Not -Throw + } + + It 'Get' { + { + $result = Get-AzVMwareHost -ClusterName $env.rstr1 -Id "esx03-r52.1111111111111111111.westcentralus.prod.azure.com" -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 + $result | Should -Not -BeNullOrEmpty + $result.Name | Should -Be "esx03-r52.1111111111111111111.westcentralus.prod.azure.com" + } | Should -Not -Throw + } +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Recording.json index 2609ed7df810..6d460eabd2d4 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Recording.json @@ -1,17 +1,17 @@ { - "AzVMwareLocationQuotaAvailability+[NoContext]+Check+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/westcentralus/checkQuotaAvailability?api-version=2023-09-01+1": { + "AzVMwareLocationQuotaAvailability+[NoContext]+Check+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/westcentralus/checkQuotaAvailability?api-version=2024-09-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/westcentralus/checkQuotaAvailability?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/westcentralus/checkQuotaAvailability?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "927752d6-8935-4e3b-b7f6-ad30814ca760" ], + "x-ms-unique-id": [ "63" ], + "x-ms-client-request-id": [ "5c4151a5-fab1-4456-a447-a07540e88ef1" ], "CommandName": [ "Test-AzVMwareLocationQuotaAvailability" ], "FullCommandName": [ "Test-AzVMwareLocationQuotaAvailability_Check" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -21,7 +21,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:36 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:56 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json index ac548aa82c94..bb7bec41b85f 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json @@ -1,8 +1,8 @@ { - "AzVMwareLocationTrialAvailability+[NoContext]+Check+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2023-09-01+1": { + "AzVMwareLocationTrialAvailability+[NoContext]+Check+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2024-09-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2024-09-01", "Content": "{\r\n \"name\": \"av36\"\r\n}", "isContentBase64": false, "Headers": { @@ -16,7 +16,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:37 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:56 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePlacementPolicy.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePlacementPolicy.Recording.json index 9bd8a926ff29..67a4fd118a44 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwarePlacementPolicy.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwarePlacementPolicy.Recording.json @@ -1,8 +1,8 @@ { - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n },\r\n \"sku\": {\r\n \"name\": \"av20\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -16,7 +16,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:42:37 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:57:56 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -26,20 +30,20 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01+2": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "fa94fff5-af34-48e4-9289-e81b04d71cad" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "dad1fd8b-6145-47c3-b31c-6d26747723a6" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -48,7 +52,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:07 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:27 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -58,20 +66,20 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01+3": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "fa94fff5-af34-48e4-9289-e81b04d71cad" ], + "x-ms-unique-id": [ "67" ], + "x-ms-client-request-id": [ "dad1fd8b-6145-47c3-b31c-6d26747723a6" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -80,7 +88,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:07 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:27 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -90,10 +102,10 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+4": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"type\": \"VmVm\",\r\n \"vmMembers\": [ \"System.Collections.Hashtable\" ],\r\n \"affinityType\": \"Affinity\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -107,7 +119,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:07 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:27 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -117,20 +133,20 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+5": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "1dc684db-5b61-46cd-965f-2fa4242eea46" ], + "x-ms-unique-id": [ "69" ], + "x-ms-client-request-id": [ "11a475dc-6e71-43ce-b82c-70eea1b2bd3e" ], "CommandName": [ "New-AzVMwarePlacementPolicy" ], "FullCommandName": [ "New-AzVMwarePlacementPolicy_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -139,7 +155,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -149,20 +169,20 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+6": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "68" ], - "x-ms-client-request-id": [ "1dc684db-5b61-46cd-965f-2fa4242eea46" ], + "x-ms-unique-id": [ "70" ], + "x-ms-client-request-id": [ "11a475dc-6e71-43ce-b82c-70eea1b2bd3e" ], "CommandName": [ "New-AzVMwarePlacementPolicy" ], "FullCommandName": [ "New-AzVMwarePlacementPolicy_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -171,7 +191,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -181,19 +205,19 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies?api-version=2023-09-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "69" ], - "x-ms-client-request-id": [ "778155d9-f40e-489d-8f6e-535cff008357" ], + "x-ms-unique-id": [ "71" ], + "x-ms-client-request-id": [ "104c8e61-ede1-4a89-86b7-c5086357875f" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -203,7 +227,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -213,19 +241,19 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "64a20a00-3a4e-4a54-a459-26387fa44899" ], + "x-ms-unique-id": [ "72" ], + "x-ms-client-request-id": [ "72875727-a41a-4e24-9666-5a329bbc4c84" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -235,7 +263,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -245,10 +277,10 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -262,7 +294,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -272,19 +308,19 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "72" ], - "x-ms-client-request-id": [ "09d81bf4-9749-4fa5-9969-f5ddf87fbb0b" ], + "x-ms-unique-id": [ "74" ], + "x-ms-client-request-id": [ "d4226983-a2b4-473d-8dc8-f20912e2c5c2" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -294,7 +330,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -304,10 +344,10 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01+2": { + "AzVMwarePlacementPolicy+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01", "Content": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -321,7 +361,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -331,19 +375,19 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "d193f54c-b031-4fcf-89a1-330ee33dc180" ], + "x-ms-unique-id": [ "76" ], + "x-ms-client-request-id": [ "52991bc8-c82a-434a-95e8-d3d417069a97" ], "CommandName": [ "Remove-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Remove-AzVMwarePlacementPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -353,28 +397,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:58 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/placementPolicies/policy1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "75" ], - "x-ms-client-request-id": [ "1bfcdf72-d8ad-4211-a1ef-8a2f9df72e4f" ], + "x-ms-unique-id": [ "77" ], + "x-ms-client-request-id": [ "18021be5-472c-4d0c-9b79-27f099b972ea" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -384,7 +433,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:59 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -394,19 +447,19 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01+2": { + "AzVMwarePlacementPolicy+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "76" ], - "x-ms-client-request-id": [ "a7d70098-bbab-4ff8-825f-9a560d654328" ], + "x-ms-unique-id": [ "78" ], + "x-ms-client-request-id": [ "f38e6300-7222-48e5-adc2-1a7bc32b0922" ], "CommandName": [ "Remove-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Remove-AzVMwarePlacementPolicy_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -416,9 +469,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:38 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:59 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Recording.json index 53df4b937aee..ebffa73477f3 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Recording.json @@ -1,8 +1,8 @@ { - "AzVMwarePrivateCloud+[NoContext]+List1+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01+1": { + "AzVMwarePrivateCloud+[NoContext]+List1+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01", "Content": "{\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 3\r\n },\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n },\r\n \"sku\": {\r\n \"name\": \"av36\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -16,30 +16,34 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:43:39 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:58:59 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1377" ] + "Content-Length": [ "1414" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01+2": { + "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "78" ], - "x-ms-client-request-id": [ "50b54c8c-1199-4dda-8be0-50b5a71efe09" ], + "x-ms-unique-id": [ "80" ], + "x-ms-client-request-id": [ "6df14ed0-0e1e-44be-8bb8-b88367982731" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -48,30 +52,34 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:59:30 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01+3": { + "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "79" ], - "x-ms-client-request-id": [ "50b54c8c-1199-4dda-8be0-50b5a71efe09" ], + "x-ms-unique-id": [ "81" ], + "x-ms-client-request-id": [ "6df14ed0-0e1e-44be-8bb8-b88367982731" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -80,29 +88,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:59:30 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/privateClouds?api-version=2023-09-01+4": { + "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/privateClouds?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/privateClouds?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/privateClouds?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "80" ], - "x-ms-client-request-id": [ "c3458205-32fe-4b2e-bc52-77573fbb61c5" ], + "x-ms-unique-id": [ "82" ], + "x-ms-client-request-id": [ "e5bf42a1-bb78-4dc0-b4f9-f88952b9b7b9" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -112,29 +124,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:59:30 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1715" ] + "Content-Length": [ "1752" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\"},\"sku\":{\"name\":\"AV36\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\"},\"sku\":{\"name\":\"AV36\"}}]}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01+1": { + "AzVMwarePrivateCloud+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/lq4hfg?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/kb4ygv?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "81" ], - "x-ms-client-request-id": [ "8acb1dcf-0963-475c-b95a-21a76f57f276" ], + "x-ms-unique-id": [ "83" ], + "x-ms-client-request-id": [ "4d47793a-3a5c-449f-93ac-aaaf8f4c859f" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -144,29 +160,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:59:30 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds?api-version=2023-09-01+1": { + "AzVMwarePrivateCloud+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "82" ], - "x-ms-client-request-id": [ "38eac0cd-ea41-46dc-9131-9ddb42c28937" ], + "x-ms-unique-id": [ "84" ], + "x-ms-client-request-id": [ "d3c1b405-4e81-46e0-a37d-bdd70855fe5f" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -176,20 +196,24 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:59:30 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1860" ] + "Content-Length": [ "1897" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}]}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+1": { + "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", "Content": "{\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 3\r\n },\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n },\r\n \"sku\": {\r\n \"name\": \"av20\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -203,30 +227,34 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 03:59:30 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1377" ] + "Content-Length": [ "1414" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+2": { + "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "84" ], - "x-ms-client-request-id": [ "209b707b-a539-4d4e-a0b9-d81762bb7b37" ], + "x-ms-unique-id": [ "86" ], + "x-ms-client-request-id": [ "cf156d47-8a78-4875-873c-37b82e8caa18" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -235,30 +263,34 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:39 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:00 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+3": { + "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "85" ], - "x-ms-client-request-id": [ "209b707b-a539-4d4e-a0b9-d81762bb7b37" ], + "x-ms-unique-id": [ "87" ], + "x-ms-client-request-id": [ "cf156d47-8a78-4875-873c-37b82e8caa18" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -267,29 +299,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:39 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:00 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+1": { + "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "86" ], - "x-ms-client-request-id": [ "6c65694d-5d36-4462-a9ac-2d250cf7ea24" ], + "x-ms-unique-id": [ "88" ], + "x-ms-client-request-id": [ "45ce4938-20d5-420d-b10f-63460f7e2567" ], "CommandName": [ "Update-AzVMwarePrivateCloud" ], "FullCommandName": [ "Update-AzVMwarePrivateCloud_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -299,57 +335,65 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:39 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:00 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+2": { + "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", - "Content": "{\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 4,\r\n \"hosts\": [ \"fakehost18.nyc1.kubernetes.center\", \"fakehost19.nyc1.kubernetes.center\", \"fakehost20.nyc1.kubernetes.center\", \"fakehost21.nyc1.kubernetes.center\" ]\r\n },\r\n \"availability\": {\r\n \"strategy\": \"SingleZone\",\r\n \"zone\": 1\r\n },\r\n \"encryption\": {\r\n \"keyVaultProperties\": {\r\n \"keyName\": \"keyname1\",\r\n \"keyVersion\": \"ver1.0\",\r\n \"keyVaultUrl\": \"https://keyvault1-kmip-kvault.vault.azure.net/\"\r\n },\r\n \"status\": \"Enabled\"\r\n },\r\n \"internet\": \"Disabled\",\r\n \"identitySources\": [\r\n {\r\n \"name\": \"group1\",\r\n \"alias\": \"groupAlias\",\r\n \"domain\": \"domain1\",\r\n \"baseUserDN\": \"ou=baseUser\",\r\n \"baseGroupDN\": \"ou=baseGroup\",\r\n \"primaryServer\": \"ldaps://1.1.1.1:636/\",\r\n \"secondaryServer\": \"ldaps://1.1.1.2:636/\",\r\n \"ssl\": \"Enabled\"\r\n }\r\n ],\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n },\r\n \"sku\": {\r\n \"name\": \"AV36\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", + "Content": "{\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 4,\r\n \"hosts\": [ \"fakehost18.nyc1.kubernetes.center\", \"fakehost19.nyc1.kubernetes.center\", \"fakehost20.nyc1.kubernetes.center\", \"fakehost21.nyc1.kubernetes.center\" ],\r\n \"vsanDatastoreName\": \"vsanDatastore1\"\r\n },\r\n \"availability\": {\r\n \"strategy\": \"SingleZone\",\r\n \"zone\": 1\r\n },\r\n \"encryption\": {\r\n \"keyVaultProperties\": {\r\n \"keyName\": \"keyname1\",\r\n \"keyVersion\": \"ver1.0\",\r\n \"keyVaultUrl\": \"https://keyvault1-kmip-kvault.vault.azure.net/\"\r\n },\r\n \"status\": \"Enabled\"\r\n },\r\n \"internet\": \"Disabled\",\r\n \"identitySources\": [\r\n {\r\n \"name\": \"group1\",\r\n \"alias\": \"groupAlias\",\r\n \"domain\": \"domain1\",\r\n \"baseUserDN\": \"ou=baseUser\",\r\n \"baseGroupDN\": \"ou=baseGroup\",\r\n \"primaryServer\": \"ldaps://1.1.1.1:636/\",\r\n \"secondaryServer\": \"ldaps://1.1.1.2:636/\",\r\n \"ssl\": \"Enabled\"\r\n }\r\n ],\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n },\r\n \"sku\": {\r\n \"name\": \"AV36\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1104" ] + "Content-Length": [ "1150" ] } }, "Response": { "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:44:39 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:00 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1377" ] + "Content-Length": [ "1414" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+3": { + "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "88" ], - "x-ms-client-request-id": [ "6c65694d-5d36-4462-a9ac-2d250cf7ea24" ], + "x-ms-unique-id": [ "90" ], + "x-ms-client-request-id": [ "45ce4938-20d5-420d-b10f-63460f7e2567" ], "CommandName": [ "Update-AzVMwarePrivateCloud" ], "FullCommandName": [ "Update-AzVMwarePrivateCloud_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -358,30 +402,34 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:31 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+4": { + "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "89" ], - "x-ms-client-request-id": [ "6c65694d-5d36-4462-a9ac-2d250cf7ea24" ], + "x-ms-unique-id": [ "91" ], + "x-ms-client-request-id": [ "45ce4938-20d5-420d-b10f-63460f7e2567" ], "CommandName": [ "Update-AzVMwarePrivateCloud" ], "FullCommandName": [ "Update-AzVMwarePrivateCloud_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -390,29 +438,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:31 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01+1": { + "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "90" ], - "x-ms-client-request-id": [ "da3b4eb5-fffa-45ff-840e-3afc24e32474" ], + "x-ms-unique-id": [ "92" ], + "x-ms-client-request-id": [ "ccd42bbf-22a5-4844-878c-dcf2862c4a0a" ], "CommandName": [ "Update-AzVMwarePrivateCloud" ], "FullCommandName": [ "Update-AzVMwarePrivateCloud_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -422,57 +474,65 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:31 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01+2": { + "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01", - "Content": "{\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 4,\r\n \"hosts\": [ \"fakehost18.nyc1.kubernetes.center\", \"fakehost19.nyc1.kubernetes.center\", \"fakehost20.nyc1.kubernetes.center\", \"fakehost21.nyc1.kubernetes.center\" ]\r\n },\r\n \"availability\": {\r\n \"strategy\": \"SingleZone\",\r\n \"zone\": 1\r\n },\r\n \"encryption\": {\r\n \"keyVaultProperties\": {\r\n \"keyName\": \"keyname1\",\r\n \"keyVersion\": \"ver1.0\",\r\n \"keyVaultUrl\": \"https://keyvault1-kmip-kvault.vault.azure.net/\"\r\n },\r\n \"status\": \"Enabled\"\r\n },\r\n \"internet\": \"Disabled\",\r\n \"identitySources\": [\r\n {\r\n \"name\": \"group1\",\r\n \"alias\": \"groupAlias\",\r\n \"domain\": \"domain1\",\r\n \"baseUserDN\": \"ou=baseUser\",\r\n \"baseGroupDN\": \"ou=baseGroup\",\r\n \"primaryServer\": \"ldaps://1.1.1.1:636/\",\r\n \"secondaryServer\": \"ldaps://1.1.1.2:636/\",\r\n \"ssl\": \"Enabled\"\r\n }\r\n ],\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n },\r\n \"sku\": {\r\n \"name\": \"AV36\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01", + "Content": "{\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 4,\r\n \"hosts\": [ \"fakehost18.nyc1.kubernetes.center\", \"fakehost19.nyc1.kubernetes.center\", \"fakehost20.nyc1.kubernetes.center\", \"fakehost21.nyc1.kubernetes.center\" ],\r\n \"vsanDatastoreName\": \"vsanDatastore1\"\r\n },\r\n \"availability\": {\r\n \"strategy\": \"SingleZone\",\r\n \"zone\": 1\r\n },\r\n \"encryption\": {\r\n \"keyVaultProperties\": {\r\n \"keyName\": \"keyname1\",\r\n \"keyVersion\": \"ver1.0\",\r\n \"keyVaultUrl\": \"https://keyvault1-kmip-kvault.vault.azure.net/\"\r\n },\r\n \"status\": \"Enabled\"\r\n },\r\n \"internet\": \"Disabled\",\r\n \"identitySources\": [\r\n {\r\n \"name\": \"group1\",\r\n \"alias\": \"groupAlias\",\r\n \"domain\": \"domain1\",\r\n \"baseUserDN\": \"ou=baseUser\",\r\n \"baseGroupDN\": \"ou=baseGroup\",\r\n \"primaryServer\": \"ldaps://1.1.1.1:636/\",\r\n \"secondaryServer\": \"ldaps://1.1.1.2:636/\",\r\n \"ssl\": \"Enabled\"\r\n }\r\n ],\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n },\r\n \"sku\": {\r\n \"name\": \"AV36\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1104" ] + "Content-Length": [ "1150" ] } }, "Response": { "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:09 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:00:31 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1377" ] + "Content-Length": [ "1414" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01+3": { + "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "92" ], - "x-ms-client-request-id": [ "da3b4eb5-fffa-45ff-840e-3afc24e32474" ], + "x-ms-unique-id": [ "94" ], + "x-ms-client-request-id": [ "ccd42bbf-22a5-4844-878c-dcf2862c4a0a" ], "CommandName": [ "Update-AzVMwarePrivateCloud" ], "FullCommandName": [ "Update-AzVMwarePrivateCloud_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -481,30 +541,34 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:40 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:01 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01+4": { + "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloudmbqv?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloud9v3n?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "93" ], - "x-ms-client-request-id": [ "da3b4eb5-fffa-45ff-840e-3afc24e32474" ], + "x-ms-unique-id": [ "95" ], + "x-ms-client-request-id": [ "ccd42bbf-22a5-4844-878c-dcf2862c4a0a" ], "CommandName": [ "Update-AzVMwarePrivateCloud" ], "FullCommandName": [ "Update-AzVMwarePrivateCloud_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] }, "ContentHeaders": { } @@ -513,29 +577,33 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:40 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:01 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "2196" ] + "Content-Length": [ "2233" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"]},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"tags\":{},\"location\":\"eastus2\",\"properties\":{\"managementCluster\":{\"clusterSize\":4,\"clusterId\":1,\"hosts\":[\"fakehost18.nyc1.kubernetes.center\",\"fakehost19.nyc1.kubernetes.center\",\"fakehost20.nyc1.kubernetes.center\",\"fakehost21.nyc1.kubernetes.center\"],\"vsanDatastoreName\":\"vsanDatastore1\"},\"internet\":\"Disabled\",\"identitySources\":[{\"name\":\"group1\",\"alias\":\"groupAlias\",\"domain\":\"domain1\",\"baseUserDN\":\"ou=baseUser\",\"baseGroupDN\":\"ou=baseGroup\",\"primaryServer\":\"ldaps://1.1.1.1:636/\",\"secondaryServer\":\"ldaps://1.1.1.2:636/\",\"ssl\":\"Enabled\"}],\"availability\":{\"strategy\":\"SingleZone\",\"zone\":1},\"encryption\":{\"status\":\"Enabled\",\"keyVaultProperties\":{\"keyName\":\"keyname1\",\"keyVersion\":\"ver1.0\",\"keyVaultUrl\":\"https://keyvault1-kmip-kvault.vault.azure.net/\",\"keyState\":\"Connected\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"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\",\"expressRoutePrivatePeeringID\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"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\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"sku\":{\"name\":\"AV36\"},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01+1": { + "AzVMwarePrivateCloud+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/51qrlj?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/p4ydfx?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "94" ], - "x-ms-client-request-id": [ "5d4694d3-acf9-4a6d-b423-5419ac236c17" ], + "x-ms-unique-id": [ "96" ], + "x-ms-client-request-id": [ "5f42c0cf-ec5d-4e75-80a9-7f4d61decc94" ], "CommandName": [ "Az.VMware.internal\\Remove-AzVMwarePrivateCloud" ], "FullCommandName": [ "Remove-AzVMwarePrivateCloud_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -545,9 +613,14 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:40 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:01 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudAdminCredential.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudAdminCredential.Recording.json index fea191e20862..9e5378c77dde 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudAdminCredential.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudAdminCredential.Recording.json @@ -1,17 +1,17 @@ { - "AzVMwarePrivateCloudAdminCredential+[NoContext]+List+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/listAdminCredentials?api-version=2023-09-01+1": { + "AzVMwarePrivateCloudAdminCredential+[NoContext]+List+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/listAdminCredentials?api-version=2024-09-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/listAdminCredentials?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/listAdminCredentials?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "95" ], - "x-ms-client-request-id": [ "6272d18b-3f90-4dca-ac2e-fa82a70f1b14" ], + "x-ms-unique-id": [ "97" ], + "x-ms-client-request-id": [ "22d7eb2e-c3e4-4125-a9f8-7a5de4943902" ], "CommandName": [ "Get-AzVMwarePrivateCloudAdminCredential" ], "FullCommandName": [ "Get-AzVMwarePrivateCloudAdminCredential_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -21,7 +21,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:40 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:01 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudNsxtPassword.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudNsxtPassword.Recording.json index 95be4b6ecac4..796a0fa46567 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudNsxtPassword.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudNsxtPassword.Recording.json @@ -1,17 +1,17 @@ { - "AzVMwarePrivateCloudNsxtPassword+[NoContext]+Rotate+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/rotateNsxtPassword?api-version=2023-09-01+1": { + "AzVMwarePrivateCloudNsxtPassword+[NoContext]+Rotate+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/rotateNsxtPassword?api-version=2024-09-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/rotateNsxtPassword?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/rotateNsxtPassword?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "96" ], - "x-ms-client-request-id": [ "3b135a09-1a69-49c3-8a55-1d9dfcf8ff85" ], + "x-ms-unique-id": [ "98" ], + "x-ms-client-request-id": [ "8c200468-2c60-43d9-99c1-0a8bafc2dd67" ], "CommandName": [ "New-AzVMwarePrivateCloudNsxtPassword" ], "FullCommandName": [ "New-AzVMwarePrivateCloudNsxtPassword_Rotate" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -21,9 +21,14 @@ "StatusCode": 204, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:40 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:03 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudVcenterPassword.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudVcenterPassword.Recording.json index 9120198c30dd..3bfe993b8c7c 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudVcenterPassword.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudVcenterPassword.Recording.json @@ -1,17 +1,17 @@ { - "AzVMwarePrivateCloudVcenterPassword+[NoContext]+Rotate+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/rotateVcenterPassword?api-version=2023-09-01+1": { + "AzVMwarePrivateCloudVcenterPassword+[NoContext]+Rotate+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/rotateVcenterPassword?api-version=2024-09-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/rotateVcenterPassword?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/rotateVcenterPassword?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "97" ], - "x-ms-client-request-id": [ "fd6d97cd-b7ae-42e6-ae82-07ddbbe16e09" ], + "x-ms-unique-id": [ "99" ], + "x-ms-client-request-id": [ "6af2da08-3f0f-442b-9de2-19c32330be3d" ], "CommandName": [ "New-AzVMwarePrivateCloudVcenterPassword" ], "FullCommandName": [ "New-AzVMwarePrivateCloudVcenterPassword_Rotate" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -21,9 +21,14 @@ "StatusCode": 204, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:41 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:03 GMT" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], "Content-Length": [ "0" ] }, "Content": null, diff --git a/src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Recording.json new file mode 100644 index 000000000000..9b059849d082 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Recording.json @@ -0,0 +1,74 @@ +{ + "AzVMwareProvisionedNetwork+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/provisionedNetworks?api-version=2024-09-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/provisionedNetworks?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "100" ], + "x-ms-client-request-id": [ "bc4a1f5b-d5ba-4400-8550-d1f7a2c2b186" ], + "CommandName": [ "Get-AzVMwareProvisionedNetwork" ], + "FullCommandName": [ "Get-AzVMwareProvisionedNetwork_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:04 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "908" ] + }, + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan\",\"name\":\"vsan\",\"type\":\"Microsoft.AVS/privateClouds/provisionedNetworks\",\"properties\":{\"addressPrefix\":\"10.0.2.128/25\",\"networkType\":\"vsan\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot\",\"name\":\"esxvmot\",\"type\":\"Microsoft.AVS/privateClouds/provisionedNetworks\",\"properties\":{\"addressPrefix\":\"10.0.1.128/25\",\"networkType\":\"esxvmot\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet\",\"name\":\"mgmtvnet\",\"type\":\"Microsoft.AVS/privateClouds/provisionedNetworks\",\"properties\":{\"addressPrefix\":\"10.0.3.128/26\",\"networkType\":\"mgmtvnet\"}}]}", + "isContentBase64": false + } + }, + "AzVMwareProvisionedNetwork+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/provisionedNetworks/vsan?api-version=2024-09-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/provisionedNetworks/vsan?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "101" ], + "x-ms-client-request-id": [ "4c92dff7-9119-4d76-ad5a-f32366b47f2d" ], + "CommandName": [ "Get-AzVMwareProvisionedNetwork" ], + "FullCommandName": [ "Get-AzVMwareProvisionedNetwork_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:04 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "291" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan\",\"name\":\"vsan\",\"type\":\"Microsoft.AVS/privateClouds/provisionedNetworks\",\"properties\":{\"addressPrefix\":\"10.0.2.128/25\",\"networkType\":\"vsan\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Tests.ps1 new file mode 100644 index 000000000000..66d980639fc8 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwareProvisionedNetwork.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'AzVMwareProvisionedNetwork.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'AzVMwareProvisionedNetwork' { + It 'List' { + { + $result = Get-AzVMwareProvisionedNetwork -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 + $result.Count | Should -BeGreaterThan 0 + $result[0].Name | Should -Not -BeNullOrEmpty + } | Should -Not -Throw + } + + It 'Get' { + { + $result = Get-AzVMwareProvisionedNetwork -Name "vsan" -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 + $result.Name | Should -Be "vsan" + } | Should -Not -Throw + } +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Recording.json new file mode 100644 index 000000000000..8ee02d88aed9 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Recording.json @@ -0,0 +1,316 @@ +{ + "AzVMwarePureStoragePolicy+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": "{\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "4" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:04 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "db8d5b63-f61e-4cdd-a582-a69d55d3265d" ], + "CommandName": [ "New-AzVMwarePureStoragePolicy" ], + "FullCommandName": [ "New-AzVMwarePureStoragePolicy_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:35 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "104" ], + "x-ms-client-request-id": [ "db8d5b63-f61e-4cdd-a582-a69d55d3265d" ], + "CommandName": [ "New-AzVMwarePureStoragePolicy" ], + "FullCommandName": [ "New-AzVMwarePureStoragePolicy_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:35 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "105" ], + "x-ms-client-request-id": [ "75f45c4a-74f4-46cc-952b-52eacafa8f84" ], + "CommandName": [ "Get-AzVMwarePureStoragePolicy" ], + "FullCommandName": [ "Get-AzVMwarePureStoragePolicy_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:35 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "106" ], + "x-ms-client-request-id": [ "efd209b8-3932-4c77-98d8-3253824b319e" ], + "CommandName": [ "Update-AzVMwarePureStoragePolicy" ], + "FullCommandName": [ "Update-AzVMwarePureStoragePolicy_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:35 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Update+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": "{\r\n \"properties\": {\r\n \"storagePolicyDefinition\": \"storagePolicyDefinition1\",\r\n \"storagePoolId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\"\r\n }\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "240" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:01:35 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "108" ], + "x-ms-client-request-id": [ "efd209b8-3932-4c77-98d8-3253824b319e" ], + "CommandName": [ "Update-AzVMwarePureStoragePolicy" ], + "FullCommandName": [ "Update-AzVMwarePureStoragePolicy_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:02:05 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Update+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "efd209b8-3932-4c77-98d8-3253824b319e" ], + "CommandName": [ "Update-AzVMwarePureStoragePolicy" ], + "FullCommandName": [ "Update-AzVMwarePureStoragePolicy_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:02:05 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "489" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1\",\"name\":\"storagePolicy1\",\"type\":\"Microsoft.AVS/privateClouds/pureStoragePolicies\",\"properties\":{\"storagePolicyDefinition\":\"storagePolicyDefinition1\",\"storagePoolId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false + } + }, + "AzVMwarePureStoragePolicy+[NoContext]+Remove+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01+1": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/pureStoragePolicies/storagePolicy1?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "110" ], + "x-ms-client-request-id": [ "ded7115a-3f3b-4c66-bdd3-5abcd938cfe8" ], + "CommandName": [ "Remove-AzVMwarePureStoragePolicy" ], + "FullCommandName": [ "Remove-AzVMwarePureStoragePolicy_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:02:05 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Tests.ps1 new file mode 100644 index 000000000000..e17ae09f3b1d --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwarePureStoragePolicy.Tests.ps1 @@ -0,0 +1,41 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'AzVMwarePureStoragePolicy.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'AzVMwarePureStoragePolicy' { + It 'Create' { + { + $result = New-AzVMwarePureStoragePolicy -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 -StoragePolicyName "storagePolicy1" + $result.Name | Should -Be "storagePolicy1" + } | Should -Not -Throw + } + + It 'Get' { + { + $result = Get-AzVMwarePureStoragePolicy -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 -StoragePolicyName "storagePolicy1" + $result.Name | Should -Be "storagePolicy1" + } | Should -Not -Throw + } + + It 'Update' { + { + $result = Update-AzVMwarePureStoragePolicy -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 -StoragePolicyName "storagePolicy1" + $result.Name | Should -Be "storagePolicy1" + } | Should -Not -Throw + } + + It 'Remove' { + { + Remove-AzVMwarePureStoragePolicy -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 -StoragePolicyName "storagePolicy1" + } | Should -Not -Throw +} +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwareSku.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareSku.Recording.json new file mode 100644 index 000000000000..6393116f715f --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwareSku.Recording.json @@ -0,0 +1,38 @@ +{ + "AzVMwareSku+[NoContext]+List all SKUs+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/skus?api-version=2024-09-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/skus?api-version=2024-09-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "111" ], + "x-ms-client-request-id": [ "89055464-a7e3-402b-b874-675332bfbc21" ], + "CommandName": [ "Get-AzVMwareSku" ], + "FullCommandName": [ "Get-AzVMwareSku_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Server": [ "Rocket" ], + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:02:07 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "1110" ] + }, + "Content": "{\"value\":[{\"resourceType\":\"privateClouds\",\"name\":\"av36\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"1\"],\"zoneDetails\":[]}],\"capabilities\":[{\"name\":\"CpuCoreCount\",\"value\":\"36\"},{\"name\":\"RamGB\",\"value\":\"576\"},{\"name\":\"StorageCacheTB\",\"value\":\"3.2\"},{\"name\":\"StorageTB\",\"value\":\"15.2\"},{\"name\":\"HostType\",\"value\":\"he\"}],\"restrictions\":[]},{\"resourceType\":\"privateClouds\",\"name\":\"av36p\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[\"3\"],\"zoneDetails\":[]}],\"capabilities\":[{\"name\":\"CpuCoreCount\",\"value\":\"36\"},{\"name\":\"RamGB\",\"value\":\"768\"},{\"name\":\"StorageCacheTB\",\"value\":\"1.5\"},{\"name\":\"StorageTB\",\"value\":\"19.2\"},{\"name\":\"HostType\",\"value\":\"he2\"}],\"restrictions\":[]},{\"resourceType\":\"privateClouds\",\"name\":\"av36pt\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"3\"],\"zoneDetails\":[]}],\"capabilities\":[{\"name\":\"CpuCoreCount\",\"value\":\"36\"},{\"name\":\"RamGB\",\"value\":\"768\"},{\"name\":\"StorageCacheTB\",\"value\":\"1.5\"},{\"name\":\"StorageTB\",\"value\":\"19.2\"},{\"name\":\"HostType\",\"value\":\"he2\"}],\"restrictions\":[]}]}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwareSku.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwareSku.Tests.ps1 new file mode 100644 index 000000000000..8fe5da9a7eec --- /dev/null +++ b/src/VMware/VMware.Autorest/test/AzVMwareSku.Tests.ps1 @@ -0,0 +1,23 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'AzVMwareSku.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'AzVMwareSku' { + It 'List all SKUs' { + { + $result = Get-AzVMwareSku + $result | Should -Not -BeNullOrEmpty + $result[0].Name | Should -Not -BeNullOrEmpty + $result[0].Location | Should -Not -BeNullOrEmpty + } | Should -Not -Throw + } +} \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwareVirtualMachine.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareVirtualMachine.Recording.json index ad5859bc406e..c51dbdbece0f 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareVirtualMachine.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareVirtualMachine.Recording.json @@ -1,17 +1,17 @@ { - "AzVMwareVirtualMachine+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/virtualMachines?api-version=2023-09-01+1": { + "AzVMwareVirtualMachine+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/virtualMachines?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/virtualMachines?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/virtualMachines?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "98" ], - "x-ms-client-request-id": [ "930378e9-277c-40ad-a08c-c4160786f364" ], + "x-ms-unique-id": [ "112" ], + "x-ms-client-request-id": [ "95e5cf8c-82f0-441f-a24d-762bde6c5c99" ], "CommandName": [ "Get-AzVMwareVirtualMachine" ], "FullCommandName": [ "Get-AzVMwareVirtualMachine_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -21,7 +21,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:42 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:02:07 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], @@ -31,19 +35,19 @@ "isContentBase64": false } }, - "AzVMwareVirtualMachine+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/virtualMachines/vm-209?api-version=2023-09-01+1": { + "AzVMwareVirtualMachine+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/virtualMachines/vm-209?api-version=2024-09-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupqbeopr/providers/Microsoft.AVS/privateClouds/azps_test_cloud6koz/clusters/lq4hfg/virtualMachines/vm-209?api-version=2023-09-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupt27wzr/providers/Microsoft.AVS/privateClouds/azps_test_cloudptc1/clusters/kb4ygv/virtualMachines/vm-209?api-version=2024-09-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "99" ], - "x-ms-client-request-id": [ "3f685d9c-4792-4ae1-baa4-f932a1b3fae0" ], + "x-ms-unique-id": [ "113" ], + "x-ms-client-request-id": [ "04b5a157-af03-44cb-856a-ef709fec63f9" ], "CommandName": [ "Get-AzVMwareVirtualMachine" ], "FullCommandName": [ "Get-AzVMwareVirtualMachine_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.3", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v14.1.0", "PSVersion/v7.5.1", "Az.VMware/0.7.2" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -53,7 +57,11 @@ "StatusCode": 200, "Headers": { "Server": [ "Rocket" ], - "Date": [ "Thu, 27 Jun 2024 15:45:42 GMT" ] + "Access-Control-Allow-Origin": [ "*" ], + "Access-Control-Allow-Methods": [ "PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS" ], + "Access-Control-Allow-Headers": [ "*" ], + "Access-Control-Allow-Credentials": [ "true" ], + "Date": [ "Fri, 13 Jun 2025 04:02:07 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json" ], diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwareHost.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareHost.Tests.ps1 new file mode 100644 index 000000000000..318e7931d91a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareHost.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareHost')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareHost.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzVMwareHost' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityPrivateCloud' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityCluster' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwareProvisionedNetwork.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareProvisionedNetwork.Tests.ps1 new file mode 100644 index 000000000000..e8a58d333df4 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareProvisionedNetwork.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareProvisionedNetwork')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareProvisionedNetwork.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzVMwareProvisionedNetwork' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityPrivateCloud' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwarePureStoragePolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwarePureStoragePolicy.Tests.ps1 new file mode 100644 index 000000000000..101fe70b0a1d --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwarePureStoragePolicy.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwarePureStoragePolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwarePureStoragePolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzVMwarePureStoragePolicy' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityPrivateCloud' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwareSku.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareSku.Tests.ps1 new file mode 100644 index 000000000000..99bb52432f31 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareSku.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareSku')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareSku.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzVMwareSku' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwarePureStoragePolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwarePureStoragePolicy.Tests.ps1 new file mode 100644 index 000000000000..2689da68fc7a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwarePureStoragePolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwarePureStoragePolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwarePureStoragePolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzVMwarePureStoragePolicy' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityPrivateCloudExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwarePureStoragePolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwarePureStoragePolicy.Tests.ps1 new file mode 100644 index 000000000000..5e3eaea28b72 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwarePureStoragePolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwarePureStoragePolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwarePureStoragePolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzVMwarePureStoragePolicy' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityPrivateCloud' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Update-AzVMwarePureStoragePolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwarePureStoragePolicy.Tests.ps1 new file mode 100644 index 000000000000..5b99ff1e1d60 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwarePureStoragePolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwarePureStoragePolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwarePureStoragePolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzVMwarePureStoragePolicy' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityPrivateCloudExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/env.json b/src/VMware/VMware.Autorest/test/env.json index 141d6b41805a..114641566230 100644 --- a/src/VMware/VMware.Autorest/test/env.json +++ b/src/VMware/VMware.Autorest/test/env.json @@ -1,18 +1,18 @@ { - "privateCloudName1": "azps_test_cloud6koz", - "resourceGroup1": "testgroupqbeopr", - "rstr4": "qbeopr", - "rstr1": "lq4hfg", - "policy1": "policy1", + "rstr2": "p4ydfx", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "privateCloudName2": "azps_test_cloud9v3n", + "policy2": "policy2", "SubscriptionId": "cef41485-ad1e-4cc3-a652-4c2620b8a2d0", - "rstr3": "qgr0ld", - "privateCloudName2": "azps_test_cloudmbqv", - "privateCloudName3": "azps_test_cloudfq40", - "location2": "westcentralus", - "rstr2": "51qrlj", - "resourceGroup3": "testgroupqbeopr", + "rstr3": "xh7cms", + "rstr4": "t27wzr", + "privateCloudName1": "azps_test_cloudptc1", + "resourceGroup2": "testgroupt27wzr", + "resourceGroup1": "testgroupt27wzr", + "rstr1": "kb4ygv", "location1": "centralus", - "resourceGroup2": "testgroupqbeopr", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "policy2": "policy2" + "location2": "westcentralus", + "policy1": "policy1", + "resourceGroup3": "testgroupt27wzr", + "privateCloudName3": "azps_test_cloudszc3" } diff --git a/src/VMware/VMware/Az.VMware.psd1 b/src/VMware/VMware/Az.VMware.psd1 index 76b8c63ae894..bb15aec2190f 100644 --- a/src/VMware/VMware/Az.VMware.psd1 +++ b/src/VMware/VMware/Az.VMware.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 4/1/2025 +# Generated on: 6/12/2025 # @{ @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.1.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'VMware.Autorest/bin/Az.VMware.private.dll' @@ -72,10 +72,12 @@ NestedModules = @('VMware.Autorest/Az.VMware.psm1') FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization', 'Get-AzVMwareCloudLink', 'Get-AzVMwareCluster', 'Get-AzVMwareClusterZone', 'Get-AzVMwareDatastore', - 'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwareIscsiPath', - 'Get-AzVMwarePlacementPolicy', 'Get-AzVMwarePrivateCloud', + 'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwareHost', + 'Get-AzVMwareIscsiPath', 'Get-AzVMwarePlacementPolicy', + 'Get-AzVMwarePrivateCloud', 'Get-AzVMwarePrivateCloudAdminCredential', - 'Get-AzVMwareVirtualMachine', 'New-AzVMwareAddon', + 'Get-AzVMwareProvisionedNetwork', 'Get-AzVMwarePureStoragePolicy', + 'Get-AzVMwareSku', 'Get-AzVMwareVirtualMachine', 'New-AzVMwareAddon', 'New-AzVMwareAddonSrmPropertyObject', 'New-AzVMwareAddonVrPropertyObject', 'New-AzVMwareAuthorization', 'New-AzVMwareCloudLink', 'New-AzVMwareCluster', @@ -84,6 +86,7 @@ FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization', 'New-AzVMwarePrivateCloud', 'New-AzVMwarePrivateCloudNsxtPassword', 'New-AzVMwarePrivateCloudVcenterPassword', 'New-AzVMwarePSCredentialExecutionParameterObject', + 'New-AzVMwarePureStoragePolicy', 'New-AzVMwareScriptSecureStringExecutionParameterObject', 'New-AzVMwareScriptStringExecutionParameterObject', 'New-AzVMwareVmHostPlacementPolicyPropertyObject', @@ -92,13 +95,14 @@ FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization', 'Remove-AzVMwareCloudLink', 'Remove-AzVMwareCluster', 'Remove-AzVMwareDatastore', 'Remove-AzVMwareGlobalReachConnection', 'Remove-AzVMwareIscsiPath', 'Remove-AzVMwarePlacementPolicy', - 'Remove-AzVMwarePrivateCloud', + 'Remove-AzVMwarePrivateCloud', 'Remove-AzVMwarePureStoragePolicy', 'Test-AzVMwareLocationQuotaAvailability', 'Test-AzVMwareLocationTrialAvailability', 'Update-AzVMwareAuthorization', 'Update-AzVMwareCloudLink', 'Update-AzVMwareCluster', 'Update-AzVMwareDatastore', 'Update-AzVMwareGlobalReachConnection', 'Update-AzVMwareIscsiPath', - 'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud' + 'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud', + 'Update-AzVMwarePureStoragePolicy' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() diff --git a/src/VMware/VMware/help/Az.VMware.md b/src/VMware/VMware/help/Az.VMware.md index 2a4d7e468c99..32f0e4ecd71f 100644 --- a/src/VMware/VMware/help/Az.VMware.md +++ b/src/VMware/VMware/help/Az.VMware.md @@ -32,6 +32,9 @@ Get a Datastore ### [Get-AzVMwareGlobalReachConnection](Get-AzVMwareGlobalReachConnection.md) Get a GlobalReachConnection +### [Get-AzVMwareHost](Get-AzVMwareHost.md) +Get a Host + ### [Get-AzVMwareIscsiPath](Get-AzVMwareIscsiPath.md) Get a IscsiPath @@ -44,6 +47,15 @@ Get a PrivateCloud ### [Get-AzVMwarePrivateCloudAdminCredential](Get-AzVMwarePrivateCloudAdminCredential.md) List the admin credentials for the private cloud +### [Get-AzVMwareProvisionedNetwork](Get-AzVMwareProvisionedNetwork.md) +Get a ProvisionedNetwork + +### [Get-AzVMwarePureStoragePolicy](Get-AzVMwarePureStoragePolicy.md) +Get a PureStoragePolicy + +### [Get-AzVMwareSku](Get-AzVMwareSku.md) +A list of SKUs. + ### [Get-AzVMwareVirtualMachine](Get-AzVMwareVirtualMachine.md) Get a VirtualMachine @@ -89,6 +101,9 @@ Rotate the vCenter password ### [New-AzVMwarePSCredentialExecutionParameterObject](New-AzVMwarePSCredentialExecutionParameterObject.md) Create an in-memory object for PSCredentialExecutionParameter. +### [New-AzVMwarePureStoragePolicy](New-AzVMwarePureStoragePolicy.md) +Create a PureStoragePolicy + ### [New-AzVMwareScriptSecureStringExecutionParameterObject](New-AzVMwareScriptSecureStringExecutionParameterObject.md) Create an in-memory object for ScriptSecureStringExecutionParameter. @@ -128,6 +143,9 @@ Delete a PlacementPolicy ### [Remove-AzVMwarePrivateCloud](Remove-AzVMwarePrivateCloud.md) Delete a private cloud +### [Remove-AzVMwarePureStoragePolicy](Remove-AzVMwarePureStoragePolicy.md) +Delete a PureStoragePolicy + ### [Test-AzVMwareLocationQuotaAvailability](Test-AzVMwareLocationQuotaAvailability.md) Return quota for subscription by region @@ -158,3 +176,6 @@ Update a PlacementPolicy ### [Update-AzVMwarePrivateCloud](Update-AzVMwarePrivateCloud.md) Update a PrivateCloud +### [Update-AzVMwarePureStoragePolicy](Update-AzVMwarePureStoragePolicy.md) +Update a PureStoragePolicy + diff --git a/src/VMware/VMware/help/Get-AzVMwareHost.md b/src/VMware/VMware/help/Get-AzVMwareHost.md new file mode 100644 index 000000000000..702b02aa3d20 --- /dev/null +++ b/src/VMware/VMware/help/Get-AzVMwareHost.md @@ -0,0 +1,233 @@ +--- +external help file: Az.VMware-help.xml +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarehost +schema: 2.0.0 +--- + +# Get-AzVMwareHost + +## SYNOPSIS +Get a Host + +## SYNTAX + +### List (Default) +``` +Get-AzVMwareHost -ClusterName -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareHost -ClusterName -Id -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzVMwareHost -ClusterName -Id -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +### GetViaIdentityCluster +``` +Get-AzVMwareHost -Id -ClusterInputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentity +``` +Get-AzVMwareHost -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get a Host + +## EXAMPLES + +### Example 1: List all hosts in a cluster +```powershell +Get-AzVMwareHost -ClusterName azps_test_cluster -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type SkuName ResourceGroupName Kind Maintenance +---- ---- ------- ----------------- ------------- ----------- +esx03-r52.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts av64 azps_test_group General +esx03-r60.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts av64 azps_test_group General Replacement +esx03-r65.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts azps_test_group Specialized +``` + +Lists all hosts in the specified cluster within the private cloud and resource group. + +### Example 2: Get a host by ID in a cluster +```powershell +Get-AzVMwareHost -ClusterName azps_test_cluster -Id esx03-r52.1111111111111111111.westcentralus.prod.azure.com -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type ResourceGroupName SkuName Kind +---- ---- ----------------- ------- ---- +esx03-r52.1111111111111111111.westcentralus.prod.azure.com Microsoft.AVS/privateClouds/clusters/hosts azps_test_group av64 General +``` + +Gets a specific host by its ID in the specified cluster, private cloud, and resource group. + +## PARAMETERS + +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterName +Name of the cluster + +```yaml +Type: System.String +Parameter Sets: List, GetViaIdentityPrivateCloud, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +The host identifier. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityPrivateCloud, Get, GetViaIdentityCluster +Aliases: HostId + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IHost + +## NOTES + +## RELATED LINKS diff --git a/src/VMware/VMware/help/Get-AzVMwareProvisionedNetwork.md b/src/VMware/VMware/help/Get-AzVMwareProvisionedNetwork.md new file mode 100644 index 000000000000..4d4000553823 --- /dev/null +++ b/src/VMware/VMware/help/Get-AzVMwareProvisionedNetwork.md @@ -0,0 +1,197 @@ +--- +external help file: Az.VMware-help.xml +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareprovisionednetwork +schema: 2.0.0 +--- + +# Get-AzVMwareProvisionedNetwork + +## SYNOPSIS +Get a ProvisionedNetwork + +## SYNTAX + +### List (Default) +``` +Get-AzVMwareProvisionedNetwork -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareProvisionedNetwork -Name -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzVMwareProvisionedNetwork -Name -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +### GetViaIdentity +``` +Get-AzVMwareProvisionedNetwork -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get a ProvisionedNetwork + +## EXAMPLES + +### Example 1: List all provisioned networks in a private cloud +```powershell +Get-AzVMwareProvisionedNetwork -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type AddressPrefix NetworkType ResourceGroupName +---- ---- ------------- ---------- ----------------- +vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group +esxvmot Microsoft.AVS/privateClouds/provisionedNetworks 10.0.1.128/25 esxvmot azps_test_group +mgmtvnet Microsoft.AVS/privateClouds/provisionedNetworks 10.0.3.128/26 mgmtvnet azps_test_group +``` + +Lists all provisioned networks in the specified private cloud and resource group. + +### Example 2: Get a provisioned network by name +```powershell +Get-AzVMwareProvisionedNetwork -Name vsan -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type AddressPrefix NetworkType ResourceGroupName +---- ---- ------------- ---------- ----------------- +vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group +``` + +Gets a specific provisioned network by name in the specified private cloud and resource group + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the cloud link. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityPrivateCloud, Get +Aliases: ProvisionedNetworkName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IProvisionedNetwork + +## NOTES + +## RELATED LINKS diff --git a/src/VMware/VMware/help/Get-AzVMwarePureStoragePolicy.md b/src/VMware/VMware/help/Get-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..58a55ebee333 --- /dev/null +++ b/src/VMware/VMware/help/Get-AzVMwarePureStoragePolicy.md @@ -0,0 +1,195 @@ +--- +external help file: Az.VMware-help.xml +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarepurestoragepolicy +schema: 2.0.0 +--- + +# Get-AzVMwarePureStoragePolicy + +## SYNOPSIS +Get a PureStoragePolicy + +## SYNTAX + +### List (Default) +``` +Get-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +### Get +``` +Get-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwarePureStoragePolicy -StoragePolicyName -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzVMwarePureStoragePolicy -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get a PureStoragePolicy + +## EXAMPLES + +### Example 1: List all Pure Storage policies in a private cloud +```powershell +Get-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Lists all Pure Storage policies in the specified private cloud and resource group. + +### Example 2: Get a Pure Storage policy by name +```powershell +Get-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Gets a specific Pure Storage policy by name in the specified private cloud and resource group. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPureStoragePolicy + +## NOTES + +## RELATED LINKS diff --git a/src/VMware/VMware/help/Get-AzVMwareSku.md b/src/VMware/VMware/help/Get-AzVMwareSku.md new file mode 100644 index 000000000000..3499d3a9cd2c --- /dev/null +++ b/src/VMware/VMware/help/Get-AzVMwareSku.md @@ -0,0 +1,85 @@ +--- +external help file: Az.VMware-help.xml +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwaresku +schema: 2.0.0 +--- + +# Get-AzVMwareSku + +## SYNOPSIS +A list of SKUs. + +## SYNTAX + +``` +Get-AzVMwareSku [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +## DESCRIPTION +A list of SKUs. + +## EXAMPLES + +### Example 1: List all available SKUs +```powershell +Get-AzVMwareSku +``` + +```output +Name Location ResourceType +---- -------- ------------ +av36 australiaeast privateClouds +av36p centralindia privateClouds +av36pt westeurope privateClouds +``` + +Lists all available SKUs. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IResourceSku + +## NOTES + +## RELATED LINKS diff --git a/src/VMware/VMware/help/New-AzVMwareAuthorization.md b/src/VMware/VMware/help/New-AzVMwareAuthorization.md index cff2e9279a90..e65d122fa299 100644 --- a/src/VMware/VMware/help/New-AzVMwareAuthorization.md +++ b/src/VMware/VMware/help/New-AzVMwareAuthorization.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareAuthorization ## SYNOPSIS -create a ExpressRouteAuthorization +Create a ExpressRouteAuthorization ## SYNTAX @@ -34,7 +34,7 @@ New-AzVMwareAuthorization -InputObject [-ExpressRouteId [-LinkedCloud ] [-D ``` ## DESCRIPTION -create a CloudLink +Create a CloudLink ## EXAMPLES diff --git a/src/VMware/VMware/help/New-AzVMwareCluster.md b/src/VMware/VMware/help/New-AzVMwareCluster.md index fae73b01b67e..c407735232ab 100644 --- a/src/VMware/VMware/help/New-AzVMwareCluster.md +++ b/src/VMware/VMware/help/New-AzVMwareCluster.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareCluster ## SYNOPSIS -create a Cluster +Create a Cluster ## SYNTAX @@ -38,7 +38,7 @@ New-AzVMwareCluster -InputObject -SkuName [-ClusterSi ``` ## DESCRIPTION -create a Cluster +Create a Cluster ## EXAMPLES diff --git a/src/VMware/VMware/help/New-AzVMwareDatastore.md b/src/VMware/VMware/help/New-AzVMwareDatastore.md index 64a055c10136..a4569dfd0afd 100644 --- a/src/VMware/VMware/help/New-AzVMwareDatastore.md +++ b/src/VMware/VMware/help/New-AzVMwareDatastore.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareDatastore ## SYNOPSIS -create a Datastore +Create a Datastore ## SYNTAX @@ -17,36 +17,40 @@ create a Datastore New-AzVMwareDatastore -ClusterName -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` ### CreateViaIdentityPrivateCloudExpanded ``` New-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] - [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] + [-PureStorageVolumeStoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityClusterExpanded ``` New-AzVMwareDatastore -Name -ClusterInputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` ### CreateViaIdentityExpanded ``` New-AzVMwareDatastore -InputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION -create a Datastore +Create a Datastore ## EXAMPLES @@ -276,6 +280,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PureStorageVolumeSizeGb +Volume size to be used to create a Virtual Volumes (vVols) datastore + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PureStorageVolumeStoragePoolId +Azure resource ID of the Pure Storage Pool + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/VMware/VMware/help/New-AzVMwareGlobalReachConnection.md b/src/VMware/VMware/help/New-AzVMwareGlobalReachConnection.md index f0741b03df14..878b63d589c9 100644 --- a/src/VMware/VMware/help/New-AzVMwareGlobalReachConnection.md +++ b/src/VMware/VMware/help/New-AzVMwareGlobalReachConnection.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareGlobalReachConnection ## SYNOPSIS -create a GlobalReachConnection +Create a GlobalReachConnection ## SYNTAX @@ -36,7 +36,7 @@ New-AzVMwareGlobalReachConnection -InputObject [-Authorization ``` ## DESCRIPTION -create a GlobalReachConnection +Create a GlobalReachConnection ## EXAMPLES diff --git a/src/VMware/VMware/help/New-AzVMwareIscsiPath.md b/src/VMware/VMware/help/New-AzVMwareIscsiPath.md index f02cacb92b5d..2bdb4e996085 100644 --- a/src/VMware/VMware/help/New-AzVMwareIscsiPath.md +++ b/src/VMware/VMware/help/New-AzVMwareIscsiPath.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareIscsiPath ## SYNOPSIS -create a IscsiPath +Create a IscsiPath ## SYNTAX @@ -26,7 +26,7 @@ New-AzVMwareIscsiPath -InputObject [-NetworkBlock ] [- ``` ## DESCRIPTION -create a IscsiPath +Create a IscsiPath ## EXAMPLES diff --git a/src/VMware/VMware/help/New-AzVMwarePSCredentialExecutionParameterObject.md b/src/VMware/VMware/help/New-AzVMwarePSCredentialExecutionParameterObject.md index 68974ea8d9b1..d0c51c61b5b6 100644 --- a/src/VMware/VMware/help/New-AzVMwarePSCredentialExecutionParameterObject.md +++ b/src/VMware/VMware/help/New-AzVMwarePSCredentialExecutionParameterObject.md @@ -24,7 +24,7 @@ Create an in-memory object for PSCredentialExecutionParameter. ### Example 1: Create a local PS Credential Execution object ```powershell -$mypwd = ConvertTo-SecureString -String "****" -AsPlainText -Force +$mypwd = ConvertTo-SecureString -String "1234" -Force -AsPlainText New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue -Password $mypwd -Username "usernameValue" ``` diff --git a/src/VMware/VMware/help/New-AzVMwarePlacementPolicy.md b/src/VMware/VMware/help/New-AzVMwarePlacementPolicy.md index 105f3c264dd4..e4a643522e3d 100644 --- a/src/VMware/VMware/help/New-AzVMwarePlacementPolicy.md +++ b/src/VMware/VMware/help/New-AzVMwarePlacementPolicy.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwarePlacementPolicy ## SYNOPSIS -create a PlacementPolicy +Create a PlacementPolicy ## SYNTAX @@ -42,7 +42,7 @@ New-AzVMwarePlacementPolicy -InputObject [-Property -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwarePureStoragePolicy -StoragePolicyName -PrivateCloudInputObject + [-StoragePolicyDefinition ] [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzVMwarePureStoragePolicy -InputObject [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Create a PureStoragePolicy + +## EXAMPLES + +### Example 1: Create a new Pure Storage policy in a private cloud +```powershell +New-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +reates a new Pure Storage policy in the specified private cloud and resource group. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: CreateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyDefinition +Definition of a Pure Storage Policy Based Management policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePoolId +Azure resource ID of the Pure Storage Pool associated with the storage policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPureStoragePolicy + +## NOTES + +## RELATED LINKS diff --git a/src/VMware/VMware/help/New-AzVMwareScriptSecureStringExecutionParameterObject.md b/src/VMware/VMware/help/New-AzVMwareScriptSecureStringExecutionParameterObject.md index 6be83a00c484..d5910181ae4f 100644 --- a/src/VMware/VMware/help/New-AzVMwareScriptSecureStringExecutionParameterObject.md +++ b/src/VMware/VMware/help/New-AzVMwareScriptSecureStringExecutionParameterObject.md @@ -24,7 +24,7 @@ Create an in-memory object for ScriptSecureStringExecutionParameter. ### Example 1: Create a local Script Secure String Execution object ```powershell -$mypwd = ConvertTo-SecureString -String "****" -AsPlainText -Force +$mypwd = ConvertTo-SecureString -String "1234" -Force -AsPlainText New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue $mypwd ``` diff --git a/src/VMware/VMware/help/Remove-AzVMwarePureStoragePolicy.md b/src/VMware/VMware/help/Remove-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..c5c0e983a844 --- /dev/null +++ b/src/VMware/VMware/help/Remove-AzVMwarePureStoragePolicy.md @@ -0,0 +1,246 @@ +--- +external help file: Az.VMware-help.xml +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwarepurestoragepolicy +schema: 2.0.0 +--- + +# Remove-AzVMwarePureStoragePolicy + +## SYNOPSIS +Delete a PureStoragePolicy + +## SYNTAX + +### Delete (Default) +``` +Remove-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwarePureStoragePolicy -StoragePolicyName -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-AzVMwarePureStoragePolicy -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete a PureStoragePolicy + +## EXAMPLES + +### Example 1: Remove a Pure Storage policy from a private cloud +```powershell +Remove-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +Removes the Pure Storage policy from the specified private cloud and resource group. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: DeleteViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/VMware/VMware/help/Update-AzVMwareAuthorization.md b/src/VMware/VMware/help/Update-AzVMwareAuthorization.md index 90270f0fa9e6..e77e62fdca51 100644 --- a/src/VMware/VMware/help/Update-AzVMwareAuthorization.md +++ b/src/VMware/VMware/help/Update-AzVMwareAuthorization.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareAuthorization ## SYNOPSIS -update a ExpressRouteAuthorization +Update a ExpressRouteAuthorization ## SYNTAX @@ -34,7 +34,7 @@ Update-AzVMwareAuthorization -InputObject [-ExpressRouteId [-LinkedCloud ] ``` ## DESCRIPTION -update a CloudLink +Update a CloudLink ## EXAMPLES diff --git a/src/VMware/VMware/help/Update-AzVMwareCluster.md b/src/VMware/VMware/help/Update-AzVMwareCluster.md index 374cf404c160..f6171752bc78 100644 --- a/src/VMware/VMware/help/Update-AzVMwareCluster.md +++ b/src/VMware/VMware/help/Update-AzVMwareCluster.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareCluster ## SYNOPSIS -update a Cluster +Update a Cluster ## SYNTAX @@ -37,7 +37,7 @@ Update-AzVMwareCluster -InputObject [-ClusterSize ] [-P ``` ## DESCRIPTION -update a Cluster +Update a Cluster ## EXAMPLES diff --git a/src/VMware/VMware/help/Update-AzVMwareDatastore.md b/src/VMware/VMware/help/Update-AzVMwareDatastore.md index 0a8e527cd62a..4f304734a106 100644 --- a/src/VMware/VMware/help/Update-AzVMwareDatastore.md +++ b/src/VMware/VMware/help/Update-AzVMwareDatastore.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareDatastore ## SYNOPSIS -update a Datastore +Update a Datastore ## SYNTAX @@ -17,36 +17,40 @@ update a Datastore Update-AzVMwareDatastore -ClusterName -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` ### UpdateViaIdentityPrivateCloudExpanded ``` Update-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] - [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-ElasticSanVolumeTargetId ] [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] + [-PureStorageVolumeStoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityClusterExpanded ``` Update-AzVMwareDatastore -Name -ClusterInputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` ### UpdateViaIdentityExpanded ``` Update-AzVMwareDatastore -InputObject [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-ElasticSanVolumeTargetId ] - [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-NetAppVolumeId ] [-PureStorageVolumeSizeGb ] [-PureStorageVolumeStoragePoolId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION -update a Datastore +Update a Datastore ## EXAMPLES @@ -276,6 +280,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PureStorageVolumeSizeGb +Volume size to be used to create a Virtual Volumes (vVols) datastore + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PureStorageVolumeStoragePoolId +Azure resource ID of the Pure Storage Pool + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/VMware/VMware/help/Update-AzVMwareGlobalReachConnection.md b/src/VMware/VMware/help/Update-AzVMwareGlobalReachConnection.md index 2cb8a99c2463..7dc98be6de1c 100644 --- a/src/VMware/VMware/help/Update-AzVMwareGlobalReachConnection.md +++ b/src/VMware/VMware/help/Update-AzVMwareGlobalReachConnection.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareGlobalReachConnection ## SYNOPSIS -update a GlobalReachConnection +Update a GlobalReachConnection ## SYNTAX @@ -36,7 +36,7 @@ Update-AzVMwareGlobalReachConnection -InputObject [-Authorizat ``` ## DESCRIPTION -update a GlobalReachConnection +Update a GlobalReachConnection ## EXAMPLES diff --git a/src/VMware/VMware/help/Update-AzVMwareIscsiPath.md b/src/VMware/VMware/help/Update-AzVMwareIscsiPath.md index a90a80b8cba3..dd6c7dfecb46 100644 --- a/src/VMware/VMware/help/Update-AzVMwareIscsiPath.md +++ b/src/VMware/VMware/help/Update-AzVMwareIscsiPath.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwareIscsiPath ## SYNOPSIS -update a IscsiPath +Update a IscsiPath ## SYNTAX @@ -26,7 +26,7 @@ Update-AzVMwareIscsiPath -InputObject [-DefaultProfile [-AffinityStrength ``` ## DESCRIPTION -update a PlacementPolicy +Update a PlacementPolicy ## EXAMPLES diff --git a/src/VMware/VMware/help/Update-AzVMwarePrivateCloud.md b/src/VMware/VMware/help/Update-AzVMwarePrivateCloud.md index b68b976319fa..4b80d7fe629b 100644 --- a/src/VMware/VMware/help/Update-AzVMwarePrivateCloud.md +++ b/src/VMware/VMware/help/Update-AzVMwarePrivateCloud.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzVMwarePrivateCloud ## SYNOPSIS -update a PrivateCloud +Update a PrivateCloud ## SYNTAX @@ -21,8 +21,8 @@ Update-AzVMwarePrivateCloud -Name -ResourceGroupName [-Subscri [-KeyVaultPropertyKeyVersion ] [-ManagementClusterHost ] [-ManagementClusterSize ] [-ManagementClusterVsanDatastoreName ] [-NetworkBlock ] [-NsxtPassword ] [-SkuCapacity ] [-SkuFamily ] [-SkuName ] [-SkuSize ] [-SkuTier ] - [-Tag ] [-VcenterPassword ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-Tag ] [-VcenterPassword ] [-Zone ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded @@ -34,12 +34,12 @@ Update-AzVMwarePrivateCloud -InputObject [-DnsZoneType ] [-ManagementClusterSize ] [-ManagementClusterVsanDatastoreName ] [-NetworkBlock ] [-NsxtPassword ] [-SkuCapacity ] [-SkuFamily ] [-SkuName ] [-SkuSize ] [-SkuTier ] - [-Tag ] [-VcenterPassword ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-Tag ] [-VcenterPassword ] [-Zone ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -update a PrivateCloud +Update a PrivateCloud ## EXAMPLES @@ -502,6 +502,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Zone +The availability zones. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/VMware/VMware/help/Update-AzVMwarePureStoragePolicy.md b/src/VMware/VMware/help/Update-AzVMwarePureStoragePolicy.md new file mode 100644 index 000000000000..47487dc1185c --- /dev/null +++ b/src/VMware/VMware/help/Update-AzVMwarePureStoragePolicy.md @@ -0,0 +1,269 @@ +--- +external help file: Az.VMware-help.xml +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwarepurestoragepolicy +schema: 2.0.0 +--- + +# Update-AzVMwarePureStoragePolicy + +## SYNOPSIS +Update a PureStoragePolicy + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzVMwarePureStoragePolicy -PrivateCloudName -ResourceGroupName + -StoragePolicyName [-SubscriptionId ] [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwarePureStoragePolicy -StoragePolicyName -PrivateCloudInputObject + [-StoragePolicyDefinition ] [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzVMwarePureStoragePolicy -InputObject [-StoragePolicyDefinition ] + [-StoragePoolId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a PureStoragePolicy + +## EXAMPLES + +### Example 1: Update a Pure Storage policy in a private cloud +```powershell +Update-AzVMwarePureStoragePolicy -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -StoragePolicyName azps_test_policy +``` + +```output +Name Type ResourceGroupName ProvisioningState StoragePolicyDefinition +---- ---- ----------------- ----------------- ---------------------- +azps_test_policy Microsoft.AVS/privateClouds/pureStoragePolicies azps_test_group Succeeded azps_test_policy_definition +``` + +Updates the Pure Storage policy in the specified private cloud and resource group. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: UpdateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyDefinition +Definition of a Pure Storage Policy Based Management policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePolicyName +Name of the storage policy. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePoolId +Azure resource ID of the Pure Storage Pool associated with the storage policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPureStoragePolicy + +## NOTES + +## RELATED LINKS From 36967354c0d843b5680f4d14a27f1b4d5c787794 Mon Sep 17 00:00:00 2001 From: Ana Arias Rosales <147624519+anaarias-msft@users.noreply.github.com> Date: Fri, 13 Jun 2025 00:34:09 -0400 Subject: [PATCH 2/3] Update src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md index 71dd1fac6007..fb601a132436 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md @@ -32,7 +32,7 @@ New-AzVMwareAuthorization -Name -PrivateCloudInputObject Date: Fri, 13 Jun 2025 00:34:18 -0400 Subject: [PATCH 3/3] Update src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md index fb601a132436..60768d3c6cc7 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzVMwareAuthorization ## SYNOPSIS -Create a ExpressRouteAuthorization +Create an ExpressRouteAuthorization ## SYNTAX