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

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