Delen via


Container Class

Definition

A container instance.

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

Constructors

Container()

Initializes a new instance of the Container class.

Container(String, String, ResourceRequirements, IList<String>, IList<ContainerPort>, IList<EnvironmentVariable>, ContainerPropertiesInstanceView, IList<VolumeMount>, ContainerProbe, ContainerProbe)

Initializes a new instance of the Container class.

Properties

Command

Gets or sets the commands to execute within the container instance in exec form.

EnvironmentVariables

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

Image

Gets or sets the name of the image used to create the container instance.

InstanceView

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

LivenessProbe

Gets or sets the liveness probe.

Name

Gets or sets the user-provided name of the container instance.

Ports

Gets or sets the exposed ports on the container instance.

ReadinessProbe

Gets or sets the readiness probe.

Resources

Gets or sets the resource requirements of the container instance.

VolumeMounts

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

Methods

Validate()

Validate the object.

Applies to