共用方式為


IWithEnvironmentVariables<ParentT>.WithEnvironmentVariablesWithSecuredValue Method

Definition

Specifies a collection of name and secure value pairs for the environment variables.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<ParentT> WithEnvironmentVariablesWithSecuredValue (System.Collections.Generic.IDictionary<string,string> environmentVariables);
abstract member WithEnvironmentVariablesWithSecuredValue : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithEnvironmentVariablesWithSecuredValue (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