Get-NetworkControllerVipResource
Gets a VIP resource.
Syntax
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.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Specifies the credentials to use for Network Controller. Specify this parameter for a Kerberos deployment.
Type: | PSCredential |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Direction
Specifies the direction of the traffic flow. The acceptable values for this parameter are:
- In
- Out
Type: | String |
Accepted values: | Out, In |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DstPort
Specifies the port for the VIP resource to get.
Type: | String |
Position: | 5 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IPAddress
Specifies the IP address of the VIP resource to get.
Type: | String |
Position: | 4 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Protocol
Specifies the protocol of the VIP resource to get.
Type: | String |
Accepted values: | Tcp, Udp, All |
Position: | 6 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RestURI
Specifies the URI to use for Network Controller REST APIs. Specify this parameter for a wild card certificate deployment.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None