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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 $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) } } $mapping = @{ List = 'Az.VMware.private\Get-AzVMwareOperation_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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()] [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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] # Determines whether to 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()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.VMware.Category('Body')] [System.String[]] # The availability zones. ${Zone}, [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 $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) } } $mapping = @{ CreateExpanded = 'Az.VMware.private\New-AzVMwarePrivateCloud_CreateExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $mapping = @{ Delete = 'Az.VMware.private\Remove-AzVMwarePrivateCloud_Delete'; DeleteViaIdentity = 'Az.VMware.private\Remove-AzVMwarePrivateCloud_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 [HostId <String>]: The host identifier. [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 [ProvisionedNetworkName <String>]: Name of the cloud link. [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 [StoragePolicyName <String>]: Name of the storage policy. [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 $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) } } $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') ) { 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) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $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 # MIIoLQYJKoZIhvcNAQcCoIIoHjCCKBoCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAGXZajfvGONVNz # 0fJ8WgUev85gGTCamRuvehn6az5e5aCCDXYwggX0MIID3KADAgECAhMzAAAEBGx0 # Bv9XKydyAAAAAAQEMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjQwOTEyMjAxMTE0WhcNMjUwOTExMjAxMTE0WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQC0KDfaY50MDqsEGdlIzDHBd6CqIMRQWW9Af1LHDDTuFjfDsvna0nEuDSYJmNyz # NB10jpbg0lhvkT1AzfX2TLITSXwS8D+mBzGCWMM/wTpciWBV/pbjSazbzoKvRrNo # DV/u9omOM2Eawyo5JJJdNkM2d8qzkQ0bRuRd4HarmGunSouyb9NY7egWN5E5lUc3 # a2AROzAdHdYpObpCOdeAY2P5XqtJkk79aROpzw16wCjdSn8qMzCBzR7rvH2WVkvF # HLIxZQET1yhPb6lRmpgBQNnzidHV2Ocxjc8wNiIDzgbDkmlx54QPfw7RwQi8p1fy # 4byhBrTjv568x8NGv3gwb0RbAgMBAAGjggFzMIIBbzAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQU8huhNbETDU+ZWllL4DNMPCijEU4w # RQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEW # MBQGA1UEBRMNMjMwMDEyKzUwMjkyMzAfBgNVHSMEGDAWgBRIbmTlUAXTgqoXNzci # tW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3JsMGEG # CCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDovL3d3dy5taWNyb3NvZnQu # Y29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3J0 # MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIBAIjmD9IpQVvfB1QehvpC # Ge7QeTQkKQ7j3bmDMjwSqFL4ri6ae9IFTdpywn5smmtSIyKYDn3/nHtaEn0X1NBj # L5oP0BjAy1sqxD+uy35B+V8wv5GrxhMDJP8l2QjLtH/UglSTIhLqyt8bUAqVfyfp # h4COMRvwwjTvChtCnUXXACuCXYHWalOoc0OU2oGN+mPJIJJxaNQc1sjBsMbGIWv3 # cmgSHkCEmrMv7yaidpePt6V+yPMik+eXw3IfZ5eNOiNgL1rZzgSJfTnvUqiaEQ0X # dG1HbkDv9fv6CTq6m4Ty3IzLiwGSXYxRIXTxT4TYs5VxHy2uFjFXWVSL0J2ARTYL # E4Oyl1wXDF1PX4bxg1yDMfKPHcE1Ijic5lx1KdK1SkaEJdto4hd++05J9Bf9TAmi # u6EK6C9Oe5vRadroJCK26uCUI4zIjL/qG7mswW+qT0CW0gnR9JHkXCWNbo8ccMk1 # sJatmRoSAifbgzaYbUz8+lv+IXy5GFuAmLnNbGjacB3IMGpa+lbFgih57/fIhamq # 5VhxgaEmn/UjWyr+cPiAFWuTVIpfsOjbEAww75wURNM1Imp9NJKye1O24EspEHmb # DmqCUcq7NqkOKIG4PVm3hDDED/WQpzJDkvu4FrIbvyTGVU01vKsg4UfcdiZ0fQ+/ # V0hf8yrtq9CkB8iIuk5bBxuPMIIHejCCBWKgAwIBAgIKYQ6Q0gAAAAAAAzANBgkq # hkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x # EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv # bjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 # IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEwOTA5WjB+MQswCQYDVQQG # EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYDVQQDEx9NaWNyb3NvZnQg # Q29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC # CgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+laUKq4BjgaBEm6f8MMHt03 # a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc6Whe0t+bU7IKLMOv2akr # rnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4Ddato88tt8zpcoRb0Rrrg # OGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+lD3v++MrWhAfTVYoonpy # 4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nkkDstrjNYxbc+/jLTswM9 # sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6A4aN91/w0FK/jJSHvMAh # dCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmdX4jiJV3TIUs+UsS1Vz8k # A/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL5zmhD+kjSbwYuER8ReTB # w3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zdsGbiwZeBe+3W7UvnSSmn # Eyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3T8HhhUSJxAlMxdSlQy90 # lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS4NaIjAsCAwEAAaOCAe0w # ggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRIbmTlUAXTgqoXNzcitW2o # ynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYD # VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBDuRQFTuHqp8cx0SOJNDBa # BgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny # bC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3JsMF4GCCsG # AQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3dy5taWNyb3NvZnQuY29t # L3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3J0MIGfBgNV # HSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEFBQcCARYzaHR0cDovL3d3 # dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1hcnljcHMuaHRtMEAGCCsG # AQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkAYwB5AF8AcwB0AGEAdABl # AG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn8oalmOBUeRou09h0ZyKb # C5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7v0epo/Np22O/IjWll11l # hJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0bpdS1HXeUOeLpZMlEPXh6 # I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/KmtYSWMfCWluWpiW5IP0 # wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvyCInWH8MyGOLwxS3OW560 # STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBpmLJZiWhub6e3dMNABQam # ASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJihsMdYzaXht/a8/jyFqGa # J+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYbBL7fQccOKO7eZS/sl/ah # XJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbSoqKfenoi+kiVH6v7RyOA # 9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sLgOppO6/8MO0ETI7f33Vt # Y5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtXcVZOSEXAQsmbdlsKgEhr # /Xmfwb1tbWrJUnMTDXpQzTGCGg0wghoJAgEBMIGVMH4xCzAJBgNVBAYTAlVTMRMw # EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN # aWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNp # Z25pbmcgUENBIDIwMTECEzMAAAQEbHQG/1crJ3IAAAAABAQwDQYJYIZIAWUDBAIB # BQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEO # MAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIPrI4Qd47oRggcDmMuUggF28 # YgBjUhZQ4T9fAq02I2ZvMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8A # cwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEB # BQAEggEABR1lTs7s/2lcJ23MZ0ZdBZQ43nprKkJLlbq0uR+vHRiDiVZmpTcD6M3S # HtyMRYbMblYO1vr/+Zg+1kUOfTrAG9qPCDqN3vzrZczzw1NPAzhuf1IAW/EpO5t6 # cALGWmABdkFpGJ7t/LndVfpjdKWSIQOQDQ7e/YrMgFCjyL5gJtP7xoSOzNhM+feR # EDdjcT1WZYU5x8YFbbe/XL1ehOaQqm7yVTmezFA2kYdjnS900U0jg5z8IrmZX3NE # cEYSxR+uL1s9Ag9TXStBLQ0bNp/T6IIPdQXI/4HM5aK8QfAIJxCgzQ1xEJGCNBdc # fXeRI5SZi1Daw2zAw5own3YNwK7nbqGCF5cwgheTBgorBgEEAYI3AwMBMYIXgzCC # F38GCSqGSIb3DQEHAqCCF3AwghdsAgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFSBgsq # hkiG9w0BCRABBKCCAUEEggE9MIIBOQIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFl # AwQCAQUABCAOYuK1xdb/ZR9/6f2q/gwgPhEfAEH9VtUrVnmvTKQubwIGaEq9v184 # GBMyMDI1MDYyNTA3MzIyNC4wNzhaMASAAgH0oIHRpIHOMIHLMQswCQYDVQQGEwJV # UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UE # ChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1l # cmljYSBPcGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046QTQwMC0w # NUUwLUQ5NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Wg # ghHtMIIHIDCCBQigAwIBAgITMwAAAgJ5UHQhFH24oQABAAACAjANBgkqhkiG9w0B # AQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE # BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD # VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yNTAxMzAxOTQy # NDRaFw0yNjA0MjIxOTQyNDRaMIHLMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz # aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv # cnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1lcmljYSBPcGVyYXRpb25z # MScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046QTQwMC0wNUUwLUQ5NDcxJTAjBgNV # BAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggIiMA0GCSqGSIb3DQEB # AQUAA4ICDwAwggIKAoICAQC3eSp6cucUGOkcPg4vKWKJfEQeshK2ZBsYU1tDWvQu # 6L9lp+dnqrajIdNeH1HN3oz3iiGoJWuN2HVNZkcOt38aWGebM0gUUOtPjuLhuO5d # 67YpQsHBJAWhcve/MVdoQPj1njiAjSiOrL8xFarFLI46RH8NeDhAPXcJpWn7AIzC # yIjZOaJ2DWA+6QwNzwqjBgIpf1hWFwqHvPEedy0notXbtWfT9vCSL9sdDK6K/HH9 # HsaY5wLmUUB7SfuLGo1OWEm6MJyG2jixqi9NyRoypdF8dRyjWxKRl2JxwvbetlDT # io66XliTOckq2RgM+ZocZEb6EoOdtd0XKh3Lzx29AhHxlk+6eIwavlHYuOLZDKod # POVN6j1IJ9brolY6mZboQ51Oqe5nEM5h/WJX28GLZioEkJN8qOe5P5P2Yx9HoOqL # ugX00qCzxq4BDm8xH85HKxvKCO5KikopaRGGtQlXjDyusMWlrHcySt56DhL4dcVn # n7dFvL50zvQlFZMhVoehWSQkkWuUlCCqIOrTe7RbmnbdJosH+7lC+n53gnKy4OoZ # zuUeqzCnSB1JNXPKnJojP3De5xwspi5tUvQFNflfGTsjZgQAgDBdg/DO0TGgLRDK # vZQCZ5qIuXpQRyg37yc51e95z8U2mysU0XnSpWeigHqkyOAtDfcIpq5Gv7HV+da2 # RwIDAQABo4IBSTCCAUUwHQYDVR0OBBYEFNoGubUPjP2f8ifkIKvwy1rlSHTZMB8G # A1UdIwQYMBaAFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMF8GA1UdHwRYMFYwVKBSoFCG # Tmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY3Jvc29mdCUy # MFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNybDBsBggrBgEFBQcBAQRgMF4w # XAYIKwYBBQUHMAKGUGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY2Vy # dHMvTWljcm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3J0MAwG # A1UdEwEB/wQCMAAwFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwgwDgYDVR0PAQH/BAQD # AgeAMA0GCSqGSIb3DQEBCwUAA4ICAQCD83aFQUxN37HkOoJDM1maHFZVUGcqTQcP # nOD6UoYRMmDKv0GabHlE82AYgLPuVlukn7HtJPF2z0jnTgAfRMn26JFLPG7O/XbK # K25hrBPJ30lBuwjATVt58UA1BWo7lsmnyrur/6h8AFzrXyrXtlvzQYqaRYY9k0UF # Y5GM+n9YaEEK2D268e+a+HDmWe+tYL2H+9O4Q1MQLag+ciNwLkj/+QlxpXiWou9K # vAP0tIk+fH8F3ww5VOTi9aZ9+qPjszw31H4ndtivBZaH5s5boJmH2JbtMuf2y7hS # dJdE0UW2B0FEZPLImemlKhslJNVqEO7RPgl7c81QuVSO58ffpmbwtSxhYrES3VsP # glXn9ODF7DqmPMG/GysB4o/QkpNUq+wS7bORTNzqHMtH+ord2YSma+1byWBr/izI # KggOCdEzaZDfym12GM6a4S+Iy6AUIp7/KIpAmfWfXrcMK7V7EBzxoezkLREEWI4X # tPwpEBntOa1oDH3Z/+dRxsxL0vgya7jNfrO7oizTAln/2ZBYB9ioUeobj5AGL45m # 2mcKSk7HE5zUReVkILpYKBQ5+X/8jFO1/pZyqzQeI1/oJ/RLoic1SieLXfET9EWZ # IBjZMZ846mDbp1ynK9UbNiCjSwmTF509Yn9M47VQsxsv1olQu51rVVHkSNm+rTrL # wK1tvhv0mTCCB3EwggVZoAMCAQICEzMAAAAVxedrngKbSZkAAAAAABUwDQYJKoZI # hvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAw # DgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24x # MjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAy # MDEwMB4XDTIxMDkzMDE4MjIyNVoXDTMwMDkzMDE4MzIyNVowfDELMAkGA1UEBhMC # VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNV # BAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRp # bWUtU3RhbXAgUENBIDIwMTAwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC # AQDk4aZM57RyIQt5osvXJHm9DtWC0/3unAcH0qlsTnXIyjVX9gF/bErg4r25Phdg # M/9cT8dm95VTcVrifkpa/rg2Z4VGIwy1jRPPdzLAEBjoYH1qUoNEt6aORmsHFPPF # dvWGUNzBRMhxXFExN6AKOG6N7dcP2CZTfDlhAnrEqv1yaa8dq6z2Nr41JmTamDu6 # GnszrYBbfowQHJ1S/rboYiXcag/PXfT+jlPP1uyFVk3v3byNpOORj7I5LFGc6XBp # Dco2LXCOMcg1KL3jtIckw+DJj361VI/c+gVVmG1oO5pGve2krnopN6zL64NF50Zu # yjLVwIYwXE8s4mKyzbnijYjklqwBSru+cakXW2dg3viSkR4dPf0gz3N9QZpGdc3E # XzTdEonW/aUgfX782Z5F37ZyL9t9X4C626p+Nuw2TPYrbqgSUei/BQOj0XOmTTd0 # lBw0gg/wEPK3Rxjtp+iZfD9M269ewvPV2HM9Q07BMzlMjgK8QmguEOqEUUbi0b1q # GFphAXPKZ6Je1yh2AuIzGHLXpyDwwvoSCtdjbwzJNmSLW6CmgyFdXzB0kZSU2LlQ # +QuJYfM2BjUYhEfb3BvR/bLUHMVr9lxSUV0S2yW6r1AFemzFER1y7435UsSFF5PA # PBXbGjfHCBUYP3irRbb1Hode2o+eFnJpxq57t7c+auIurQIDAQABo4IB3TCCAdkw # EgYJKwYBBAGCNxUBBAUCAwEAATAjBgkrBgEEAYI3FQIEFgQUKqdS/mTEmr6CkTxG # NSnPEP8vBO4wHQYDVR0OBBYEFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMFwGA1UdIARV # MFMwUQYMKwYBBAGCN0yDfQEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly93d3cubWlj # cm9zb2Z0LmNvbS9wa2lvcHMvRG9jcy9SZXBvc2l0b3J5Lmh0bTATBgNVHSUEDDAK # BggrBgEFBQcDCDAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMC # AYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvX # zpoYxDBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20v # cGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYI # KwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDANBgkqhkiG # 9w0BAQsFAAOCAgEAnVV9/Cqt4SwfZwExJFvhnnJL/Klv6lwUtj5OR2R4sQaTlz0x # M7U518JxNj/aZGx80HU5bbsPMeTCj/ts0aGUGCLu6WZnOlNN3Zi6th542DYunKmC # VgADsAW+iehp4LoJ7nvfam++Kctu2D9IdQHZGN5tggz1bSNU5HhTdSRXud2f8449 # xvNo32X2pFaq95W2KFUn0CS9QKC/GbYSEhFdPSfgQJY4rPf5KYnDvBewVIVCs/wM # nosZiefwC2qBwoEZQhlSdYo2wh3DYXMuLGt7bj8sCXgU6ZGyqVvfSaN0DLzskYDS # PeZKPmY7T7uG+jIa2Zb0j/aRAfbOxnT99kxybxCrdTDFNLB62FD+CljdQDzHVG2d # Y3RILLFORy3BFARxv2T5JL5zbcqOCb2zAVdJVGTZc9d/HltEAY5aGZFrDZ+kKNxn # GSgkujhLmm77IVRrakURR6nxt67I6IleT53S0Ex2tVdUCbFpAUR+fKFhbHP+Crvs # QWY9af3LwUFJfn6Tvsv4O+S3Fb+0zj6lMVGEvL8CwYKiexcdFYmNcP7ntdAoGokL # jzbaukz5m/8K6TT4JDVnK+ANuOaMmdbhIurwJ0I9JZTmdHRbatGePu1+oDEzfbzL # 6Xu/OHBE0ZDxyKs6ijoIYn/ZcGNTTY3ugm2lBRDBcQZqELQdVTNYs6FwZvKhggNQ # MIICOAIBATCB+aGB0aSBzjCByzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp # bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw # b3JhdGlvbjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2EgT3BlcmF0aW9uczEn # MCUGA1UECxMeblNoaWVsZCBUU1MgRVNOOkE0MDAtMDVFMC1EOTQ3MSUwIwYDVQQD # ExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMKAQEwBwYFKw4DAhoDFQBJ # iUhpCWA/3X/jZyIy0ye6RJwLzqCBgzCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1w # IFBDQSAyMDEwMA0GCSqGSIb3DQEBCwUAAgUA7AW13jAiGA8yMDI1MDYyNDIzNDAx # NFoYDzIwMjUwNjI1MjM0MDE0WjB3MD0GCisGAQQBhFkKBAExLzAtMAoCBQDsBbXe # AgEAMAoCAQACAhq+AgH/MAcCAQACAhsjMAoCBQDsBwdeAgEAMDYGCisGAQQBhFkK # BAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAIAgEAAgMBhqAwDQYJ # KoZIhvcNAQELBQADggEBAJFK5IujoXKvUhivyLQA5f+agDoq8ZshRMUTEoPGKmgW # 9fpXM0MbVHrsSQSnb78z5/wu4Mo2018IGeBCMiiWUmtbHFhmTRccGUFbG3x5BkXy # QjAgT58tJwVI8RhRo3cgQR73c69djlWCwaHT36jzdrTiuc0h8b6M9/U98Ls5089X # iaG/+Ce1kdzs9qW0R7t4B+PXbP0whcJpW4S8P70UFSiDRS2MBkGuRkwWhTFiTy+e # mVScnCmqTRZ5wo3goEsXlb/hHKATuN0k94kU092lbGlpa7O4lAl5vHxoVvUmQL9S # 8ETqKHPgsIdLh7c/Tx02TBP+3G6GcLGIGl2mPm4GbmAxggQNMIIECQIBATCBkzB8 # MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk # bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1N # aWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAgJ5UHQhFH24oQABAAAC # AjANBglghkgBZQMEAgEFAKCCAUowGgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEE # MC8GCSqGSIb3DQEJBDEiBCCanSbcDnM7oTes4a/PxDmuEW9Zf8m/ICdDuHmLrJF7 # IjCB+gYLKoZIhvcNAQkQAi8xgeowgecwgeQwgb0EIPON6gEYB5bLzXLWuUmL8Zd8 # xXAsqXksedFyolfMlF/sMIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgT # Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m # dCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB # IDIwMTACEzMAAAICeVB0IRR9uKEAAQAAAgIwIgQgsSznCJ+nk9FqMCNB6om2Hf/x # rCBb7PZ9NGjatUIWR5YwDQYJKoZIhvcNAQELBQAEggIAPSHO1Ak1GpBnr9OxFjWn # jn9H6n2WM9GhQxMmCeuipwVOJ9Gi7lZzIXXtAYe2EL7JU3Pj6F0J3eM1kho/VDpe # O0ll7A4EfnGs05IEaqUY/5I7NsBp74WSsl2Tzjvm1EsrkZU3A+EBkdqoyphnjMqV # Ag7drLHsSzOqCXFvOymq2X4ruyk0ZHR0p4yEdjQgLNFTj0Pr/nRZ8RyE6Ky72YMw # 23dtWIssh5Ajc8U4qX1S9o3jpyfuzPMP+Dkw0nIEUI9lZxi9fvRma18AC9jdutcA # rSiA7pZaXlDbPfQ9SiuiR4SGqQMye60GiShlU05ETMY9FffihLKwEkbCz6wrDNAk # Us0T0em2Q32KtneeZf9uY1/DzNr3Y/vlbTPX10lSw1gpN+HahxQ0mCUQU0QX9fdC # QePfHtgLCezUtSFFf4MXCBHjbvP9uYYVvCUaYUDZmkcFSNRN4niFtSlvJ1TmvkQ9 # /w2MfIDJ8UViCoyze8G1hOiqpumKCrp4EYkIjeFGuKm4WdSrjvE2rb03rCo4u/lq # 4zOYp0cn59rRi2uJPf9RCYntmnPGc7agx6EcoALwtu2DZpWP5cumCiZ0OXKHPkxy # DPSoQRQ8AY4RnmOtFxg3I2Bx4aR15oWfsfWzUI0DiHGCv1R0L40mkXikzFesWYVg # qM+s9TTREX/LR+Jp394/Vjo= # SIG # End signature block |