通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationGatewayPathRulePropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPathRulePropertiesFormat

Implements

public final class ApplicationGatewayPathRulePropertiesFormat
implements JsonSerializable<ApplicationGatewayPathRulePropertiesFormat>

Properties of path rule of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayPathRulePropertiesFormat()

Creates an instance of ApplicationGatewayPathRulePropertiesFormat class.

Method Summary

Modifier and Type Method and Description
SubResource backendAddressPool()

Get the backendAddressPool property: Backend address pool resource of URL path map path rule.

SubResource backendHttpSettings()

Get the backendHttpSettings property: Backend http settings resource of URL path map path rule.

SubResource firewallPolicy()

Get the firewallPolicy property: Reference to the FirewallPolicy resource.

static ApplicationGatewayPathRulePropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayPathRulePropertiesFormat from the JsonReader.

SubResource loadDistributionPolicy()

Get the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.

List<String> paths()

Get the paths property: Path rules of URL path map.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the path rule resource.

SubResource redirectConfiguration()

Get the redirectConfiguration property: Redirect configuration resource of URL path map path rule.

SubResource rewriteRuleSet()

Get the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayPathRulePropertiesFormat withBackendAddressPool(SubResource backendAddressPool)

Set the backendAddressPool property: Backend address pool resource of URL path map path rule.

ApplicationGatewayPathRulePropertiesFormat withBackendHttpSettings(SubResource backendHttpSettings)

Set the backendHttpSettings property: Backend http settings resource of URL path map path rule.

ApplicationGatewayPathRulePropertiesFormat withFirewallPolicy(SubResource firewallPolicy)

Set the firewallPolicy property: Reference to the FirewallPolicy resource.

ApplicationGatewayPathRulePropertiesFormat withLoadDistributionPolicy(SubResource loadDistributionPolicy)

Set the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.

ApplicationGatewayPathRulePropertiesFormat withPaths(List<String> paths)

Set the paths property: Path rules of URL path map.

ApplicationGatewayPathRulePropertiesFormat withRedirectConfiguration(SubResource redirectConfiguration)

Set the redirectConfiguration property: Redirect configuration resource of URL path map path rule.

ApplicationGatewayPathRulePropertiesFormat withRewriteRuleSet(SubResource rewriteRuleSet)

Set the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayPathRulePropertiesFormat

public ApplicationGatewayPathRulePropertiesFormat()

Creates an instance of ApplicationGatewayPathRulePropertiesFormat class.

Method Details

backendAddressPool

public SubResource backendAddressPool()

Get the backendAddressPool property: Backend address pool resource of URL path map path rule.

Returns:

the backendAddressPool value.

backendHttpSettings

public SubResource backendHttpSettings()

Get the backendHttpSettings property: Backend http settings resource of URL path map path rule.

Returns:

the backendHttpSettings value.

firewallPolicy

public SubResource firewallPolicy()

Get the firewallPolicy property: Reference to the FirewallPolicy resource.

Returns:

the firewallPolicy value.

fromJson

public static ApplicationGatewayPathRulePropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayPathRulePropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ApplicationGatewayPathRulePropertiesFormat.

loadDistributionPolicy

public SubResource loadDistributionPolicy()

Get the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.

Returns:

the loadDistributionPolicy value.

paths

public List<String> paths()

Get the paths property: Path rules of URL path map.

Returns:

the paths value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the path rule resource.

Returns:

the provisioningState value.

redirectConfiguration

public SubResource redirectConfiguration()

Get the redirectConfiguration property: Redirect configuration resource of URL path map path rule.

Returns:

the redirectConfiguration value.

rewriteRuleSet

public SubResource rewriteRuleSet()

Get the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.

Returns:

the rewriteRuleSet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBackendAddressPool

public ApplicationGatewayPathRulePropertiesFormat withBackendAddressPool(SubResource backendAddressPool)

Set the backendAddressPool property: Backend address pool resource of URL path map path rule.

Parameters:

backendAddressPool - the backendAddressPool value to set.

Returns:

the ApplicationGatewayPathRulePropertiesFormat object itself.

withBackendHttpSettings

public ApplicationGatewayPathRulePropertiesFormat withBackendHttpSettings(SubResource backendHttpSettings)

Set the backendHttpSettings property: Backend http settings resource of URL path map path rule.

Parameters:

backendHttpSettings - the backendHttpSettings value to set.

Returns:

the ApplicationGatewayPathRulePropertiesFormat object itself.

withFirewallPolicy

public ApplicationGatewayPathRulePropertiesFormat withFirewallPolicy(SubResource firewallPolicy)

Set the firewallPolicy property: Reference to the FirewallPolicy resource.

Parameters:

firewallPolicy - the firewallPolicy value to set.

Returns:

the ApplicationGatewayPathRulePropertiesFormat object itself.

withLoadDistributionPolicy

public ApplicationGatewayPathRulePropertiesFormat withLoadDistributionPolicy(SubResource loadDistributionPolicy)

Set the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.

Parameters:

loadDistributionPolicy - the loadDistributionPolicy value to set.

Returns:

the ApplicationGatewayPathRulePropertiesFormat object itself.

withPaths

public ApplicationGatewayPathRulePropertiesFormat withPaths(List<String> paths)

Set the paths property: Path rules of URL path map.

Parameters:

paths - the paths value to set.

Returns:

the ApplicationGatewayPathRulePropertiesFormat object itself.

withRedirectConfiguration

public ApplicationGatewayPathRulePropertiesFormat withRedirectConfiguration(SubResource redirectConfiguration)

Set the redirectConfiguration property: Redirect configuration resource of URL path map path rule.

Parameters:

redirectConfiguration - the redirectConfiguration value to set.

Returns:

the ApplicationGatewayPathRulePropertiesFormat object itself.

withRewriteRuleSet

public ApplicationGatewayPathRulePropertiesFormat withRewriteRuleSet(SubResource rewriteRuleSet)

Set the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.

Parameters:

rewriteRuleSet - the rewriteRuleSet value to set.

Returns:

the ApplicationGatewayPathRulePropertiesFormat object itself.

Applies to