Share via


ScheduledActionResourceData Class

Definition

Represents an scheduled action resource metadata.

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

Constructors

Name Description
ScheduledActionResourceData(ResourceIdentifier)

Initializes a new instance of ScheduledActionResourceData.

Properties

Name Description
Id

The compute RP resource id of the resource in the scheduled actions scope. .

Name

The name of the resource.

NotificationSettings

The desired notification settings for the specified resource.

ResourceId

The ARM Id of the resource. "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"

Type

The type of resource.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ScheduledActionResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduledActionResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScheduledActionResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduledActionResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduledActionResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to