EndpointDeliveryPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
type EndpointDeliveryPolicy = class
interface IJsonModel<EndpointDeliveryPolicy>
interface IPersistableModel<EndpointDeliveryPolicy>
Public Class EndpointDeliveryPolicy
Implements IJsonModel(Of EndpointDeliveryPolicy), IPersistableModel(Of EndpointDeliveryPolicy)
- Inheritance
-
EndpointDeliveryPolicy
- Implements
Constructors
| Name | Description |
|---|---|
| EndpointDeliveryPolicy(IEnumerable<DeliveryRule>) |
Initializes a new instance of EndpointDeliveryPolicy. |
Properties
| Name | Description |
|---|---|
| Description |
User-friendly description of the policy. |
| Rules |
A list of the delivery rules. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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. |