New-HCXServiceMeshDVS

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

Syntax

-ApplianceCount  <Int32>
-LocalDVS  <HCXApplianceDVS>
-RemoteDVS  <HCXApplianceDVS>
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
ApplianceCount
Int32 named Specifies the appliance count for the Distributed Switch pair.
required
LocalDVS
HCXApplianceDVS named
  • pipeline
  • Specifies the local Compute Profile DVS.
    required
    RemoteDVS
    HCXApplianceDVS named
  • pipeline
  • Specifies a remote Compute Profile DVS.
    optional
    Server
    HcxServer[] named Specifies the HCX Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.

    Output

    VMware.VimAutomation.Hcx.Types.V1.HCXServiceMeshDVS

    Examples


    Example 1

    $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.

    Related Commands

    Feedback

    Was this page helpful?