Condividi tramite


RunCommandDocument Class

Definition

Describes the properties of a Run Command.

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

Properties

Description

The VM run command description.

(Inherited from RunCommandDocumentBase)
Id

The VM run command id.

(Inherited from RunCommandDocumentBase)
Label

The VM run command label.

(Inherited from RunCommandDocumentBase)
OSType

The Operating System type.

(Inherited from RunCommandDocumentBase)
Parameters

The parameters used by the script.

Schema

The VM run command schema.

(Inherited from RunCommandDocumentBase)
Script

The script to be executed.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunCommandDocument>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunCommandDocument>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RunCommandDocumentBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RunCommandDocumentBase)
IJsonModel<RunCommandDocumentBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RunCommandDocumentBase)
IPersistableModel<RunCommandDocument>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunCommandDocument>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunCommandDocument>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RunCommandDocumentBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RunCommandDocumentBase)
IPersistableModel<RunCommandDocumentBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RunCommandDocumentBase)
IPersistableModel<RunCommandDocumentBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RunCommandDocumentBase)

Applies to