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 Summary
Modifier and TypeMethodDescriptionwithRegistryPassword
(String password) Specifies password for container registry.withRegistrySecretReference
(String keyVaultId, String secretUrl) Specifies the location of the password, which is a Key Vault Secret.
-
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 idsecretUrl
- the secret ulr- Returns:
- the next stage of the definition
-