Class ImageRegistryCredential
java.lang.Object
com.microsoft.azure.management.containerinstance.ImageRegistryCredential
Image registry credential.
-
Constructor Summary
-
Method Summary
Modifier 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
-
ImageRegistryCredential
public ImageRegistryCredential()
-
-
Method Details
-
server
Get the Docker image registry server without a protocol such as "http" and "https".- Returns:
- the server value
-
withServer
Set 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.
-
username
Get the username for the private registry.- Returns:
- the username value
-
withUsername
Set the username for the private registry.- Parameters:
username
- the username value to set- Returns:
- the ImageRegistryCredential object itself.
-
password
Get the password for the private registry.- Returns:
- the password value
-
withPassword
Set the password for the private registry.- Parameters:
password
- the password value to set- Returns:
- the ImageRegistryCredential object itself.
-