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]
-LocalDVS <HCXApplianceDVS>
-RemoteDVS <HCXApplianceDVS>
[-Server <HcxServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
Int32 | named |
|
Specifies the appliance count for the Distributed Switch pair. | required |
|
HCXApplianceDVS | named |
|
Specifies the local Compute Profile DVS. | required |
|
HCXApplianceDVS | named |
|
Specifies a remote Compute Profile DVS. | optional |
|
HcxServer[] | named |
|
{{Fill Server Description}} |
Output
VMware.VimAutomation.Hcx.Types.V1.HCXServiceMeshDVS
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.
Related Commands
HCXServiceMesh
This cmdlet retrieves a list of the HCX Service Mesh.
Specifies the HCX Service Mesh that you want to modify.
This cmdlet removes an existing HCX Service Mesh.
This cmdlet creates an HCX Service Mesh.
HCXServiceMeshDVS
This cmdlet creates a DVS configuration for the Service Mesh.