共用方式為


IWithEnvironmentVariables<ParentT>.WithEnvironmentVariables Method

Definition

Specifies the environment variables.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<ParentT> WithEnvironmentVariables (System.Collections.Generic.IDictionary<string,string> environmentVariables);
abstract member WithEnvironmentVariables : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithEnvironmentVariables (environmentVariables As IDictionary(Of String, String)) As IWithContainerInstanceAttach(Of ParentT)

Parameters

environmentVariables
IDictionary<String,String>

The environment variables in a name and value pair to be set after the container gets initialized.

Returns

Applies to