Cloud AI Platform v1 API - Class ContainerSpec (3.10.0)

public sealed class ContainerSpec : IMessage<ContainerSpec>, IEquatable<ContainerSpec>, IDeepCloneable<ContainerSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class ContainerSpec.

The spec of a Container.

Inheritance

object > ContainerSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ContainerSpec()

public ContainerSpec()

ContainerSpec(ContainerSpec)

public ContainerSpec(ContainerSpec other)
Parameter
Name Description
other ContainerSpec

Properties

Args

public RepeatedField<string> Args { get; }

The arguments to be passed when starting the container.

Property Value
Type Description
RepeatedFieldstring

Command

public RepeatedField<string> Command { get; }

The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

Property Value
Type Description
RepeatedFieldstring

Env

public RepeatedField<EnvVar> Env { get; }

Environment variables to be passed to the container. Maximum limit is 100.

Property Value
Type Description
RepeatedFieldEnvVar

ImageUri

public string ImageUri { get; set; }

Required. The URI of a container image in the Container Registry that is to be run on each worker replica.

Property Value
Type Description
string