Aracılığıyla paylaş


TerminateNotificationProfile Class

Definition

The TerminateNotificationProfile.

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

Constructors

TerminateNotificationProfile()

Initializes a new instance of TerminateNotificationProfile.

Properties

Enable

Specifies whether the Terminate Scheduled event is enabled or disabled.

NotBeforeTimeout

Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TerminateNotificationProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TerminateNotificationProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TerminateNotificationProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TerminateNotificationProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TerminateNotificationProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to