다음을 통해 공유


IWithEnvironmentVariables<ParentT>.WithEnvironmentVariable Method

Definition

Specifies the environment variable.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<ParentT> WithEnvironmentVariable (string envName, string envValue);
abstract member WithEnvironmentVariable : string * string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithEnvironmentVariable (envName As String, envValue As String) As IWithContainerInstanceAttach(Of ParentT)

Parameters

envName
String

The environment variable name.

envValue
String

The environment variable value.

Returns

Applies to