你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EnvironmentVariable Class

EnvironmentVariable.

All required parameters must be populated in order to send to server.

Constructor

EnvironmentVariable(*, name: str, value: str, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

Environment variable name. Required.

value
str

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. Required.

Variables

Name Description
name
str

Environment variable name. Required.

value
str

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. Required.