Interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithEnvironmentVariables<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.ContainerInstanceDefinition<ParentT>
,ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
,ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT>
- Enclosing interface:
- ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages
@Beta(V1_15_0)
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 TypeMethodDescriptionContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withEnvironmentVariable
(String envName, String envValue) Specifies the environment variable.ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withEnvironmentVariables
(Map<String, String> environmentVariables) Specifies the environment variables.ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withEnvironmentVariableWithSecuredValue
(String envName, String securedValue) Specifies the environment variable that has a secured value.ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withEnvironmentVariableWithSecuredValue
(Map<String, String> environmentVariables) Specifies a collection of name and secure value pairs for the environment variables.
-
Method Details
-
withEnvironmentVariables
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
-
withEnvironmentVariable
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withEnvironmentVariable(String envName, String envValue) Specifies the environment variable.- Parameters:
envName
- the environment variable nameenvValue
- the environment variable value- Returns:
- the next stage of the definition
-
withEnvironmentVariableWithSecuredValue
@Beta(V1_15_0) 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
@Beta(V1_15_0) ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withEnvironmentVariableWithSecuredValue(String envName, String securedValue) Specifies the environment variable that has a secured value.- Parameters:
envName
- the environment variable namesecuredValue
- the environment variable secured value- Returns:
- the next stage of the definition
-