Share via


DeliveryRuleCondition Class

Definition

A condition for the delivery rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.DeliveryRuleConditionTypeConverter))]
public class DeliveryRuleCondition : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleCondition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.DeliveryRuleConditionTypeConverter))>]
type DeliveryRuleCondition = class
    interface IDeliveryRuleCondition
    interface IJsonSerializable
Public Class DeliveryRuleCondition
Implements IDeliveryRuleCondition
Inheritance
DeliveryRuleCondition
Attributes
Implements

Constructors

DeliveryRuleCondition()

Creates an new DeliveryRuleCondition instance.

Properties

Name

The name of the condition for the delivery rule.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeliveryRuleCondition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeliveryRuleCondition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleCondition. Note: the Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleCondition interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of DeliveryRuleCondition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeliveryRuleCondition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to