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 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 set
      value - 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 set
      keyVaultId - fully qualified resource Id for the Key Vault
      secretUrl - the URL referencing a secret in a Key Vault
      Returns:
      the next stage of the definition