你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
InitContainerPropertiesDefinition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The init container definition properties.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerPropertiesDefinitionTypeConverter))]
public class InitContainerPropertiesDefinition : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IInitContainerPropertiesDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.InitContainerPropertiesDefinitionTypeConverter))>]
type InitContainerPropertiesDefinition = class
interface IInitContainerPropertiesDefinition
interface IJsonSerializable
Public Class InitContainerPropertiesDefinition
Implements IInitContainerPropertiesDefinition
- Inheritance
-
InitContainerPropertiesDefinition
- Attributes
- Implements
Constructors
InitContainerPropertiesDefinition() |
Creates an new InitContainerPropertiesDefinition instance. |
Properties
Command |
The command to execute within the init container in exec form. |
CurrentState |
The state of the container instance. |
CurrentStateDetailStatus |
The human-readable status of the container instance state. |
CurrentStateExitCode |
The container instance exit codes correspond to those from the |
CurrentStateFinishTime |
The date-time when the container instance state finished. |
CurrentStateStartTime |
The date-time when the container instance state started. |
EnvironmentVariable |
The environment variables to set in the init container. |
Image |
The image of the init container. |
InstanceViewEvent |
The events of the init container. |
InstanceViewRestartCount |
The number of times that the init container has been restarted. |
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 |
PreviousStateFinishTime |
The date-time when the container instance state finished. |
PreviousStateStartTime |
The date-time when the container instance state started. |
VolumeMount |
The volume mounts available to the init container. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of InitContainerPropertiesDefinition. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of InitContainerPropertiesDefinition. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IInitContainerPropertiesDefinition. |
FromJsonString(String) |
Creates a new instance of InitContainerPropertiesDefinition, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of InitContainerPropertiesDefinition into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |