Class ImageRegistryCredential
java.lang.Object
com.microsoft.azure.management.containerinstance.ImageRegistryCredential
Image registry credential.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionpassword()Get the password for the private registry.server()Get the Docker image registry server without a protocol such as "http" and "https".username()Get the username for the private registry.withPassword(String password) Set the password for the private registry.withServer(String server) Set the Docker image registry server without a protocol such as "http" and "https".withUsername(String username) Set the username for the private registry.
- 
Constructor Details- 
ImageRegistryCredentialpublic ImageRegistryCredential()
 
- 
- 
Method Details- 
serverGet the Docker image registry server without a protocol such as "http" and "https".- Returns:
- the server value
 
- 
withServerSet the Docker image registry server without a protocol such as "http" and "https".- Parameters:
- server- the server value to set
- Returns:
- the ImageRegistryCredential object itself.
 
- 
usernameGet the username for the private registry.- Returns:
- the username value
 
- 
withUsernameSet the username for the private registry.- Parameters:
- username- the username value to set
- Returns:
- the ImageRegistryCredential object itself.
 
- 
passwordGet the password for the private registry.- Returns:
- the password value
 
- 
withPasswordSet the password for the private registry.- Parameters:
- password- the password value to set
- Returns:
- the ImageRegistryCredential object itself.
 
 
-