Compartilhar via


ScheduledEventsPolicy Class

Definition

Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations.

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

Constructors

ScheduledEventsPolicy()

Initializes a new instance of ScheduledEventsPolicy.

Properties

AutomaticallyApprove

Specifies Reboot Scheduled Event related configurations.

Enable

Specifies if event grid and resource graph is enabled for Scheduled event related configurations.

UserInitiatedRedeploy

The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ScheduledEventsPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduledEventsPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScheduledEventsPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduledEventsPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduledEventsPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to