Condividi tramite


EndpointDeliveryPolicy Class

Definition

A policy that specifies the delivery rules to be used for an endpoint.

public class EndpointDeliveryPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.EndpointDeliveryPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.EndpointDeliveryPolicy>
public class EndpointDeliveryPolicy
type EndpointDeliveryPolicy = class
    interface IJsonModel<EndpointDeliveryPolicy>
    interface IPersistableModel<EndpointDeliveryPolicy>
type EndpointDeliveryPolicy = class
Public Class EndpointDeliveryPolicy
Implements IJsonModel(Of EndpointDeliveryPolicy), IPersistableModel(Of EndpointDeliveryPolicy)
Public Class EndpointDeliveryPolicy
Inheritance
EndpointDeliveryPolicy
Implements

Constructors

EndpointDeliveryPolicy(IEnumerable<DeliveryRule>)

Initializes a new instance of EndpointDeliveryPolicy.

Properties

Description

User-friendly description of the policy.

Rules

A list of the delivery rules.

Explicit Interface Implementations

IJsonModel<EndpointDeliveryPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EndpointDeliveryPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EndpointDeliveryPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EndpointDeliveryPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EndpointDeliveryPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to