Interface ContainerImageSettings.DefinitionStages.WithRegistryCredentials<ParentT>

Type Parameters:
ParentT - the stage of the parent definition to return to after attaching this definition
All Known Subinterfaces:
ContainerImageSettings.Definition<ParentT>
Enclosing interface:
ContainerImageSettings.DefinitionStages

public static interface ContainerImageSettings.DefinitionStages.WithRegistryCredentials<ParentT>
Specifies container registry credentials.
  • Method Details

    • withRegistryPassword

      Specifies password for container registry.
      Parameters:
      password - password to login
      Returns:
      the next stage of the definition
    • withRegistrySecretReference

      ContainerImageSettings.DefinitionStages.WithAttach<ParentT> withRegistrySecretReference(String keyVaultId, String secretUrl)
      Specifies the location of the password, which is a Key Vault Secret. Users can store their secrets in Azure KeyVault and pass it to the Batch AI Service to integrate with KeyVault.
      Parameters:
      keyVaultId - the key vault id
      secretUrl - the secret ulr
      Returns:
      the next stage of the definition