Share via


InitContainerDefinition Class

Definition

The init container definition.

[Microsoft.Rest.Serialization.JsonTransformation]
public class InitContainerDefinition
[<Microsoft.Rest.Serialization.JsonTransformation>]
type InitContainerDefinition = class
Public Class InitContainerDefinition
Inheritance
InitContainerDefinition
Attributes

Constructors

InitContainerDefinition()

Initializes a new instance of the InitContainerDefinition class.

InitContainerDefinition(String, String, IList<String>, IList<EnvironmentVariable>, InitContainerPropertiesDefinitionInstanceView, IList<VolumeMount>)

Initializes a new instance of the InitContainerDefinition class.

Properties

Command

Gets or sets the command to execute within the init container in exec form.

EnvironmentVariables

Gets or sets the environment variables to set in the init container.

Image

Gets or sets the image of the init container.

InstanceView

Gets the instance view of the init container. Only valid in response.

Name

Gets or sets the name for the init container.

VolumeMounts

Gets or sets the volume mounts available to the init container.

Methods

Validate()

Validate the object.

Applies to