Udostępnij za pośrednictwem


DeliveryRuleCacheExpirationAction Class

Definition

Defines the cache expiration action for the delivery rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.DeliveryRuleCacheExpirationActionTypeConverter))]
public class DeliveryRuleCacheExpirationAction : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleCacheExpirationAction, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.DeliveryRuleCacheExpirationActionTypeConverter))>]
type DeliveryRuleCacheExpirationAction = class
    interface IDeliveryRuleCacheExpirationAction
    interface IJsonSerializable
    interface IDeliveryRuleAction1
    interface IValidates
Public Class DeliveryRuleCacheExpirationAction
Implements IDeliveryRuleCacheExpirationAction, IValidates
Inheritance
DeliveryRuleCacheExpirationAction
Attributes
Implements

Constructors

DeliveryRuleCacheExpirationAction()

Creates an new DeliveryRuleCacheExpirationAction instance.

Properties

Name

The name of the action for the delivery rule.

ParameterCacheBehavior

Caching behavior for the requests

ParameterCacheDuration

The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss

ParameterCacheType

The level at which the content needs to be cached.

ParameterTypeName

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeliveryRuleCacheExpirationAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeliveryRuleCacheExpirationAction.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IDeliveryRuleCacheExpirationAction.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeliveryRuleCacheExpirationAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to