语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ICustomRule Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CustomRuleTypeConverter))]
public interface ICustomRule : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.CustomRuleTypeConverter))>]
type ICustomRule = interface
    interface IJsonSerializable
Public Interface ICustomRule
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Name Description
Action

Describes what action to be applied when rule matches

EnabledState

Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

MatchCondition

List of match conditions.

Name

Defines the name of the custom rule

Priority

Defines in what order this rule be evaluated in the overall list of custom rules

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to