ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithEnvironmentVariables<ParentT>.withEnvironmentVariable(String envName, String envValue) 方法

定义

Specifies the environment variable.

public WithContainerInstanceAttach<ParentT> withEnvironmentVariable(String envName, String envValue)

参数

envName
String

the environment variable name

envValue
String

the environment variable value

返回

适用于