Share via


RunCommandRequest Class

Definition

A run command request

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.RunCommandRequestTypeConverter))]
public class RunCommandRequest : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IRunCommandRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.RunCommandRequestTypeConverter))>]
type RunCommandRequest = class
    interface IRunCommandRequest
    interface IJsonSerializable
Public Class RunCommandRequest
Implements IRunCommandRequest
Inheritance
RunCommandRequest
Attributes
Implements

Constructors

RunCommandRequest()

Creates an new RunCommandRequest instance.

Properties

ClusterToken

AuthToken issued for AKS AAD Server App.

Command

The command to run.

Context

A base64 encoded zip file containing the files required by the command.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RunCommandRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RunCommandRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IRunCommandRequest.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RunCommandRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to