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