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
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
ApplianceCount | Int32 | Specifies the appliance count for the Distributed Switch pair. | true | False | |
Confirm | SwitchParameter | If 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. | false | False | |
LocalDVS | HCXApplianceDVS | Specifies the local Compute Profile DVS. | true | True (ByValue) | |
RemoteDVS | HCXApplianceDVS | Specifies a remote Compute Profile DVS. | true | True (ByValue) | |
Server | HcxServer[] | {{Fill Server Description}} | false | False | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXServiceMeshDVSNotes
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.