ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithEnvironmentVariables<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public static interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithEnvironmentVariables<ParentT>

The stage of the container instance definition allowing to specify the environment variables.

Method Summary

Modifier and Type Method and Description
abstract WithContainerInstanceAttach<ParentT> withEnvironmentVariable(String envName, String envValue)

Specifies the environment variable.

abstract WithContainerInstanceAttach<ParentT> withEnvironmentVariables(Map<String,String> environmentVariables)

Specifies the environment variables.

abstract WithContainerInstanceAttach<ParentT> withEnvironmentVariableWithSecuredValue(Map<String,String> environmentVariables)

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

abstract WithContainerInstanceAttach<ParentT> withEnvironmentVariableWithSecuredValue(String envName, String securedValue)

Specifies the environment variable that has a secured value.

Method Details

withEnvironmentVariable

public abstract ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withEnvironmentVariable(String envName, String envValue)

Specifies the environment variable.

Parameters:

envName - the environment variable name
envValue - the environment variable value

Returns:

the next stage of the definition

withEnvironmentVariables

public abstract ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withEnvironmentVariables(Map<String,String> environmentVariables)

Specifies the environment variables.

Parameters:

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

Returns:

the next stage of the definition

withEnvironmentVariableWithSecuredValue

public abstract ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withEnvironmentVariableWithSecuredValue(Map<String,String> environmentVariables)

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

Parameters:

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

Returns:

the next stage of the definition

withEnvironmentVariableWithSecuredValue

public abstract ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withEnvironmentVariableWithSecuredValue(String envName, String securedValue)

Specifies the environment variable that has a secured value.

Parameters:

envName - the environment variable name
securedValue - the environment variable secured value

Returns:

the next stage of the definition

Applies to