Share via


WebAppEnvironmentVariable Class

Definition

The WebAppEnvironmentVariable.

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

Constructors

WebAppEnvironmentVariable(String, String)

Initializes a new instance of WebAppEnvironmentVariable.

Properties

Name

Environment variable name.

Value

The value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WebAppEnvironmentVariable>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebAppEnvironmentVariable>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebAppEnvironmentVariable>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebAppEnvironmentVariable>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebAppEnvironmentVariable>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to