你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RunCommandInput Class

Definition

Capture Virtual Machine parameters.

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

Constructors

RunCommandInput(String)

Initializes a new instance of RunCommandInput.

Properties

CommandId

The run command id.

Parameters

The run command parameters.

Script

Optional. The script to be executed. When this value is given, the given script will override the default script of the command.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RunCommandInput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RunCommandInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RunCommandInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RunCommandInput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RunCommandInput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to