Share via


ContainerAppEnvironmentVariable Class

Definition

Container App container environment variable.

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

Constructors

ContainerAppEnvironmentVariable()

Initializes a new instance of ContainerAppEnvironmentVariable.

Properties

Name

Environment variable name.

SecretRef

Name of the Container App secret from which to pull the environment variable value.

Value

Non-secret environment variable value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppEnvironmentVariable>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppEnvironmentVariable>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppEnvironmentVariable>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppEnvironmentVariable>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppEnvironmentVariable>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to