Delen 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

EnvironmentSetting(String)

Initializes a new instance of EnvironmentSetting.

Properties

Name

The name of the environment variable.

Value

The value of the environment variable.

Explicit Interface Implementations

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