Partager via


ContainerPropertiesInstanceView Class

Definition

The instance view of the container instance. Only valid in response.

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

Constructors

ContainerPropertiesInstanceView()

Creates an new ContainerPropertiesInstanceView instance.

Properties

CurrentStateDetailStatus

The human-readable status of the container instance state.

CurrentStateExitCode

The container instance exit codes correspond to those from the docker run command.

CurrentStateFinishTime

The date-time when the container instance state finished.

CurrentStateStartTime

The date-time when the container instance state started.

CurrentStateState

The state of the container instance.

Event

The events of the container instance.

PreviousState

The state of the container instance.

PreviousStateDetailStatus

The human-readable status of the container instance state.

PreviousStateExitCode

The container instance exit codes correspond to those from the docker run command.

PreviousStateFinishTime

The date-time when the container instance state finished.

PreviousStateStartTime

The date-time when the container instance state started.

RestartCount

The number of times that the container instance has been restarted.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerPropertiesInstanceView.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerPropertiesInstanceView.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerPropertiesInstanceView into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to