ApplicationGatewayAdvancedRoutingMapPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayAdvancedRoutingMapPropertiesFormat
- com.
Implements
public final class ApplicationGatewayAdvancedRoutingMapPropertiesFormat
implements JsonSerializable<ApplicationGatewayAdvancedRoutingMapPropertiesFormat>
Properties of advanced routing map of the application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayAdvancedRoutingMapPropertiesFormat() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Application |
advancedRoutingRules()
Get the advanced |
|
List<Application |
defaultAuthConfigs()
Get the default |
|
Sub |
defaultBackendAddressPool()
Get the default |
|
Sub |
defaultBackendHttpSettings()
Get the default |
|
Sub |
defaultRedirectConfiguration()
Get the default |
|
Sub |
defaultRewriteRuleSet()
Get the default |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
|
Common |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withAdvancedRoutingRules(List<ApplicationGatewayAdvancedRoutingRule> advancedRoutingRules)
Set the advanced |
|
Application |
withDefaultAuthConfigs(List<ApplicationGatewayAuthConfig> defaultAuthConfigs)
Set the default |
|
Application |
withDefaultBackendAddressPool(SubResource defaultBackendAddressPool)
Set the default |
|
Application |
withDefaultBackendHttpSettings(SubResource defaultBackendHttpSettings)
Set the default |
|
Application |
withDefaultRedirectConfiguration(SubResource defaultRedirectConfiguration)
Set the default |
|
Application |
withDefaultRewriteRuleSet(SubResource defaultRewriteRuleSet)
Set the default |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayAdvancedRoutingMapPropertiesFormat
public ApplicationGatewayAdvancedRoutingMapPropertiesFormat()
Creates an instance of ApplicationGatewayAdvancedRoutingMapPropertiesFormat class.
Method Details
advancedRoutingRules
public List<ApplicationGatewayAdvancedRoutingRule> advancedRoutingRules()
Get the advancedRoutingRules property: Advanced routing rules of the advanced routing map. Each rule must specify a priority that is unique within the map.
Returns:
defaultAuthConfigs
public List<ApplicationGatewayAuthConfig> defaultAuthConfigs()
Get the defaultAuthConfigs property: Default authentication configuration bindings of the advanced routing map. 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:
defaultBackendAddressPool
public SubResource defaultBackendAddressPool()
Get the defaultBackendAddressPool property: Default backend address pool resource of the advanced routing map. Required unless defaultRedirectConfiguration is specified.
Returns:
defaultBackendHttpSettings
public SubResource defaultBackendHttpSettings()
Get the defaultBackendHttpSettings property: Default backend http settings resource of the advanced routing map. Required unless defaultRedirectConfiguration is specified.
Returns:
defaultRedirectConfiguration
public SubResource defaultRedirectConfiguration()
Get the defaultRedirectConfiguration property: Default redirect configuration resource of the advanced routing map. Cannot be combined with defaultBackendAddressPool or defaultBackendHttpSettings.
Returns:
defaultRewriteRuleSet
public SubResource defaultRewriteRuleSet()
Get the defaultRewriteRuleSet property: Default rewrite rule set resource of the advanced routing map.
Returns:
fromJson
public static ApplicationGatewayAdvancedRoutingMapPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayAdvancedRoutingMapPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the advanced routing map resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdvancedRoutingRules
public ApplicationGatewayAdvancedRoutingMapPropertiesFormat withAdvancedRoutingRules(List<ApplicationGatewayAdvancedRoutingRule> advancedRoutingRules)
Set the advancedRoutingRules property: Advanced routing rules of the advanced routing map. Each rule must specify a priority that is unique within the map.
Parameters:
Returns:
withDefaultAuthConfigs
public ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultAuthConfigs(List<ApplicationGatewayAuthConfig> defaultAuthConfigs)
Set the defaultAuthConfigs property: Default authentication configuration bindings of the advanced routing map. 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:
withDefaultBackendAddressPool
public ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultBackendAddressPool(SubResource defaultBackendAddressPool)
Set the defaultBackendAddressPool property: Default backend address pool resource of the advanced routing map. Required unless defaultRedirectConfiguration is specified.
Parameters:
Returns:
withDefaultBackendHttpSettings
public ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultBackendHttpSettings(SubResource defaultBackendHttpSettings)
Set the defaultBackendHttpSettings property: Default backend http settings resource of the advanced routing map. Required unless defaultRedirectConfiguration is specified.
Parameters:
Returns:
withDefaultRedirectConfiguration
public ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultRedirectConfiguration(SubResource defaultRedirectConfiguration)
Set the defaultRedirectConfiguration property: Default redirect configuration resource of the advanced routing map. Cannot be combined with defaultBackendAddressPool or defaultBackendHttpSettings.
Parameters:
Returns:
withDefaultRewriteRuleSet
public ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultRewriteRuleSet(SubResource defaultRewriteRuleSet)
Set the defaultRewriteRuleSet property: Default rewrite rule set resource of the advanced routing map.
Parameters:
Returns: