共用方式為


InitContainerDefinitionContent Class

Definition

The init container definition.

public class InitContainerDefinitionContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent>
type InitContainerDefinitionContent = class
    interface IJsonModel<InitContainerDefinitionContent>
    interface IPersistableModel<InitContainerDefinitionContent>
Public Class InitContainerDefinitionContent
Implements IJsonModel(Of InitContainerDefinitionContent), IPersistableModel(Of InitContainerDefinitionContent)
Inheritance
InitContainerDefinitionContent
Implements

Constructors

InitContainerDefinitionContent(String)

Initializes a new instance of InitContainerDefinitionContent.

Properties

Command

The command to execute within the init container in exec form.

EnvironmentVariables

The environment variables to set in the init container.

Image

The image of the init container.

InstanceView

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

Name

The name for the init container.

SecurityContext

The container security properties.

VolumeMounts

The volume mounts available to the init container.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<InitContainerDefinitionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<InitContainerDefinitionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InitContainerDefinitionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InitContainerDefinitionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<InitContainerDefinitionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to