PowerCLI Reference

Get-VmcSddcNetworkService

Synopsis

This cmdlet retrieves PSObjects that represent services for network configuration managment of an SDDC in VMware Cloud.

Syntax

Get-VmcSddcNetworkService [[-Name] <String[]>] -OrgId <String> -SddcId <String> [-Server <CisServer[]>] [<CommonParameters>]

Related Commands

Online Version

Detailed Description

This cmdlet retrieves PSObjects that represent services for network configuration managment of an SDDC in VMware Cloud. The operations of an SDDC network service can be invoked naturally by invoking the respective PSObject methods.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the service type ID.falseFalse
OrgIdStringSpecifies the id of the organization that the SDDC belongs to.trueFalse
SddcIdStringSpecifies the id of the SDDC whose network services are to be retrieved.trueFalse
ServerCisServer[]Specifies the VMC servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-Vmc.falseFalse

Return Type

One or more PSObject objects

Notes

Examples

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

$sddcNetworkServices = Get-VmcSddcNetworkService -OrgId $script:orgId -SddcId $script:sddcId

-------------------------- Example 2 --------------------------

$sddcNetworkService = Get-VmcSddcNetworkService -OrgId $script:orgId -SddcId $script:sddcId -Name 'com.vmware.nsx.policy.api.v1.cluster.nodes'


Copyright © VMware, Inc. All rights reserved.