ApplicationGatewayAdvancedRoutingRulePropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayAdvancedRoutingRulePropertiesFormat
- com.
Implements
public final class ApplicationGatewayAdvancedRoutingRulePropertiesFormat
implements JsonSerializable<ApplicationGatewayAdvancedRoutingRulePropertiesFormat>
Properties of advanced routing rule of the application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayAdvancedRoutingRulePropertiesFormat() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Sub |
advancedRoutingConditionSet()
Get the advanced |
|
List<Application |
authConfigs()
Get the auth |
|
Sub |
backendAddressPool()
Get the backend |
|
Sub |
backendHttpSettings()
Get the backend |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| int |
priority()
Get the priority property: Priority of the advanced routing rule. |
|
Common |
provisioningState()
Get the provisioning |
|
Sub |
redirectConfiguration()
Get the redirect |
|
Sub |
rewriteRuleSet()
Get the rewrite |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withAdvancedRoutingConditionSet(SubResource advancedRoutingConditionSet)
Set the advanced |
|
Application |
withAuthConfigs(List<ApplicationGatewayAuthConfig> authConfigs)
Set the auth |
|
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
|
Application |
withBackendHttpSettings(SubResource backendHttpSettings)
Set the backend |
|
Application |
withPriority(int priority)
Set the priority property: Priority of the advanced routing rule. |
|
Application |
withRedirectConfiguration(SubResource redirectConfiguration)
Set the redirect |
|
Application |
withRewriteRuleSet(SubResource rewriteRuleSet)
Set the rewrite |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayAdvancedRoutingRulePropertiesFormat
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat()
Creates an instance of ApplicationGatewayAdvancedRoutingRulePropertiesFormat class.
Method Details
advancedRoutingConditionSet
public SubResource advancedRoutingConditionSet()
Get the advancedRoutingConditionSet property: Advanced routing condition set resource evaluated by this rule.
Returns:
authConfigs
public List<ApplicationGatewayAuthConfig> authConfigs()
Get the authConfigs property: Authentication configuration bindings of the advanced routing rule. Only one authentication configuration is supported. Authentication configuration names must be unique across the Application Gateway, and an Application Gateway can reference at most 100 distinct authentication policies. Authentication policies can only be bound to Application Gateways using the Standard_v2 or WAF_v2 SKU.
Returns:
backendAddressPool
public SubResource backendAddressPool()
Get the backendAddressPool property: Backend address pool resource of the advanced routing rule. Required unless redirectConfiguration is specified.
Returns:
backendHttpSettings
public SubResource backendHttpSettings()
Get the backendHttpSettings property: Backend http settings resource of the advanced routing rule. Required unless redirectConfiguration is specified.
Returns:
fromJson
public static ApplicationGatewayAdvancedRoutingRulePropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayAdvancedRoutingRulePropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
priority
public int priority()
Get the priority property: Priority of the advanced routing rule. Must be unique within the containing advanced routing map. Rules are evaluated in ascending priority order.
Returns:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the advanced routing rule resource.
Returns:
redirectConfiguration
public SubResource redirectConfiguration()
Get the redirectConfiguration property: Redirect configuration resource of the advanced routing rule. Cannot be combined with backendAddressPool or backendHttpSettings.
Returns:
rewriteRuleSet
public SubResource rewriteRuleSet()
Get the rewriteRuleSet property: Rewrite rule set resource of the advanced routing rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdvancedRoutingConditionSet
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat withAdvancedRoutingConditionSet(SubResource advancedRoutingConditionSet)
Set the advancedRoutingConditionSet property: Advanced routing condition set resource evaluated by this rule.
Parameters:
Returns:
withAuthConfigs
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat withAuthConfigs(List<ApplicationGatewayAuthConfig> authConfigs)
Set the authConfigs property: Authentication configuration bindings of the advanced routing rule. Only one authentication configuration is supported. Authentication configuration names must be unique across the Application Gateway, and an Application Gateway can reference at most 100 distinct authentication policies. Authentication policies can only be bound to Application Gateways using the Standard_v2 or WAF_v2 SKU.
Parameters:
Returns:
withBackendAddressPool
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of the advanced routing rule. Required unless redirectConfiguration is specified.
Parameters:
Returns:
withBackendHttpSettings
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat withBackendHttpSettings(SubResource backendHttpSettings)
Set the backendHttpSettings property: Backend http settings resource of the advanced routing rule. Required unless redirectConfiguration is specified.
Parameters:
Returns:
withPriority
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat withPriority(int priority)
Set the priority property: Priority of the advanced routing rule. Must be unique within the containing advanced routing map. Rules are evaluated in ascending priority order.
Parameters:
Returns:
withRedirectConfiguration
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat withRedirectConfiguration(SubResource redirectConfiguration)
Set the redirectConfiguration property: Redirect configuration resource of the advanced routing rule. Cannot be combined with backendAddressPool or backendHttpSettings.
Parameters:
Returns:
withRewriteRuleSet
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat withRewriteRuleSet(SubResource rewriteRuleSet)
Set the rewriteRuleSet property: Rewrite rule set resource of the advanced routing rule.
Parameters:
Returns: