ApplicationGatewayPathRuleInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayPathRuleInner
- com.
- com.
public final class ApplicationGatewayPathRuleInner
extends SubResource
Path rule of URL path map of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayPathRuleInner() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
backendAddressPool()
Get the backend |
Sub |
backendHttpSettings()
Get the backend |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Sub |
firewallPolicy()
Get the firewall |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
Sub |
loadDistributionPolicy()
Get the load |
String |
name()
Get the name property: Name of the path rule that is unique within an Application Gateway. |
List<String> |
paths()
Get the paths property: Path rules of URL path map. |
Provisioning |
provisioningState()
Get the provisioning |
Sub |
redirectConfiguration()
Get the redirect |
Sub |
rewriteRuleSet()
Get the rewrite |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
Application |
withBackendHttpSettings(SubResource backendHttpSettings)
Set the backend |
Application |
withFirewallPolicy(SubResource firewallPolicy)
Set the firewall |
Application |
withId(String id) |
Application |
withLoadDistributionPolicy(SubResource loadDistributionPolicy)
Set the load |
Application |
withName(String name)
Set the name property: Name of the path rule that is unique within an Application Gateway. |
Application |
withPaths(List<String> paths)
Set the paths property: Path rules of URL path map. |
Application |
withRedirectConfiguration(SubResource redirectConfiguration)
Set the redirect |
Application |
withRewriteRuleSet(SubResource rewriteRuleSet)
Set the rewrite |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayPathRuleInner
public ApplicationGatewayPathRuleInner()
Creates an instance of ApplicationGatewayPathRuleInner class.
Method Details
backendAddressPool
public SubResource backendAddressPool()
Get the backendAddressPool property: Backend address pool resource of URL path map path rule.
Returns:
backendHttpSettings
public SubResource backendHttpSettings()
Get the backendHttpSettings property: Backend http settings resource of URL path map path rule.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
firewallPolicy
public SubResource firewallPolicy()
Get the firewallPolicy property: Reference to the FirewallPolicy resource.
Returns:
fromJson
public static ApplicationGatewayPathRuleInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayPathRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
loadDistributionPolicy
public SubResource loadDistributionPolicy()
Get the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.
Returns:
name
public String name()
Get the name property: Name of the path rule that is unique within an Application Gateway.
Returns:
paths
public List
Get the paths property: Path rules of URL path map.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the path rule resource.
Returns:
redirectConfiguration
public SubResource redirectConfiguration()
Get the redirectConfiguration property: Redirect configuration resource of URL path map path rule.
Returns:
rewriteRuleSet
public SubResource rewriteRuleSet()
Get the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayPathRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withBackendAddressPool
public ApplicationGatewayPathRuleInner withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of URL path map path rule.
Parameters:
Returns:
withBackendHttpSettings
public ApplicationGatewayPathRuleInner withBackendHttpSettings(SubResource backendHttpSettings)
Set the backendHttpSettings property: Backend http settings resource of URL path map path rule.
Parameters:
Returns:
withFirewallPolicy
public ApplicationGatewayPathRuleInner withFirewallPolicy(SubResource firewallPolicy)
Set the firewallPolicy property: Reference to the FirewallPolicy resource.
Parameters:
Returns:
withId
public ApplicationGatewayPathRuleInner withId(String id)
Overrides:
ApplicationGatewayPathRuleInner.withId(String id)Parameters:
withLoadDistributionPolicy
public ApplicationGatewayPathRuleInner withLoadDistributionPolicy(SubResource loadDistributionPolicy)
Set the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.
Parameters:
Returns:
withName
public ApplicationGatewayPathRuleInner withName(String name)
Set the name property: Name of the path rule that is unique within an Application Gateway.
Parameters:
Returns:
withPaths
public ApplicationGatewayPathRuleInner withPaths(List
Set the paths property: Path rules of URL path map.
Parameters:
Returns:
withRedirectConfiguration
public ApplicationGatewayPathRuleInner withRedirectConfiguration(SubResource redirectConfiguration)
Set the redirectConfiguration property: Redirect configuration resource of URL path map path rule.
Parameters:
Returns:
withRewriteRuleSet
public ApplicationGatewayPathRuleInner withRewriteRuleSet(SubResource rewriteRuleSet)
Set the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.
Parameters:
Returns:
Applies to
Azure SDK for Java