Share via


ScriptEnvironmentVariable Class

Definition

The environment variable to pass to the script in the container instance.

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

Constructors

ScriptEnvironmentVariable(String)

Initializes a new instance of ScriptEnvironmentVariable.

Properties

Name

The name of the environment variable.

SecureValue

The value of the secure environment variable.

Value

The value of the environment variable.

Explicit Interface Implementations

IJsonModel<ScriptEnvironmentVariable>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScriptEnvironmentVariable>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScriptEnvironmentVariable>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScriptEnvironmentVariable>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScriptEnvironmentVariable>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to