Partilhar via


Rule Construtores

Definição

Sobrecargas

Rule()

Inicializa uma nova instância da classe Rule.

Rule(Int32, IList<DeliveryRuleAction>, String, String, String, SystemData, IList<DeliveryRuleCondition>, String, String, String)

Inicializa uma nova instância da classe Rule.

Rule()

Inicializa uma nova instância da classe Rule.

public Rule ();
Public Sub New ()

Aplica-se a

Rule(Int32, IList<DeliveryRuleAction>, String, String, String, SystemData, IList<DeliveryRuleCondition>, String, String, String)

Inicializa uma nova instância da classe Rule.

public Rule (int order, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleAction> actions, string id = default, string name = default, string type = default, Microsoft.Azure.Management.Cdn.Models.SystemData systemData = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleCondition> conditions = default, string matchProcessingBehavior = default, string provisioningState = default, string deploymentStatus = default);
new Microsoft.Azure.Management.Cdn.Models.Rule : int * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleAction> * string * string * string * Microsoft.Azure.Management.Cdn.Models.SystemData * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleCondition> * string * string * string -> Microsoft.Azure.Management.Cdn.Models.Rule
Public Sub New (order As Integer, actions As IList(Of DeliveryRuleAction), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional conditions As IList(Of DeliveryRuleCondition) = Nothing, Optional matchProcessingBehavior As String = Nothing, Optional provisioningState As String = Nothing, Optional deploymentStatus As String = Nothing)

Parâmetros

order
Int32

A ordem na qual as regras são aplicadas para o ponto de extremidade. Valores possíveis {0,1,2,3,.........}. Uma regra com uma ordem menor será aplicada antes de uma regra com uma ordem maior. Regra com ordem 0 é uma regra especial. Ele não requer nenhuma condição e as ações listadas nela sempre serão aplicadas.

actions
IList<DeliveryRuleAction>

Uma lista de ações executadas quando todas as condições de uma regra são atendidas.

id
String

ID do recurso.

name
String

Nome do recurso.

type
String

Tipo de recurso.

systemData
SystemData
conditions
IList<DeliveryRuleCondition>

Uma lista de condições que devem ser correspondidas para que as ações sejam executadas

matchProcessingBehavior
String

Se essa regra for uma correspondência, caso o mecanismo de regras continue executando as regras restantes ou pare. Se não estiver presente, o padrão será Continuar. Os valores possíveis incluem: 'Continue', 'Stop'

provisioningState
String

Status de provisionamento. Os valores possíveis incluem: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'

deploymentStatus
String

Os valores possíveis incluem: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'

Aplica-se a