共用方式為


DeliveryRuleAction Class

Definition

An action for the delivery rule. Please note DeliveryRuleAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DeliveryRuleCacheExpirationAction, DeliveryRuleCacheKeyQueryStringAction, DeliveryRuleRequestHeaderAction, DeliveryRuleResponseHeaderAction, OriginGroupOverrideAction, DeliveryRuleRouteConfigurationOverrideAction, UriRedirectAction, UriRewriteAction and UriSigningAction.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Cdn.Models.UnknownDeliveryRuleAction))]
public abstract class DeliveryRuleAction : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.DeliveryRuleAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.DeliveryRuleAction>
public abstract class DeliveryRuleAction
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Cdn.Models.UnknownDeliveryRuleAction))>]
type DeliveryRuleAction = class
    interface IJsonModel<DeliveryRuleAction>
    interface IPersistableModel<DeliveryRuleAction>
type DeliveryRuleAction = class
Public MustInherit Class DeliveryRuleAction
Implements IJsonModel(Of DeliveryRuleAction), IPersistableModel(Of DeliveryRuleAction)
Public MustInherit Class DeliveryRuleAction
Inheritance
DeliveryRuleAction
Derived
Attributes
Implements

Constructors

DeliveryRuleAction()

Initializes a new instance of DeliveryRuleAction.

Explicit Interface Implementations

IJsonModel<DeliveryRuleAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DeliveryRuleAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeliveryRuleAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeliveryRuleAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DeliveryRuleAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to