Interface BatchAIJob.DefinitionStages.WithEnvironmentVariableSecretValue
- All Known Subinterfaces:
BatchAIJob.Definition
,BatchAIJob.DefinitionStages.WithCreate
- Enclosing interface:
- BatchAIJob.DefinitionStages
public static interface BatchAIJob.DefinitionStages.WithEnvironmentVariableSecretValue
The stage of the Batch AI job 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
BatchAIJob.DefinitionStages.WithCreate 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
BatchAIJob.DefinitionStages.WithCreate 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
-