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

132 строки
9.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.cdn.DeliveryRule"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule"
name: "DeliveryRule"
nameWithType: "DeliveryRule"
summary: "A rule that specifies a set of actions and conditions."
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 **DeliveryRule**"
constructors:
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.DeliveryRule()"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.DeliveryRule()"
name: "DeliveryRule()"
nameWithType: "DeliveryRule.DeliveryRule()"
syntax: "public DeliveryRule()"
methods:
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.actions()"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.actions()"
name: "actions()"
nameWithType: "DeliveryRule.actions()"
summary: "Get a list of actions that are executed when all the conditions of a rule are satisfied."
syntax: "public List<DeliveryRuleAction> actions()"
desc: "Get a list of actions that are executed when all the conditions of a rule are satisfied."
returns:
description: "the actions 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.DeliveryRuleAction?alt=com.microsoft.azure.management.cdn.DeliveryRuleAction&text=DeliveryRuleAction\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.conditions()"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.conditions()"
name: "conditions()"
nameWithType: "DeliveryRule.conditions()"
summary: "Get a list of conditions that must be matched for the actions to be executed."
syntax: "public List<DeliveryRuleCondition> conditions()"
desc: "Get a list of conditions that must be matched for the actions to be executed."
returns:
description: "the conditions 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.DeliveryRuleCondition?alt=com.microsoft.azure.management.cdn.DeliveryRuleCondition&text=DeliveryRuleCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.name()"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.name()"
name: "name()"
nameWithType: "DeliveryRule.name()"
summary: "Get name of the rule."
syntax: "public String name()"
desc: "Get name of the 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.DeliveryRule.order()"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.order()"
name: "order()"
nameWithType: "DeliveryRule.order()"
summary: "Get the order in which the rules are applied for the endpoint."
syntax: "public int order()"
desc: "Get the order in which the rules are applied for the endpoint. Possible values \\{0,1,2,3,\\\\u2026\\\\u2026\\\\u2026\\}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied."
returns:
description: "the order value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.withActions(java.util.List<com.microsoft.azure.management.cdn.DeliveryRuleAction>)"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.withActions(List<DeliveryRuleAction> actions)"
name: "withActions(List<DeliveryRuleAction> actions)"
nameWithType: "DeliveryRule.withActions(List<DeliveryRuleAction> actions)"
summary: "Set a list of actions that are executed when all the conditions of a rule are satisfied."
parameters:
- description: "the actions value to set"
name: "actions"
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.DeliveryRuleAction?alt=com.microsoft.azure.management.cdn.DeliveryRuleAction&text=DeliveryRuleAction\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DeliveryRule withActions(List<DeliveryRuleAction> actions)"
desc: "Set a list of actions that are executed when all the conditions of a rule are satisfied."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.DeliveryRule?alt=com.microsoft.azure.management.cdn.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.withConditions(java.util.List<com.microsoft.azure.management.cdn.DeliveryRuleCondition>)"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.withConditions(List<DeliveryRuleCondition> conditions)"
name: "withConditions(List<DeliveryRuleCondition> conditions)"
nameWithType: "DeliveryRule.withConditions(List<DeliveryRuleCondition> conditions)"
summary: "Set a list of conditions that must be matched for the actions to be executed."
parameters:
- description: "the conditions value to set"
name: "conditions"
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.DeliveryRuleCondition?alt=com.microsoft.azure.management.cdn.DeliveryRuleCondition&text=DeliveryRuleCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DeliveryRule withConditions(List<DeliveryRuleCondition> conditions)"
desc: "Set a list of conditions that must be matched for the actions to be executed."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.DeliveryRule?alt=com.microsoft.azure.management.cdn.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.withName(java.lang.String)"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.withName(String name)"
name: "withName(String name)"
nameWithType: "DeliveryRule.withName(String name)"
summary: "Set name of the 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 DeliveryRule withName(String name)"
desc: "Set name of the rule."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.DeliveryRule?alt=com.microsoft.azure.management.cdn.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.DeliveryRule.withOrder(int)"
fullName: "com.microsoft.azure.management.cdn.DeliveryRule.withOrder(int order)"
name: "withOrder(int order)"
nameWithType: "DeliveryRule.withOrder(int order)"
summary: "Set the order in which the rules are applied for the endpoint."
parameters:
- description: "the order value to set"
name: "order"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DeliveryRule withOrder(int order)"
desc: "Set the order in which the rules are applied for the endpoint. Possible values \\{0,1,2,3,\\\\u2026\\\\u2026\\\\u2026\\}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.DeliveryRule?alt=com.microsoft.azure.management.cdn.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A rule that specifies a set of actions and conditions."
metadata: {}
package: "com.microsoft.azure.management.cdn"
artifact: com.microsoft.azure:azure-mgmt-cdn:1.41.4