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

RunCommandInput Class

Definition

Capture Virtual Machine parameters.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.RunCommandInputTypeConverter))]
public class RunCommandInput : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInput
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.RunCommandInputTypeConverter))>]
type RunCommandInput = class
    interface IRunCommandInput
    interface IJsonSerializable
Public Class RunCommandInput
Implements IRunCommandInput
Inheritance
RunCommandInput
Attributes
Implements

Constructors

RunCommandInput()

Creates an new RunCommandInput instance.

Properties

CommandId

The run command id.

Parameter

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RunCommandInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RunCommandInput.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20230701.IRunCommandInput.

FromJsonString(String)

Creates a new instance of RunCommandInput, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RunCommandInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to