Modifier

Partager via


Get-NetworkControllerVipResource

Gets a VIP resource.

Syntax

Default (Default)

Get-NetworkControllerVipResource
    [[-RestURI] <String>]
    [[-CertificateThumbprint] <String>]
    [[-Credential] <PSCredential>]
    [[-Direction] <String>]
    [-IPAddress] <String>
    [[-DstPort] <String>]
    [[-Protocol] <String>]
    [<CommonParameters>]

Description

The Get-NetworkControllerVipResource cmdlet gets information, such as the MUXes and DIP hosts, for the specified virtual IP address (VIP) resource.

Examples

Example 1: Get a Network Controller VIP resource

PS C:\> $Cred = Get-Credential
PS C:\> Get-NetworkControllerVipResource -Credential $Cred -DstPort 80 -IPAddress 10.123.176.108 -Direction "In"

The first command gets the credentials and stores them in the $Cred variable.

The second command gets the specified VIP resource using the credentials in $Cred.

Parameters

-CertificateThumbprint

Specifies a certificate thumbprint for Network Controller. Specify this parameter for a certificate deployment.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Credential

Specifies the credentials to use for Network Controller. Specify this parameter for a Kerberos deployment.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Direction

Specifies the direction of the traffic flow. The acceptable values for this parameter are:

  • In
  • Out

Parameter properties

Type:String
Default value:None
Accepted values:Out, In
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DstPort

Specifies the port for the VIP resource to get.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:5
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IPAddress

Specifies the IP address of the VIP resource to get.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:4
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Protocol

Specifies the protocol of the VIP resource to get.

Parameter properties

Type:String
Default value:None
Accepted values:Tcp, Udp, All
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:6
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RestURI

Specifies the URI to use for Network Controller REST APIs. Specify this parameter for a wild card certificate deployment.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Object