VMware.Autorest/internal/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code # is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Get a Addon .Description Get a Addon .Example Get-AzVMwareAddon -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group .Example Get-AzVMwareAddon -AddonType vr -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareaddon #> function Get-AzVMwareAddon { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Alias('AddonName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the addon. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareAddon_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareAddon_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareAddon_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareAddon_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis List the operations for the provider .Description List the operations for the provider .Example {{ Add code here }} .Example {{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IOperation .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareoperation #> function Get-AzVMwareOperation { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IOperation])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.VMware.private\Get-AzVMwareOperation_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a ScriptCmdlet .Description Get a ScriptCmdlet .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptCmdlet .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. SCRIPTPACKAGEINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarescriptcmdlet #> function Get-AzVMwareScriptCmdlet { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptCmdlet])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityScriptPackage', Mandatory)] [Alias('ScriptCmdletName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the script cmdlet. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the script package. ${ScriptPackageName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter(ParameterSetName='GetViaIdentityScriptPackage', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${ScriptPackageInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareScriptCmdlet_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareScriptCmdlet_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareScriptCmdlet_GetViaIdentityPrivateCloud'; GetViaIdentityScriptPackage = 'Az.VMware.private\Get-AzVMwareScriptCmdlet_GetViaIdentityScriptPackage'; List = 'Az.VMware.private\Get-AzVMwareScriptCmdlet_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Return the logs for a script execution resource .Description Return the logs for a script execution resource .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Inputs System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecution .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarescriptexecutionlog #> function Get-AzVMwareScriptExecutionLog { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecution])] [CmdletBinding(DefaultParameterSetName='GetViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the script cmdlet. ${ScriptExecutionName}, [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter(Mandatory, ValueFromPipeline)] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Information", "Warning", "Output", "Error")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(Required, PossibleTypes=([System.String]))] [System.Collections.Generic.List[System.String]] # Array of ScriptOutputStreamType ${ScriptOutputStreamType}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareScriptExecutionLog_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareScriptExecutionLog_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareScriptExecutionLog_GetViaIdentityPrivateCloud'; } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a ScriptExecution .Description Get a ScriptExecution .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecution .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarescriptexecution #> function Get-AzVMwareScriptExecution { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecution])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Alias('ScriptExecutionName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the script cmdlet. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareScriptExecution_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareScriptExecution_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareScriptExecution_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareScriptExecution_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a ScriptPackage .Description Get a ScriptPackage .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptPackage .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwarescriptpackage #> function Get-AzVMwareScriptPackage { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptPackage])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Alias('ScriptPackageName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the script package. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareScriptPackage_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareScriptPackage_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareScriptPackage_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareScriptPackage_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkDhcp .Description Get a WorkloadNetworkDhcp .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcp .Notes 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. DHCPCONFIGURATIONINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. INPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkdhcp #> function Get-AzVMwareWorkloadNetworkDhcp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcp])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the DHCP configuration ${DhcpName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityDhcpConfiguration', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityDhcpConfiguration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${DhcpConfigurationInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDhcp_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDhcp_GetViaIdentity'; GetViaIdentityDhcpConfiguration = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDhcp_GetViaIdentityDhcpConfiguration'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDhcp_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkDnsService .Description Get a WorkloadNetworkDnsService .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsService .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkdnsservice #> function Get-AzVMwareWorkloadNetworkDnsService { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsService])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS service. ${DnsServiceName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsService_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsService_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsService_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsService_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkDnsZone .Description Get a WorkloadNetworkDnsZone .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsZone .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkdnszone #> function Get-AzVMwareWorkloadNetworkDnsZone { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsZone])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS zone. ${DnsZoneName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsZone_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsZone_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsZone_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkDnsZone_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkGateway .Description Get a WorkloadNetworkGateway .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkGateway .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkgateway #> function Get-AzVMwareWorkloadNetworkGateway { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkGateway])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the NSX Gateway ${GatewayName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkGateway_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkGateway_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkGateway_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkGateway_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkPortMirroring .Description Get a WorkloadNetworkPortMirroring .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkportmirroring #> function Get-AzVMwareWorkloadNetworkPortMirroring { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the NSX port mirroring profile. ${PortMirroringName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPortMirroring_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPortMirroring_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPortMirroring_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPortMirroring_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkPublicIP .Description Get a WorkloadNetworkPublicIP .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPublicIP .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkpublicip #> function Get-AzVMwareWorkloadNetworkPublicIP { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPublicIP])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS zone. ${PublicIPName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPublicIP_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPublicIP_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPublicIP_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkPublicIP_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkSegment .Description Get a WorkloadNetworkSegment .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworksegment #> function Get-AzVMwareWorkloadNetworkSegment { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the NSX Segment ${SegmentName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkSegment_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkSegment_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkSegment_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkSegment_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkVMGroup .Description Get a WorkloadNetworkVMGroup .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVMGroup .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkvmgroup #> function Get-AzVMwareWorkloadNetworkVMGroup { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVMGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the VM group. ${VMGroupName}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVMGroup_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVMGroup_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVMGroup_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVMGroup_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetworkVirtualMachine .Description Get a WorkloadNetworkVirtualMachine .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVirtualMachine .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetworkvm #> function Get-AzVMwareWorkloadNetworkVM { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVirtualMachine])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the virtual machine. ${VirtualMachineId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVM_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVM_GetViaIdentity'; GetViaIdentityPrivateCloud = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVM_GetViaIdentityPrivateCloud'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetworkVM_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get a WorkloadNetwork .Description Get a WorkloadNetwork .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetwork .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/get-azvmwareworkloadnetwork #> function Get-AzVMwareWorkloadNetwork { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetwork])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.VMware.private\Get-AzVMwareWorkloadNetwork_Get'; GetViaIdentity = 'Az.VMware.private\Get-AzVMwareWorkloadNetwork_GetViaIdentity'; List = 'Az.VMware.private\Get-AzVMwareWorkloadNetwork_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Enable or disable DRS-driven VM movement restriction .Description Enable or disable DRS-driven VM movement restriction .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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. CLUSTERINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. INPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/lock-azvmwarevirtualmachinemovement #> function Lock-AzVMwareVirtualMachineMovement { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='RestrictExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='RestrictExpanded', Mandatory)] [Parameter(ParameterSetName='RestrictViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the cluster ${ClusterName}, [Parameter(ParameterSetName='RestrictExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='RestrictExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='RestrictExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='RestrictExpanded', Mandatory)] [Parameter(ParameterSetName='RestrictViaIdentityClusterExpanded', Mandatory)] [Parameter(ParameterSetName='RestrictViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the virtual machine. ${VirtualMachineId}, [Parameter(ParameterSetName='RestrictViaIdentityClusterExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${ClusterInputObject}, [Parameter(ParameterSetName='RestrictViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='RestrictViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Enabled", "Disabled")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Whether VM DRS-driven movement is restricted (enabled) or not (disabled) ${RestrictMovement}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ RestrictExpanded = 'Az.VMware.private\Lock-AzVMwareVirtualMachineMovement_RestrictExpanded'; RestrictViaIdentityClusterExpanded = 'Az.VMware.private\Lock-AzVMwareVirtualMachineMovement_RestrictViaIdentityClusterExpanded'; RestrictViaIdentityExpanded = 'Az.VMware.private\Lock-AzVMwareVirtualMachineMovement_RestrictViaIdentityExpanded'; RestrictViaIdentityPrivateCloudExpanded = 'Az.VMware.private\Lock-AzVMwareVirtualMachineMovement_RestrictViaIdentityPrivateCloudExpanded'; } if (('RestrictExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a Addon .Description Create a Addon .Example $data = New-AzVMwareAddonVrPropertyObject -VrsCount 2 New-AzVMwareAddon -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group -Property $data .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PROPERTY <IAddonProperties>: The resource-specific properties for this resource. AddonType <String>: Addon type .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareaddon #> function New-AzVMwareAddon { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddon])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Alias('AddonName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the addon. ${Name}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IAddonProperties] # The resource-specific properties for this resource. ${Property}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareAddon_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareAddon_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareAddon_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a PrivateCloud .Description Create a PrivateCloud .Example New-AzVMwarePrivateCloud -Name azps_test_cloud -ResourceGroupName azps_test_group -NetworkBlock 192.168.48.0/22 -Sku av36 -ManagementClusterSize 3 -Location australiaeast .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IPrivateCloud .Notes 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 <IIdentitySource[]>: vCenter Single Sign On Identity Sources [Alias <String>]: The domain's NetBIOS name [BaseGroupDn <String>]: The base distinguished name for groups [BaseUserDn <String>]: The base distinguished name for users [Domain <String>]: The domain's dns name [Name <String>]: The name of the identity source [Password <SecureString>]: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups. [PrimaryServer <String>]: Primary server URL [SecondaryServer <String>]: Secondary server URL [Ssl <String>]: Protect LDAP communication using SSL certificate (LDAPS) [Username <String>]: 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.IPrivateCloud])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Alias('PrivateCloudName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # The geo-location where the resource lives ${Location}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # The name of the SKU. # E.g. # P3. # It is typically a letter+number code ${SkuName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [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("Public", "Private")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # The type of DNS zone to use. ${DnsZoneType}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Management.Automation.SwitchParameter] # Decides if enable a system assigned identity for the resource. ${EnableSystemAssignedIdentity}, [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 beunique and non-overlapping across VNet in your subscription, on-premise, andthis 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 ${IdentitySource}, [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()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # The hosts ${ManagementClusterHost}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int32] # The cluster size ${ManagementClusterSize}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Name of the vsan datastore associated with the cluster ${ManagementClusterVsanDatastoreName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # The block of addresses should be unique across VNet in your subscription aswell as on-premise. # Make sure the CIDR format is conformed to (A.B.C.D/X) whereA,B,C,D are between 0 and 255, and X is between 0 and 22 ${NetworkBlock}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Security.SecureString] # Optionally, set the NSX-T Manager password when the private cloud is created ${NsxtPassword}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int32] # If the SKU supports scale out/in then the capacity integer should be included. # If scale out/in is not possible for the resource this may be omitted. ${SkuCapacity}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # If the service has different generations of hardware, for the same SKU, then that can be captured here. ${SkuFamily}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # The SKU size. # When the name field is the combination of tier and some other value, this would be the standalone code. ${SkuSize}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("Free", "Basic", "Standard", "Premium")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. ${SkuTier}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ITrackedResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Security.SecureString] # Optionally, set the vCenter admin password when the private cloud is created ${VcenterPassword}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Azure resource ID of the virtual network ${VirtualNetworkId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwarePrivateCloud_CreateExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a ScriptExecution .Description Create a ScriptExecution .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecution .Notes 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. HIDDENPARAMETER <IScriptExecutionParameter[]>: Parameters that will be hidden/not visible to ARM, such as passwords andcredentials Name <String>: The parameter name Type <String>: script execution parameter type INPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PARAMETER <IScriptExecutionParameter[]>: Parameters the script will accept Name <String>: The parameter name Type <String>: script execution parameter type PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwarescriptexecution #> function New-AzVMwareScriptExecution { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecution])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Alias('ScriptExecutionName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the script cmdlet. ${Name}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Error message if the script was able to run, but if the script itself haderrors or powershell threw an exception ${FailureReason}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecutionParameter[]] # Parameters that will be hidden/not visible to ARM, such as passwords andcredentials ${HiddenParameter}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecutionPropertiesNamedOutputs]))] [System.Collections.Hashtable] # User-defined dictionary. ${NamedOutput}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # Standard output stream from the powershell execution ${Output}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecutionParameter[]] # Parameters the script will accept ${Parameter}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Time to live for the resource. # If not provided, will be available for 60 days ${Retention}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # A reference to the script cmdlet resource if user is running a AVS script ${ScriptCmdletId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Time limit for execution ${Timeout}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareScriptExecution_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareScriptExecution_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareScriptExecution_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a WorkloadNetworkDhcp .Description Create a WorkloadNetworkDhcp .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcp .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareworkloadnetworkdhcp #> function New-AzVMwareWorkloadNetworkDhcp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcp])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the DHCP configuration ${DhcpName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("SERVER", "RELAY")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Type of DHCP: SERVER or RELAY. ${DhcpType}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the DHCP entity. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDhcp_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDhcp_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDhcp_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a WorkloadNetworkDnsService .Description Create a WorkloadNetworkDnsService .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsService .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareworkloadnetworkdnsservice #> function New-AzVMwareWorkloadNetworkDnsService { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsService])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS service. ${DnsServiceName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Default DNS zone of the DNS Service. ${DefaultDnsZone}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the DNS Service. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # DNS service IP of the DNS Service. ${DnsServiceIP}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # FQDN zones of the DNS Service. ${FqdnZone}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("DEBUG", "INFO", "WARNING", "ERROR", "FATAL")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # DNS Service log level. ${LogLevel}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDnsService_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDnsService_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDnsService_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a WorkloadNetworkDnsZone .Description Create a WorkloadNetworkDnsZone .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsZone .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareworkloadnetworkdnszone #> function New-AzVMwareWorkloadNetworkDnsZone { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsZone])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS zone. ${DnsZoneName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the DNS Zone. ${DisplayName}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # DNS Server IP array of the DNS Zone. ${DnsServerIP}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # Number of DNS Services using the DNS zone. ${DnsService}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # Domain names of the DNS Zone. ${Domain}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Source IP of the DNS Zone. ${SourceIP}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDnsZone_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDnsZone_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkDnsZone_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a WorkloadNetworkPortMirroring .Description Create a WorkloadNetworkPortMirroring .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareworkloadnetworkportmirroring #> function New-AzVMwareWorkloadNetworkPortMirroring { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the NSX port mirroring profile. ${PortMirroringName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Destination VM Group. ${Destination}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("INGRESS", "EGRESS", "BIDIRECTIONAL")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Direction of port mirroring profile. ${Direction}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the port mirroring profile. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Source VM Group. ${Source}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkPortMirroring_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkPortMirroring_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkPortMirroring_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a WorkloadNetworkPublicIP .Description Create a WorkloadNetworkPublicIP .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPublicIP .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareworkloadnetworkpublicip #> function New-AzVMwareWorkloadNetworkPublicIP { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPublicIP])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS zone. ${PublicIPName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the Public IP Block. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # Number of Public IPs requested. ${NumberOfPublicIP}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkPublicIP_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkPublicIP_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkPublicIP_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a WorkloadNetworkSegment .Description Create a WorkloadNetworkSegment .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareworkloadnetworksegment #> function New-AzVMwareWorkloadNetworkSegment { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the NSX Segment ${SegmentName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Gateway which to connect segment to. ${ConnectedGateway}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the segment. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # DHCP Range assigned for subnet. ${SubnetDhcpRange}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Gateway address. ${SubnetGatewayAddress}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkSegment_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkSegment_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkSegment_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a WorkloadNetworkVMGroup .Description Create a WorkloadNetworkVMGroup .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVMGroup .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/new-azvmwareworkloadnetworkvmgroup #> function New-AzVMwareWorkloadNetworkVMGroup { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVMGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the VM group. ${VMGroupName}, [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the VM group. ${DisplayName}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # Virtual machine members of this group. ${Member}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkVMGroup_CreateExpanded'; CreateViaIdentityExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkVMGroup_CreateViaIdentityExpanded'; CreateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\New-AzVMwareWorkloadNetworkVMGroup_CreateViaIdentityPrivateCloudExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a Addon .Description Delete a Addon .Example Remove-AzVMwareAddon -AddonType vr -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group .Example Get-AzVMwareAddon -AddonType vr -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group | Remove-AzVMwareAddon .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareaddon #> function Remove-AzVMwareAddon { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory)] [Alias('AddonName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the addon. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareAddon_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareAddon_DeleteViaIdentity'; DeleteViaIdentityPrivateCloud = 'Az.VMware.private\Remove-AzVMwareAddon_DeleteViaIdentityPrivateCloud'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a PrivateCloud .Description Delete a PrivateCloud .Example Remove-AzVMwarePrivateCloud -ResourceGroupName azps_test_group -Name azps_test_cloud .Example Get-AzVMwarePrivateCloud -ResourceGroupName azps_test_group -Name azps_test_cloud | Remove-AzVMwarePrivateCloud .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareprivatecloud #> function Remove-AzVMwarePrivateCloud { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Alias('PrivateCloudName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwarePrivateCloud_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwarePrivateCloud_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a ScriptExecution .Description Delete a ScriptExecution .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwarescriptexecution #> function Remove-AzVMwareScriptExecution { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory)] [Alias('ScriptExecutionName')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the script cmdlet. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareScriptExecution_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareScriptExecution_DeleteViaIdentity'; DeleteViaIdentityPrivateCloud = 'Az.VMware.private\Remove-AzVMwareScriptExecution_DeleteViaIdentityPrivateCloud'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a WorkloadNetworkDhcp .Description Delete a WorkloadNetworkDhcp .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareworkloadnetworkdhcp #> function Remove-AzVMwareWorkloadNetworkDhcp { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the DHCP configuration ${DhcpName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDhcp_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDhcp_DeleteViaIdentity'; DeleteViaIdentityPrivateCloud = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDhcp_DeleteViaIdentityPrivateCloud'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a WorkloadNetworkDnsService .Description Delete a WorkloadNetworkDnsService .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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. DNSSERVICEINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. INPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareworkloadnetworkdnsservice #> function Remove-AzVMwareWorkloadNetworkDnsService { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS service. ${DnsServiceName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityDnsService', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityDnsService', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${DnsServiceInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDnsService_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDnsService_DeleteViaIdentity'; DeleteViaIdentityDnsService = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDnsService_DeleteViaIdentityDnsService'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a WorkloadNetworkDnsZone .Description Delete a WorkloadNetworkDnsZone .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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. DNSZONEINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. INPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareworkloadnetworkdnszone #> function Remove-AzVMwareWorkloadNetworkDnsZone { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS zone. ${DnsZoneName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityDnsZone', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityDnsZone', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${DnsZoneInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDnsZone_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDnsZone_DeleteViaIdentity'; DeleteViaIdentityDnsZone = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkDnsZone_DeleteViaIdentityDnsZone'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a WorkloadNetworkPortMirroring .Description Delete a WorkloadNetworkPortMirroring .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PORTMIRRORINGPROFILEINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareworkloadnetworkportmirroring #> function Remove-AzVMwareWorkloadNetworkPortMirroring { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the NSX port mirroring profile. ${PortMirroringName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityPortMirroringProfile', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityPortMirroringProfile', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PortMirroringProfileInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkPortMirroring_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkPortMirroring_DeleteViaIdentity'; DeleteViaIdentityPortMirroringProfile = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkPortMirroring_DeleteViaIdentityPortMirroringProfile'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a WorkloadNetworkPublicIP .Description Delete a WorkloadNetworkPublicIP .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PUBLICIPINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareworkloadnetworkpublicip #> function Remove-AzVMwareWorkloadNetworkPublicIP { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityPublicIP', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS zone. ${PublicIPName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityPublicIP', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PublicIPInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkPublicIP_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkPublicIP_DeleteViaIdentity'; DeleteViaIdentityPublicIP = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkPublicIP_DeleteViaIdentityPublicIP'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a WorkloadNetworkSegment .Description Delete a WorkloadNetworkSegment .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareworkloadnetworksegment #> function Remove-AzVMwareWorkloadNetworkSegment { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the NSX Segment ${SegmentName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityPrivateCloud', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkSegment_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkSegment_DeleteViaIdentity'; DeleteViaIdentityPrivateCloud = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkSegment_DeleteViaIdentityPrivateCloud'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Delete a WorkloadNetworkVMGroup .Description Delete a WorkloadNetworkVMGroup .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs System.Boolean .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. VMGROUPINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/remove-azvmwareworkloadnetworkvmgroup #> function Remove-AzVMwareWorkloadNetworkVMGroup { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityVMGroup', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the VM group. ${VMGroupName}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityVMGroup', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${VMGroupInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkVMGroup_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkVMGroup_DeleteViaIdentity'; DeleteViaIdentityVMGroup = 'Az.VMware.private\Remove-AzVMwareWorkloadNetworkVMGroup_DeleteViaIdentityVMGroup'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update a WorkloadNetworkDhcp .Description Update a WorkloadNetworkDhcp .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcp .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareworkloadnetworkdhcp #> function Update-AzVMwareWorkloadNetworkDhcp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcp])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the DHCP configuration ${DhcpName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("SERVER", "RELAY")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Type of DHCP: SERVER or RELAY. ${DhcpType}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the DHCP entity. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDhcp_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDhcp_UpdateViaIdentityExpanded'; UpdateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDhcp_UpdateViaIdentityPrivateCloudExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update a WorkloadNetworkDnsService .Description Update a WorkloadNetworkDnsService .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsService .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareworkloadnetworkdnsservice #> function Update-AzVMwareWorkloadNetworkDnsService { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsService])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS service. ${DnsServiceName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Default DNS zone of the DNS Service. ${DefaultDnsZone}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the DNS Service. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # DNS service IP of the DNS Service. ${DnsServiceIP}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # FQDN zones of the DNS Service. ${FqdnZone}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("DEBUG", "INFO", "WARNING", "ERROR", "FATAL")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # DNS Service log level. ${LogLevel}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDnsService_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDnsService_UpdateViaIdentityExpanded'; UpdateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDnsService_UpdateViaIdentityPrivateCloudExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update a WorkloadNetworkDnsZone .Description Update a WorkloadNetworkDnsZone .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsZone .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareworkloadnetworkdnszone #> function Update-AzVMwareWorkloadNetworkDnsZone { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDnsZone])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the DNS zone. ${DnsZoneName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the DNS Zone. ${DisplayName}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # DNS Server IP array of the DNS Zone. ${DnsServerIP}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # Number of DNS Services using the DNS zone. ${DnsService}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # Domain names of the DNS Zone. ${Domain}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Source IP of the DNS Zone. ${SourceIP}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDnsZone_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDnsZone_UpdateViaIdentityExpanded'; UpdateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkDnsZone_UpdateViaIdentityPrivateCloudExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update a WorkloadNetworkPortMirroring .Description Update a WorkloadNetworkPortMirroring .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareworkloadnetworkportmirroring #> function Update-AzVMwareWorkloadNetworkPortMirroring { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the NSX port mirroring profile. ${PortMirroringName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Destination VM Group. ${Destination}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.PSArgumentCompleterAttribute("INGRESS", "EGRESS", "BIDIRECTIONAL")] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Direction of port mirroring profile. ${Direction}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the port mirroring profile. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Source VM Group. ${Source}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkPortMirroring_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkPortMirroring_UpdateViaIdentityExpanded'; UpdateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkPortMirroring_UpdateViaIdentityPrivateCloudExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update a WorkloadNetworkSegment .Description Update a WorkloadNetworkSegment .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareworkloadnetworksegment #> function Update-AzVMwareWorkloadNetworkSegment { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The ID of the NSX Segment ${SegmentName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Gateway which to connect segment to. ${ConnectedGateway}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the segment. ${DisplayName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # DHCP Range assigned for subnet. ${SubnetDhcpRange}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Gateway address. ${SubnetGatewayAddress}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkSegment_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkSegment_UpdateViaIdentityExpanded'; UpdateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkSegment_UpdateViaIdentityPrivateCloudExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update a WorkloadNetworkVMGroup .Description Update a WorkloadNetworkVMGroup .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVMGroup .Notes 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 <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. PRIVATECLOUDINPUTOBJECT <IVMwareIdentity>: Identity Parameter [AddonName <String>]: Name of the addon. [AuthorizationName <String>]: Name of the ExpressRoute Circuit Authorization [CloudLinkName <String>]: Name of the cloud link. [ClusterName <String>]: Name of the cluster [DatastoreName <String>]: Name of the datastore [DhcpId <String>]: The ID of the DHCP configuration [DnsServiceId <String>]: ID of the DNS service. [DnsZoneId <String>]: ID of the DNS zone. [GatewayId <String>]: The ID of the NSX Gateway [GlobalReachConnectionName <String>]: Name of the global reach connection [HcxEnterpriseSiteName <String>]: Name of the HCX Enterprise Site [Id <String>]: Resource identity path [Location <String>]: The name of the Azure region. [PlacementPolicyName <String>]: Name of the placement policy. [PortMirroringId <String>]: ID of the NSX port mirroring profile. [PrivateCloudName <String>]: Name of the private cloud [PublicIPId <String>]: ID of the DNS zone. [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive. [ScriptCmdletName <String>]: Name of the script cmdlet. [ScriptExecutionName <String>]: Name of the script cmdlet. [ScriptPackageName <String>]: Name of the script package. [SegmentId <String>]: The ID of the NSX Segment [SubscriptionId <String>]: The ID of the target subscription. The value must be an UUID. [VMGroupId <String>]: ID of the VM group. [VirtualMachineId <String>]: ID of the virtual machine. .Link https://learn.microsoft.com/powershell/module/az.vmware/update-azvmwareworkloadnetworkvmgroup #> function Update-AzVMwareWorkloadNetworkVMGroup { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkVMGroup])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # Name of the private cloud ${PrivateCloudName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [System.String] # ID of the VM group. ${VMGroupName}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityPrivateCloudExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVMwareIdentity] # Identity Parameter ${PrivateCloudInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String] # Display name of the VM group. ${DisplayName}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # Virtual machine members of this group. ${Member}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.Int64] # NSX revision number. ${Revision}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkVMGroup_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkVMGroup_UpdateViaIdentityExpanded'; UpdateViaIdentityPrivateCloudExpanded = 'Az.VMware.private\Update-AzVMwareWorkloadNetworkVMGroup_UpdateViaIdentityPrivateCloudExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIoPAYJKoZIhvcNAQcCoIIoLTCCKCkCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCD6QJ0Jcw++9+Fe # GPYM2kuxXRD0TY3otZAhYlAci4OL6KCCDYUwggYDMIID66ADAgECAhMzAAADri01 # UchTj1UdAAAAAAOuMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjMxMTE2MTkwODU5WhcNMjQxMTE0MTkwODU5WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQD0IPymNjfDEKg+YyE6SjDvJwKW1+pieqTjAY0CnOHZ1Nj5irGjNZPMlQ4HfxXG # yAVCZcEWE4x2sZgam872R1s0+TAelOtbqFmoW4suJHAYoTHhkznNVKpscm5fZ899 # QnReZv5WtWwbD8HAFXbPPStW2JKCqPcZ54Y6wbuWV9bKtKPImqbkMcTejTgEAj82 # 6GQc6/Th66Koka8cUIvz59e/IP04DGrh9wkq2jIFvQ8EDegw1B4KyJTIs76+hmpV # M5SwBZjRs3liOQrierkNVo11WuujB3kBf2CbPoP9MlOyyezqkMIbTRj4OHeKlamd # WaSFhwHLJRIQpfc8sLwOSIBBAgMBAAGjggGCMIIBfjAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUhx/vdKmXhwc4WiWXbsf0I53h8T8w # VAYDVR0RBE0wS6RJMEcxLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh # dGlvbnMgTGltaXRlZDEWMBQGA1UEBRMNMjMwMDEyKzUwMTgzNjAfBgNVHSMEGDAW # gBRIbmTlUAXTgqoXNzcitW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8v # d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIw # MTEtMDctMDguY3JsMGEGCCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDov # L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDEx # XzIwMTEtMDctMDguY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIB # AGrJYDUS7s8o0yNprGXRXuAnRcHKxSjFmW4wclcUTYsQZkhnbMwthWM6cAYb/h2W # 5GNKtlmj/y/CThe3y/o0EH2h+jwfU/9eJ0fK1ZO/2WD0xi777qU+a7l8KjMPdwjY # 0tk9bYEGEZfYPRHy1AGPQVuZlG4i5ymJDsMrcIcqV8pxzsw/yk/O4y/nlOjHz4oV # APU0br5t9tgD8E08GSDi3I6H57Ftod9w26h0MlQiOr10Xqhr5iPLS7SlQwj8HW37 # ybqsmjQpKhmWul6xiXSNGGm36GarHy4Q1egYlxhlUnk3ZKSr3QtWIo1GGL03hT57 # xzjL25fKiZQX/q+II8nuG5M0Qmjvl6Egltr4hZ3e3FQRzRHfLoNPq3ELpxbWdH8t # Nuj0j/x9Crnfwbki8n57mJKI5JVWRWTSLmbTcDDLkTZlJLg9V1BIJwXGY3i2kR9i # 5HsADL8YlW0gMWVSlKB1eiSlK6LmFi0rVH16dde+j5T/EaQtFz6qngN7d1lvO7uk # 6rtX+MLKG4LDRsQgBTi6sIYiKntMjoYFHMPvI/OMUip5ljtLitVbkFGfagSqmbxK # 7rJMhC8wiTzHanBg1Rrbff1niBbnFbbV4UDmYumjs1FIpFCazk6AADXxoKCo5TsO # zSHqr9gHgGYQC2hMyX9MGLIpowYCURx3L7kUiGbOiMwaMIIHejCCBWKgAwIBAgIK # YQ6Q0gAAAAAAAzANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNV # BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv # c29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlm # aWNhdGUgQXV0aG9yaXR5IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEw # OTA5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE # BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYD # VQQDEx9NaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG # 9w0BAQEFAAOCAg8AMIICCgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+la # UKq4BjgaBEm6f8MMHt03a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc # 6Whe0t+bU7IKLMOv2akrrnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4D # dato88tt8zpcoRb0RrrgOGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+ # lD3v++MrWhAfTVYoonpy4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nk # kDstrjNYxbc+/jLTswM9sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6 # A4aN91/w0FK/jJSHvMAhdCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmd # X4jiJV3TIUs+UsS1Vz8kA/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL # 5zmhD+kjSbwYuER8ReTBw3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zd # sGbiwZeBe+3W7UvnSSmnEyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3 # T8HhhUSJxAlMxdSlQy90lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS # 4NaIjAsCAwEAAaOCAe0wggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRI # bmTlUAXTgqoXNzcitW2oynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTAL # BgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBD # uRQFTuHqp8cx0SOJNDBaBgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jv # c29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf # MDNfMjIuY3JsMF4GCCsGAQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3 # dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf # MDNfMjIuY3J0MIGfBgNVHSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEF # BQcCARYzaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1h # cnljcHMuaHRtMEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkA # YwB5AF8AcwB0AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn # 8oalmOBUeRou09h0ZyKbC5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7 # v0epo/Np22O/IjWll11lhJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0b # pdS1HXeUOeLpZMlEPXh6I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/ # KmtYSWMfCWluWpiW5IP0wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvy # CInWH8MyGOLwxS3OW560STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBp # mLJZiWhub6e3dMNABQamASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJi # hsMdYzaXht/a8/jyFqGaJ+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYb # BL7fQccOKO7eZS/sl/ahXJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbS # oqKfenoi+kiVH6v7RyOA9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sL # gOppO6/8MO0ETI7f33VtY5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtX # cVZOSEXAQsmbdlsKgEhr/Xmfwb1tbWrJUnMTDXpQzTGCGg0wghoJAgEBMIGVMH4x # CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt # b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01p # Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTECEzMAAAOuLTVRyFOPVR0AAAAA # A64wDQYJYIZIAWUDBAIBBQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw # HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIGUG # emRHurhCvGSmST5shOmYrNwt3XWfSyc7PRu3UhutMEIGCisGAQQBgjcCAQwxNDAy # oBSAEgBNAGkAYwByAG8AcwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20wDQYJKoZIhvcNAQEBBQAEggEACIQjftQL5orNrbTXQhLlYnGUWOnzw+4g0jJ1 # C4jgCzbN4mPI6Qs32Meb4mDTj8skwsfQR46Jj6lLpQZIEUzYQ8tOUfeWqSiCu8sp # LwA7anFWX4akFUe03bWB/rY8fZn9JF+3+SlXhx56dpRgr/1Sggsr/bm2ZOOTQAWA # IT72Qviu3gvL59bFFmOOEGXS0NyaUCQKCxhpjAcMSln2N+3wDhuulTQC3va3SkKM # apJA8C1GCMi9pEPSvBToC3bqPavMHKx8cSf/gLJNt6V0cegs3xCeiNRbf5SdQbvI # iR/QxBJlaPme14KcQVsCt7zM3duTIvA/M2ok6w8qNAcxyEhVKKGCF5cwgheTBgor # BgEEAYI3AwMBMYIXgzCCF38GCSqGSIb3DQEHAqCCF3AwghdsAgEDMQ8wDQYJYIZI # AWUDBAIBBQAwggFSBgsqhkiG9w0BCRABBKCCAUEEggE9MIIBOQIBAQYKKwYBBAGE # WQoDATAxMA0GCWCGSAFlAwQCAQUABCBCEPC6pTJsGNiLsM+RFo/AxgCGUiHM/pQ0 # NAOVtf9ydwIGZr3/kd3ZGBMyMDI0MDgyOTAzMDgyNS44NjVaMASAAgH0oIHRpIHO # MIHLMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH # UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQL # ExxNaWNyb3NvZnQgQW1lcmljYSBPcGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxk # IFRTUyBFU046OEQwMC0wNUUwLUQ5NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1l # LVN0YW1wIFNlcnZpY2WgghHtMIIHIDCCBQigAwIBAgITMwAAAfPFCkOuA8wdMQAB # AAAB8zANBgkqhkiG9w0BAQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz # aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv # cnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAx # MDAeFw0yMzEyMDYxODQ2MDJaFw0yNTAzMDUxODQ2MDJaMIHLMQswCQYDVQQGEwJV # UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UE # ChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1l # cmljYSBPcGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046OEQwMC0w # NUUwLUQ5NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Uw # ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQD+n6ba4SuB9iSO5WMhbngq # YAb+z3IfzNpZIWS/sgfXhlLYmGnsUtrGX3OVcg+8krJdixuNUMO7ZAOqCZsXUjOz # 8zcn1aUD5D2r2PhzVKjHtivWGgGj4x5wqWe1Qov3vMz8WHsKsfadIlWjfBMnVKVo # mOybQ7+2jc4afzj2XJQQSmE9jQRoBogDwmqZakeYnIx0EmOuucPr674T6/YaTPiI # YlGf+XV2u6oQHAkMG56xYPQikitQjjNWHADfBqbBEaqppastxpRNc4id2S1xVQxc # QGXjnAgeeVbbPbAoELhbw+z3VetRwuEFJRzT6hbWEgvz9LMYPSbioHL8w+ZiWo3x # uw3R7fJsqe7pqsnjwvniP7sfE1utfi7k0NQZMpviOs//239H6eA6IOVtF8w66ipE # 71EYrcSNrOGlTm5uqq+syO1udZOeKM0xY728NcGDFqnjuFPbEEm6+etZKftU9jxL # CSzqXOVOzdqA8O5Xa3E41j3s7MlTF4Q7BYrQmbpxqhTvfuIlYwI2AzeO3OivcezJ # wBj2FQgTiVHacvMQDgSA7E5vytak0+MLBm0AcW4IPer8A4gOGD9oSprmyAu1J6wF # kBrf2Sjn+ieNq6Fx0tWj8Ipg3uQvcug37jSadF6q1rUEaoPIajZCGVk+o5wn6rt+ # cwdJ39REU43aWCwn0C+XxwIDAQABo4IBSTCCAUUwHQYDVR0OBBYEFMNkFfalEVEM # jA3ApoUx9qDrDQokMB8GA1UdIwQYMBaAFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMF8G # A1UdHwRYMFYwVKBSoFCGTmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMv # Y3JsL01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNybDBs # BggrBgEFBQcBAQRgMF4wXAYIKwYBBQUHMAKGUGh0dHA6Ly93d3cubWljcm9zb2Z0 # LmNvbS9wa2lvcHMvY2VydHMvTWljcm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUy # MDIwMTAoMSkuY3J0MAwGA1UdEwEB/wQCMAAwFgYDVR0lAQH/BAwwCgYIKwYBBQUH # AwgwDgYDVR0PAQH/BAQDAgeAMA0GCSqGSIb3DQEBCwUAA4ICAQDfxByP/NH+79vc # 3liO4c7nXM/UKFcAm5w61FxRxPxCXRXliNjZ7sDqNP0DzUTBU9tS5DqkqRSiIV15 # j7q8e6elg8/cD3bv0sW4Go9AML4lhA5MBg3wzKdihfJ0E/HIqcHX11mwtbpTiC2s # gAUh7+OZnb9TwJE7pbEBPJQUxxuCiS5/r0s2QVipBmi/8MEW2eIi4mJ+vHI5DCaA # GooT4A15/7oNj9zyzRABTUICNNrS19KfryEN5dh5kqOG4Qgca9w6L7CL+SuuTZi0 # SZ8Zq65iK2hQ8IMAOVxewCpD4lZL6NDsVNSwBNXOUlsxOAO3G0wNT+cBug/HD43B # 7E2odVfs6H2EYCZxUS1rgReGd2uqQxgQ2wrMuTb5ykO+qd+4nhaf/9SN3getomtQ # n5IzhfCkraT1KnZF8TI3ye1Z3pner0Cn/p15H7wNwDkBAiZ+2iz9NUEeYLfMGm9v # ErDVBDRMjGsE/HqqY7QTSTtDvU7+zZwRPGjiYYUFXT+VgkfdHiFpKw42Xsm0MfL5 # aOa31FyCM17/pPTIKTRiKsDF370SwIwZAjVziD/9QhEFBu9pojFULOZvzuL5iSEJ # IcqopVAwdbNdroZi2HN8nfDjzJa8CMTkQeSfQsQpKr83OhBmE3MF2sz8gqe3loc0 # 5DW8JNvZ328Jps3LJCALt0rQPJYnOzCCB3EwggVZoAMCAQICEzMAAAAVxedrngKb # SZkAAAAAABUwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQI # EwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv # ZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmlj # YXRlIEF1dGhvcml0eSAyMDEwMB4XDTIxMDkzMDE4MjIyNVoXDTMwMDkzMDE4MzIy # NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT # B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UE # AxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggIiMA0GCSqGSIb3DQEB # AQUAA4ICDwAwggIKAoICAQDk4aZM57RyIQt5osvXJHm9DtWC0/3unAcH0qlsTnXI # yjVX9gF/bErg4r25PhdgM/9cT8dm95VTcVrifkpa/rg2Z4VGIwy1jRPPdzLAEBjo # YH1qUoNEt6aORmsHFPPFdvWGUNzBRMhxXFExN6AKOG6N7dcP2CZTfDlhAnrEqv1y # aa8dq6z2Nr41JmTamDu6GnszrYBbfowQHJ1S/rboYiXcag/PXfT+jlPP1uyFVk3v # 3byNpOORj7I5LFGc6XBpDco2LXCOMcg1KL3jtIckw+DJj361VI/c+gVVmG1oO5pG # ve2krnopN6zL64NF50ZuyjLVwIYwXE8s4mKyzbnijYjklqwBSru+cakXW2dg3viS # kR4dPf0gz3N9QZpGdc3EXzTdEonW/aUgfX782Z5F37ZyL9t9X4C626p+Nuw2TPYr # bqgSUei/BQOj0XOmTTd0lBw0gg/wEPK3Rxjtp+iZfD9M269ewvPV2HM9Q07BMzlM # jgK8QmguEOqEUUbi0b1qGFphAXPKZ6Je1yh2AuIzGHLXpyDwwvoSCtdjbwzJNmSL # W6CmgyFdXzB0kZSU2LlQ+QuJYfM2BjUYhEfb3BvR/bLUHMVr9lxSUV0S2yW6r1AF # emzFER1y7435UsSFF5PAPBXbGjfHCBUYP3irRbb1Hode2o+eFnJpxq57t7c+auIu # rQIDAQABo4IB3TCCAdkwEgYJKwYBBAGCNxUBBAUCAwEAATAjBgkrBgEEAYI3FQIE # FgQUKqdS/mTEmr6CkTxGNSnPEP8vBO4wHQYDVR0OBBYEFJ+nFV0AXmJdg/Tl0mWn # G1M1GelyMFwGA1UdIARVMFMwUQYMKwYBBAGCN0yDfQEBMEEwPwYIKwYBBQUHAgEW # M2h0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvRG9jcy9SZXBvc2l0b3J5 # Lmh0bTATBgNVHSUEDDAKBggrBgEFBQcDCDAZBgkrBgEEAYI3FAIEDB4KAFMAdQBi # AEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV # 9lbLj+iiXGJo0T2UkFvXzpoYxDBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3Js # Lm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAx # MC0wNi0yMy5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8v # d3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2 # LTIzLmNydDANBgkqhkiG9w0BAQsFAAOCAgEAnVV9/Cqt4SwfZwExJFvhnnJL/Klv # 6lwUtj5OR2R4sQaTlz0xM7U518JxNj/aZGx80HU5bbsPMeTCj/ts0aGUGCLu6WZn # OlNN3Zi6th542DYunKmCVgADsAW+iehp4LoJ7nvfam++Kctu2D9IdQHZGN5tggz1 # bSNU5HhTdSRXud2f8449xvNo32X2pFaq95W2KFUn0CS9QKC/GbYSEhFdPSfgQJY4 # rPf5KYnDvBewVIVCs/wMnosZiefwC2qBwoEZQhlSdYo2wh3DYXMuLGt7bj8sCXgU # 6ZGyqVvfSaN0DLzskYDSPeZKPmY7T7uG+jIa2Zb0j/aRAfbOxnT99kxybxCrdTDF # NLB62FD+CljdQDzHVG2dY3RILLFORy3BFARxv2T5JL5zbcqOCb2zAVdJVGTZc9d/ # HltEAY5aGZFrDZ+kKNxnGSgkujhLmm77IVRrakURR6nxt67I6IleT53S0Ex2tVdU # CbFpAUR+fKFhbHP+CrvsQWY9af3LwUFJfn6Tvsv4O+S3Fb+0zj6lMVGEvL8CwYKi # excdFYmNcP7ntdAoGokLjzbaukz5m/8K6TT4JDVnK+ANuOaMmdbhIurwJ0I9JZTm # dHRbatGePu1+oDEzfbzL6Xu/OHBE0ZDxyKs6ijoIYn/ZcGNTTY3ugm2lBRDBcQZq # ELQdVTNYs6FwZvKhggNQMIICOAIBATCB+aGB0aSBzjCByzELMAkGA1UEBhMCVVMx # EzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoT # FU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJp # Y2EgT3BlcmF0aW9uczEnMCUGA1UECxMeblNoaWVsZCBUU1MgRVNOOjhEMDAtMDVF # MC1EOTQ3MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMK # AQEwBwYFKw4DAhoDFQBu+gYs2LRha5pFO79g3LkfwKRnKKCBgzCBgKR+MHwxCzAJ # BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k # MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv # c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMA0GCSqGSIb3DQEBCwUAAgUA6npJETAi # GA8yMDI0MDgyOTAxMTA0MVoYDzIwMjQwODMwMDExMDQxWjB3MD0GCisGAQQBhFkK # BAExLzAtMAoCBQDqekkRAgEAMAoCAQACAgQTAgH/MAcCAQACAhL3MAoCBQDqe5qR # AgEAMDYGCisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSCh # CjAIAgEAAgMBhqAwDQYJKoZIhvcNAQELBQADggEBAGQ9v85YG2ZMHM80RVvRQZkG # paO6gfzWVE/1TxtBBPNE+ak9iee4RXC3bFaYqaZeR11l8TapEfJGyp7bdrSjODsY # NXypqeRtyr1JN1vDoNflWyeSkV4tjWBJDa/0qQc+k1M2Ik2+m4fxiSaA3uMZXJ0m # LNRSniSWeoLl23o/8SLvHaJlFf6UjJS6stdsPK/aRaUAHG1xpouFXrg4ZYIz7G3C # fsYNbX3G+qWROuk+VpYakpL16XDlMch6SuYaJJ5H2Ym0zjAiql3srBnUOau6AMbz # RmlJV34hQMrAVe344uNT/UFqKHSQaPGjLB2hvbR6khQ76qISmU/VjV4Mp/mrZcox # ggQNMIIECQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv # bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0 # aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAA # AfPFCkOuA8wdMQABAAAB8zANBglghkgBZQMEAgEFAKCCAUowGgYJKoZIhvcNAQkD # MQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCDrP8moWWcHZsS6VS5uI+m6 # Rlx4i0QHDMi11dhgOOPg3DCB+gYLKoZIhvcNAQkQAi8xgeowgecwgeQwgb0EIBi8 # 2TSLtuG4Vkp8wBmJk/T+RAh841sG/aDOwxg6O2LoMIGYMIGApH4wfDELMAkGA1UE # BhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAc # BgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0 # IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAHzxQpDrgPMHTEAAQAAAfMwIgQg3Lf4 # WauLTfTTmYYxm1IzoEUfoZq/CZdNuhMljIUgOHEwDQYJKoZIhvcNAQELBQAEggIA # JiE6Hx/BczXTRkH6Vky5oKxaE/6DpupZLBPdLYfzg8NKdnq937mZjdTuBEhWE1Tx # nfCn1utTIolMSHK/nNfN+e21HiJXlBTl5AKsn+2Fw6J+26rvRCPVLjw3omYliI++ # GIufMrVnicraRJ+u3+bVDQQpAe7gekZKD2DNSIpdjhz57/1Ehn528XTElRjJxB7Z # eoe2F4EOsY5J7xxZstvNp3t6SO58QY43hIu7e0398VYsiTE5AkuDEwaZCxswY3z4 # p52zOmRpLXcEMV3fQndgWV5H2L7hqAtYc4ISELnvbCRuNsCD5fPstZ6BSpzOJ0U5 # PTr0vtaX4q6ENEYr6qNKB0ZLQzI/Gl1E/iWKlobK1gh/7olI/CnOceoKvGVdJZVg # hUZfL+EiiYOJz+L8J587NWk5pawiKhIl4j+7h5N68Jeo2euYrXD6QBCedce1tRNt # bqY7BVZg2VPBf/h4DD7z714Ghtr404ImIx53nbm/8OPuBUwOmxKIqwQ+UnRGj6zn # Ni6WtPrhgJQp8V3r3s2ZswvhZvoII/LSE30BTT4Bl6TM9bCoEExEnK1otP8HIQ9R # yqpTLq9VKm4w7+CTjH+TGquTTpKzySHUyr5od31wwt5iSsjmK0OJ+gFW9fEZVAY0 # NmdtvnH66jG/yv3UQ8AnUyQ2igNhzq/YTVZ6P0RLMz4= # SIG # End signature block |