Share via


EnvironmentSetting Class

Definition

An environment variable to be set on a Task process.

public class EnvironmentSetting : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.EnvironmentSetting>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.EnvironmentSetting>
type EnvironmentSetting = class
    interface IJsonModel<EnvironmentSetting>
    interface IPersistableModel<EnvironmentSetting>
Public Class EnvironmentSetting
Implements IJsonModel(Of EnvironmentSetting), IPersistableModel(Of EnvironmentSetting)
Inheritance
EnvironmentSetting
Implements

Constructors

Name Description
EnvironmentSetting(String)

Initializes a new instance of EnvironmentSetting.

Properties

Name Description
Name

The name of the environment variable.

Value

The value of the environment variable.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<EnvironmentSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EnvironmentSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EnvironmentSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EnvironmentSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EnvironmentSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to