< Back

Get-NsxLoadBalancerApplicationRule

Sat Jan 18, 2020 9:07 pm

NAME Get-NsxLoadBalancerApplicationRule



SYNOPSIS

Retrieves LoadBalancer Application Rules from the specified LoadBalancer.





SYNTAX

Get-NsxLoadBalancerApplicationRule [-LoadBalancer] <XmlElement> [[-Name] <String>] [<CommonParameters>]



Get-NsxLoadBalancerApplicationRule [-LoadBalancer] <XmlElement> [-ObjectId <String>] [<CommonParameters>]





DESCRIPTION

Retrieves LoadBalancer Application Rules from the specified LoadBalancer.



You can write an application rule to directly manipulate and manage

IP application traffic.





PARAMETERS

-LoadBalancer <XmlElement>



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-ObjectId <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-NsxEdge | Get-NsxLoadBalancer |



Get-NsxLoadBalancerApplicationRule



Retrieves all Application Rules across all NSX Edges.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer |



Get-NsxLoadBalancerApplicationRule



Retrieves all Application Rules the NSX Edge named Edge01.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer |



Get-NsxLoadBalancerApplicationRule -name AR-Redirect-VMware



Retrieves the Application Rule named AR-Redirect-VMware on NSX Edge

named Edge01.









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer |



Get-NsxLoadBalancerApplicationRule -objectId applicationRule-2



Retrieves the Application Rule on NSX Edge with the objectId of

applicationRule-2.











RELATED LINKS