PowerCLI Reference

New-HCXServiceMeshDVS

Synopsis

This cmdlet creates a DVS configuration for the Service Mesh.

Syntax

New-HCXServiceMeshDVS -ApplianceCount <Int32> [-Confirm] -LocalDVS <HCXApplianceDVS> -RemoteDVS <HCXApplianceDVS> [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet creates a DVS configuration for the Service Mesh. You can use the output of the cmdlet to create a Service Mesh.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ApplianceCountInt32Specifies the appliance count for the Distributed Switch pair.trueFalse
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
LocalDVSHCXApplianceDVSSpecifies the local Compute Profile DVS.trueTrue (ByValue)
RemoteDVSHCXApplianceDVSSpecifies a remote Compute Profile DVS.trueTrue (ByValue)
ServerHcxServer[]{{Fill Server Description}}falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

VMware.VimAutomation.Hcx.Types.V1.HCXServiceMeshDVS

Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> $myLocalComputeProfile = Get-HCXComputeProfile -Name "myLocalComputeProfile"
		$destination = Get-HCXSite -Destination
		$myRemoteComputeProfile = Get-HCXComputeProfile -Site $destination -Name "myRemoteComputeProfile"
		$serviceMeshDVS = New-HCXServiceMeshDVS -LocalDVS $myLocalComputeProfile.DVS[0] -RemoteDVS $myRemoteComputeProfile.DVS[0] -ApplianceCount 1

Configures the DVS pair with an appliance count.


Copyright © VMware, Inc. All rights reserved.