azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

156 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.cdn.CustomRule"
fullName: "com.microsoft.azure.management.cdn.CustomRule"
name: "CustomRule"
nameWithType: "CustomRule"
summary: "Defines the common attributes for a custom rule that can be included in a waf policy."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **CustomRule**"
constructors:
- uid: "com.microsoft.azure.management.cdn.CustomRule.CustomRule()"
fullName: "com.microsoft.azure.management.cdn.CustomRule.CustomRule()"
name: "CustomRule()"
nameWithType: "CustomRule.CustomRule()"
syntax: "public CustomRule()"
methods:
- uid: "com.microsoft.azure.management.cdn.CustomRule.action()"
fullName: "com.microsoft.azure.management.cdn.CustomRule.action()"
name: "action()"
nameWithType: "CustomRule.action()"
summary: "Get describes what action to be applied when rule matches."
syntax: "public ActionType action()"
desc: "Get describes what action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'."
returns:
description: "the action value"
type: "<xref href=\"com.microsoft.azure.management.cdn.ActionType?alt=com.microsoft.azure.management.cdn.ActionType&text=ActionType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.enabledState()"
fullName: "com.microsoft.azure.management.cdn.CustomRule.enabledState()"
name: "enabledState()"
nameWithType: "CustomRule.enabledState()"
summary: "Get describes if the custom rule is in enabled or disabled state."
syntax: "public CustomRuleEnabledState enabledState()"
desc: "Get describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Possible values include: 'Disabled', 'Enabled'."
returns:
description: "the enabledState value"
type: "<xref href=\"com.microsoft.azure.management.cdn.CustomRuleEnabledState?alt=com.microsoft.azure.management.cdn.CustomRuleEnabledState&text=CustomRuleEnabledState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.matchConditions()"
fullName: "com.microsoft.azure.management.cdn.CustomRule.matchConditions()"
name: "matchConditions()"
nameWithType: "CustomRule.matchConditions()"
summary: "Get list of match conditions."
syntax: "public List<MatchCondition> matchConditions()"
desc: "Get list of match conditions."
returns:
description: "the matchConditions value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.cdn.MatchCondition?alt=com.microsoft.azure.management.cdn.MatchCondition&text=MatchCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.cdn.CustomRule.name()"
fullName: "com.microsoft.azure.management.cdn.CustomRule.name()"
name: "name()"
nameWithType: "CustomRule.name()"
summary: "Get defines the name of the custom rule."
syntax: "public String name()"
desc: "Get defines the name of the custom rule."
returns:
description: "the name value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.priority()"
fullName: "com.microsoft.azure.management.cdn.CustomRule.priority()"
name: "priority()"
nameWithType: "CustomRule.priority()"
summary: "Get defines in what order this rule be evaluated in the overall list of custom rules."
syntax: "public int priority()"
desc: "Get defines in what order this rule be evaluated in the overall list of custom rules."
returns:
description: "the priority value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.withAction(com.microsoft.azure.management.cdn.ActionType)"
fullName: "com.microsoft.azure.management.cdn.CustomRule.withAction(ActionType action)"
name: "withAction(ActionType action)"
nameWithType: "CustomRule.withAction(ActionType action)"
summary: "Set describes what action to be applied when rule matches."
parameters:
- description: "the action value to set"
name: "action"
type: "<xref href=\"com.microsoft.azure.management.cdn.ActionType?alt=com.microsoft.azure.management.cdn.ActionType&text=ActionType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CustomRule withAction(ActionType action)"
desc: "Set describes what action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'."
returns:
description: "the CustomRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.CustomRule?alt=com.microsoft.azure.management.cdn.CustomRule&text=CustomRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.withEnabledState(com.microsoft.azure.management.cdn.CustomRuleEnabledState)"
fullName: "com.microsoft.azure.management.cdn.CustomRule.withEnabledState(CustomRuleEnabledState enabledState)"
name: "withEnabledState(CustomRuleEnabledState enabledState)"
nameWithType: "CustomRule.withEnabledState(CustomRuleEnabledState enabledState)"
summary: "Set describes if the custom rule is in enabled or disabled state."
parameters:
- description: "the enabledState value to set"
name: "enabledState"
type: "<xref href=\"com.microsoft.azure.management.cdn.CustomRuleEnabledState?alt=com.microsoft.azure.management.cdn.CustomRuleEnabledState&text=CustomRuleEnabledState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CustomRule withEnabledState(CustomRuleEnabledState enabledState)"
desc: "Set describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Possible values include: 'Disabled', 'Enabled'."
returns:
description: "the CustomRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.CustomRule?alt=com.microsoft.azure.management.cdn.CustomRule&text=CustomRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.withMatchConditions(java.util.List<com.microsoft.azure.management.cdn.MatchCondition>)"
fullName: "com.microsoft.azure.management.cdn.CustomRule.withMatchConditions(List<MatchCondition> matchConditions)"
name: "withMatchConditions(List<MatchCondition> matchConditions)"
nameWithType: "CustomRule.withMatchConditions(List<MatchCondition> matchConditions)"
summary: "Set list of match conditions."
parameters:
- description: "the matchConditions value to set"
name: "matchConditions"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.cdn.MatchCondition?alt=com.microsoft.azure.management.cdn.MatchCondition&text=MatchCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public CustomRule withMatchConditions(List<MatchCondition> matchConditions)"
desc: "Set list of match conditions."
returns:
description: "the CustomRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.CustomRule?alt=com.microsoft.azure.management.cdn.CustomRule&text=CustomRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.withName(java.lang.String)"
fullName: "com.microsoft.azure.management.cdn.CustomRule.withName(String name)"
name: "withName(String name)"
nameWithType: "CustomRule.withName(String name)"
summary: "Set defines the name of the custom rule."
parameters:
- description: "the name value to set"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CustomRule withName(String name)"
desc: "Set defines the name of the custom rule."
returns:
description: "the CustomRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.CustomRule?alt=com.microsoft.azure.management.cdn.CustomRule&text=CustomRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.CustomRule.withPriority(int)"
fullName: "com.microsoft.azure.management.cdn.CustomRule.withPriority(int priority)"
name: "withPriority(int priority)"
nameWithType: "CustomRule.withPriority(int priority)"
summary: "Set defines in what order this rule be evaluated in the overall list of custom rules."
parameters:
- description: "the priority value to set"
name: "priority"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CustomRule withPriority(int priority)"
desc: "Set defines in what order this rule be evaluated in the overall list of custom rules."
returns:
description: "the CustomRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.CustomRule?alt=com.microsoft.azure.management.cdn.CustomRule&text=CustomRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines the common attributes for a custom rule that can be included in a waf policy."
metadata: {}
package: "com.microsoft.azure.management.cdn"
artifact: com.microsoft.azure:azure-mgmt-cdn:1.41.4