Share via


CacheExpirationActionParameters Class

Definition

Defines the parameters for the cache expiration action.

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

Constructors

CacheExpirationActionParameters()

Creates an new CacheExpirationActionParameters instance.

Properties

CacheBehavior

Caching behavior for the requests

CacheDuration

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

CacheType

The level at which the content needs to be cached.

TypeName

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheExpirationActionParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheExpirationActionParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheExpirationActionParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to