ApplicationGatewayFirewallRateLimitDuration Class

public final class ApplicationGatewayFirewallRateLimitDuration
extends ExpandableStringEnum<ApplicationGatewayFirewallRateLimitDuration>

Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule.

Field Summary

Modifier and Type Field and Description
static final ApplicationGatewayFirewallRateLimitDuration FIVE_MINS

Static value FiveMins for ApplicationGatewayFirewallRateLimitDuration.

static final ApplicationGatewayFirewallRateLimitDuration ONE_MIN

Static value OneMin for ApplicationGatewayFirewallRateLimitDuration.

Constructor Summary

Constructor Description
ApplicationGatewayFirewallRateLimitDuration()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ApplicationGatewayFirewallRateLimitDuration value.

Method Summary

Modifier and Type Method and Description
static ApplicationGatewayFirewallRateLimitDuration fromString(String name)

Creates or finds a ApplicationGatewayFirewallRateLimitDuration from its string representation.

static Collection<ApplicationGatewayFirewallRateLimitDuration> values()

Gets known ApplicationGatewayFirewallRateLimitDuration values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FIVE_MINS

public static final ApplicationGatewayFirewallRateLimitDuration FIVE_MINS

Static value FiveMins for ApplicationGatewayFirewallRateLimitDuration.

ONE_MIN

public static final ApplicationGatewayFirewallRateLimitDuration ONE_MIN

Static value OneMin for ApplicationGatewayFirewallRateLimitDuration.

Constructor Details

ApplicationGatewayFirewallRateLimitDuration

@Deprecated
public ApplicationGatewayFirewallRateLimitDuration()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ApplicationGatewayFirewallRateLimitDuration value.

Method Details

fromString

public static ApplicationGatewayFirewallRateLimitDuration fromString(String name)

Creates or finds a ApplicationGatewayFirewallRateLimitDuration from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ApplicationGatewayFirewallRateLimitDuration.

values

public static Collection values()

Gets known ApplicationGatewayFirewallRateLimitDuration values.

Returns:

known ApplicationGatewayFirewallRateLimitDuration values.

Applies to