Interface NodeSetupTask.DefinitionStages.WithEnvironmentVariableSecretValue<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
NodeSetupTask.Definition<ParentT>
,NodeSetupTask.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- NodeSetupTask.DefinitionStages
public static interface NodeSetupTask.DefinitionStages.WithEnvironmentVariableSecretValue<ParentT>
The stage of the setup task definition allowing to specify environment variables with secrets.
-
Method Summary
Modifier and TypeMethodDescriptionwithEnvironmentVariableSecretValue
(String name, String value) Sets the value of the environment variable.withEnvironmentVariableSecretValue
(String name, String keyVaultId, String secretUrl) Specifies KeyVault Store and Secret which contains the value for the environment variable.
-
Method Details
-
withEnvironmentVariableSecretValue
NodeSetupTask.DefinitionStages.WithAttach<ParentT> withEnvironmentVariableSecretValue(String name, String value) Sets the value of the environment variable. This value will never be reported back by Batch AI.- Parameters:
name
- name of the variable to setvalue
- value of the variable to set- Returns:
- the next stage of the definition
-
withEnvironmentVariableSecretValue
NodeSetupTask.DefinitionStages.WithAttach<ParentT> withEnvironmentVariableSecretValue(String name, String keyVaultId, String secretUrl) Specifies KeyVault Store and Secret which contains the value for the environment variable.- Parameters:
name
- name of the variable to setkeyVaultId
- fully qualified resource Id for the Key VaultsecretUrl
- the URL referencing a secret in a Key Vault- Returns:
- the next stage of the definition
-