Share via


OSImageNotificationProfile Class

Definition

The OSImageNotificationProfile.

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

Constructors

OSImageNotificationProfile()

Initializes a new instance of OSImageNotificationProfile.

Properties

Enable

Specifies whether the OS Image Scheduled event is enabled or disabled.

NotBeforeTimeout

Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OSImageNotificationProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OSImageNotificationProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OSImageNotificationProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OSImageNotificationProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OSImageNotificationProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to