Rule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Friendly Rules name mapping to the any Rules or secret related information.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.RuleTypeConverter))]
public class Rule : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRule, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.RuleTypeConverter))>]
type Rule = class
interface IRule
interface IJsonSerializable
interface IResource
interface IValidates
interface IHeaderSerializable
Public Class Rule
Implements IHeaderSerializable, IRule, IValidates
- Inheritance
-
Rule
- Attributes
- Implements
Constructors
Rule() |
Creates an new Rule instance. |
Properties
Action |
A list of actions that are executed when all the conditions of a rule are satisfied. |
Condition |
A list of conditions that must be matched for the actions to be executed |
DeploymentStatus | |
Id |
Resource ID. |
Location | |
MatchProcessingBehavior |
If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. |
Name |
Resource name. |
Order |
The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. 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. |
ProvisioningState |
Provisioning status |
ResourceGroupName |
Gets the resource group name |
SetName |
The name of the rule set containing the rule. |
SystemData |
Read only system data |
SystemDataCreatedAt |
The timestamp of resource creation (UTC) |
SystemDataCreatedBy |
An identifier for the identity that created the resource |
SystemDataCreatedByType |
The type of identity that created the resource |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
An identifier for the identity that last modified the resource |
SystemDataLastModifiedByType |
The type of identity that last modified the resource |
Type |
Resource type. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Rule. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRule. |
FromJsonString(String) |
Creates a new instance of Rule, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |
Explicit Interface Implementations
IHeaderSerializable.ReadHeaders(HttpResponseHeaders) |