167 строки
12 KiB
YAML
167 строки
12 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cdn.models.RateLimitRule"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule"
|
|
name: "RateLimitRule"
|
|
nameWithType: "RateLimitRule"
|
|
summary: "Defines a rate limiting rule that can be included in a waf policy."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.cdn.models.CustomRule?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedMembers:
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.action()"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.enabledState()"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.matchConditions()"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.name()"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.priority()"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.validate()"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.withAction(com.azure.resourcemanager.cdn.models.ActionType)"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.withEnabledState(com.azure.resourcemanager.cdn.models.CustomRuleEnabledState)"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.withMatchConditions(java.util.List<com.azure.resourcemanager.cdn.models.MatchCondition>)"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.withName(java.lang.String)"
|
|
- "com.azure.resourcemanager.cdn.models.CustomRule.withPriority(int)"
|
|
- "java.lang.Object.clone()"
|
|
- "java.lang.Object.equals(java.lang.Object)"
|
|
- "java.lang.Object.finalize()"
|
|
- "java.lang.Object.getClass()"
|
|
- "java.lang.Object.hashCode()"
|
|
- "java.lang.Object.notify()"
|
|
- "java.lang.Object.notifyAll()"
|
|
- "java.lang.Object.toString()"
|
|
- "java.lang.Object.wait()"
|
|
- "java.lang.Object.wait(long)"
|
|
- "java.lang.Object.wait(long,int)"
|
|
syntax: "public final class RateLimitRule extends CustomRule"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.RateLimitRule()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.RateLimitRule()"
|
|
name: "RateLimitRule()"
|
|
nameWithType: "RateLimitRule.RateLimitRule()"
|
|
syntax: "public RateLimitRule()"
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.rateLimitDurationInMinutes()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.rateLimitDurationInMinutes()"
|
|
name: "rateLimitDurationInMinutes()"
|
|
nameWithType: "RateLimitRule.rateLimitDurationInMinutes()"
|
|
summary: "Get the rate<wbr>Limit<wbr>Duration<wbr>InMinutes property: Defines rate limit duration."
|
|
syntax: "public int rateLimitDurationInMinutes()"
|
|
desc: "Get the rateLimitDurationInMinutes property: Defines rate limit duration. Default is 1 minute."
|
|
returns:
|
|
description: "the rateLimitDurationInMinutes value."
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.rateLimitThreshold()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.rateLimitThreshold()"
|
|
name: "rateLimitThreshold()"
|
|
nameWithType: "RateLimitRule.rateLimitThreshold()"
|
|
summary: "Get the rate<wbr>Limit<wbr>Threshold property: Defines rate limit threshold."
|
|
syntax: "public int rateLimitThreshold()"
|
|
desc: "Get the rateLimitThreshold property: Defines rate limit threshold."
|
|
returns:
|
|
description: "the rateLimitThreshold value."
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.validate()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.validate()"
|
|
name: "validate()"
|
|
nameWithType: "RateLimitRule.validate()"
|
|
summary: "Validates the instance."
|
|
overridden: "com.azure.resourcemanager.cdn.models.CustomRule.validate()"
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.withAction(com.azure.resourcemanager.cdn.models.ActionType)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.withAction(ActionType action)"
|
|
name: "withAction(ActionType action)"
|
|
nameWithType: "RateLimitRule.withAction(ActionType action)"
|
|
summary: "Set the action property: Describes what action to be applied when rule matches."
|
|
overridden: "com.azure.resourcemanager.cdn.models.CustomRule.withAction(com.azure.resourcemanager.cdn.models.ActionType)"
|
|
parameters:
|
|
- name: "action"
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.ActionType?alt=com.azure.resourcemanager.cdn.models.ActionType&text=ActionType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public RateLimitRule withAction(ActionType action)"
|
|
desc: "Set the action property: Describes what action to be applied when rule matches."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.RateLimitRule?alt=com.azure.resourcemanager.cdn.models.RateLimitRule&text=RateLimitRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.withEnabledState(com.azure.resourcemanager.cdn.models.CustomRuleEnabledState)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.withEnabledState(CustomRuleEnabledState enabledState)"
|
|
name: "withEnabledState(CustomRuleEnabledState enabledState)"
|
|
nameWithType: "RateLimitRule.withEnabledState(CustomRuleEnabledState enabledState)"
|
|
summary: "Set the enabled<wbr>State property: Describes if the custom rule is in enabled or disabled state."
|
|
overridden: "com.azure.resourcemanager.cdn.models.CustomRule.withEnabledState(com.azure.resourcemanager.cdn.models.CustomRuleEnabledState)"
|
|
parameters:
|
|
- name: "enabledState"
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.CustomRuleEnabledState?alt=com.azure.resourcemanager.cdn.models.CustomRuleEnabledState&text=CustomRuleEnabledState\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public RateLimitRule withEnabledState(CustomRuleEnabledState enabledState)"
|
|
desc: "Set the enabledState property: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.RateLimitRule?alt=com.azure.resourcemanager.cdn.models.RateLimitRule&text=RateLimitRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.withMatchConditions(java.util.List<com.azure.resourcemanager.cdn.models.MatchCondition>)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.withMatchConditions(List<MatchCondition> matchConditions)"
|
|
name: "withMatchConditions(List<MatchCondition> matchConditions)"
|
|
nameWithType: "RateLimitRule.withMatchConditions(List<MatchCondition> matchConditions)"
|
|
summary: "Set the match<wbr>Conditions property: List of match conditions."
|
|
overridden: "com.azure.resourcemanager.cdn.models.CustomRule.withMatchConditions(java.util.List<com.azure.resourcemanager.cdn.models.MatchCondition>)"
|
|
parameters:
|
|
- name: "matchConditions"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.cdn.models.MatchCondition?alt=com.azure.resourcemanager.cdn.models.MatchCondition&text=MatchCondition\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public RateLimitRule withMatchConditions(List<MatchCondition> matchConditions)"
|
|
desc: "Set the matchConditions property: List of match conditions."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.RateLimitRule?alt=com.azure.resourcemanager.cdn.models.RateLimitRule&text=RateLimitRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.withName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.withName(String name)"
|
|
name: "withName(String name)"
|
|
nameWithType: "RateLimitRule.withName(String name)"
|
|
summary: "Set the name property: Defines the name of the custom rule."
|
|
overridden: "com.azure.resourcemanager.cdn.models.CustomRule.withName(java.lang.String)"
|
|
parameters:
|
|
- name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public RateLimitRule withName(String name)"
|
|
desc: "Set the name property: Defines the name of the custom rule."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.RateLimitRule?alt=com.azure.resourcemanager.cdn.models.RateLimitRule&text=RateLimitRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.withPriority(int)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.withPriority(int priority)"
|
|
name: "withPriority(int priority)"
|
|
nameWithType: "RateLimitRule.withPriority(int priority)"
|
|
summary: "Set the priority property: Defines in what order this rule be evaluated in the overall list of custom rules."
|
|
overridden: "com.azure.resourcemanager.cdn.models.CustomRule.withPriority(int)"
|
|
parameters:
|
|
- name: "priority"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public RateLimitRule withPriority(int priority)"
|
|
desc: "Set the priority property: Defines in what order this rule be evaluated in the overall list of custom rules."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.RateLimitRule?alt=com.azure.resourcemanager.cdn.models.RateLimitRule&text=RateLimitRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.withRateLimitDurationInMinutes(int)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.withRateLimitDurationInMinutes(int rateLimitDurationInMinutes)"
|
|
name: "withRateLimitDurationInMinutes(int rateLimitDurationInMinutes)"
|
|
nameWithType: "RateLimitRule.withRateLimitDurationInMinutes(int rateLimitDurationInMinutes)"
|
|
summary: "Set the rate<wbr>Limit<wbr>Duration<wbr>InMinutes property: Defines rate limit duration."
|
|
parameters:
|
|
- description: "the rateLimitDurationInMinutes value to set."
|
|
name: "rateLimitDurationInMinutes"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public RateLimitRule withRateLimitDurationInMinutes(int rateLimitDurationInMinutes)"
|
|
desc: "Set the rateLimitDurationInMinutes property: Defines rate limit duration. Default is 1 minute."
|
|
returns:
|
|
description: "the RateLimitRule object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.RateLimitRule?alt=com.azure.resourcemanager.cdn.models.RateLimitRule&text=RateLimitRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.RateLimitRule.withRateLimitThreshold(int)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.RateLimitRule.withRateLimitThreshold(int rateLimitThreshold)"
|
|
name: "withRateLimitThreshold(int rateLimitThreshold)"
|
|
nameWithType: "RateLimitRule.withRateLimitThreshold(int rateLimitThreshold)"
|
|
summary: "Set the rate<wbr>Limit<wbr>Threshold property: Defines rate limit threshold."
|
|
parameters:
|
|
- description: "the rateLimitThreshold value to set."
|
|
name: "rateLimitThreshold"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public RateLimitRule withRateLimitThreshold(int rateLimitThreshold)"
|
|
desc: "Set the rateLimitThreshold property: Defines rate limit threshold."
|
|
returns:
|
|
description: "the RateLimitRule object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.RateLimitRule?alt=com.azure.resourcemanager.cdn.models.RateLimitRule&text=RateLimitRule\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Defines a rate limiting rule that can be included in a waf policy."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cdn.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cdn:2.18.0
|