Share via


ContainerEnvironmentVariable Class

Definition

The environment variable to set within the container instance.

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

Constructors

ContainerEnvironmentVariable(String)

Initializes a new instance of ContainerEnvironmentVariable.

Properties

Name

The name of the environment variable.

SecureValue

The value of the secure environment variable.

Value

The value of the environment variable.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerEnvironmentVariable>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerEnvironmentVariable>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerEnvironmentVariable>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerEnvironmentVariable>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerEnvironmentVariable>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to