Share via


ContainerInstanceContainer Class

Definition

A container instance.

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

Constructors

ContainerInstanceContainer(String, String, ContainerResourceRequirements)

Initializes a new instance of ContainerInstanceContainer.

Properties

Command

The commands to execute within the container instance in exec form.

EnvironmentVariables

The environment variables to set in the container instance.

Image

The name of the image used to create the container instance.

InstanceView

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

LivenessProbe

The liveness probe.

Name

The user-provided name of the container instance.

Ports

The exposed ports on the container instance.

ReadinessProbe

The readiness probe.

Resources

The resource requirements of the container instance.

SecurityContext

The container security properties.

VolumeMounts

The volume mounts available to the container instance.

Explicit Interface Implementations

IJsonModel<ContainerInstanceContainer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerInstanceContainer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerInstanceContainer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerInstanceContainer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerInstanceContainer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to