ApplicationGatewayAdvancedRoutingMapPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayAdvancedRoutingMapPropertiesFormat

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 ApplicationGatewayAdvancedRoutingMapPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewayAdvancedRoutingRule> advancedRoutingRules()

Get the advancedRoutingRules property: Advanced routing rules of the advanced routing map.

List<ApplicationGatewayAuthConfig> defaultAuthConfigs()

Get the defaultAuthConfigs property: Default authentication configuration bindings of the advanced routing map.

SubResource defaultBackendAddressPool()

Get the defaultBackendAddressPool property: Default backend address pool resource of the advanced routing map.

SubResource defaultBackendHttpSettings()

Get the defaultBackendHttpSettings property: Default backend http settings resource of the advanced routing map.

SubResource defaultRedirectConfiguration()

Get the defaultRedirectConfiguration property: Default redirect configuration resource of the advanced routing map.

SubResource defaultRewriteRuleSet()

Get the defaultRewriteRuleSet property: Default rewrite rule set resource of the advanced routing map.

static ApplicationGatewayAdvancedRoutingMapPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAdvancedRoutingMapPropertiesFormat from the JsonReader.

CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the advanced routing map resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayAdvancedRoutingMapPropertiesFormat withAdvancedRoutingRules(List<ApplicationGatewayAdvancedRoutingRule> advancedRoutingRules)

Set the advancedRoutingRules property: Advanced routing rules of the advanced routing map.

ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultAuthConfigs(List<ApplicationGatewayAuthConfig> defaultAuthConfigs)

Set the defaultAuthConfigs property: Default authentication configuration bindings of the advanced routing map.

ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultBackendAddressPool(SubResource defaultBackendAddressPool)

Set the defaultBackendAddressPool property: Default backend address pool resource of the advanced routing map.

ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultBackendHttpSettings(SubResource defaultBackendHttpSettings)

Set the defaultBackendHttpSettings property: Default backend http settings resource of the advanced routing map.

ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultRedirectConfiguration(SubResource defaultRedirectConfiguration)

Set the defaultRedirectConfiguration property: Default redirect configuration resource of the advanced routing map.

ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultRewriteRuleSet(SubResource defaultRewriteRuleSet)

Set the defaultRewriteRuleSet property: Default rewrite rule set resource of the advanced routing map.

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:

the advancedRoutingRules value.

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:

the defaultAuthConfigs value.

defaultBackendAddressPool

public SubResource defaultBackendAddressPool()

Get the defaultBackendAddressPool property: Default backend address pool resource of the advanced routing map. Required unless defaultRedirectConfiguration is specified.

Returns:

the defaultBackendAddressPool value.

defaultBackendHttpSettings

public SubResource defaultBackendHttpSettings()

Get the defaultBackendHttpSettings property: Default backend http settings resource of the advanced routing map. Required unless defaultRedirectConfiguration is specified.

Returns:

the defaultBackendHttpSettings value.

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:

the defaultRedirectConfiguration value.

defaultRewriteRuleSet

public SubResource defaultRewriteRuleSet()

Get the defaultRewriteRuleSet property: Default rewrite rule set resource of the advanced routing map.

Returns:

the defaultRewriteRuleSet value.

fromJson

public static ApplicationGatewayAdvancedRoutingMapPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAdvancedRoutingMapPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayAdvancedRoutingMapPropertiesFormat if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

provisioningState

public CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the advanced routing map resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

advancedRoutingRules - the advancedRoutingRules value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMapPropertiesFormat object itself.

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:

defaultAuthConfigs - the defaultAuthConfigs value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMapPropertiesFormat object itself.

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:

defaultBackendAddressPool - the defaultBackendAddressPool value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMapPropertiesFormat object itself.

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:

defaultBackendHttpSettings - the defaultBackendHttpSettings value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMapPropertiesFormat object itself.

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:

defaultRedirectConfiguration - the defaultRedirectConfiguration value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMapPropertiesFormat object itself.

withDefaultRewriteRuleSet

public ApplicationGatewayAdvancedRoutingMapPropertiesFormat withDefaultRewriteRuleSet(SubResource defaultRewriteRuleSet)

Set the defaultRewriteRuleSet property: Default rewrite rule set resource of the advanced routing map.

Parameters:

defaultRewriteRuleSet - the defaultRewriteRuleSet value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMapPropertiesFormat object itself.

Applies to