Partager via


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