< Back
New-NsxLoadBalancerApplicationRule
Post
NAME New-NsxLoadBalancerApplicationRule
SYNOPSIS
Retrieves LoadBalancer Application Rules from the specified LoadBalancer.
SYNTAX
New-NsxLoadBalancerApplicationRule [-LoadBalancer] <XmlElement> -Script <String> [-Name] <String> [-Connection
<PSObject>] [<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
-Script <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object.
Required? false
Position? named
Default value $defaultNSXConnection
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 | New-NsxLoadBalancerApplicationRule
-name AR-Redirect-VMware -script $script
Applies a new Application Rule across all NSX Edges.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer |
New-NsxLoadBalancerApplicationRule -name AR-Redirect-VMware
-script $script
Applies a new Application Rule to the defined NSX Edge.
RELATED LINKS
SYNOPSIS
Retrieves LoadBalancer Application Rules from the specified LoadBalancer.
SYNTAX
New-NsxLoadBalancerApplicationRule [-LoadBalancer] <XmlElement> -Script <String> [-Name] <String> [-Connection
<PSObject>] [<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
-Script <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object.
Required? false
Position? named
Default value $defaultNSXConnection
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 | New-NsxLoadBalancerApplicationRule
-name AR-Redirect-VMware -script $script
Applies a new Application Rule across all NSX Edges.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer |
New-NsxLoadBalancerApplicationRule -name AR-Redirect-VMware
-script $script
Applies a new Application Rule to the defined NSX Edge.
RELATED LINKS