WebAppEnvironmentVariable(String, String) Constructor

Definition

Initializes a new instance of WebAppEnvironmentVariable.

public WebAppEnvironmentVariable(string name, string value);
new Azure.ResourceManager.AppService.Models.WebAppEnvironmentVariable : string * string -> Azure.ResourceManager.AppService.Models.WebAppEnvironmentVariable
Public Sub New (name As String, value As String)

Parameters

name
String

Environment variable name Serialized Name: EnvironmentVariable.name

value
String

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. Serialized Name: EnvironmentVariable.value

Exceptions

name or value is null.

Applies to