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

ContainerExec Class

Definition

The container execution command, for liveness or readiness probe

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecTypeConverter))]
public class ContainerExec : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerExec
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerExecTypeConverter))>]
type ContainerExec = class
    interface IContainerExec
    interface IJsonSerializable
Public Class ContainerExec
Implements IContainerExec
Inheritance
ContainerExec
Attributes
Implements

Constructors

ContainerExec()

Creates an new ContainerExec instance.

Properties

Command

The commands to execute within the container.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerExec.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerExec.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerExec.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerExec into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to