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 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 set
      value - 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 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