Get-VmcSddcNetworkService Command | Vmware PowerCLI Reference

Get-VmcSddcNetworkService

This cmdlet is deprecated and will be removed in a future release. Use the NSX Policy SDK cmdlets from the VMware.Sdk.Nsx.Policy module instead. 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.

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
OrgId String named
Specifies the id of the organization that the SDDC belongs to.
required
SddcId String named
Specifies the id of the SDDC whose network services are to be retrieved.
optional Name String[] named
Specifies the service type ID.
optional ProgressAction ActionPreference named
optional Server CisServer[] named
Specifies the VMC servers 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 Connect-Vmc.

Output

System.Management.Automation.PSObject

Examples

Example 1

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

Retrieves all available SDDC Network services for the specified SDDC.

Example 2

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

Retrieves a specified SDDC Network services by Name for the specified SDDC.

Related Commands

VmcSddc

This cmdlet retrieves VMware Cloud on AWS software-defined data centers (SDDCs) from the VMware Cloud environment.

This cmdlet creates a new VMware Cloud on AWS software-defined data center (SDDC).

This cmdlet removes a VMware Cloud on AWS software-defined data center (SDDC) from the VMware Cloud environment.

This cmdlet modifies a specified VMware Cloud on AWS software-defined data center (SDDC). This cmdlet can activate or deactivate site recovery for a specified SDDC, and upsize an SDDC.

VmcSddcCluster

This cmdlet retrieves clusters of VMware Cloud on AWS software-defined data centers (SDDCs) from the VMware Cloud environment.

This cmdlet creates а cluster and adds it to a VMware Cloud on AWS software-defined data center (SDDC).

This cmdlet removes clusters from a VMware Cloud on AWS software-defined data center (SDDC).

VmcSddcGroup

This cmdlet retrieves groups of VMware Cloud on AWS software-defined data centers (SDDCs) from the VMware Cloud environment.

VmcSddcHost

This cmdlet adds hosts to a VMware Cloud on AWS software-defined data center (SDDC). If no cluster is specified, the host is added to the default cluster of the SDDC. If the cluster is specified, the host is added to that cluster.

This cmdlet removes hosts from a VMware Cloud on AWS software-defined data center (SDDC). If no cluster is specified, the hosts are removed from the default cluster of the SDDC. If a cluster is passed, the hosts are removed from the specified cluster.

VmcSddcNetworkService

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

VmcSddcSiteRecovery

This cmdlet retrieves the site recovery parameters of VMware Cloud on AWS software-defined data centers (SDDCs).

VmcSddcSiteRecoveryInstance

This cmdlet retrieves the site recovery instances for VMware Cloud on AWS software-defined data centers (SDDCs) that have site recovery enabled.

This cmdlet creates а new site recovery instance for a VMware Cloud on AWS software-defined data center (SDDC) that has site recovery activated.

This cmdlet removes site recovery instances from a VMware Cloud on AWS software-defined data center (SDDC) that has site recovery activated.