RunCommandInput Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |