diff --git a/src/VMware/VMware.Autorest/Az.VMware.psd1 b/src/VMware/VMware.Autorest/Az.VMware.psd1 index 4f17967d946e..424c2ddd1dc2 100644 --- a/src/VMware/VMware.Autorest/Az.VMware.psd1 +++ b/src/VMware/VMware.Autorest/Az.VMware.psd1 @@ -11,8 +11,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredAssemblies = './bin/Az.VMware.private.dll' FormatsToProcess = './Az.VMware.format.ps1xml' - FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization', 'Get-AzVMwareCloudLink', 'Get-AzVMwareCluster', 'Get-AzVMwareDatastore', 'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwarePlacementPolicy', 'Get-AzVMwarePrivateCloud', 'Get-AzVMwarePrivateCloudAdminCredential', 'Get-AzVMwareVirtualMachine', 'New-AzVMwareAddon', 'New-AzVMwareAddonSrmPropertiesObject', 'New-AzVMwareAddonVrPropertiesObject', 'New-AzVMwareAuthorization', 'New-AzVMwareCloudLink', 'New-AzVMwareCluster', 'New-AzVMwareDatastore', 'New-AzVMwareGlobalReachConnection', 'New-AzVMwarePlacementPolicy', 'New-AzVMwarePrivateCloud', 'New-AzVMwarePrivateCloudNsxtPassword', 'New-AzVMwarePrivateCloudVcenterPassword', 'New-AzVMwarePSCredentialExecutionParameterObject', 'New-AzVMwareScriptSecureStringExecutionParameterObject', 'New-AzVMwareScriptStringExecutionParameterObject', 'New-AzVMwareVmHostPlacementPolicyPropertiesObject', 'New-AzVMwareVMPlacementPolicyPropertiesObject', 'Remove-AzVMwareAddon', 'Remove-AzVMwareAuthorization', 'Remove-AzVMwareCloudLink', 'Remove-AzVMwareCluster', 'Remove-AzVMwareDatastore', 'Remove-AzVMwareGlobalReachConnection', 'Remove-AzVMwarePlacementPolicy', 'Remove-AzVMwarePrivateCloud', 'Test-AzVMwareLocationQuotaAvailability', 'Test-AzVMwareLocationTrialAvailability', 'Update-AzVMwareCluster', 'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud', '*' - AliasesToExport = '*' + FunctionsToExport = 'Get-AzVMwareAddon', 'Get-AzVMwareAuthorization', 'Get-AzVMwareCloudLink', 'Get-AzVMwareCluster', 'Get-AzVMwareClusterZone', 'Get-AzVMwareDatastore', 'Get-AzVMwareGlobalReachConnection', 'Get-AzVMwarePlacementPolicy', 'Get-AzVMwarePrivateCloud', 'Get-AzVMwarePrivateCloudAdminCredential', 'Get-AzVMwareVirtualMachine', 'New-AzVMwareAddon', 'New-AzVMwareAddonSrmPropertiesObject', 'New-AzVMwareAddonVrPropertiesObject', 'New-AzVMwareAuthorization', 'New-AzVMwareCloudLink', 'New-AzVMwareCluster', 'New-AzVMwareDatastore', 'New-AzVMwareGlobalReachConnection', 'New-AzVMwareIdentitySourceObject', 'New-AzVMwarePlacementPolicy', 'New-AzVMwarePrivateCloud', 'New-AzVMwarePrivateCloudNsxtPassword', 'New-AzVMwarePrivateCloudVcenterPassword', 'New-AzVMwarePSCredentialExecutionParameterObject', 'New-AzVMwareScriptSecureStringExecutionParameterObject', 'New-AzVMwareScriptStringExecutionParameterObject', 'New-AzVMwareVmHostPlacementPolicyPropertiesObject', 'New-AzVMwareVMPlacementPolicyPropertiesObject', 'Remove-AzVMwareAddon', 'Remove-AzVMwareAuthorization', 'Remove-AzVMwareCloudLink', 'Remove-AzVMwareCluster', 'Remove-AzVMwareDatastore', 'Remove-AzVMwareGlobalReachConnection', 'Remove-AzVMwarePlacementPolicy', 'Remove-AzVMwarePrivateCloud', 'Test-AzVMwareLocationQuotaAvailability', 'Test-AzVMwareLocationTrialAvailability', 'Update-AzVMwareAuthorization', 'Update-AzVMwareCloudLink', 'Update-AzVMwareCluster', 'Update-AzVMwareDatastore', 'Update-AzVMwareGlobalReachConnection', 'Update-AzVMwarePlacementPolicy', 'Update-AzVMwarePrivateCloud' PrivateData = @{ PSData = @{ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'VMware' diff --git a/src/VMware/VMware.Autorest/README.md b/src/VMware/VMware.Autorest/README.md index 374ce2131144..0e36aed7acab 100644 --- a/src/VMware/VMware.Autorest/README.md +++ b/src/VMware/VMware.Autorest/README.md @@ -47,23 +47,17 @@ In this directory, run AutoRest: > see https://aka.ms/autorest ``` yaml -commit: 2e665b044670074d91e8a9e6d04f23fbe3c8a06e +commit: 0baf811c3c76c87b3c127d098519bd97141222dd require: - $(this-folder)/../../readme.azure.noprofile.md input-file: - - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2021-12-01/vmware.json + - $(repo)/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/vmware.json module-version: 0.4.0 title: VMware subject-prefix: $(service-name) -identity-correction-for-post: true -resourcegroup-append: true -nested-object-to-string: true - -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" +support-json-input: false directive: - from: swagger-document @@ -87,7 +81,7 @@ directive: "format": "password" } - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ + variant: ^(Create|Update)(?!.*?Expanded) remove: true - where: variant: ^Restrict$|^RestrictViaIdentity$ @@ -125,12 +119,47 @@ directive: remove: true - where: verb: Test - subject: ^LocationTrialAvailability$|^LocationQuotaAvailability$ + subject: ^LocationQuotaAvailability$ variant: ^CheckViaIdentity$ remove: true + # Remove v4 variant + - where: + verb: Test + subject: ^LocationTrialAvailability$ + variant: ^Check$|CheckViaIdentity + remove: true + - where: + verb: New + subject: PrivateCloud + variant: CreateViaIdentityExpanded + remove: true + # custom set SKU Name optional + # - where: + # verb: Test + # subject: ^LocationTrialAvailability$ + # hide: true + # Remove the list variant as the workloadNetwork only have one enum value + - where: + verb: Get + subject: WorkloadNetwork + # variant: List + hide: true + # Hide parent object variant to fix 'multiple types define RestrictMovement [string, IVirtualMachineRestrictMovement]' + - where: + verb: Lock + subject: VirtualMachineMovement + variant: ^RestrictViaIdentityCluster$|^RestrictViaIdentityPrivateCloud$ + remove: true + # Hide HcxEnterpriseSite, ScriptExecution, Addon update + - where: + verb: Update + subject: HcxEnterpriseSite|ScriptExecution|Addon + remove: true - no-inline: - AddonProperties - PlacementPolicyProperties + - model-cmdlet: + - model-name: IdentitySource # Re-name and custom it # - model-cmdlet: # - VMPlacementPolicyProperties diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/locations.json index d414ab3499d8..41e2799f344c 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": "2021-12-01", + "apiVersion": "2023-03-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, @@ -37,39 +37,6 @@ ] } ] - }, - { - "name": "Test-AzVMwareLocationTrialAvailability", - "description": "Return trial status for subscription by region", - "path": "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability", - "help": { - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.vmware/test-azvmwarelocationtrialavailability" - }, - "parameterSets": [ - { - "parameters": [ - "-Location ", - "[-SubscriptionId ]" - ] - } - ] - }, - "examples": [ - { - "description": "Return trial status for subscription by region", - "parameters": [ - { - "name": "-Location", - "value": "[Path.location]" - }, - { - "name": "-SubscriptionId", - "value": "[Path.subscriptionId]" - } - ] - } - ] } ] } 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 1a061f015fbc..94d8600cc81d 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": "2021-12-01", + "apiVersion": "2023-03-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 35c1e37ff514..673a13f4486b 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": "2021-12-01", + "apiVersion": "2023-03-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 91019ac378be..686be6375cd3 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": "2021-12-01", + "apiVersion": "2023-03-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, 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 332352b8b3da..69cb075e68e5 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": "2021-12-01", + "apiVersion": "2023-03-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 b6e0a808dcbc..93858c0449a0 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": "2021-12-01", + "apiVersion": "2023-03-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 a6b0f6811d8b..aae124e85202 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": "2021-12-01", + "apiVersion": "2023-03-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 f1cf0d4d4a16..0e3859c18c26 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": "2021-12-01", + "apiVersion": "2023-03-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json b/src/VMware/VMware.Autorest/UX/Microsoft.AVS/privateClouds.json index f3ad98a44504..90a4844a598a 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": "2021-12-01", + "apiVersion": "2023-03-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.vmware" }, diff --git a/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1 b/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1 index aa399faab1cb..c1ca79809123 100644 --- a/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1 +++ b/src/VMware/VMware.Autorest/custom/Get-AzVMwareAddon.ps1 @@ -36,7 +36,7 @@ vr Microsoft.AVS/privateClouds/addons azps_test_group .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon +Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon .Notes COMPLEX PARAMETER PROPERTIES @@ -72,7 +72,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareaddon #> function Get-AzVMwareAddon { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1 index 0280f00734b0..99e7da339f8c 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddon.ps1 @@ -28,7 +28,7 @@ Name Type ResourceGroupName vr Microsoft.AVS/privateClouds/addons azps_test_group .Outputs -Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon +Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon .Notes COMPLEX PARAMETER PROPERTIES @@ -40,7 +40,7 @@ PROPERTY : The properties of an addon resource https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareaddon #> function New-AzVMwareAddon { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -65,7 +65,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddonProperties] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddonProperties] # The properties of an addon resource # To construct, see NOTES section for PROPERTY properties and create a hash table. ${Property}, diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1 index 920e7d991e7c..eb4894260f8f 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonSrmPropertiesObject.ps1 @@ -1,4 +1,3 @@ - # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation @@ -20,12 +19,12 @@ Create a in-memory object for AddonSrmProperties .Outputs - Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties + Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties .Link https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareAddonSrmPropertiesObject #> function New-AzVMwareAddonSrmPropertiesObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -35,7 +34,7 @@ ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties]::New() $Object.LicenseKey = $LicenseKey $Object.AddonType = "SRM" diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1 index 0a49c4469ebd..c2e93fd59606 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareAddonVrPropertiesObject.ps1 @@ -1,4 +1,3 @@ - # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation @@ -20,12 +19,12 @@ Create a in-memory object for AddonVrProperties .Outputs - Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties + Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties .Link https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareAddonVrPropertiesObject #> function New-AzVMwareAddonVrPropertiesObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -35,7 +34,7 @@ ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties]::New() $Object.VrsCount = $VrsCount $Object.AddonType = "VR" diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1 index 8d130e6c572b..985a99d1a5d3 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwarePSCredentialExecutionParameterObject.ps1 @@ -20,12 +20,12 @@ Create a in-memory object for PSCredentialExecutionParameter .Outputs - Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PSCredentialExecutionParameter + Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter .Link https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwarePSCredentialExecutionParameterObject #> function New-AzVMwarePSCredentialExecutionParameterObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PSCredentialExecutionParameter')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -41,7 +41,7 @@ ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PSCredentialExecutionParameter]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PSCredentialExecutionParameter]::New() $Object.Password = $Password $Object.Username = $Username diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1 index 56423223234b..e21edc216e4a 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwarePrivateCloud.ps1 @@ -16,18 +16,20 @@ <# .Synopsis -Create or update a private cloud +Create a private cloud .Description -Create or update a private cloud +Create a private cloud .Example -PS C:\> New-AzVMwarePrivateCloud -Name azps_test_cloud -ResourceGroupName azps_test_group -NetworkBlock 192.168.48.0/22 -Sku av36 -ManagementClusterSize 3 -Location australiaeast +New-AzVMwarePrivateCloud -Name azps_test_cloud -ResourceGroupName azps_test_group -NetworkBlock 192.168.48.0/22 -Sku av36 -ManagementClusterSize 3 -Location australiaeast Location Name Type ResourceGroupName -------- ---- ---- ----------------- australiaeast azps_test_cloud Microsoft.AVS/privateClouds azps_test_group +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPrivateCloud +Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud .Notes COMPLEX PARAMETER PROPERTIES @@ -42,13 +44,13 @@ IDENTITYSOURCE : vCenter Single Sign On Identity Sources [Password ]: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups. [PrimaryServer ]: Primary server URL [SecondaryServer ]: Secondary server URL - [Ssl ]: Protect LDAP communication using SSL certificate (LDAPS) + [Ssl ]: Protect LDAP communication using SSL certificate (LDAPS) [Username ]: The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareprivatecloud #> function New-AzVMwarePrivateCloud { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPrivateCloud])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -86,24 +88,101 @@ function New-AzVMwarePrivateCloud { ${Sku}, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.InternetEnum])] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.InternetEnum] + [System.Int32] + # The secondary availability zone for the private cloud + ${AvailabilitySecondaryZone}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("SingleZone", "DualZone")] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String] + # The availability strategy for the private cloud + ${AvailabilityStrategy}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.Int32] + # The primary availability zone for the private cloud + ${AvailabilityZone}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String] + # Status of customer managed encryption key + ${EncryptionStatus}, + + [Parameter()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String[]] + # Array of additional networks noncontiguous with networkBlock. + # Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute. + # Make sure the CIDR format conforms to (A.B.C.D/X). + ${ExtendedNetworkBlock}, + + [Parameter()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IIdentitySource[]] + # vCenter Single Sign On Identity Sources + # To construct, see NOTES section for IDENTITYSOURCE properties and create a hash table. + ${IdentitySource}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("SystemAssigned", "None")] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String] + # The type of identity used for the private cloud. + # The type 'SystemAssigned' refers to an implicitly created identity. + # The type 'None' will remove any identities from the Private Cloud. + ${IdentityType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String] # Connectivity to internet is enabled or disabled ${Internet}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String] + # The name of the key. + ${KeyVaultPropertyKeyName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String] + # The URL of the vault. + ${KeyVaultPropertyKeyVaultUrl}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String] + # The version of the key. + ${KeyVaultPropertyKeyVersion}, + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Resource location ${Location}, + [Parameter()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] + [System.String[]] + # The hosts + ${ManagementClusterHost}, + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int32] # The cluster size ${ManagementClusterSize}, - + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] @@ -112,7 +191,7 @@ function New-AzVMwarePrivateCloud { [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IResourceTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, @@ -133,7 +212,8 @@ function New-AzVMwarePrivateCloud { [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1 index a217619009cc..bbbf3119f132 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptSecureStringExecutionParameterObject.ps1 @@ -20,12 +20,12 @@ Create a in-memory object for ScriptSecureStringExecutionParameter .Outputs - Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter + Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter .Link https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareScriptSecureStringExecutionParameterObject #> function New-AzVMwareScriptSecureStringExecutionParameterObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -38,7 +38,7 @@ ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter]::New() $Object.SecureValue = $SecureValue $Object.Name = $Name diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1 index 767fb674bf93..e927d67f46dc 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareScriptStringExecutionParameterObject.ps1 @@ -20,12 +20,12 @@ Create a in-memory object for ScriptStringExecutionParameter .Outputs - Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter + Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter .Link https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareScriptStringExecutionParameterObject #> function New-AzVMwareScriptStringExecutionParameterObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -38,7 +38,7 @@ ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter]::New() $Object.Value = $Value $Object.Name = $Name diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1 index f180489e9e7a..c911281b689c 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareVMPlacementPolicyPropertiesObject.ps1 @@ -21,18 +21,18 @@ Create an in-memory object for VMPlacementPolicyProperties. Create an in-memory object for VMPlacementPolicyProperties. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties +Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties .Link https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareVMPlacementPolicyPropertiesObject #> function New-AzVMwareVMPlacementPolicyPropertiesObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties')] [CmdletBinding(PositionalBinding=$false)] Param( - [Parameter(Mandatory, HelpMessage="placement policy affinity type.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType])] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType] + [Parameter(Mandatory, HelpMessage="placement policy affinity type.")] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Affinity", "AntiAffinity")] + [string] $AffinityType, [Parameter(Mandatory, HelpMessage="Virtual machine members list.")] [string[]] @@ -41,17 +41,17 @@ function New-AzVMwareVMPlacementPolicyPropertiesObject { [string] $DisplayName, [Parameter(HelpMessage="Whether the placement policy is enabled or disabled.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState])] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")] + [string] $State, [Parameter(Mandatory, HelpMessage="placement policy type.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType])] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("VmVm", "VmHost")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties]::New() if ($PSBoundParameters.ContainsKey('AffinityType')) { $Object.AffinityType = $AffinityType diff --git a/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1 b/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1 index a30c350a7866..160e62c5562e 100644 --- a/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1 +++ b/src/VMware/VMware.Autorest/custom/New-AzVMwareVmHostPlacementPolicyPropertiesObject.ps1 @@ -21,18 +21,18 @@ Create an in-memory object for VmHostPlacementPolicyProperties. Create an in-memory object for VmHostPlacementPolicyProperties. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VmHostPlacementPolicyProperties +Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20230301.VmHostPlacementPolicyProperties .Link https://learn.microsoft.com/powershell/module/az.VMware/new-AzVMwareVmHostPlacementPolicyPropertiesObject #> function New-AzVMwareVmHostPlacementPolicyPropertiesObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VmHostPlacementPolicyProperties')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VmHostPlacementPolicyProperties')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(Mandatory, HelpMessage="placement policy affinity type.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType])] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Affinity", "AntiAffinity")] + [string] $AffinityType, [Parameter(Mandatory, HelpMessage="Host members list.")] [string[]] @@ -44,17 +44,17 @@ function New-AzVMwareVmHostPlacementPolicyPropertiesObject { [string] $DisplayName, [Parameter(HelpMessage="Whether the placement policy is enabled or disabled.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState])] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")] + [string] $State, [Parameter(Mandatory, HelpMessage="placement policy type.")] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType])] - [Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType] + [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("VmVm", "VmHost")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VmHostPlacementPolicyProperties]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VmHostPlacementPolicyProperties]::New() if ($PSBoundParameters.ContainsKey('AffinityType')) { $Object.AffinityType = $AffinityType diff --git a/src/VMware/VMware.Autorest/docs/Az.VMware.md b/src/VMware/VMware.Autorest/docs/Az.VMware.md index 048d0c1b4695..604f28e37ac2 100644 --- a/src/VMware/VMware.Autorest/docs/Az.VMware.md +++ b/src/VMware/VMware.Autorest/docs/Az.VMware.md @@ -8,7 +8,7 @@ Locale: en-US # Az.VMware Module ## Description -Microsoft Azure PowerShell: Azure VMware Solution cmdlets +Microsoft Azure PowerShell: VMware cmdlets ## Az.VMware Cmdlets ### [Get-AzVMwareAddon](Get-AzVMwareAddon.md) @@ -23,6 +23,9 @@ Get an cloud link by name in a private cloud ### [Get-AzVMwareCluster](Get-AzVMwareCluster.md) Get a cluster by name in a private cloud +### [Get-AzVMwareClusterZone](Get-AzVMwareClusterZone.md) +List hosts by zone in a cluster + ### [Get-AzVMwareDatastore](Get-AzVMwareDatastore.md) Get a datastore in a private cloud cluster @@ -51,25 +54,28 @@ Create a in-memory object for AddonSrmProperties Create a in-memory object for AddonVrProperties ### [New-AzVMwareAuthorization](New-AzVMwareAuthorization.md) -Create or update an ExpressRoute Circuit Authorization in a private cloud +Create an ExpressRoute Circuit Authorization in a private cloud ### [New-AzVMwareCloudLink](New-AzVMwareCloudLink.md) -Create or update a cloud link in a private cloud +Create a cloud link in a private cloud ### [New-AzVMwareCluster](New-AzVMwareCluster.md) -Create or update a cluster in a private cloud +Create a cluster in a private cloud ### [New-AzVMwareDatastore](New-AzVMwareDatastore.md) -Create or update a datastore in a private cloud cluster +Create a datastore in a private cloud cluster ### [New-AzVMwareGlobalReachConnection](New-AzVMwareGlobalReachConnection.md) -Create or update a global reach connection in a private cloud +Create a global reach connection in a private cloud + +### [New-AzVMwareIdentitySourceObject](New-AzVMwareIdentitySourceObject.md) +Create an in-memory object for IdentitySource. ### [New-AzVMwarePlacementPolicy](New-AzVMwarePlacementPolicy.md) -Create or update a placement policy in a private cloud cluster +Create a placement policy in a private cloud cluster ### [New-AzVMwarePrivateCloud](New-AzVMwarePrivateCloud.md) -Create or update a private cloud +Create a private cloud ### [New-AzVMwarePrivateCloudNsxtPassword](New-AzVMwarePrivateCloudNsxtPassword.md) Rotate the NSX-T Manager password @@ -122,11 +128,24 @@ Return quota for subscription by region ### [Test-AzVMwareLocationTrialAvailability](Test-AzVMwareLocationTrialAvailability.md) Return trial status for subscription by region +### [Update-AzVMwareAuthorization](Update-AzVMwareAuthorization.md) +Create an ExpressRoute Circuit Authorization in a private cloud + +### [Update-AzVMwareCloudLink](Update-AzVMwareCloudLink.md) +Create a cloud link in a private cloud + ### [Update-AzVMwareCluster](Update-AzVMwareCluster.md) Update a cluster in a private cloud +### [Update-AzVMwareDatastore](Update-AzVMwareDatastore.md) +Create a datastore in a private cloud cluster + +### [Update-AzVMwareGlobalReachConnection](Update-AzVMwareGlobalReachConnection.md) +Create a global reach connection in a private cloud + ### [Update-AzVMwarePlacementPolicy](Update-AzVMwarePlacementPolicy.md) Update a placement policy in a private cloud cluster ### [Update-AzVMwarePrivateCloud](Update-AzVMwarePrivateCloud.md) Update a private cloud + diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareAddon.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareAddon.md index 732e3f8e3244..26b46b071b89 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwareAddon.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareAddon.md @@ -164,43 +164,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareAuthorization.md index 7df8e7fcd67a..7989e26583d2 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwareAuthorization.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareAuthorization.md @@ -29,6 +29,12 @@ Get-AzVMwareAuthorization -Name -PrivateCloudName -ResourceGro Get-AzVMwareAuthorization -InputObject [-DefaultProfile ] [] ``` +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareAuthorization -Name -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get an ExpressRoute Circuit Authorization by name in a private cloud @@ -63,7 +69,8 @@ Get authorization by name in a private cloud ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -98,7 +105,7 @@ Name of the ExpressRoute Circuit Authorization in the private cloud ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityPrivateCloud Aliases: AuthorizationName Required: True @@ -108,6 +115,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -163,43 +186,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IExpressRouteAuthorization +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IExpressRouteAuthorization ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareCloudLink.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareCloudLink.md index eb546e9e008a..ae9fcbc49bcc 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwareCloudLink.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareCloudLink.md @@ -29,6 +29,12 @@ Get-AzVMwareCloudLink -Name -PrivateCloudName -ResourceGroupNa Get-AzVMwareCloudLink -InputObject [-DefaultProfile ] [] ``` +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareCloudLink -Name -PrivateCloudInputObject [-DefaultProfile ] + [] +``` + ## DESCRIPTION Get an cloud link by name in a private cloud @@ -63,7 +69,8 @@ Get cloud link by name in a private cloud ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -98,7 +105,7 @@ Name of the cloud link resource ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityPrivateCloud Aliases: CloudLinkName Required: True @@ -108,6 +115,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -163,43 +186,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICloudLink +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICloudLink ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareCluster.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareCluster.md index 322b663bea83..98857bc9ebcf 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwareCluster.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareCluster.md @@ -29,6 +29,12 @@ Get-AzVMwareCluster -Name -PrivateCloudName -ResourceGroupName Get-AzVMwareCluster -InputObject [-DefaultProfile ] [] ``` +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareCluster -Name -PrivateCloudInputObject [-DefaultProfile ] + [] +``` + ## DESCRIPTION Get a cluster by name in a private cloud @@ -63,7 +69,8 @@ Get cluster by name in a private cloud ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -98,7 +105,7 @@ Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityPrivateCloud Aliases: ClusterName Required: True @@ -108,6 +115,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -163,43 +186,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICluster ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareClusterZone.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareClusterZone.md new file mode 100644 index 000000000000..27554bbbe935 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareClusterZone.md @@ -0,0 +1,160 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareclusterzone +schema: 2.0.0 +--- + +# Get-AzVMwareClusterZone + +## SYNOPSIS +List hosts by zone in a cluster + +## SYNTAX + +``` +Get-AzVMwareClusterZone -ClusterName -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +List hosts by zone in a cluster + +## EXAMPLES + +### Example 1: List hosts by zone in a cluster +```powershell +Get-AzVMwareClusterZone -PrivateCloudName SDDC2 -ResourceGroupName TestSddc-rg -ClusterName Cluster-1 +``` + +```output +Host Zone +---- ---- +{esx09-r09.p01.canadacentral.avs.azure.com, esx02-r06.p01.canadacentral.avs.azure.com, esx20-r08.p01.canadacentral.avs.azure.com} 3 +``` + +List hosts by zone in a cluster + +## PARAMETERS + +### -ClusterName +Name of the cluster in the private cloud + +```yaml +Type: System.String +Parameter Sets: (All) +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 +``` + +### -PrivateCloudName +Name of the private cloud + +```yaml +Type: System.String +Parameter Sets: (All) +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: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```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 +``` + +### -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 + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IClusterZoneList + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareDatastore.md index 93a2cff2dc55..9bd9a091958a 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwareDatastore.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareDatastore.md @@ -29,6 +29,18 @@ Get-AzVMwareDatastore -ClusterName -Name -PrivateCloudName [-DefaultProfile ] [] ``` +### GetViaIdentityCluster +``` +Get-AzVMwareDatastore -ClusterInputObject -Name [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get a datastore in a private cloud cluster @@ -63,12 +75,28 @@ Get a datastore in a data store name. ## PARAMETERS +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```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 in the private cloud ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: Get, GetViaIdentityPrivateCloud, List Aliases: Required: True @@ -79,7 +107,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -114,7 +143,7 @@ Name of the datastore in the private cloud cluster ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityCluster, GetViaIdentityPrivateCloud Aliases: DatastoreName Required: True @@ -124,6 +153,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -179,43 +224,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IDatastore +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IDatastore ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareGlobalReachConnection.md index 8b2ef86c559e..667a0fb33a8b 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwareGlobalReachConnection.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareGlobalReachConnection.md @@ -30,6 +30,12 @@ Get-AzVMwareGlobalReachConnection -InputObject [-DefaultProfil [] ``` +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareGlobalReachConnection -Name -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get a global reach connection by name in a private cloud @@ -64,7 +70,8 @@ Get a global reach connection by name in a private cloud ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -99,7 +106,7 @@ Name of the global reach connection in the private cloud ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityPrivateCloud Aliases: GlobalReachConnectionName Required: True @@ -109,6 +116,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -164,43 +187,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IGlobalReachConnection +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IGlobalReachConnection ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwarePlacementPolicy.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePlacementPolicy.md index 3ba99868b271..75facf457710 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwarePlacementPolicy.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePlacementPolicy.md @@ -29,6 +29,18 @@ Get-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudNa Get-AzVMwarePlacementPolicy -InputObject [-DefaultProfile ] [] ``` +### GetViaIdentityCluster +``` +Get-AzVMwarePlacementPolicy -ClusterInputObject -Name [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get a placement policy by name in a private cloud cluster @@ -63,12 +75,28 @@ Get a placement policy by name in a private cloud cluster ## PARAMETERS +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```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 in the private cloud ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: Get, GetViaIdentityPrivateCloud, List Aliases: Required: True @@ -79,7 +107,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -114,7 +143,7 @@ Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityCluster, GetViaIdentityPrivateCloud Aliases: PlacementPolicyName Required: True @@ -124,6 +153,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -179,43 +224,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPlacementPolicy +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicy ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloud.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloud.md index 12e3e3862592..5726f1f60c53 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloud.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloud.md @@ -81,7 +81,8 @@ Get a private cloud by name ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -166,43 +167,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPrivateCloud +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloudAdminCredential.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloudAdminCredential.md index d56e37ee6c45..f34230bb077f 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloudAdminCredential.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwarePrivateCloudAdminCredential.md @@ -38,7 +38,8 @@ Get the admin credentials for the private cloud ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -136,11 +137,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAdminCredentials +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAdminCredentials ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Get-AzVMwareVirtualMachine.md b/src/VMware/VMware.Autorest/docs/Get-AzVMwareVirtualMachine.md index c49a23dc68c5..e96a93ab4898 100644 --- a/src/VMware/VMware.Autorest/docs/Get-AzVMwareVirtualMachine.md +++ b/src/VMware/VMware.Autorest/docs/Get-AzVMwareVirtualMachine.md @@ -29,6 +29,18 @@ Get-AzVMwareVirtualMachine -ClusterName -Id -PrivateCloudName Get-AzVMwareVirtualMachine -InputObject [-DefaultProfile ] [] ``` +### GetViaIdentityCluster +``` +Get-AzVMwareVirtualMachine -ClusterInputObject -Id [-DefaultProfile ] + [] +``` + +### GetViaIdentityPrivateCloud +``` +Get-AzVMwareVirtualMachine -ClusterName -Id -PrivateCloudInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get a virtual machine by id in a private cloud cluster @@ -63,12 +75,28 @@ Get a virtual machine by id in a private cloud cluster ## PARAMETERS +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```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 in the private cloud ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: Get, GetViaIdentityPrivateCloud, List Aliases: Required: True @@ -79,7 +107,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -98,7 +127,7 @@ Virtual Machine identifier ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityCluster, GetViaIdentityPrivateCloud Aliases: VirtualMachineId Required: True @@ -124,6 +153,22 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -179,43 +224,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IVirtualMachine +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVirtualMachine ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareAddon.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareAddon.md index c7def5fa1a04..c1247e910bd5 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareAddon.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareAddon.md @@ -104,7 +104,7 @@ The properties of an addon resource To construct, see NOTES section for PROPERTY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddonProperties +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddonProperties Parameter Sets: (All) Aliases: @@ -184,19 +184,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IAddon +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`PROPERTY `: The properties of an addon resource - - `AddonType `: The type of private cloud addon - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonSrmPropertiesObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonSrmPropertiesObject.md index 082e4edcd7d4..e248caef4409 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonSrmPropertiesObject.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonSrmPropertiesObject.md @@ -27,9 +27,9 @@ New-AzVMwareAddonSrmPropertiesObject -LicenseKey "YourLicenseKeyValue" ``` ```output -AddonType ProvisioningState LicenseKey ---------- ----------------- ---------- -SRM YourLicenseKeyValue +AddonType LicenseKey ProvisioningState +--------- ---------- ----------------- +SRM YourLicenseKeyValue ``` Create a local SRM object for the Addon Property parameter @@ -58,11 +58,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonSrmProperties +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonSrmProperties ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonVrPropertiesObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonVrPropertiesObject.md index c4e79e44c166..34d8978cd7c8 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonVrPropertiesObject.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareAddonVrPropertiesObject.md @@ -29,7 +29,7 @@ New-AzVMwareAddonVrPropertiesObject -VrsCount 2 ```output AddonType ProvisioningState VrsCount --------- ----------------- -------- -VR 2 +VR 2 ``` Create a local VR object for the Addon Property parameter @@ -58,11 +58,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.AddonVrProperties +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.AddonVrProperties ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md index 6f49511c108e..df7bacad89f7 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareAuthorization.md @@ -8,18 +8,31 @@ schema: 2.0.0 # New-AzVMwareAuthorization ## SYNOPSIS -Create or update an ExpressRoute Circuit Authorization in a private cloud +Create an ExpressRoute Circuit Authorization in a private cloud ## SYNTAX +### CreateExpanded (Default) ``` New-AzVMwareAuthorization -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityExpanded +``` +New-AzVMwareAuthorization -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwareAuthorization -Name -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Create or update an ExpressRoute Circuit Authorization in a private cloud +Create an ExpressRoute Circuit Authorization in a private cloud ## EXAMPLES @@ -54,7 +67,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -68,12 +82,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + ### -Name Name of the ExpressRoute Circuit Authorization in the private cloud ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: AuthorizationName Required: True @@ -98,12 +128,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 The name of the private cloud. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -119,7 +165,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -134,7 +180,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -180,13 +226,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IExpressRouteAuthorization +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IExpressRouteAuthorization ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareCloudLink.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareCloudLink.md index 61f61ec6363f..2d7894b3351c 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareCloudLink.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareCloudLink.md @@ -8,18 +8,31 @@ schema: 2.0.0 # New-AzVMwareCloudLink ## SYNOPSIS -Create or update a cloud link in a private cloud +Create a cloud link in a private cloud ## SYNTAX +### CreateExpanded (Default) ``` New-AzVMwareCloudLink -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-LinkedCloud ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityExpanded +``` +New-AzVMwareCloudLink -InputObject [-LinkedCloud ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwareCloudLink -Name -PrivateCloudInputObject [-LinkedCloud ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Create or update a cloud link in a private cloud +Create a cloud link in a private cloud ## EXAMPLES @@ -54,7 +67,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -68,6 +82,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + ### -LinkedCloud Identifier of the other private cloud participating in the link. @@ -88,7 +118,7 @@ Name of the cloud link resource ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: CloudLinkName Required: True @@ -113,12 +143,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 The name of the private cloud. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -134,7 +180,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -149,7 +195,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -195,13 +241,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICloudLink +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICloudLink ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md index 2769554c43c7..27fbb329bf40 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareCluster.md @@ -8,18 +8,33 @@ schema: 2.0.0 # New-AzVMwareCluster ## SYNOPSIS -Create or update a cluster in a private cloud +Create a cluster in a private cloud ## SYNTAX +### CreateExpanded (Default) ``` New-AzVMwareCluster -Name -PrivateCloudName -ResourceGroupName -SkuName [-SubscriptionId ] [-ClusterSize ] [-PropertiesHost ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityExpanded +``` +New-AzVMwareCluster -InputObject -SkuName [-ClusterSize ] + [-PropertiesHost ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwareCluster -Name -PrivateCloudInputObject -SkuName + [-ClusterSize ] [-PropertiesHost ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Create or update a cluster in a private cloud +Create a cluster in a private cloud ## EXAMPLES @@ -69,7 +84,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -83,12 +99,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + ### -Name Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: ClusterName Required: True @@ -113,12 +145,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 The name of the private cloud. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -149,7 +197,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -179,7 +227,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -225,13 +273,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICluster ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md index b5aff9b6fa6e..9633165e9fcb 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareDatastore.md @@ -8,19 +8,42 @@ schema: 2.0.0 # New-AzVMwareDatastore ## SYNOPSIS -Create or update a datastore in a private cloud cluster +Create a datastore in a private cloud cluster ## SYNTAX +### CreateExpanded (Default) ``` New-AzVMwareDatastore -ClusterName -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-DiskPoolVolumeLunName ] - [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-NetAppVolumeId ] + [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityClusterExpanded +``` +New-AzVMwareDatastore -ClusterInputObject -Name [-DiskPoolVolumeLunName ] + [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-NetAppVolumeId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzVMwareDatastore -InputObject [-DiskPoolVolumeLunName ] + [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-NetAppVolumeId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject + [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] + [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Create or update a datastore in a private cloud cluster +Create a datastore in a private cloud cluster ## EXAMPLES @@ -54,12 +77,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: CreateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: Required: True @@ -70,7 +109,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -103,7 +143,7 @@ Accept wildcard characters: False Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.MountOptionEnum +Type: System.String Parameter Sets: (All) Aliases: @@ -129,12 +169,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + ### -Name Name of the datastore in the private cloud cluster ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityClusterExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: DatastoreName Required: True @@ -174,12 +230,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -195,7 +267,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -210,7 +282,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -256,13 +328,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IDatastore +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IDatastore ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md index d2a68612a2cb..9ec7d0920458 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareGlobalReachConnection.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzVMwareGlobalReachConnection ## SYNOPSIS -Create or update a global reach connection in a private cloud +Create a global reach connection in a private cloud ## SYNTAX +### CreateExpanded (Default) ``` New-AzVMwareGlobalReachConnection -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-AuthorizationKey ] [-ExpressRouteId ] @@ -19,8 +20,22 @@ New-AzVMwareGlobalReachConnection -Name -PrivateCloudName -Res [] ``` +### CreateViaIdentityExpanded +``` +New-AzVMwareGlobalReachConnection -InputObject [-AuthorizationKey ] + [-ExpressRouteId ] [-PeerExpressRouteResourceId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwareGlobalReachConnection -Name -PrivateCloudInputObject + [-AuthorizationKey ] [-ExpressRouteId ] [-PeerExpressRouteResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Create or update a global reach connection in a private cloud +Create a global reach connection in a private cloud ## EXAMPLES @@ -70,7 +85,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -99,12 +115,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + ### -Name Name of the global reach connection in the private cloud ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: GlobalReachConnectionName Required: True @@ -144,12 +176,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 The name of the private cloud. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -165,7 +213,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -180,7 +228,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -226,13 +274,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IGlobalReachConnection +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IGlobalReachConnection ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareIdentitySourceObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareIdentitySourceObject.md new file mode 100644 index 000000000000..5e817b98b640 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareIdentitySourceObject.md @@ -0,0 +1,210 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/Az.VMware/new-azvmwareidentitysourceobject +schema: 2.0.0 +--- + +# New-AzVMwareIdentitySourceObject + +## SYNOPSIS +Create an in-memory object for IdentitySource. + +## SYNTAX + +``` +New-AzVMwareIdentitySourceObject [-Alias ] [-BaseGroupDn ] [-BaseUserDn ] + [-Domain ] [-Name ] [-Password ] [-PrimaryServer ] + [-SecondaryServer ] [-Ssl ] [-Username ] [] +``` + +## DESCRIPTION +Create an in-memory object for IdentitySource. + +## EXAMPLES + +### Example 1: Create an in-memory object for IdentitySource +```powershell +New-AzVMwareIdentitySourceObject -Alias test +``` + +```output +Alias : test +BaseGroupDn : +BaseUserDn : +Domain : +Name : +Password : +PrimaryServer : +SecondaryServer : +Ssl : +Username : +``` + +Create an in-memory object for IdentitySource + +## PARAMETERS + +### -Alias +The domain's NetBIOS name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BaseGroupDn +The base distinguished name for groups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BaseUserDn +The base distinguished name for users. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Domain +The domain's dns name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the identity source. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Password +The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryServer +Primary server URL. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecondaryServer +Secondary server URL. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Ssl +Protect LDAP communication using SSL certificate (LDAPS). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Username +The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +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 + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IdentitySource + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwarePSCredentialExecutionParameterObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwarePSCredentialExecutionParameterObject.md index 03877c9facd3..cf04b455cd2a 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwarePSCredentialExecutionParameterObject.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwarePSCredentialExecutionParameterObject.md @@ -28,9 +28,9 @@ New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue ``` ```output -Name Type Password Username ----- ---- -------- -------- -azps_test_credentialvalue Credential passwordValue usernameValue +Name Password Type Username +---- -------- ---- -------- +azps_test_credentialvalue passwordValue Credential usernameValue ``` Create a local PS Credential Execution object @@ -89,11 +89,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.PsCredentialExecutionParameter +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.PsCredentialExecutionParameter ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md b/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md index 42df74ab2c26..8aebc309fd35 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwarePlacementPolicy.md @@ -8,18 +8,39 @@ schema: 2.0.0 # New-AzVMwarePlacementPolicy ## SYNOPSIS -Create or update a placement policy in a private cloud cluster +Create a placement policy in a private cloud cluster ## SYNTAX +### CreateExpanded (Default) ``` New-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudName -ResourceGroupName [-SubscriptionId ] [-Property ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityClusterExpanded +``` +New-AzVMwarePlacementPolicy -ClusterInputObject -Name + [-Property ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityExpanded +``` +New-AzVMwarePlacementPolicy -InputObject [-Property ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityPrivateCloudExpanded +``` +New-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudInputObject + [-Property ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Create or update a placement policy in a private cloud cluster +Create a placement policy in a private cloud cluster ## EXAMPLES @@ -68,12 +89,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: CreateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: Required: True @@ -84,7 +121,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -98,12 +136,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + ### -Name Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityClusterExpanded, CreateViaIdentityPrivateCloudExpanded Aliases: PlacementPolicyName Required: True @@ -128,12 +182,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -148,7 +218,7 @@ placement policy properties To construct, see NOTES section for PROPERTY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPlacementPolicyProperties +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicyProperties Parameter Sets: (All) Aliases: @@ -165,7 +235,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -180,7 +250,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -226,23 +296,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPlacementPolicy +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicy ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`PROPERTY `: placement policy properties - - `Type `: placement policy type - - `[DisplayName ]`: Display name of the placement policy - - `[State ]`: Whether the placement policy is enabled or disabled - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloud.md b/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloud.md index 12532394fd63..7a6769da558a 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloud.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloud.md @@ -8,19 +8,23 @@ schema: 2.0.0 # New-AzVMwarePrivateCloud ## SYNOPSIS -Create or update a private cloud +Create a private cloud ## SYNTAX ``` New-AzVMwarePrivateCloud -Name -ResourceGroupName -Location -ManagementClusterSize -NetworkBlock -Sku [-SubscriptionId ] [-AcceptEULA] - [-Internet ] [-NsxtPassword ] [-Tag ] [-VcenterPassword ] + [-AvailabilitySecondaryZone ] [-AvailabilityStrategy ] [-AvailabilityZone ] + [-EncryptionStatus ] [-ExtendedNetworkBlock ] [-IdentitySource ] + [-IdentityType ] [-Internet ] [-KeyVaultPropertyKeyName ] + [-KeyVaultPropertyKeyVaultUrl ] [-KeyVaultPropertyKeyVersion ] + [-ManagementClusterHost ] [-NsxtPassword ] [-Tag ] [-VcenterPassword ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Create or update a private cloud +Create a private cloud ## EXAMPLES @@ -69,8 +73,54 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -AvailabilitySecondaryZone +The secondary availability zone for the private cloud + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityStrategy +The availability strategy for the private cloud + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +The primary availability zone for the private cloud + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -84,11 +134,121 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EncryptionStatus +Status of customer managed encryption key + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtendedNetworkBlock +Array of additional networks noncontiguous with networkBlock. +Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute. +Make sure the CIDR format conforms to (A.B.C.D/X). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentitySource +vCenter Single Sign On Identity Sources +To construct, see NOTES section for IDENTITYSOURCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IIdentitySource[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +The type of identity used for the private cloud. +The type 'SystemAssigned' refers to an implicitly created identity. +The type 'None' will remove any identities from the Private Cloud. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Internet Connectivity to internet is enabled or disabled ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.InternetEnum +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultPropertyKeyName +The name of the key. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultPropertyKeyVaultUrl +The URL of the vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultPropertyKeyVersion +The version of the key. + +```yaml +Type: System.String Parameter Sets: (All) Aliases: @@ -114,6 +274,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ManagementClusterHost +The hosts + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ManagementClusterSize The cluster size @@ -302,13 +477,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPrivateCloud +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudNsxtPassword.md b/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudNsxtPassword.md index 11af6919fad5..4c399e6c6bc9 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudNsxtPassword.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudNsxtPassword.md @@ -59,7 +59,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -209,39 +210,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudVcenterPassword.md b/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudVcenterPassword.md index 1670111bc5d9..e1708c525114 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudVcenterPassword.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwarePrivateCloudVcenterPassword.md @@ -59,7 +59,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -209,39 +210,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptSecureStringExecutionParameterObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptSecureStringExecutionParameterObject.md index ee04e5f72401..34dec74b2f80 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptSecureStringExecutionParameterObject.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptSecureStringExecutionParameterObject.md @@ -28,9 +28,9 @@ New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_secureval ``` ```output -Name Type SecureValue ----- ---- ----------- -azps_test_securevalue SecureValue passwordValue +Name SecureValue Type +---- ----------- ---- +azps_test_securevalue passwordValue SecureValue ``` Create a local Script Secure String Execution object @@ -74,11 +74,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptSecureStringExecutionParameter +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptSecureStringExecutionParameter ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptStringExecutionParameterObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptStringExecutionParameterObject.md index 5163c8cf03bf..69a742473130 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptStringExecutionParameterObject.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareScriptStringExecutionParameterObject.md @@ -23,13 +23,13 @@ Create a in-memory object for ScriptStringExecutionParameter ### Example 1: Create a local Script String Execution object ```powershell -New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_stringvalue -Value "stringValue" +New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_value -Value "passwordValue" ``` ```output -Name Type Value ----- ---- ----- -azps_test_stringvalue Value stringValue +Name Value +---- ----------- +azps_test_value passwordValue ``` Create a local Script String Execution object @@ -73,11 +73,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptStringExecutionParameter +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptStringExecutionParameter ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareVMPlacementPolicyPropertiesObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareVMPlacementPolicyPropertiesObject.md index 0135b234b011..621dd82066cf 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareVMPlacementPolicyPropertiesObject.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareVMPlacementPolicyPropertiesObject.md @@ -13,8 +13,8 @@ Create an in-memory object for VMPlacementPolicyProperties. ## SYNTAX ``` -New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType -Type - -VMMember [-DisplayName ] [-State ] [] +New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType -Type -VMMember + [-DisplayName ] [-State ] [] ``` ## DESCRIPTION @@ -24,13 +24,16 @@ Create an in-memory object for VMPlacementPolicyProperties. ### Example 1: Create an in-memory object for VMPlacementPolicyProperties. ```powershell -New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"abc"="123"} + New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"test"="test"} ``` ```output -DisplayName ProvisioningState State AffinityType VMMember ------------ ----------------- ----- ------------ -------- - Affinity {System.Collections.Hashtable} +AffinityType : Affinity +DisplayName : +ProvisioningState : +State : +Type : VmVm +VMMember : {System.Collections.Hashtable} ``` Create an in-memory object for VMPlacementPolicyProperties. @@ -41,7 +44,7 @@ Create an in-memory object for VMPlacementPolicyProperties. placement policy affinity type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType +Type: System.String Parameter Sets: (All) Aliases: @@ -71,7 +74,7 @@ Accept wildcard characters: False Whether the placement policy is enabled or disabled. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState +Type: System.String Parameter Sets: (All) Aliases: @@ -86,7 +89,7 @@ Accept wildcard characters: False placement policy type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType +Type: System.String Parameter Sets: (All) Aliases: @@ -119,11 +122,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMPlacementPolicyProperties +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMPlacementPolicyProperties ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md b/src/VMware/VMware.Autorest/docs/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md index cf398262af1e..f513782ca553 100644 --- a/src/VMware/VMware.Autorest/docs/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md +++ b/src/VMware/VMware.Autorest/docs/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md @@ -13,9 +13,8 @@ Create an in-memory object for VmHostPlacementPolicyProperties. ## SYNTAX ``` -New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType -HostMember - -Type -VMMember [-DisplayName ] [-State ] - [] +New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType -HostMember -Type + -VMMember [-DisplayName ] [-State ] [] ``` ## DESCRIPTION @@ -25,13 +24,19 @@ Create an in-memory object for VmHostPlacementPolicyProperties. ### Example 1: Create an in-memory object for VmHostPlacementPolicyProperties. ```powershell -New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"abc"="123"} -Type 'VmHost' -VMMember @{"abc"="123"} +New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -Type 'VmHost' -VMMember @{"test"="test"} ``` ```output -DisplayName ProvisioningState State AffinityType HostMember VMMember ------------ ----------------- ----- ------------ ---------- -------- - AntiAffinity {System.Collections.Hashtable} {System.Collections.Hashtable} +AffinityStrength : +AffinityType : AntiAffinity +AzureHybridBenefitType : +DisplayName : +HostMember : {System.Collections.Hashtable} +ProvisioningState : +State : +Type : VmHost +VMMember : {System.Collections.Hashtable} ``` Create an in-memory object for VmHostPlacementPolicyProperties. @@ -42,7 +47,7 @@ Create an in-memory object for VmHostPlacementPolicyProperties. placement policy affinity type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AffinityType +Type: System.String Parameter Sets: (All) Aliases: @@ -87,7 +92,7 @@ Accept wildcard characters: False Whether the placement policy is enabled or disabled. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState +Type: System.String Parameter Sets: (All) Aliases: @@ -102,7 +107,7 @@ Accept wildcard characters: False placement policy type. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyType +Type: System.String Parameter Sets: (All) Aliases: @@ -135,11 +140,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.VMHostPlacementPolicyProperties +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VMHostPlacementPolicyProperties ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAddon.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAddon.md index f8b3fa0ff271..8295f3482b66 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAddon.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAddon.md @@ -229,39 +229,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAuthorization.md index add5b6a3a7df..25b07ddc9bc1 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAuthorization.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareAuthorization.md @@ -25,6 +25,12 @@ Remove-AzVMwareAuthorization -InputObject [-DefaultProfile ] ``` +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwareAuthorization -Name -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete an ExpressRoute Circuit Authorization in a private cloud @@ -64,7 +70,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -99,7 +106,7 @@ Name of the ExpressRoute Circuit Authorization in the private cloud ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud Aliases: AuthorizationName Required: True @@ -139,6 +146,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -229,39 +252,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCloudLink.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCloudLink.md index c9440dbafda0..dee9abd6325e 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCloudLink.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCloudLink.md @@ -25,6 +25,12 @@ Remove-AzVMwareCloudLink -InputObject [-DefaultProfile ] ``` +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwareCloudLink -Name -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a cloud link in a private cloud @@ -64,7 +70,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -99,7 +106,7 @@ Name of the cloud link resource ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud Aliases: CloudLinkName Required: True @@ -139,6 +146,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -229,39 +252,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCluster.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCluster.md index 9537b2b1df2e..2a1df2823f35 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCluster.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareCluster.md @@ -25,6 +25,12 @@ Remove-AzVMwareCluster -InputObject [-DefaultProfile ] ``` +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwareCluster -Name -PrivateCloudInputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a cluster in a private cloud @@ -64,7 +70,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -99,7 +106,7 @@ Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud Aliases: ClusterName Required: True @@ -139,6 +146,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -229,39 +252,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareDatastore.md index ba5f35b91ff0..ed30dfcf22a5 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareDatastore.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareDatastore.md @@ -25,6 +25,18 @@ Remove-AzVMwareDatastore -InputObject [-DefaultProfile ] ``` +### DeleteViaIdentityCluster +``` +Remove-AzVMwareDatastore -ClusterInputObject -Name [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a datastore in a private cloud cluster @@ -61,12 +73,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: DeleteViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud Aliases: Required: True @@ -77,7 +105,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -112,7 +141,7 @@ Name of the datastore in the private cloud cluster ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityCluster, DeleteViaIdentityPrivateCloud Aliases: DatastoreName Required: True @@ -152,6 +181,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -242,39 +287,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareGlobalReachConnection.md index 1d382067665c..0f14e523f008 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwareGlobalReachConnection.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwareGlobalReachConnection.md @@ -25,6 +25,12 @@ Remove-AzVMwareGlobalReachConnection -InputObject [-DefaultPro [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwareGlobalReachConnection -Name -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a global reach connection in a private cloud @@ -64,7 +70,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -99,7 +106,7 @@ Name of the global reach connection in the private cloud ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud Aliases: GlobalReachConnectionName Required: True @@ -139,6 +146,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -229,39 +252,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePlacementPolicy.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePlacementPolicy.md index 5158109ff798..d55c0a54915d 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePlacementPolicy.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePlacementPolicy.md @@ -25,6 +25,18 @@ Remove-AzVMwarePlacementPolicy -InputObject [-DefaultProfile < [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityCluster +``` +Remove-AzVMwarePlacementPolicy -ClusterInputObject -Name + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityPrivateCloud +``` +Remove-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a placement policy in a private cloud cluster @@ -63,12 +75,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: DeleteViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityPrivateCloud Aliases: Required: True @@ -79,7 +107,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -114,7 +143,7 @@ Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityCluster, DeleteViaIdentityPrivateCloud Aliases: PlacementPolicyName Required: True @@ -154,6 +183,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -244,39 +289,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePrivateCloud.md b/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePrivateCloud.md index 6ce39695e9c9..04fc7a82c9e1 100644 --- a/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePrivateCloud.md +++ b/src/VMware/VMware.Autorest/docs/Remove-AzVMwarePrivateCloud.md @@ -213,39 +213,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationQuotaAvailability.md b/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationQuotaAvailability.md index 1a2d23aa4cb9..e554fcddc8db 100644 --- a/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationQuotaAvailability.md +++ b/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationQuotaAvailability.md @@ -38,7 +38,8 @@ Check quota availability ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -120,11 +121,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IQuota +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IQuota ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationTrialAvailability.md b/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationTrialAvailability.md index 89f73a8c2e0e..c1b03218b85a 100644 --- a/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationTrialAvailability.md +++ b/src/VMware/VMware.Autorest/docs/Test-AzVMwareLocationTrialAvailability.md @@ -13,7 +13,7 @@ Return trial status for subscription by region ## SYNTAX ``` -Test-AzVMwareLocationTrialAvailability -Location [-SubscriptionId ] +Test-AzVMwareLocationTrialAvailability -Location -Name [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` @@ -24,7 +24,7 @@ Return trial status for subscription by region ### Example 1: Check trial availability ```powershell -Test-AzVMwareLocationTrialAvailability -Location westcentralus +Test-AzVMwareLocationTrialAvailability -Location westcentralus -Name av36 ``` ```output @@ -38,7 +38,8 @@ Check trial availability ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -67,6 +68,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Name +The name of the SKU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. @@ -120,11 +136,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ITrial +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ITrial ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareAuthorization.md new file mode 100644 index 000000000000..44a09072afec --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareAuthorization.md @@ -0,0 +1,243 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareauthorization +schema: 2.0.0 +--- + +# Update-AzVMwareAuthorization + +## SYNOPSIS +Create an ExpressRoute Circuit Authorization in a private cloud + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzVMwareAuthorization -Name -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzVMwareAuthorization -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwareAuthorization -Name -PrivateCloudInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create an ExpressRoute Circuit Authorization in a private cloud + +## EXAMPLES + +### Example 1: Update an ExpressRoute Circuit Authorization in a private cloud +```powershell +Update-AzVMwareAuthorization -Name azps_test_authorization -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +ExpressRouteAuthorizationId : ExpressRouteURI +ExpressRouteId : ExpressRouteId +Id : Id +Key : GUID +Name : azps_test_authorization +ProvisioningState : Succeeded +ResourceGroupName : azps_test_group +Type : Microsoft.AVS/privateClouds/authorizations +``` + +Update an ExpressRoute Circuit Authorization in a private cloud + +## 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 +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + +### -Name +Name of the ExpressRoute Circuit Authorization in the private cloud + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded +Aliases: AuthorizationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +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 +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 +The 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 +``` + +### -SubscriptionId +The ID of the target subscription. + +```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.IExpressRouteAuthorization + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareCloudLink.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareCloudLink.md new file mode 100644 index 000000000000..3879aa530ea4 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareCloudLink.md @@ -0,0 +1,253 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwarecloudlink +schema: 2.0.0 +--- + +# Update-AzVMwareCloudLink + +## SYNOPSIS +Create a cloud link in a private cloud + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzVMwareCloudLink -Name -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-LinkedCloud ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzVMwareCloudLink -InputObject [-LinkedCloud ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwareCloudLink -Name -PrivateCloudInputObject [-LinkedCloud ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a cloud link in a private cloud + +## EXAMPLES + +### Example 1: Update a cloud link in a private cloud +```powershell +Update-AzVMwareCloudLink -Name azps_test_cloudlink -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -LinkedCloud "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/azps_test_group2/providers/Microsoft.AVS/privateClouds/azps_test_cloud2/" +``` + +```output +Name Type ResourceGroupName +---- ---- ----------------- +azps_test_cloudlink Microsoft.AVS/privateClouds/cloudLinks azps_test_group +``` + +Update a cloud link in a private cloud + +## 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 +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + +### -LinkedCloud +Identifier of the other private cloud participating in the link. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the cloud link resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded +Aliases: CloudLinkName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +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 +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 +The 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 +``` + +### -SubscriptionId +The ID of the target subscription. + +```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.ICloudLink + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareCluster.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareCluster.md index 8b5f97025ec6..96d1c01c7c6b 100644 --- a/src/VMware/VMware.Autorest/docs/Update-AzVMwareCluster.md +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareCluster.md @@ -25,6 +25,13 @@ Update-AzVMwareCluster -InputObject [-ClusterSize ] [-P [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwareCluster -Name -PrivateCloudInputObject [-ClusterSize ] + [-PropertiesHost ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION Update a cluster in a private cloud @@ -89,7 +96,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -124,7 +132,7 @@ Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded Aliases: ClusterName Required: True @@ -149,6 +157,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -250,43 +274,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ICluster ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareDatastore.md new file mode 100644 index 000000000000..844abd856ed9 --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareDatastore.md @@ -0,0 +1,341 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwaredatastore +schema: 2.0.0 +--- + +# Update-AzVMwareDatastore + +## SYNOPSIS +Create a datastore in a private cloud cluster + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzVMwareDatastore -ClusterName -Name -PrivateCloudName + -ResourceGroupName [-SubscriptionId ] [-DiskPoolVolumeLunName ] + [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-NetAppVolumeId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityClusterExpanded +``` +Update-AzVMwareDatastore -ClusterInputObject -Name + [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] + [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzVMwareDatastore -InputObject [-DiskPoolVolumeLunName ] + [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] [-NetAppVolumeId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwareDatastore -ClusterName -Name -PrivateCloudInputObject + [-DiskPoolVolumeLunName ] [-DiskPoolVolumeMountOption ] [-DiskPoolVolumeTargetId ] + [-NetAppVolumeId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a datastore in a private cloud cluster + +## EXAMPLES + +### Example 1: Update a datastore in a private cloud cluster. +```powershell +Update-AzVMwareDatastore -ClusterName azps_test_cluster -Name azps_test_datastore -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -NetAppVolumeId "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/azps_test_group/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" +``` + +```output +Name Status ProvisioningState ResourceGroupName +---- ------ ----------------- ----------------- +azps_test_datastore Accessible Succeeded azps_test_group +``` + +Update a datastore in a private cloud cluster. + +## 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 +``` + +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: UpdateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterName +Name of the cluster in the private cloud + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded +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 +``` + +### -DiskPoolVolumeLunName +Name of the LUN to be used for datastore + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DiskPoolVolumeMountOption +Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DiskPoolVolumeTargetId +Azure resource ID of the iSCSI target + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + +### -Name +Name of the datastore in the private cloud cluster + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterExpanded, UpdateViaIdentityPrivateCloudExpanded +Aliases: DatastoreName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetAppVolumeId +Azure resource ID of the NetApp volume + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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 +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 +``` + +### -SubscriptionId +The ID of the target subscription. + +```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.IDatastore + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwareGlobalReachConnection.md new file mode 100644 index 000000000000..8ee34825c10b --- /dev/null +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwareGlobalReachConnection.md @@ -0,0 +1,286 @@ +--- +external help file: +Module Name: Az.VMware +online version: https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareglobalreachconnection +schema: 2.0.0 +--- + +# Update-AzVMwareGlobalReachConnection + +## SYNOPSIS +Create a global reach connection in a private cloud + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzVMwareGlobalReachConnection -Name -PrivateCloudName -ResourceGroupName + [-SubscriptionId ] [-AuthorizationKey ] [-ExpressRouteId ] + [-PeerExpressRouteCircuit ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzVMwareGlobalReachConnection -InputObject [-AuthorizationKey ] + [-ExpressRouteId ] [-PeerExpressRouteCircuit ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwareGlobalReachConnection -Name -PrivateCloudInputObject + [-AuthorizationKey ] [-ExpressRouteId ] [-PeerExpressRouteCircuit ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a global reach connection in a private cloud + +## EXAMPLES + +### Example 1: Update a global reach connection in a private cloud +```powershell +Update-AzVMwareGlobalReachConnection -Name azps_test_grc -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` + +```output +Name Type ResourceGroupName +---- ---- ----------------- +azps_test_grc Microsoft.AVS/privateClouds/globalReachConnections azps_test_group +``` + +Update a global reach connection in a private cloud + +## 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 +``` + +### -AuthorizationKey +Authorization key from the peer express route used for the global reach connection + +```yaml +Type: System.String +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 +``` + +### -ExpressRouteId +The ID of the Private Cloud's ExpressRoute Circuit that is participating in the global reach connection + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```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 +``` + +### -Name +Name of the global reach connection in the private cloud + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded +Aliases: GlobalReachConnectionName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +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 +``` + +### -PeerExpressRouteCircuit +Identifier of the ExpressRoute Circuit to peer with in the global reach connection + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 +The 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 +``` + +### -SubscriptionId +The ID of the target subscription. + +```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.IGlobalReachConnection + +## NOTES + +## RELATED LINKS + diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwarePlacementPolicy.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePlacementPolicy.md index ba2ec8bf698b..8a003056a3f5 100644 --- a/src/VMware/VMware.Autorest/docs/Update-AzVMwarePlacementPolicy.md +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePlacementPolicy.md @@ -15,16 +15,32 @@ Update a placement policy in a private cloud cluster ### UpdateExpanded (Default) ``` Update-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudName - -ResourceGroupName [-SubscriptionId ] [-HostMember ] - [-State ] [-VMMember ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + -ResourceGroupName [-SubscriptionId ] [-AffinityStrength ] + [-AzureHybridBenefitType ] [-HostMember ] [-State ] [-VMMember ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityClusterExpanded +``` +Update-AzVMwarePlacementPolicy -ClusterInputObject -Name + [-AffinityStrength ] [-AzureHybridBenefitType ] [-HostMember ] [-State ] + [-VMMember ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzVMwarePlacementPolicy -InputObject [-HostMember ] - [-State ] [-VMMember ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] +Update-AzVMwarePlacementPolicy -InputObject [-AffinityStrength ] + [-AzureHybridBenefitType ] [-HostMember ] [-State ] [-VMMember ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityPrivateCloudExpanded +``` +Update-AzVMwarePlacementPolicy -ClusterName -Name -PrivateCloudInputObject + [-AffinityStrength ] [-AzureHybridBenefitType ] [-HostMember ] [-State ] + [-VMMember ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -60,6 +76,21 @@ Update a placement policy in a private cloud cluster ## PARAMETERS +### -AffinityStrength +vm-host placement policy affinity strength (should/must) + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -75,12 +106,43 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -AzureHybridBenefitType +placement policy azure hybrid benefit opt-in type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterInputObject +Identity Parameter +To construct, see NOTES section for CLUSTERINPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity +Parameter Sets: UpdateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName Name of the cluster in the private cloud ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityPrivateCloudExpanded Aliases: Required: True @@ -91,7 +153,8 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +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 @@ -141,7 +204,7 @@ Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterExpanded, UpdateViaIdentityPrivateCloudExpanded Aliases: PlacementPolicyName Required: True @@ -166,6 +229,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PrivateCloudInputObject +Identity Parameter +To construct, see NOTES section for PRIVATECLOUDINPUTOBJECT properties and create a hash table. + +```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 @@ -201,7 +280,7 @@ Accept wildcard characters: False Whether the placement policy is enabled or disabled ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.PlacementPolicyState +Type: System.String Parameter Sets: (All) Aliases: @@ -282,43 +361,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPlacementPolicy +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPlacementPolicy ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md index 3880da925ad4..195f47b6ba19 100644 --- a/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md +++ b/src/VMware/VMware.Autorest/docs/Update-AzVMwarePrivateCloud.md @@ -15,9 +15,8 @@ Update a private cloud ### UpdateExpanded (Default) ``` Update-AzVMwarePrivateCloud -Name -ResourceGroupName [-SubscriptionId ] - [-AvailabilitySecondaryZone ] [-AvailabilityStrategy ] - [-AvailabilityZone ] [-EncryptionStatus ] [-IdentitySource ] - [-IdentityType ] [-Internet ] [-KeyVaultPropertyKeyName ] + [-EncryptionStatus ] [-ExtendedNetworkBlock ] [-IdentitySource ] + [-IdentityType ] [-Internet ] [-KeyVaultPropertyKeyName ] [-KeyVaultPropertyKeyVaultUrl ] [-KeyVaultPropertyKeyVersion ] [-ManagementClusterHost ] [-ManagementClusterSize ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -25,13 +24,11 @@ Update-AzVMwarePrivateCloud -Name -ResourceGroupName [-Subscri ### UpdateViaIdentityExpanded ``` -Update-AzVMwarePrivateCloud -InputObject [-AvailabilitySecondaryZone ] - [-AvailabilityStrategy ] [-AvailabilityZone ] - [-EncryptionStatus ] [-IdentitySource ] - [-IdentityType ] [-Internet ] [-KeyVaultPropertyKeyName ] - [-KeyVaultPropertyKeyVaultUrl ] [-KeyVaultPropertyKeyVersion ] - [-ManagementClusterHost ] [-ManagementClusterSize ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzVMwarePrivateCloud -InputObject [-EncryptionStatus ] + [-ExtendedNetworkBlock ] [-IdentitySource ] [-IdentityType ] + [-Internet ] [-KeyVaultPropertyKeyName ] [-KeyVaultPropertyKeyVaultUrl ] + [-KeyVaultPropertyKeyVersion ] [-ManagementClusterHost ] [-ManagementClusterSize ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -82,28 +79,14 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -AvailabilitySecondaryZone -The secondary availability zone for the private cloud - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AvailabilityStrategy -The availability strategy for the private cloud +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.AvailabilityStrategy +Type: System.Management.Automation.PSObject Parameter Sets: (All) -Aliases: +Aliases: AzureRMContext, AzureCredential Required: False Position: Named @@ -112,11 +95,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -AvailabilityZone -The primary availability zone for the private cloud +### -EncryptionStatus +Status of customer managed encryption key ```yaml -Type: System.Int32 +Type: System.String Parameter Sets: (All) Aliases: @@ -127,26 +110,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```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 -``` - -### -EncryptionStatus -Status of customer managed encryption key +### -ExtendedNetworkBlock +Array of additional networks noncontiguous with networkBlock. +Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute. +Make sure the CIDR format conforms to (A.B.C.D/X). ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.EncryptionState +Type: System.String[] Parameter Sets: (All) Aliases: @@ -162,7 +132,7 @@ vCenter Single Sign On Identity Sources To construct, see NOTES section for IDENTITYSOURCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IIdentitySource[] +Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IIdentitySource[] Parameter Sets: (All) Aliases: @@ -179,7 +149,7 @@ The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.ResourceIdentityType +Type: System.String Parameter Sets: (All) Aliases: @@ -210,7 +180,7 @@ Accept wildcard characters: False Connectivity to internet is enabled or disabled ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.VMware.Support.InternetEnum +Type: System.String Parameter Sets: (All) Aliases: @@ -412,55 +382,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IPrivateCloud +### Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`IDENTITYSOURCE `: vCenter Single Sign On Identity Sources - - `[Alias ]`: The domain's NetBIOS name - - `[BaseGroupDn ]`: The base distinguished name for groups - - `[BaseUserDn ]`: The base distinguished name for users - - `[Domain ]`: The domain's dns name - - `[Name ]`: The name of the identity source - - `[Password ]`: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups. - - `[PrimaryServer ]`: Primary server URL - - `[SecondaryServer ]`: Secondary server URL - - `[Ssl ]`: Protect LDAP communication using SSL certificate (LDAPS) - - `[Username ]`: The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group - -`INPUTOBJECT `: Identity Parameter - - `[AddonName ]`: Name of the addon for the private cloud - - `[AuthorizationName ]`: Name of the ExpressRoute Circuit Authorization in the private cloud - - `[CloudLinkName ]`: Name of the cloud link resource - - `[ClusterName ]`: Name of the cluster in the private cloud - - `[DatastoreName ]`: Name of the datastore in the private cloud cluster - - `[DhcpId ]`: NSX DHCP identifier. Generally the same as the DHCP display name - - `[DnsServiceId ]`: NSX DNS Service identifier. Generally the same as the DNS Service's display name - - `[DnsZoneId ]`: NSX DNS Zone identifier. Generally the same as the DNS Zone's display name - - `[GatewayId ]`: NSX Gateway identifier. Generally the same as the Gateway's display name - - `[GlobalReachConnectionName ]`: Name of the global reach connection in the private cloud - - `[HcxEnterpriseSiteName ]`: Name of the HCX Enterprise Site in the private cloud - - `[Id ]`: Resource identity path - - `[Location ]`: Azure region - - `[PlacementPolicyName ]`: Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy - - `[PortMirroringId ]`: NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name - - `[PrivateCloudName ]`: Name of the private cloud - - `[PublicIPId ]`: NSX Public IP Block identifier. Generally the same as the Public IP Block's display name - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[ScriptCmdletName ]`: Name of the script cmdlet resource in the script package in the private cloud - - `[ScriptExecutionName ]`: Name of the user-invoked script execution resource - - `[ScriptPackageName ]`: Name of the script package in the private cloud - - `[SegmentId ]`: NSX Segment identifier. Generally the same as the Segment's display name - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VMGroupId ]`: NSX VM Group identifier. Generally the same as the VM Group's display name - - `[VirtualMachineId ]`: Virtual Machine identifier - ## RELATED LINKS diff --git a/src/VMware/VMware.Autorest/examples/Get-AzVMwareClusterZone.md b/src/VMware/VMware.Autorest/examples/Get-AzVMwareClusterZone.md new file mode 100644 index 000000000000..26326bd8d9f9 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Get-AzVMwareClusterZone.md @@ -0,0 +1,11 @@ +### Example 1: List hosts by zone in a cluster +```powershell +Get-AzVMwareClusterZone -PrivateCloudName SDDC2 -ResourceGroupName TestSddc-rg -ClusterName Cluster-1 +``` +```output +Host Zone +---- ---- +{esx09-r09.p01.canadacentral.avs.azure.com, esx02-r06.p01.canadacentral.avs.azure.com, esx20-r08.p01.canadacentral.avs.azure.com} 3 +``` + +List hosts by zone in a cluster \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md index 08eaeafe1cba..1b7b51851942 100644 --- a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonSrmPropertiesObject.md @@ -3,9 +3,9 @@ New-AzVMwareAddonSrmPropertiesObject -LicenseKey "YourLicenseKeyValue" ``` ```output -AddonType ProvisioningState LicenseKey ---------- ----------------- ---------- -SRM YourLicenseKeyValue +AddonType LicenseKey ProvisioningState +--------- ---------- ----------------- +SRM YourLicenseKeyValue ``` Create a local SRM object for the Addon Property parameter \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md index ad2fa1006f83..8873bbb02979 100644 --- a/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareAddonVrPropertiesObject.md @@ -5,7 +5,7 @@ New-AzVMwareAddonVrPropertiesObject -VrsCount 2 ```output AddonType ProvisioningState VrsCount --------- ----------------- -------- -VR 2 +VR 2 ``` Create a local VR object for the Addon Property parameter \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md new file mode 100644 index 000000000000..70068547f284 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareIdentitySourceObject.md @@ -0,0 +1,18 @@ +### Example 1: Create an in-memory object for IdentitySource +```powershell +New-AzVMwareIdentitySourceObject -Alias test +``` +```output +Alias : test +BaseGroupDn : +BaseUserDn : +Domain : +Name : +Password : +PrimaryServer : +SecondaryServer : +Ssl : +Username : +``` + +Create an in-memory object for IdentitySource \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md index b12c0637b0c2..7414ca16f031 100644 --- a/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwarePSCredentialExecutionParameterObject.md @@ -3,9 +3,9 @@ New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue -Password "passwordValue" -Username "usernameValue" ``` ```output -Name Type Password Username ----- ---- -------- -------- -azps_test_credentialvalue Credential passwordValue usernameValue +Name Password Type Username +---- -------- ---- -------- +azps_test_credentialvalue passwordValue Credential usernameValue ``` Create a local PS Credential Execution object \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md index fe4f7ae995eb..92c3ce00ad68 100644 --- a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptSecureStringExecutionParameterObject.md @@ -3,9 +3,9 @@ New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue "passwordValue" ``` ```output -Name Type SecureValue ----- ---- ----------- -azps_test_securevalue SecureValue passwordValue +Name SecureValue Type +---- ----------- ---- +azps_test_securevalue passwordValue SecureValue ``` Create a local Script Secure String Execution object \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md index 74a9c450d404..2a4af6b0f6d6 100644 --- a/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareScriptStringExecutionParameterObject.md @@ -1,11 +1,11 @@ ### Example 1: Create a local Script String Execution object ```powershell -New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_stringvalue -Value "stringValue" +New-AzVMwareScriptStringExecutionParameterObject -Name azps_test_value -Value "passwordValue" ``` ```output -Name Type Value ----- ---- ----- -azps_test_stringvalue Value stringValue +Name Value +---- ----------- +azps_test_value passwordValue ``` Create a local Script String Execution object \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md index 5171ebeb2db7..bc8b5c2e2d77 100644 --- a/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareVMPlacementPolicyPropertiesObject.md @@ -1,11 +1,14 @@ ### Example 1: Create an in-memory object for VMPlacementPolicyProperties. ```powershell -New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"abc"="123"} + New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"test"="test"} ``` ```output -DisplayName ProvisioningState State AffinityType VMMember ------------ ----------------- ----- ------------ -------- - Affinity {System.Collections.Hashtable} +AffinityType : Affinity +DisplayName : +ProvisioningState : +State : +Type : VmVm +VMMember : {System.Collections.Hashtable} ``` Create an in-memory object for VMPlacementPolicyProperties. \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md b/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md index f5e1376a02e5..db24ec7cc767 100644 --- a/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md +++ b/src/VMware/VMware.Autorest/examples/New-AzVMwareVmHostPlacementPolicyPropertiesObject.md @@ -1,11 +1,17 @@ ### Example 1: Create an in-memory object for VmHostPlacementPolicyProperties. ```powershell -New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"abc"="123"} -Type 'VmHost' -VMMember @{"abc"="123"} +New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -Type 'VmHost' -VMMember @{"test"="test"} ``` ```output -DisplayName ProvisioningState State AffinityType HostMember VMMember ------------ ----------------- ----- ------------ ---------- -------- - AntiAffinity {System.Collections.Hashtable} {System.Collections.Hashtable} +AffinityStrength : +AffinityType : AntiAffinity +AzureHybridBenefitType : +DisplayName : +HostMember : {System.Collections.Hashtable} +ProvisioningState : +State : +Type : VmHost +VMMember : {System.Collections.Hashtable} ``` Create an in-memory object for VmHostPlacementPolicyProperties. \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md b/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md index 4c47df926afe..fc2411cad79c 100644 --- a/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md +++ b/src/VMware/VMware.Autorest/examples/Test-AzVMwareLocationTrialAvailability.md @@ -1,6 +1,6 @@ ### Example 1: Check trial availability ```powershell -Test-AzVMwareLocationTrialAvailability -Location westcentralus +Test-AzVMwareLocationTrialAvailability -Location westcentralus -Name av36 ``` ```output AvailableHost Status diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareAuthorization.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareAuthorization.md new file mode 100644 index 000000000000..e0eef44672a0 --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareAuthorization.md @@ -0,0 +1,16 @@ +### Example 1: Update an ExpressRoute Circuit Authorization in a private cloud +```powershell +Update-AzVMwareAuthorization -Name azps_test_authorization -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` +```output +ExpressRouteAuthorizationId : ExpressRouteURI +ExpressRouteId : ExpressRouteId +Id : Id +Key : GUID +Name : azps_test_authorization +ProvisioningState : Succeeded +ResourceGroupName : azps_test_group +Type : Microsoft.AVS/privateClouds/authorizations +``` + +Update an ExpressRoute Circuit Authorization in a private cloud \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md new file mode 100644 index 000000000000..29f96552644f --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareCloudLink.md @@ -0,0 +1,11 @@ +### Example 1: Update a cloud link in a private cloud +```powershell +Update-AzVMwareCloudLink -Name azps_test_cloudlink -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -LinkedCloud "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/azps_test_group2/providers/Microsoft.AVS/privateClouds/azps_test_cloud2/" +``` +```output +Name Type ResourceGroupName +---- ---- ----------------- +azps_test_cloudlink Microsoft.AVS/privateClouds/cloudLinks azps_test_group +``` + +Update a cloud link in a private cloud \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md new file mode 100644 index 000000000000..25b291d27c7e --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareDatastore.md @@ -0,0 +1,11 @@ +### Example 1: Update a datastore in a private cloud cluster. +```powershell +Update-AzVMwareDatastore -ClusterName azps_test_cluster -Name azps_test_datastore -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -NetAppVolumeId "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/azps_test_group/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1" +``` +```output +Name Status ProvisioningState ResourceGroupName +---- ------ ----------------- ----------------- +azps_test_datastore Accessible Succeeded azps_test_group +``` + +Update a datastore in a private cloud cluster. \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/examples/Update-AzVMwareGlobalReachConnection.md b/src/VMware/VMware.Autorest/examples/Update-AzVMwareGlobalReachConnection.md new file mode 100644 index 000000000000..f73c0a0ebfeb --- /dev/null +++ b/src/VMware/VMware.Autorest/examples/Update-AzVMwareGlobalReachConnection.md @@ -0,0 +1,11 @@ +### Example 1: Update a global reach connection in a private cloud +```powershell +Update-AzVMwareGlobalReachConnection -Name azps_test_grc -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group +``` +```output +Name Type ResourceGroupName +---- ---- ----------------- +azps_test_grc Microsoft.AVS/privateClouds/globalReachConnections azps_test_group +``` + +Update a global reach connection in a private cloud \ No newline at end of file diff --git a/src/VMware/VMware.Autorest/test/AzVMwareAddon.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareAddon.Recording.json index ace22ec2c279..6e3d30fdf418 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/SRM?api-version=2021-12-01+1": { + "AzVMwareAddon+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/SRM?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01", "Content": "{\r\n \"properties\": {\r\n \"addonType\": \"SRM\",\r\n \"licenseKey\": \"YourLicenseKeyValue\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -15,31 +15,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:09:53 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:00:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "241" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "312" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/SRM?api-version=2021-12-01+2": { + "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/SRM?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "6fe3c651-20bd-4072-a427-b03aab94bead" ], + "x-ms-client-request-id": [ "e945a9be-0ccb-4a46-b2c7-96c3875de8c9" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -47,31 +47,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:23 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "241" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "312" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/SRM?api-version=2021-12-01+3": { + "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/SRM?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "6fe3c651-20bd-4072-a427-b03aab94bead" ], + "x-ms-client-request-id": [ "e945a9be-0ccb-4a46-b2c7-96c3875de8c9" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -79,30 +79,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:23 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "241" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "312" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons?api-version=2021-12-01+4": { + "AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons?api-version=2023-03-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "82c586b0-f1aa-454c-bfb4-d10206d415b2" ], + "x-ms-client-request-id": [ "8e2cee77-8838-4c22-a58d-b12038072280" ], "CommandName": [ "Az.VMware.internal\\Get-AzVMwareAddon" ], "FullCommandName": [ "Get-AzVMwareAddon_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,30 +111,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:23 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "253" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "324" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}]}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/vr?api-version=2021-12-01+1": { + "AzVMwareAddon+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/vr?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/addons/vr?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/vr?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "7c956c9b-7aa9-4019-afc5-b68b1c541e44" ], + "x-ms-client-request-id": [ "c30ed3ac-951b-41b5-8524-d84c3c7a3c64" ], "CommandName": [ "Az.VMware.internal\\Get-AzVMwareAddon" ], "FullCommandName": [ "Get-AzVMwareAddon_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -143,21 +143,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:24 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "241" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "312" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/SRM?api-version=2021-12-01+1": { + "AzVMwareAddon+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/SRM?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01", "Content": "{\r\n \"properties\": {\r\n \"addonType\": \"SRM\",\r\n \"licenseKey\": \"YourLicenseKeyValue\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -170,31 +170,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:24 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "241" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "312" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/SRM?api-version=2021-12-01+2": { + "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/SRM?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "1dada9f4-452f-4285-84dd-325b6fbfaaf9" ], + "x-ms-client-request-id": [ "cda76a16-d27f-498a-b991-b320d3046ba1" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -202,31 +202,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:55 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "241" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "312" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/SRM?api-version=2021-12-01+3": { + "AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/SRM?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "1dada9f4-452f-4285-84dd-325b6fbfaaf9" ], + "x-ms-client-request-id": [ "cda76a16-d27f-498a-b991-b320d3046ba1" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwareAddon" ], "FullCommandName": [ "New-AzVMwareAddon_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -234,30 +234,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:55 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "241" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "312" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm\",\"name\":\"srm\",\"type\":\"Microsoft.AVS/privateClouds/addons\",\"properties\":{\"addonType\":\"SRM\",\"provisioningState\":\"Succeeded\",\"licenseKey\":\"41915178-A8FF-4A4D-B683-6D735AF5E3F5\"}}", "isContentBase64": false } }, - "AzVMwareAddon+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/vr?api-version=2021-12-01+1": { + "AzVMwareAddon+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/vr?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/addons/vr?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/vr?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "fb0256da-5b01-4a6c-b9ef-42bda63501b7" ], + "x-ms-client-request-id": [ "1fc92227-f3c0-472d-adf9-b16d5b2c639a" ], "CommandName": [ "Az.VMware.internal\\Remove-AzVMwareAddon" ], "FullCommandName": [ "Remove-AzVMwareAddon_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -266,8 +266,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:56 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Recording.json index df463cee456d..539372e036cb 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01+1": { + "AzVMwareAuthorization+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01", "Content": "{\r\n}", "isContentBase64": false, "Headers": { @@ -15,31 +15,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:10:58 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:01:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01+2": { + "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "d016e5b0-7e68-416f-937a-5e68071383cc" ], + "x-ms-client-request-id": [ "17cc8c6b-a606-479b-9ab0-640b401c7d8b" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -47,31 +47,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:11:28 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01+3": { + "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "d016e5b0-7e68-416f-937a-5e68071383cc" ], + "x-ms-client-request-id": [ "17cc8c6b-a606-479b-9ab0-640b401c7d8b" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -79,30 +79,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:11:28 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations?api-version=2021-12-01+4": { + "AzVMwareAuthorization+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations?api-version=2023-03-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "fe0e5280-7860-4c30-be6b-2ae3e9f995d3" ], + "x-ms-client-request-id": [ "24fc2b5d-3fdf-4ea4-9c62-31a5dc2cf40a" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,30 +111,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:11:28 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "803" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "841" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}]}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01+1": { + "AzVMwareAuthorization+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/authorization1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "8446e484-8f30-460d-a18b-89f5efb000d8" ], + "x-ms-client-request-id": [ "32256120-169f-404a-8de2-88b6018814b9" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -143,21 +143,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:11:30 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog/authorizations/5q2kvd?api-version=2021-12-01+1": { + "AzVMwareAuthorization+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1/authorizations/authorization1?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog/authorizations/5q2kvd?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1/authorizations/authorization1?api-version=2023-03-01", "Content": "{\r\n}", "isContentBase64": false, "Headers": { @@ -170,31 +170,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:11:30 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog/authorizations/5q2kvd?api-version=2021-12-01+2": { + "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1/authorizations/authorization1?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog/authorizations/5q2kvd?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1/authorizations/authorization1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "43d9d293-89c7-4679-9aa8-3fe3bfb8595c" ], + "x-ms-client-request-id": [ "e64e184b-e247-4732-b001-222da1b5f373" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -202,31 +202,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:00 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog/authorizations/5q2kvd?api-version=2021-12-01+3": { + "AzVMwareAuthorization+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1/authorizations/authorization1?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog/authorizations/5q2kvd?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1/authorizations/authorization1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "43d9d293-89c7-4679-9aa8-3fe3bfb8595c" ], + "x-ms-client-request-id": [ "e64e184b-e247-4732-b001-222da1b5f373" ], "CommandName": [ "New-AzVMwareAuthorization" ], "FullCommandName": [ "New-AzVMwareAuthorization_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -234,30 +234,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:00 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareAuthorization+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01+1": { + "AzVMwareAuthorization+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/2hlsk5?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/2hlsk5?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "29cfb66c-67f9-44b2-81f6-a895a0621340" ], + "x-ms-client-request-id": [ "5a53dd0a-5fb8-4a34-ad70-8f789ad7ee2a" ], "CommandName": [ "Remove-AzVMwareAuthorization" ], "FullCommandName": [ "Remove-AzVMwareAuthorization_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -266,8 +266,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:01 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Tests.ps1 index b0e5d139f7e0..7a6d4b7d507b 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Tests.ps1 +++ b/src/VMware/VMware.Autorest/test/AzVMwareAuthorization.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { Describe 'AzVMwareAuthorization' { It 'List' { { - $config = New-AzVMwareAuthorization -Name $env.rstr3 -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 + $config = New-AzVMwareAuthorization -Name "authorization1" -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 $config.Name | Should -Be "authorization1" $config = Get-AzVMwareAuthorization -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 @@ -24,14 +24,14 @@ Describe 'AzVMwareAuthorization' { It 'Get' { { - $config = Get-AzVMwareAuthorization -Name $env.rstr3 -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 + $config = Get-AzVMwareAuthorization -Name "authorization1" -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 $config.Name | Should -Be "authorization1" } | Should -Not -Throw } It 'CreateExpanded' { { - $config = New-AzVMwareAuthorization -Name $env.rstr4 -PrivateCloudName $env.privateCloudName3 -ResourceGroupName $env.resourceGroup3 + $config = New-AzVMwareAuthorization -Name "authorization1" -PrivateCloudName $env.privateCloudName3 -ResourceGroupName $env.resourceGroup3 $config.Name | Should -Be "authorization1" } | Should -Not -Throw } diff --git a/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Recording.json index 614b4cc05641..0c9808560af8 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01+1": { + "AzVMwareCloudLink+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/cloudLink1?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01", - "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/cloudLink1?api-version=2023-03-01", + "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -15,31 +15,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:01 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:02:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "367" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "386" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01+2": { + "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/cloudLink1?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/cloudLink1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "4ca7c8de-ab29-4d09-8f43-af4669a11610" ], + "x-ms-client-request-id": [ "0925e6f9-bd79-48a0-ad19-54f1d5a2c77c" ], "CommandName": [ "New-AzVMwareCloudLink" ], "FullCommandName": [ "New-AzVMwareCloudLink_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -47,30 +47,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:32 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:03:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "367" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "386" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks?api-version=2021-12-01+3": { + "AzVMwareCloudLink+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "a2247a48-2c00-461b-97b6-c957df5ab0e4" ], + "x-ms-client-request-id": [ "01d54536-2324-4643-9d27-335b4ddb345f" ], "CommandName": [ "Get-AzVMwareCloudLink" ], "FullCommandName": [ "Get-AzVMwareCloudLink_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -79,30 +79,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:32 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:03:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "379" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "398" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}]}", "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01+1": { + "AzVMwareCloudLink+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/cloudLink1?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/cloudLink1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "a1893c83-8109-4f72-8497-3413a257aaab" ], + "x-ms-client-request-id": [ "8e4a6d5c-9340-4529-9976-257d3503469a" ], "CommandName": [ "Get-AzVMwareCloudLink" ], "FullCommandName": [ "Get-AzVMwareCloudLink_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,22 +111,22 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:33 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:03:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "367" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "386" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01+1": { + "AzVMwareCloudLink+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/2hlsk5?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01", - "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/2hlsk5?api-version=2023-03-01", + "Content": "{\r\n \"properties\": {\r\n \"linkedCloud\": \"/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -138,31 +138,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:12:33 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:03:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "367" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "386" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01+2": { + "AzVMwareCloudLink+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/2hlsk5?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/2hlsk5?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "0f1cbd55-ee10-46c0-abad-b52641013c87" ], + "x-ms-client-request-id": [ "84f8b3c7-31cb-42e5-96da-1ae658aadcc9" ], "CommandName": [ "New-AzVMwareCloudLink" ], "FullCommandName": [ "New-AzVMwareCloudLink_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -170,30 +170,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:05 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:03:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "367" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "386" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1\",\"name\":\"cloudLink1\",\"type\":\"Microsoft.AVS/privateClouds/cloudLinks\",\"properties\":{\"status\":\"Active\",\"linkedCloud\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"}}", "isContentBase64": false } }, - "AzVMwareCloudLink+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01+1": { + "AzVMwareCloudLink+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/2hlsk5?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/cloudLinks/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/cloudLinks/2hlsk5?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "b994f9e6-9e6b-41fe-9227-fd5de9c94c09" ], + "x-ms-client-request-id": [ "e8e99875-25e1-485b-a581-75682700d9d2" ], "CommandName": [ "Remove-AzVMwareCloudLink" ], "FullCommandName": [ "Remove-AzVMwareCloudLink_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -202,8 +202,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:05 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:03:54 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Tests.ps1 index b0bac8898bad..d1d1fb89438c 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Tests.ps1 +++ b/src/VMware/VMware.Autorest/test/AzVMwareCloudLink.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'AzVMwareCloudLink' { It 'List' { { $Id2 = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup2)/providers/Microsoft.AVS/privateClouds/$($env.privateCloudName2)" - $config = New-AzVMwareCloudLink -Name $env.rstr3 -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 -LinkedCloud $Id2 + $config = New-AzVMwareCloudLink -Name "cloudLink1" -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 -LinkedCloud $Id2 $config.Name | Should -Be "cloudLink1" $config = Get-AzVMwareCloudLink -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 @@ -25,7 +25,7 @@ Describe 'AzVMwareCloudLink' { It 'Get' { { - $config = Get-AzVMwareCloudLink -Name $env.rstr3 -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 + $config = Get-AzVMwareCloudLink -Name "cloudLink1" -PrivateCloudName $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 $config.Name | Should -Be "cloudLink1" } | Should -Not -Throw } diff --git a/src/VMware/VMware.Autorest/test/AzVMwareCluster.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareCluster.Recording.json index d1ad485e830e..62b461cdea28 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01+1": { + "AzVMwareCluster+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"av20\"\r\n },\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -15,31 +15,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:06 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:03:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "393" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "412" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01+2": { + "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "224fbde4-61c3-4d77-8d3f-46c3d0b020b5" ], + "x-ms-client-request-id": [ "8d7c5088-8204-49c9-8b22-44b6b23508ae" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -47,31 +47,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:36 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01+3": { + "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "224fbde4-61c3-4d77-8d3f-46c3d0b020b5" ], + "x-ms-client-request-id": [ "8d7c5088-8204-49c9-8b22-44b6b23508ae" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -79,30 +79,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:36 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters?api-version=2021-12-01+4": { + "AzVMwareCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters?api-version=2023-03-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "a6f958d7-65b9-4657-a9bc-de89d12bcaf9" ], + "x-ms-client-request-id": [ "2592af76-c9ae-4d48-aa62-f391c39a08d2" ], "CommandName": [ "Get-AzVMwareCluster" ], "FullCommandName": [ "Get-AzVMwareCluster_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,30 +111,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:36 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "405" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "424" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}]}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01+1": { + "AzVMwareCluster+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "386fa8ea-ba24-4c9d-b76a-54c56aa59732" ], + "x-ms-client-request-id": [ "7f9099d7-4ce9-4b9c-b54d-70a73739b3c9" ], "CommandName": [ "Get-AzVMwareCluster" ], "FullCommandName": [ "Get-AzVMwareCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -143,21 +143,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:38 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+1": { + "AzVMwareCluster+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"av36\"\r\n },\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -170,31 +170,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:13:38 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "393" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "412" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+2": { + "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "676c1c2b-e7c1-43ef-958a-8507571918c2" ], + "x-ms-client-request-id": [ "6629dc9e-b467-4f91-9680-f71a15413c80" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -202,31 +202,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:08 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+3": { + "AzVMwareCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "676c1c2b-e7c1-43ef-958a-8507571918c2" ], + "x-ms-client-request-id": [ "6629dc9e-b467-4f91-9680-f71a15413c80" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -234,21 +234,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:08 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+1": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"av36\"\r\n },\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -261,31 +261,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:08 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:04:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "393" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "412" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+2": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "4a05d5f4-9c68-4e46-86fb-fc23a6088693" ], + "x-ms-client-request-id": [ "1b45113c-f0e1-473e-9869-d7cc5344de2a" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -293,31 +293,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:39 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+3": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "4a05d5f4-9c68-4e46-86fb-fc23a6088693" ], + "x-ms-client-request-id": [ "1b45113c-f0e1-473e-9869-d7cc5344de2a" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -325,21 +325,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:39 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+4": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+4": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": "{\r\n \"properties\": {\r\n \"clusterSize\": 4\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -352,30 +352,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:39 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+5": { + "AzVMwareCluster+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "671bae33-bddb-4b6b-8825-bd499a1491e4" ], + "x-ms-client-request-id": [ "bf45bfc1-d0b3-46d9-89aa-2c5469bf5ce1" ], "CommandName": [ "Remove-AzVMwareCluster" ], "FullCommandName": [ "Remove-AzVMwareCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -384,8 +384,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:41 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] @@ -394,19 +394,19 @@ "isContentBase64": false } }, - "AzVMwareCluster+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01+1": { + "AzVMwareCluster+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz/clusters/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/clusters/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "33bb3e60-104f-4581-9266-c1c1993287bb" ], + "x-ms-client-request-id": [ "8bbd6d32-3dbf-4bde-a562-cdb8e9e84912" ], "CommandName": [ "Remove-AzVMwareCluster" ], "FullCommandName": [ "Remove-AzVMwareCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -415,8 +415,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:41 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwareDatastore.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareDatastore.Recording.json index 65018594791e..675c4f801c4d 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01+1": { + "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-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": { @@ -15,31 +15,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:14:42 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "501" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "520" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/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\"}}", + "Content": "{\"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\"}}", "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01+2": { + "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "d1bd5a8f-feae-4688-940b-f6d102f96367" ], + "x-ms-client-request-id": [ "47b70b4f-cdd0-40c3-a601-ed1870277ffd" ], "CommandName": [ "New-AzVMwareDatastore" ], "FullCommandName": [ "New-AzVMwareDatastore_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -47,31 +47,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:12 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "501" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "520" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/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\"}}", + "Content": "{\"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\"}}", "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01+3": { + "Get-AzVMwareDatastore+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "d1bd5a8f-feae-4688-940b-f6d102f96367" ], + "x-ms-client-request-id": [ "47b70b4f-cdd0-40c3-a601-ed1870277ffd" ], "CommandName": [ "New-AzVMwareDatastore" ], "FullCommandName": [ "New-AzVMwareDatastore_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -79,30 +79,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:12 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "501" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "520" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/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\"}}", + "Content": "{\"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\"}}", "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01+1": { + "Get-AzVMwareDatastore+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "487a3f69-e4f2-4048-8807-4997ed2166fb" ], + "x-ms-client-request-id": [ "d73b6f0c-4798-4ad6-861b-dde572262a70" ], "CommandName": [ "Get-AzVMwareDatastore" ], "FullCommandName": [ "Get-AzVMwareDatastore_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,30 +111,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:12 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "501" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "520" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/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\"}}", + "Content": "{\"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\"}}", "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores?api-version=2021-12-01+1": { + "Get-AzVMwareDatastore+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "1af6405a-5510-4263-9261-2351d4c0a550" ], + "x-ms-client-request-id": [ "c751ca2a-0732-486a-9a3d-0c0d14ec7060" ], "CommandName": [ "Get-AzVMwareDatastore" ], "FullCommandName": [ "Get-AzVMwareDatastore_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -143,30 +143,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:13 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1095" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1133" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/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/{subscription-id}/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\"}}]}", + "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\"}}]}", "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01+1": { + "Get-AzVMwareDatastore+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "19763250-f634-4ee8-9359-1a1849cb2648" ], + "x-ms-client-request-id": [ "2d474737-a0e9-48ed-ae6e-055808ea01f8" ], "CommandName": [ "Remove-AzVMwareDatastore" ], "FullCommandName": [ "Remove-AzVMwareDatastore_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -175,8 +175,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:13 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] @@ -185,19 +185,19 @@ "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01+1": { + "Get-AzVMwareDatastore+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/datastores/datastore1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/datastores/datastore1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "225ba3a4-902b-4443-9479-ba1c14d237b2" ], + "x-ms-client-request-id": [ "bcb83b2f-bf3c-4e9d-9f9c-9bbe68a860b6" ], "CommandName": [ "Get-AzVMwareDatastore" ], "FullCommandName": [ "Get-AzVMwareDatastore_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -206,30 +206,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:14 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "501" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "520" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/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\"}}", + "Content": "{\"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\"}}", "isContentBase64": false } }, - "Get-AzVMwareDatastore+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1?api-version=2021-12-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=2023-03-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/%7Bsubscription-id%7D/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1?api-version=2021-12-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=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "793c9c4d-29d3-45c5-a128-80ab3f813993" ], + "x-ms-client-request-id": [ "cfb4fbe3-47c1-4d05-9f59-1110ca2d0363" ], "CommandName": [ "Remove-AzVMwareDatastore" ], "FullCommandName": [ "Remove-AzVMwareDatastore_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -238,8 +238,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:14 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwareGlobalReachConnection.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareGlobalReachConnection.Recording.json index c3999ec3bee6..de4883f38023 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/xdn238?api-version=2021-12-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/l3cm9t?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "a73965e8-e880-46d5-ab35-9f6f3e18bb0b" ], + "x-ms-client-request-id": [ "e4ababf3-4db7-4302-90c9-c67321623764" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -20,30 +20,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:16 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog?api-version=2021-12-01+2": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "bf8053b3-cf8b-4550-ba7e-828819db42ca" ], + "x-ms-client-request-id": [ "8274daff-d60c-4e0d-bb85-c036c5f82e62" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -52,58 +52,58 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:16 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1933" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1990" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01+3": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-01+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01", - "Content": "{\r\n \"properties\": {\r\n \"authorizationKey\": \"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\r\n \"peerExpressRouteCircuit\": \"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-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": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "335" ] + "Content-Length": [ "354" ] } }, "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:17 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:05:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "822" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01+4": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "55780377-0982-4812-b311-3a926723f0ee" ], + "x-ms-client-request-id": [ "16f191c5-c320-4352-be13-4674deeea56a" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -111,31 +111,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:47 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "822" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01+5": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "55780377-0982-4812-b311-3a926723f0ee" ], + "x-ms-client-request-id": [ "16f191c5-c320-4352-be13-4674deeea56a" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -143,30 +143,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:47 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "822" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections?api-version=2021-12-01+6": { + "AzVMwareGlobalReachConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections?api-version=2023-03-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "53" ], - "x-ms-client-request-id": [ "b1864550-2486-4168-8fb8-2c58c798e8bb" ], + "x-ms-client-request-id": [ "48b67ca0-a4fe-40a5-9371-c711f3258bfa" ], "CommandName": [ "Get-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "Get-AzVMwareGlobalReachConnection_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -175,30 +175,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:47 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "796" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "834" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}]}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/yrles9?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/2hlsk5?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "b4f146d2-f1dc-4981-95bb-45224a34674a" ], + "x-ms-client-request-id": [ "b534416b-d9c9-4283-924f-54345f521042" ], "CommandName": [ "Get-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "Get-AzVMwareGlobalReachConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -207,30 +207,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:48 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "822" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/xdn238?api-version=2021-12-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/l3cm9t?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/authorizations/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/authorizations/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "89ec44c1-4fa3-4fb5-ba5f-a973bcb57eba" ], + "x-ms-client-request-id": [ "55c36a7c-025c-4462-8be7-89d5222dea10" ], "CommandName": [ "Get-AzVMwareAuthorization" ], "FullCommandName": [ "Get-AzVMwareAuthorization_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -239,30 +239,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:48 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "791" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "829" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1\",\"name\":\"authorization1\",\"type\":\"Microsoft.AVS/privateClouds/authorizations\",\"properties\":{\"provisioningState\":\"Succeeded\",\"expressRouteAuthorizationId\":\"/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth\",\"expressRouteAuthorizationKey\":\"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog?api-version=2021-12-01+2": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudbeog?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudaoz1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "61397ebf-2a8d-4b18-8290-13c3e90b19bb" ], + "x-ms-client-request-id": [ "c4811e40-4814-41d0-b574-e0f5f3e15d65" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -271,58 +271,58 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:48 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1933" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1990" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01+3": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-01+3": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01", - "Content": "{\r\n \"properties\": {\r\n \"authorizationKey\": \"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc\",\r\n \"peerExpressRouteCircuit\": \"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-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": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "335" ] + "Content-Length": [ "354" ] } }, "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:15:50 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "822" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01+4": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "58" ], - "x-ms-client-request-id": [ "1deaf9ff-fb3f-4049-abad-76b09922175a" ], + "x-ms-client-request-id": [ "46df967c-b7a5-4b5c-993c-e6badef79cb2" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -330,31 +330,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:20 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "822" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01+5": { + "AzVMwareGlobalReachConnection+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "1deaf9ff-fb3f-4049-abad-76b09922175a" ], + "x-ms-client-request-id": [ "46df967c-b7a5-4b5c-993c-e6badef79cb2" ], "CommandName": [ "New-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "New-AzVMwareGlobalReachConnection_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -362,30 +362,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:20 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "822" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"expressRouteId\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1\",\"name\":\"connection1\",\"type\":\"Microsoft.AVS/privateClouds/globalReachConnections\",\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"10.2.3.16/29\",\"authorizationKey\":\"01010101-0101-0101-0101-010101010101\",\"circuitConnectionStatus\":\"Connected\",\"peerExpressRouteCircuit\":\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer\",\"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\"}}", "isContentBase64": false } }, - "AzVMwareGlobalReachConnection+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01+1": { + "AzVMwareGlobalReachConnection+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/globalReachConnections/5q2kvd?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/globalReachConnections/p9uh7g?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "0202fedb-e96e-45ea-a2e7-d44f2a162558" ], + "x-ms-client-request-id": [ "05a1916b-7d85-4c78-83f2-062026c75ead" ], "CommandName": [ "Remove-AzVMwareGlobalReachConnection" ], "FullCommandName": [ "Remove-AzVMwareGlobalReachConnection_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -394,8 +394,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:20 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Recording.json index c2903459df5b..a3d1e6982663 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/centralus/checkQuotaAvailability?api-version=2021-12-01+1": { + "AzVMwareLocationQuotaAvailability+[NoContext]+Check+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/westcentralus/checkQuotaAvailability?api-version=2023-03-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/centralus/checkQuotaAvailability?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/westcentralus/checkQuotaAvailability?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "53a0e0d7-e475-48d0-b750-582c054c4e42" ], + "x-ms-client-request-id": [ "a3613664-6224-4cbd-a144-192f660e69d7" ], "CommandName": [ "Test-AzVMwareLocationQuotaAvailability" ], "FullCommandName": [ "Test-AzVMwareLocationQuotaAvailability_Check" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -20,12 +20,12 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:21 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "65" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "65" ] }, "Content": "{\"hostsRemaining\":{\"AV20\":0,\"AV36\":999},\"quotaEnabled\":\"Enabled\"}", "isContentBase64": false diff --git a/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Tests.ps1 index 9b969561dad0..374edd6153f5 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Tests.ps1 +++ b/src/VMware/VMware.Autorest/test/AzVMwareLocationQuotaAvailability.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { Describe 'AzVMwareLocationQuotaAvailability' { It 'Check' { { - $config = Test-AzVMwareLocationQuotaAvailability -Location $env.location1 + $config = Test-AzVMwareLocationQuotaAvailability -Location $env.location2 $config.Enabled | Should -Be "Enabled" } | Should -Not -Throw } diff --git a/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json index a030bd59ce05..8215fd6e319e 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json +++ b/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Recording.json @@ -1,31 +1,26 @@ { - "AzVMwareLocationTrialAvailability+[NoContext]+Check+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2021-12-01+1": { + "AzVMwareLocationTrialAvailability+[NoContext]+Check+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2023-03-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2021-12-01", - "Content": null, + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/locations/eastus2/checkTrialAvailability?api-version=2023-03-01", + "Content": "{\r\n \"name\": \"av36\"\r\n}", "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "cea0dcf0-1095-44c2-a326-54e891078ae6" ], - "CommandName": [ "Test-AzVMwareLocationTrialAvailability" ], - "FullCommandName": [ "Test-AzVMwareLocationTrialAvailability_Check" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], - "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "22" ] } }, "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:21 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:06:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "46" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "46" ] }, "Content": "{\"status\":\"TrialAvailable\",\"availableHosts\":4}", "isContentBase64": false diff --git a/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Tests.ps1 index b3af7c42a470..7c042cc9db4e 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Tests.ps1 +++ b/src/VMware/VMware.Autorest/test/AzVMwareLocationTrialAvailability.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { Describe 'AzVMwareLocationTrialAvailability' { It 'Check' { { - $config = Test-AzVMwareLocationTrialAvailability -Location "eastus2" + $config = Test-AzVMwareLocationTrialAvailability -Location "eastus2" -Name av36 $config.Status | Should -Be "TrialAvailable" } | Should -Not -Throw } diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePlacementPolicy.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePlacementPolicy.Recording.json index ef6eb58cca45..494ab1073ade 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"av20\"\r\n },\r\n \"properties\": {\r\n \"clusterSize\": 3\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -15,31 +15,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:23 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:07:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "393" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "412" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":3,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01+2": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "f08e9b9a-0586-47a6-86fc-a0ff21c6e241" ], + "x-ms-client-request-id": [ "a10637f5-ed25-4b87-baa2-152f68fae09c" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -47,31 +47,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:53 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:07:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01+3": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "f08e9b9a-0586-47a6-86fc-a0ff21c6e241" ], + "x-ms-client-request-id": [ "a10637f5-ed25-4b87-baa2-152f68fae09c" ], "CommandName": [ "New-AzVMwareCluster" ], "FullCommandName": [ "New-AzVMwareCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -79,21 +79,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:53 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:07:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "429" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "448" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1\",\"name\":\"cluster1\",\"type\":\"Microsoft.AVS/privateClouds/clusters\",\"sku\":{\"name\":\"AV20\"},\"properties\":{\"clusterSize\":4,\"provisioningState\":\"Succeeded\",\"hosts\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\",\"fakehost25.nyc1.kubernetes.center\"]}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+4": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-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": { @@ -106,31 +106,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:16:54 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:07:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "338" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "910" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+5": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "35f193bd-679f-4976-b59e-7347f9b4ec71" ], + "x-ms-client-request-id": [ "a2d2259d-41f2-492e-9a6a-ce97d556552e" ], "CommandName": [ "New-AzVMwarePlacementPolicy" ], "FullCommandName": [ "New-AzVMwarePlacementPolicy_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -138,31 +138,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:24 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "338" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "910" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+6": { + "AzVMwarePlacementPolicy+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "68" ], - "x-ms-client-request-id": [ "35f193bd-679f-4976-b59e-7347f9b4ec71" ], + "x-ms-client-request-id": [ "a2d2259d-41f2-492e-9a6a-ce97d556552e" ], "CommandName": [ "New-AzVMwarePlacementPolicy" ], "FullCommandName": [ "New-AzVMwarePlacementPolicy_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -170,30 +170,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:24 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "338" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "910" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies?api-version=2021-12-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "69" ], - "x-ms-client-request-id": [ "49ad8d4e-90c8-4966-a51d-f42d07901006" ], + "x-ms-client-request-id": [ "99b76276-e58e-4925-ac57-427341ca2885" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -202,30 +202,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:24 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "687" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1642" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy2\",\"name\":\"policy2\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmVm\",\"state\":\"Enabled\",\"displayName\":\"policy2\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy2\",\"name\":\"policy2\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmVm\",\"state\":\"Enabled\",\"displayName\":\"policy2\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"affinityType\":\"Affinity\"}}]}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "e3ada5d5-4975-4227-9674-ad6e990b6058" ], + "x-ms-client-request-id": [ "a4193440-9289-4cc8-a154-f8ec8036c194" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -234,21 +234,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:26 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "338" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "910" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01", "Content": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -261,30 +261,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:26 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "339" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "911" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Disabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Disabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "72" ], - "x-ms-client-request-id": [ "c6f11bd3-dd33-42d0-8e96-d2be94defed2" ], + "x-ms-client-request-id": [ "8af6f826-57d4-4999-9aed-aadae8bef7cc" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -293,21 +293,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:27 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "338" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "910" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2021-12-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=2023-03-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/%7Bsubscription-id%7D/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2021-12-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=2023-03-01", "Content": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -320,30 +320,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:27 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "339" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "911" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Disabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Disabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "c4aaa4e0-fedf-46a9-af98-7ea40702e16e" ], + "x-ms-client-request-id": [ "6bd18da8-0edc-4b24-89a3-422fc0a7468f" ], "CommandName": [ "Remove-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Remove-AzVMwarePlacementPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -352,8 +352,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:28 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] @@ -362,19 +362,19 @@ "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01+1": { + "AzVMwarePlacementPolicy+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/placementPolicies/policy1?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/placementPolicies/policy1?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "75" ], - "x-ms-client-request-id": [ "82d23238-c201-462f-92ea-d0c8d1dbb868" ], + "x-ms-client-request-id": [ "57d91cf8-67c3-4db0-aa81-4f9f34576002" ], "CommandName": [ "Get-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Get-AzVMwarePlacementPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -383,30 +383,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:28 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "338" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "910" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1\",\"name\":\"policy1\",\"type\":\"Microsoft.AVS/privateClouds/clusters/placementPolicies\",\"properties\":{\"type\":\"VmHost\",\"state\":\"Enabled\",\"displayName\":\"policy1\",\"provisioningState\":\"Succeeded\",\"vmMembers\":[\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256\"],\"hostMembers\":[\"fakehost22.nyc1.kubernetes.center\",\"fakehost23.nyc1.kubernetes.center\",\"fakehost24.nyc1.kubernetes.center\"],\"affinityType\":\"AntiAffinity\",\"affinityStrength\":\"Must\",\"azureHybridBenefitType\":\"SqlHost\"}}", "isContentBase64": false } }, - "AzVMwarePlacementPolicy+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2021-12-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=2023-03-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/%7Bsubscription-id%7D/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2021-12-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=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "76" ], - "x-ms-client-request-id": [ "6f845be7-ed81-414b-8432-55d1ccb83164" ], + "x-ms-client-request-id": [ "ec79fb03-ab0f-4e7c-81c4-6974b1269b48" ], "CommandName": [ "Remove-AzVMwarePlacementPolicy" ], "FullCommandName": [ "Remove-AzVMwarePlacementPolicy_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -415,8 +415,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:28 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Recording.json index 1c5a84e86a69..afea0bcf9591 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01+1": { + "AzVMwarePrivateCloud+[NoContext]+List1+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01", "Content": "{\r\n \"location\": \"centralus\",\r\n \"sku\": {\r\n \"name\": \"av36\"\r\n },\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 3\r\n },\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -15,31 +15,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:17:30 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1339" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1377" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/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\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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\"]}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01+2": { + "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "78" ], - "x-ms-client-request-id": [ "216f75dd-1bf1-409d-9807-87249abc289e" ], + "x-ms-client-request-id": [ "6c1a9bc7-2552-4c9b-ae70-65dcb5847336" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -47,31 +47,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:00 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1933" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1990" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01+3": { + "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "79" ], - "x-ms-client-request-id": [ "216f75dd-1bf1-409d-9807-87249abc289e" ], + "x-ms-client-request-id": [ "6c1a9bc7-2552-4c9b-ae70-65dcb5847336" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -79,30 +79,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:00 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1933" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1990" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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=2021-12-01+4": { + "AzVMwarePrivateCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/privateClouds?api-version=2023-03-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/privateClouds?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/providers/Microsoft.AVS/privateClouds?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "80" ], - "x-ms-client-request-id": [ "8ac6617c-9a0e-433b-8f53-d29b015509df" ], + "x-ms-client-request-id": [ "dbba201c-c843-4bd5-adbe-e2347bda2c1d" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,30 +111,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:00 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1452" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1509" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\"}}]}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01+1": { + "AzVMwarePrivateCloud+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/xdn238?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/l3cm9t?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "81" ], - "x-ms-client-request-id": [ "c0275b62-2450-4f5f-b0d9-522f7da9b6db" ], + "x-ms-client-request-id": [ "448e7e05-97bf-43b2-9b4c-55fb059e743e" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -143,30 +143,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:01 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1933" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1990" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds?api-version=2021-12-01+1": { + "AzVMwarePrivateCloud+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "82" ], - "x-ms-client-request-id": [ "5dbbf429-9d71-4655-bcb8-dac7194c80a7" ], + "x-ms-client-request-id": [ "a80c955e-704d-41b8-880f-766401fd3d2f" ], "CommandName": [ "Get-AzVMwarePrivateCloud" ], "FullCommandName": [ "Get-AzVMwarePrivateCloud_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -175,21 +175,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:01 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1597" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1654" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]}}]}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01+1": { + "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01", "Content": "{\r\n \"location\": \"centralus\",\r\n \"sku\": {\r\n \"name\": \"av20\"\r\n },\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 3\r\n },\r\n \"networkBlock\": \"192.168.48.0/22\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -202,31 +202,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:02 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:08:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1339" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1377" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/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\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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\"]}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01+2": { + "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "84" ], - "x-ms-client-request-id": [ "336ee183-7c92-406f-8959-e7c6716a46d5" ], + "x-ms-client-request-id": [ "79018c20-51d1-45f7-9de6-ad4511a75afc" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -234,31 +234,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:33 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1933" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1990" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01+3": { + "AzVMwarePrivateCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "85" ], - "x-ms-client-request-id": [ "336ee183-7c92-406f-8959-e7c6716a46d5" ], + "x-ms-client-request-id": [ "79018c20-51d1-45f7-9de6-ad4511a75afc" ], "CommandName": [ "Az.VMware.internal\\New-AzVMwarePrivateCloud" ], "FullCommandName": [ "New-AzVMwarePrivateCloud_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ] }, "ContentHeaders": { } @@ -266,21 +266,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:33 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1933" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1990" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"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\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]},\"identity\":{\"principalId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"tenantId\":\"881e5573-063f-49e4-8c08-79d7df0169d8\",\"type\":\"SystemAssigned\"}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g?api-version=2021-12-01+1": { + "AzVMwarePrivateCloud+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01", "Content": "{\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 4\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -293,21 +293,21 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:33 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1770" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1827" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"expressRouteID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/\",\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz?api-version=2021-12-01+1": { + "AzVMwarePrivateCloud+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel?api-version=2023-03-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloud7lcz?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel?api-version=2023-03-01", "Content": "{\r\n \"properties\": {\r\n \"managementCluster\": {\r\n \"clusterSize\": 4\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -320,30 +320,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:34 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1770" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "1827" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/\",\"versionType\":\"Fixed\"}},\"provisioningState\":\"Succeeded\",\"circuit\":{\"primarySubnet\":\"192.168.53.0/30\",\"secondarySubnet\":\"192.168.53.4/30\",\"expressRouteID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect\",\"expressRoutePrivatePeeringID\":\"/subscriptions/{subscription-id}/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering\"},\"endpoints\":{\"nsxtManager\":\"https://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1\",\"name\":\"cloud1\",\"type\":\"Microsoft.AVS/privateClouds\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"AV36\"},\"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/\",\"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://192.168.50.3/\",\"vcsa\":\"https://192.168.50.2/\",\"hcxCloudManager\":\"https://192.168.50.4/\"},\"networkBlock\":\"192.168.48.0/22\",\"externalCloudLinks\":[\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2\"]}}", "isContentBase64": false } }, - "AzVMwarePrivateCloud+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01+1": { + "AzVMwarePrivateCloud+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/s7vnbc?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/5krpza?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "88" ], - "x-ms-client-request-id": [ "346f8298-f82f-4ee4-8ee3-c6963dc82348" ], + "x-ms-client-request-id": [ "d58fe77d-3d1f-4f50-a19e-773ee4e4fa33" ], "CommandName": [ "Az.VMware.internal\\Remove-AzVMwarePrivateCloud" ], "FullCommandName": [ "Remove-AzVMwarePrivateCloud_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -352,8 +352,8 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:34 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:02 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Tests.ps1 b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Tests.ps1 index 670aa98095b1..78695c58e5e5 100644 --- a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Tests.ps1 +++ b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloud.Tests.ps1 @@ -45,7 +45,7 @@ Describe 'AzVMwarePrivateCloud' { It 'UpdateExpanded' { { - $config = Update-AzVMwarePrivateCloud -Name $env.privateCloudName1 -ResourceGroupName $env.resourceGroup1 -ManagementClusterSize 4 + $config = Update-AzVMwarePrivateCloud -Name $env.rstr2 -ResourceGroupName $env.resourceGroup2 -ManagementClusterSize 4 $config.ManagementClusterSize | Should -BeGreaterThan 0 } | Should -Not -Throw } diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudAdminCredential.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudAdminCredential.Recording.json index 87691b04f4b0..3b938678240d 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/listAdminCredentials?api-version=2021-12-01+1": { + "AzVMwarePrivateCloudAdminCredential+[NoContext]+List+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/listAdminCredentials?api-version=2023-03-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/listAdminCredentials?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/listAdminCredentials?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "89" ], - "x-ms-client-request-id": [ "34fd3299-909c-4a5d-91a8-ffebf354082b" ], + "x-ms-client-request-id": [ "6f1aa896-b5de-4a1a-9738-cac82b9dd4a1" ], "CommandName": [ "Get-AzVMwarePrivateCloudAdminCredential" ], "FullCommandName": [ "Get-AzVMwarePrivateCloudAdminCredential_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -20,12 +20,12 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:35 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "133" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "133" ] }, "Content": "{\"nsxtUsername\":\"admin\",\"nsxtPassword\":\"$(1X4Dkk\",\"vcenterUsername\":\"cloudadmin@vsphere.local\",\"vcenterPassword\":\"\u003cvcenterPassword\u003e\"}", "isContentBase64": false diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudNsxtPassword.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudNsxtPassword.Recording.json index 50464a329fff..b5328d5327d0 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/rotateNsxtPassword?api-version=2021-12-01+1": { + "AzVMwarePrivateCloudNsxtPassword+[NoContext]+Rotate+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/rotateNsxtPassword?api-version=2023-03-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/rotateNsxtPassword?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/rotateNsxtPassword?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "90" ], - "x-ms-client-request-id": [ "f321546c-be92-469a-a767-c9a64592b522" ], + "x-ms-client-request-id": [ "436cacf4-5b03-4bb6-a386-e079722c88b5" ], "CommandName": [ "New-AzVMwarePrivateCloudNsxtPassword" ], "FullCommandName": [ "New-AzVMwarePrivateCloudNsxtPassword_Rotate" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -20,8 +20,8 @@ "Response": { "StatusCode": 204, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:35 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudVcenterPassword.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwarePrivateCloudVcenterPassword.Recording.json index 0ed98c531e9d..777d3111cbcc 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/rotateVcenterPassword?api-version=2021-12-01+1": { + "AzVMwarePrivateCloudVcenterPassword+[NoContext]+Rotate+$POST+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/rotateVcenterPassword?api-version=2023-03-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/rotateVcenterPassword?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/rotateVcenterPassword?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "91" ], - "x-ms-client-request-id": [ "ab9f4ff3-a4c8-4a8c-9bbb-670742e5cf40" ], + "x-ms-client-request-id": [ "6a48e146-4234-42ad-af61-4274e92e9796" ], "CommandName": [ "New-AzVMwarePrivateCloudVcenterPassword" ], "FullCommandName": [ "New-AzVMwarePrivateCloudVcenterPassword_Rotate" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -20,8 +20,8 @@ "Response": { "StatusCode": 204, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:37 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "0" ] diff --git a/src/VMware/VMware.Autorest/test/AzVMwareVirtualMachine.Recording.json b/src/VMware/VMware.Autorest/test/AzVMwareVirtualMachine.Recording.json index 20130d47d500..c7dfa430da12 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/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/virtualMachines?api-version=2021-12-01+1": { + "AzVMwareVirtualMachine+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/virtualMachines?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/virtualMachines?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/virtualMachines?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "92" ], - "x-ms-client-request-id": [ "4946c755-4741-490b-90e4-f5ff1687cb69" ], + "x-ms-client-request-id": [ "487d45e8-6a95-48fe-ac02-82b83d881a1f" ], "CommandName": [ "Get-AzVMwareVirtualMachine" ], "FullCommandName": [ "Get-AzVMwareVirtualMachine_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -20,30 +20,30 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:39 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "695" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "733" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209\",\"name\":\"vm-209\",\"type\":\"Microsoft.AVS/privateClouds/clusters/virtualMachines\",\"properties\":{\"displayName\":\"contoso-vm1\",\"moRefId\":\"vm-209\",\"folderPath\":\"vm/folder-1\",\"restrictMovement\":\"Disabled\"}},{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"name\":\"vm-128\",\"type\":\"Microsoft.AVS/privateClouds/clusters/virtualMachines\",\"properties\":{\"displayName\":\"contoso-vm2\",\"moRefId\":\"vm-128\",\"folderPath\":\"vm\",\"restrictMovement\":\"Enabled\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209\",\"name\":\"vm-209\",\"type\":\"Microsoft.AVS/privateClouds/clusters/virtualMachines\",\"properties\":{\"displayName\":\"contoso-vm1\",\"moRefId\":\"vm-209\",\"folderPath\":\"vm/folder-1\",\"restrictMovement\":\"Disabled\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128\",\"name\":\"vm-128\",\"type\":\"Microsoft.AVS/privateClouds/clusters/virtualMachines\",\"properties\":{\"displayName\":\"contoso-vm2\",\"moRefId\":\"vm-128\",\"folderPath\":\"vm\",\"restrictMovement\":\"Enabled\"}}]}", "isContentBase64": false } }, - "AzVMwareVirtualMachine+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/virtualMachines/vm-209?api-version=2021-12-01+1": { + "AzVMwareVirtualMachine+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/virtualMachines/vm-209?api-version=2023-03-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroup5q2kvd/providers/Microsoft.AVS/privateClouds/azps_test_cloudme6g/clusters/xdn238/virtualMachines/vm-209?api-version=2021-12-01", + "RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/clusters/l3cm9t/virtualMachines/vm-209?api-version=2023-03-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "93" ], - "x-ms-client-request-id": [ "82925d7b-077e-4c2f-b721-72c569ecfebf" ], + "x-ms-client-request-id": [ "5aee0f03-bbb5-4e4b-829f-711bd8e4771b" ], "CommandName": [ "Get-AzVMwareVirtualMachine" ], "FullCommandName": [ "Get-AzVMwareVirtualMachine_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.2", "Az.VMware/0.4.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.9", "Az.VMware/0.4.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -52,14 +52,14 @@ "Response": { "StatusCode": 200, "Headers": { - "Date": [ "Thu, 22 Sep 2022 07:18:39 GMT" ], - "Server": [ "Rocket" ] + "Server": [ "Rocket" ], + "Date": [ "Fri, 12 Jan 2024 19:09:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], - "Content-Type": [ "application/json" ] + "Content-Type": [ "application/json" ], + "Content-Length": [ "364" ] }, - "Content": "{\"id\":\"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209\",\"name\":\"vm-209\",\"type\":\"Microsoft.AVS/privateClouds/clusters/virtualMachines\",\"properties\":{\"displayName\":\"contoso-vm\",\"moRefId\":\"vm-209\",\"folderPath\":\"vm/folder-1\",\"restrictMovement\":\"Disabled\"}}", + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209\",\"name\":\"vm-209\",\"type\":\"Microsoft.AVS/privateClouds/clusters/virtualMachines\",\"properties\":{\"displayName\":\"contoso-vm\",\"moRefId\":\"vm-209\",\"folderPath\":\"vm/folder-1\",\"restrictMovement\":\"Disabled\"}}", "isContentBase64": false } } diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwareAddon.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareAddon.Tests.ps1 new file mode 100644 index 000000000000..befdcbc4fa4b --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareAddon.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareAddon')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareAddon.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-AzVMwareAddon' { + It 'List' -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-AzVMwareAuthorization.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareAuthorization.Tests.ps1 new file mode 100644 index 000000000000..b9f83fcc8b50 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareAuthorization.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareAuthorization')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareAuthorization.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-AzVMwareAuthorization' { + It 'List' -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-AzVMwareCloudLink.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareCloudLink.Tests.ps1 new file mode 100644 index 000000000000..40b8d172951f --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareCloudLink.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareCloudLink')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareCloudLink.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-AzVMwareCloudLink' { + It 'List' -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-AzVMwareCluster.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareCluster.Tests.ps1 new file mode 100644 index 000000000000..d870ed58d75a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareCluster.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareCluster')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareCluster.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-AzVMwareCluster' { + It 'List' -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-AzVMwareClusterZone.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareClusterZone.Tests.ps1 new file mode 100644 index 000000000000..737bc8ca3431 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareClusterZone.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareClusterZone')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareClusterZone.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-AzVMwareClusterZone' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwareDatastore.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareDatastore.Tests.ps1 new file mode 100644 index 000000000000..8f2d804ee08c --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareDatastore.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareDatastore')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareDatastore.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-AzVMwareDatastore' { + It 'List' -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-AzVMwareGlobalReachConnection.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareGlobalReachConnection.Tests.ps1 new file mode 100644 index 000000000000..62670e437f16 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareGlobalReachConnection.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareGlobalReachConnection')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareGlobalReachConnection.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-AzVMwareGlobalReachConnection' { + It 'List' -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-AzVMwareHcxEnterpriseSite.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareHcxEnterpriseSite.Tests.ps1 new file mode 100644 index 000000000000..89311aa1af0c --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareHcxEnterpriseSite.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareHcxEnterpriseSite')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareHcxEnterpriseSite.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-AzVMwareHcxEnterpriseSite' { + 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-AzVMwarePlacementPolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwarePlacementPolicy.Tests.ps1 new file mode 100644 index 000000000000..1fb0d0d8ecdb --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwarePlacementPolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwarePlacementPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwarePlacementPolicy.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-AzVMwarePlacementPolicy' { + It 'List' -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-AzVMwarePrivateCloud.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwarePrivateCloud.Tests.ps1 new file mode 100644 index 000000000000..7e7bb2ed644c --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwarePrivateCloud.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwarePrivateCloud')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwarePrivateCloud.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-AzVMwarePrivateCloud' { + It 'List1' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'List' -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-AzVMwarePrivateCloudAdminCredential.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwarePrivateCloudAdminCredential.Tests.ps1 new file mode 100644 index 000000000000..3378ca83ed07 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwarePrivateCloudAdminCredential.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwarePrivateCloudAdminCredential')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwarePrivateCloudAdminCredential.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-AzVMwarePrivateCloudAdminCredential' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptCmdlet.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptCmdlet.Tests.ps1 new file mode 100644 index 000000000000..e9655ace0b64 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptCmdlet.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareScriptCmdlet')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareScriptCmdlet.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-AzVMwareScriptCmdlet' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityScriptPackage' -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-AzVMwareScriptExecution.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptExecution.Tests.ps1 new file mode 100644 index 000000000000..d9534a0a9a9a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptExecution.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareScriptExecution')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareScriptExecution.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-AzVMwareScriptExecution' { + 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-AzVMwareScriptExecutionLog.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptExecutionLog.Tests.ps1 new file mode 100644 index 000000000000..3b46faa60259 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptExecutionLog.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareScriptExecutionLog')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareScriptExecutionLog.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-AzVMwareScriptExecutionLog' { + It 'GetViaIdentity' -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 + } +} diff --git a/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptPackage.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptPackage.Tests.ps1 new file mode 100644 index 000000000000..71c66d4f2cb0 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareScriptPackage.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareScriptPackage')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareScriptPackage.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-AzVMwareScriptPackage' { + 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-AzVMwareVirtualMachine.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareVirtualMachine.Tests.ps1 new file mode 100644 index 000000000000..91fdafccfba7 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareVirtualMachine.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareVirtualMachine')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareVirtualMachine.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-AzVMwareVirtualMachine' { + It 'List' -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-AzVMwareWorkloadNetworkDhcp.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkDhcp.Tests.ps1 new file mode 100644 index 000000000000..dba14cba8e63 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkDhcp.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkDhcp')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkDhcp.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-AzVMwareWorkloadNetworkDhcp' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityDhcpConfiguration' -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-AzVMwareWorkloadNetworkDnsService.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkDnsService.Tests.ps1 new file mode 100644 index 000000000000..0e3c09332db1 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkDnsService.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkDnsService')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkDnsService.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-AzVMwareWorkloadNetworkDnsService' { + 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-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 new file mode 100644 index 000000000000..a85c44c5a4d6 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkDnsZone')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkDnsZone.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-AzVMwareWorkloadNetworkDnsZone' { + 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-AzVMwareWorkloadNetworkGateway.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkGateway.Tests.ps1 new file mode 100644 index 000000000000..5df06083b2ad --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkGateway.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkGateway')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkGateway.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-AzVMwareWorkloadNetworkGateway' { + 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-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 new file mode 100644 index 000000000000..7d59ec297aa4 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkPortMirroring')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkPortMirroring.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-AzVMwareWorkloadNetworkPortMirroring' { + 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-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 new file mode 100644 index 000000000000..9f363e639173 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkPublicIP')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkPublicIP.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-AzVMwareWorkloadNetworkPublicIP' { + 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-AzVMwareWorkloadNetworkSegment.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkSegment.Tests.ps1 new file mode 100644 index 000000000000..ef41313a2d72 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkSegment.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkSegment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkSegment.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-AzVMwareWorkloadNetworkSegment' { + 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-AzVMwareWorkloadNetworkVM.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkVM.Tests.ps1 new file mode 100644 index 000000000000..b5fe2d005104 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkVM.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkVM')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkVM.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-AzVMwareWorkloadNetworkVM' { + 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-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 new file mode 100644 index 000000000000..c74b41f06012 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Get-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzVMwareWorkloadNetworkVMGroup')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzVMwareWorkloadNetworkVMGroup.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-AzVMwareWorkloadNetworkVMGroup' { + 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/Lock-AzVMwareVirtualMachineMovement.Tests.ps1 b/src/VMware/VMware.Autorest/test/Lock-AzVMwareVirtualMachineMovement.Tests.ps1 new file mode 100644 index 000000000000..97c749c0b9e6 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Lock-AzVMwareVirtualMachineMovement.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Lock-AzVMwareVirtualMachineMovement')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Lock-AzVMwareVirtualMachineMovement.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 'Lock-AzVMwareVirtualMachineMovement' { + It 'RestrictExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RestrictViaIdentityPrivateCloudExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RestrictViaIdentityClusterExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RestrictViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareAddon.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareAddon.Tests.ps1 new file mode 100644 index 000000000000..7860d15382e3 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareAddon.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareAddon')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareAddon.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-AzVMwareAddon' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareAddonSrmPropertiesObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareAddonSrmPropertiesObject.Tests.ps1 new file mode 100644 index 000000000000..c2f9c645fdf3 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareAddonSrmPropertiesObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareAddonSrmPropertiesObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareAddonSrmPropertiesObject.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-AzVMwareAddonSrmPropertiesObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareAddonVrPropertiesObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareAddonVrPropertiesObject.Tests.ps1 new file mode 100644 index 000000000000..7f0950a8564a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareAddonVrPropertiesObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareAddonVrPropertiesObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareAddonVrPropertiesObject.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-AzVMwareAddonVrPropertiesObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareAuthorization.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareAuthorization.Tests.ps1 new file mode 100644 index 000000000000..5f72fd18b532 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareAuthorization.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareAuthorization')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareAuthorization.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-AzVMwareAuthorization' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareCloudLink.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareCloudLink.Tests.ps1 new file mode 100644 index 000000000000..3bcd90c4a7ae --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareCloudLink.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareCloudLink')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareCloudLink.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-AzVMwareCloudLink' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareCluster.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareCluster.Tests.ps1 new file mode 100644 index 000000000000..1d239bf3d5a0 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareCluster.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareCluster')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareCluster.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-AzVMwareCluster' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareDatastore.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareDatastore.Tests.ps1 new file mode 100644 index 000000000000..6e74a2482d2a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareDatastore.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareDatastore')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareDatastore.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-AzVMwareDatastore' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareGlobalReachConnection.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareGlobalReachConnection.Tests.ps1 new file mode 100644 index 000000000000..a99199d781a0 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareGlobalReachConnection.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareGlobalReachConnection')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareGlobalReachConnection.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-AzVMwareGlobalReachConnection' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareHcxEnterpriseSite.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareHcxEnterpriseSite.Tests.ps1 new file mode 100644 index 000000000000..9514254882e3 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareHcxEnterpriseSite.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareHcxEnterpriseSite')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareHcxEnterpriseSite.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-AzVMwareHcxEnterpriseSite' { + 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/New-AzVMwareIdentitySourceObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareIdentitySourceObject.Tests.ps1 new file mode 100644 index 000000000000..68b66358de65 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareIdentitySourceObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareIdentitySourceObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareIdentitySourceObject.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-AzVMwareIdentitySourceObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwarePSCredentialExecutionParameterObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwarePSCredentialExecutionParameterObject.Tests.ps1 new file mode 100644 index 000000000000..6ba17e0ef402 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwarePSCredentialExecutionParameterObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwarePSCredentialExecutionParameterObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwarePSCredentialExecutionParameterObject.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-AzVMwarePSCredentialExecutionParameterObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwarePlacementPolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwarePlacementPolicy.Tests.ps1 new file mode 100644 index 000000000000..2986a6bf884c --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwarePlacementPolicy.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwarePlacementPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwarePlacementPolicy.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-AzVMwarePlacementPolicy' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloud.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloud.Tests.ps1 new file mode 100644 index 000000000000..92501131dd14 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloud.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwarePrivateCloud')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwarePrivateCloud.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-AzVMwarePrivateCloud' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloudNsxtPassword.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloudNsxtPassword.Tests.ps1 new file mode 100644 index 000000000000..ef80da3b84f6 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloudNsxtPassword.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwarePrivateCloudNsxtPassword')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwarePrivateCloudNsxtPassword.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-AzVMwarePrivateCloudNsxtPassword' { + It 'Rotate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RotateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloudVcenterPassword.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloudVcenterPassword.Tests.ps1 new file mode 100644 index 000000000000..fa6f263c3133 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwarePrivateCloudVcenterPassword.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwarePrivateCloudVcenterPassword')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwarePrivateCloudVcenterPassword.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-AzVMwarePrivateCloudVcenterPassword' { + It 'Rotate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RotateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareScriptExecution.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareScriptExecution.Tests.ps1 new file mode 100644 index 000000000000..874c9928fea9 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareScriptExecution.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareScriptExecution')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareScriptExecution.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-AzVMwareScriptExecution' { + 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/New-AzVMwareScriptSecureStringExecutionParameterObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareScriptSecureStringExecutionParameterObject.Tests.ps1 new file mode 100644 index 000000000000..d576bd274364 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareScriptSecureStringExecutionParameterObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareScriptSecureStringExecutionParameterObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareScriptSecureStringExecutionParameterObject.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-AzVMwareScriptSecureStringExecutionParameterObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareScriptStringExecutionParameterObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareScriptStringExecutionParameterObject.Tests.ps1 new file mode 100644 index 000000000000..9f9753f24d0d --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareScriptStringExecutionParameterObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareScriptStringExecutionParameterObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareScriptStringExecutionParameterObject.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-AzVMwareScriptStringExecutionParameterObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareVMPlacementPolicyPropertiesObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareVMPlacementPolicyPropertiesObject.Tests.ps1 new file mode 100644 index 000000000000..cc7f8ece2fe3 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareVMPlacementPolicyPropertiesObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareVMPlacementPolicyPropertiesObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareVMPlacementPolicyPropertiesObject.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-AzVMwareVMPlacementPolicyPropertiesObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareVmHostPlacementPolicyPropertiesObject.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareVmHostPlacementPolicyPropertiesObject.Tests.ps1 new file mode 100644 index 000000000000..df4744c45acf --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareVmHostPlacementPolicyPropertiesObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareVmHostPlacementPolicyPropertiesObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareVmHostPlacementPolicyPropertiesObject.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-AzVMwareVmHostPlacementPolicyPropertiesObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkDhcp.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkDhcp.Tests.ps1 new file mode 100644 index 000000000000..4368f0fb5a36 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkDhcp.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareWorkloadNetworkDhcp')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareWorkloadNetworkDhcp.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-AzVMwareWorkloadNetworkDhcp' { + 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/New-AzVMwareWorkloadNetworkDnsService.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkDnsService.Tests.ps1 new file mode 100644 index 000000000000..1ecfc96b3937 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkDnsService.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareWorkloadNetworkDnsService')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareWorkloadNetworkDnsService.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-AzVMwareWorkloadNetworkDnsService' { + 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/New-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 new file mode 100644 index 000000000000..356e2cbb2821 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareWorkloadNetworkDnsZone')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareWorkloadNetworkDnsZone.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-AzVMwareWorkloadNetworkDnsZone' { + 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/New-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 new file mode 100644 index 000000000000..b71f9b7f0f34 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareWorkloadNetworkPortMirroring')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareWorkloadNetworkPortMirroring.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-AzVMwareWorkloadNetworkPortMirroring' { + 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/New-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 new file mode 100644 index 000000000000..64888706de6f --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareWorkloadNetworkPublicIP')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareWorkloadNetworkPublicIP.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-AzVMwareWorkloadNetworkPublicIP' { + 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/New-AzVMwareWorkloadNetworkSegment.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkSegment.Tests.ps1 new file mode 100644 index 000000000000..8fb2beba215c --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkSegment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareWorkloadNetworkSegment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareWorkloadNetworkSegment.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-AzVMwareWorkloadNetworkSegment' { + 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/New-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 new file mode 100644 index 000000000000..7b6982940eb6 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/New-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzVMwareWorkloadNetworkVMGroup')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzVMwareWorkloadNetworkVMGroup.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-AzVMwareWorkloadNetworkVMGroup' { + 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-AzVMwareAddon.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareAddon.Tests.ps1 new file mode 100644 index 000000000000..a65eaa878382 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareAddon.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareAddon')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareAddon.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-AzVMwareAddon' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareAuthorization.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareAuthorization.Tests.ps1 new file mode 100644 index 000000000000..e53c464fc286 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareAuthorization.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareAuthorization')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareAuthorization.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-AzVMwareAuthorization' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareCloudLink.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareCloudLink.Tests.ps1 new file mode 100644 index 000000000000..cf8dc30296d7 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareCloudLink.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareCloudLink')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareCloudLink.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-AzVMwareCloudLink' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareCluster.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareCluster.Tests.ps1 new file mode 100644 index 000000000000..ce655606deff --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareCluster.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareCluster')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareCluster.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-AzVMwareCluster' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareDatastore.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareDatastore.Tests.ps1 new file mode 100644 index 000000000000..7b4cfd389a6f --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareDatastore.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareDatastore')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareDatastore.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-AzVMwareDatastore' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareGlobalReachConnection.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareGlobalReachConnection.Tests.ps1 new file mode 100644 index 000000000000..d60f1d6c664d --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareGlobalReachConnection.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareGlobalReachConnection')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareGlobalReachConnection.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-AzVMwareGlobalReachConnection' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareHcxEnterpriseSite.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareHcxEnterpriseSite.Tests.ps1 new file mode 100644 index 000000000000..1635ff2ada7b --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareHcxEnterpriseSite.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareHcxEnterpriseSite')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareHcxEnterpriseSite.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-AzVMwareHcxEnterpriseSite' { + 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/Remove-AzVMwarePlacementPolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwarePlacementPolicy.Tests.ps1 new file mode 100644 index 000000000000..e10aec33a36a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwarePlacementPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwarePlacementPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwarePlacementPolicy.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-AzVMwarePlacementPolicy' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwarePrivateCloud.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwarePrivateCloud.Tests.ps1 new file mode 100644 index 000000000000..4c7873cd6cc2 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwarePrivateCloud.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwarePrivateCloud')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwarePrivateCloud.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-AzVMwarePrivateCloud' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareScriptExecution.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareScriptExecution.Tests.ps1 new file mode 100644 index 000000000000..c29e29a921b8 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareScriptExecution.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareScriptExecution')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareScriptExecution.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-AzVMwareScriptExecution' { + 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/Remove-AzVMwareWorkloadNetworkDhcp.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkDhcp.Tests.ps1 new file mode 100644 index 000000000000..acbbf49e1349 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkDhcp.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareWorkloadNetworkDhcp')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareWorkloadNetworkDhcp.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-AzVMwareWorkloadNetworkDhcp' { + 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/Remove-AzVMwareWorkloadNetworkDnsService.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkDnsService.Tests.ps1 new file mode 100644 index 000000000000..24d2e0700488 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkDnsService.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareWorkloadNetworkDnsService')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareWorkloadNetworkDnsService.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-AzVMwareWorkloadNetworkDnsService' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityDnsService' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 new file mode 100644 index 000000000000..5d38d5bef198 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareWorkloadNetworkDnsZone')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareWorkloadNetworkDnsZone.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-AzVMwareWorkloadNetworkDnsZone' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityDnsZone' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 new file mode 100644 index 000000000000..19a0320abe20 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareWorkloadNetworkPortMirroring')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareWorkloadNetworkPortMirroring.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-AzVMwareWorkloadNetworkPortMirroring' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityPortMirroringProfile' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 new file mode 100644 index 000000000000..7a04da91f302 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkPublicIP.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareWorkloadNetworkPublicIP')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareWorkloadNetworkPublicIP.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-AzVMwareWorkloadNetworkPublicIP' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityPublicIP' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkSegment.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkSegment.Tests.ps1 new file mode 100644 index 000000000000..1713e34a1b5a --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkSegment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareWorkloadNetworkSegment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareWorkloadNetworkSegment.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-AzVMwareWorkloadNetworkSegment' { + 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/Remove-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 new file mode 100644 index 000000000000..d209b536fcf9 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Remove-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzVMwareWorkloadNetworkVMGroup')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzVMwareWorkloadNetworkVMGroup.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-AzVMwareWorkloadNetworkVMGroup' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityVMGroup' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Test-AzVMwareLocationQuotaAvailability.Tests.ps1 b/src/VMware/VMware.Autorest/test/Test-AzVMwareLocationQuotaAvailability.Tests.ps1 new file mode 100644 index 000000000000..1dd187a8c1b4 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Test-AzVMwareLocationQuotaAvailability.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzVMwareLocationQuotaAvailability')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzVMwareLocationQuotaAvailability.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 'Test-AzVMwareLocationQuotaAvailability' { + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Test-AzVMwareLocationTrialAvailability.Tests.ps1 b/src/VMware/VMware.Autorest/test/Test-AzVMwareLocationTrialAvailability.Tests.ps1 new file mode 100644 index 000000000000..c67a26942bfc --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Test-AzVMwareLocationTrialAvailability.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzVMwareLocationTrialAvailability')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzVMwareLocationTrialAvailability.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 'Test-AzVMwareLocationTrialAvailability' { + It 'CheckExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Update-AzVMwareAuthorization.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareAuthorization.Tests.ps1 new file mode 100644 index 000000000000..6f707fa2d5f7 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareAuthorization.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareAuthorization')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareAuthorization.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-AzVMwareAuthorization' { + 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/Update-AzVMwareCloudLink.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareCloudLink.Tests.ps1 new file mode 100644 index 000000000000..965bf8bd2896 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareCloudLink.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareCloudLink')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareCloudLink.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-AzVMwareCloudLink' { + 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/Update-AzVMwareCluster.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareCluster.Tests.ps1 new file mode 100644 index 000000000000..e7ac24812cf4 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareCluster.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareCluster')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareCluster.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-AzVMwareCluster' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Update-AzVMwareDatastore.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareDatastore.Tests.ps1 new file mode 100644 index 000000000000..a8dd6e5260f9 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareDatastore.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareDatastore')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareDatastore.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-AzVMwareDatastore' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityPrivateCloudExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityClusterExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Update-AzVMwareGlobalReachConnection.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareGlobalReachConnection.Tests.ps1 new file mode 100644 index 000000000000..37257fa49cc1 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareGlobalReachConnection.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareGlobalReachConnection')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareGlobalReachConnection.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-AzVMwareGlobalReachConnection' { + 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/Update-AzVMwarePlacementPolicy.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwarePlacementPolicy.Tests.ps1 new file mode 100644 index 000000000000..310857e078d8 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwarePlacementPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwarePlacementPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwarePlacementPolicy.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-AzVMwarePlacementPolicy' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Update-AzVMwarePrivateCloud.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwarePrivateCloud.Tests.ps1 new file mode 100644 index 000000000000..b0400a8769a1 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwarePrivateCloud.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwarePrivateCloud')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwarePrivateCloud.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-AzVMwarePrivateCloud' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkDhcp.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkDhcp.Tests.ps1 new file mode 100644 index 000000000000..be8360833da0 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkDhcp.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareWorkloadNetworkDhcp')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareWorkloadNetworkDhcp.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-AzVMwareWorkloadNetworkDhcp' { + 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/Update-AzVMwareWorkloadNetworkDnsService.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkDnsService.Tests.ps1 new file mode 100644 index 000000000000..803cc65ee578 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkDnsService.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareWorkloadNetworkDnsService')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareWorkloadNetworkDnsService.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-AzVMwareWorkloadNetworkDnsService' { + 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/Update-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 new file mode 100644 index 000000000000..45c273f985b0 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkDnsZone.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareWorkloadNetworkDnsZone')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareWorkloadNetworkDnsZone.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-AzVMwareWorkloadNetworkDnsZone' { + 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/Update-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 new file mode 100644 index 000000000000..b8ec8a149855 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkPortMirroring.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareWorkloadNetworkPortMirroring')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareWorkloadNetworkPortMirroring.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-AzVMwareWorkloadNetworkPortMirroring' { + 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/Update-AzVMwareWorkloadNetworkSegment.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkSegment.Tests.ps1 new file mode 100644 index 000000000000..e6c18c756cd1 --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkSegment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareWorkloadNetworkSegment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareWorkloadNetworkSegment.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-AzVMwareWorkloadNetworkSegment' { + 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/Update-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 new file mode 100644 index 000000000000..12eaf3e48a0f --- /dev/null +++ b/src/VMware/VMware.Autorest/test/Update-AzVMwareWorkloadNetworkVMGroup.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzVMwareWorkloadNetworkVMGroup')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzVMwareWorkloadNetworkVMGroup.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-AzVMwareWorkloadNetworkVMGroup' { + 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 46a261126468..412e67e74c6f 100644 --- a/src/VMware/VMware.Autorest/test/env.json +++ b/src/VMware/VMware.Autorest/test/env.json @@ -1,18 +1,18 @@ { - "resourceGroup3": "testgroup5q2kvd", - "rstr1": "xdn238", - "rstr2": "s7vnbc", + "resourceGroup2": "testgroupp9uh7g", + "rstr4": "p9uh7g", + "policy1": "policy1", + "privateCloudName2": "azps_test_cloudukel", + "rstr3": "2hlsk5", + "location1": "centralus", + "rstr1": "l3cm9t", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "SubscriptionId": "cef41485-ad1e-4cc3-a652-4c2620b8a2d0", - "privateCloudName2": "azps_test_cloud7lcz", - "location1": "centralus", - "rstr3": "yrles9", - "rstr4": "5q2kvd", + "resourceGroup3": "testgroupp9uh7g", + "rstr2": "5krpza", + "privateCloudName1": "azps_test_cloudb092", + "policy2": "policy2", + "privateCloudName3": "azps_test_cloudaoz1", "location2": "westcentralus", - "resourceGroup2": "testgroup5q2kvd", - "resourceGroup1": "testgroup5q2kvd", - "policy1": "policy1", - "privateCloudName3": "azps_test_cloudbeog", - "privateCloudName1": "azps_test_cloudme6g", - "policy2": "policy2" + "resourceGroup1": "testgroupp9uh7g" }