ContainerRegistry Class
- java.
lang. Object - com.
microsoft. azure. management. batch. ContainerRegistry
- com.
public class ContainerRegistry
A private container registry.
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
identityReference()
Get the identityReference value. |
String |
password()
Get the password value. |
String |
registryServer()
Get if omitted, the default is "docker.io". |
String |
userName()
Get the userName value. |
Container |
withIdentityReference(ComputeNodeIdentityReference identityReference)
Set the identityReference value. |
Container |
withPassword(String password)
Set the password value. |
Container |
withRegistryServer(String registryServer)
Set if omitted, the default is "docker.io". |
Container |
withUserName(String userName)
Set the userName value. |
Method Details
identityReference
public ComputeNodeIdentityReference identityReference()
Get the identityReference value.
Returns:
password
public String password()
Get the password value.
Returns:
registryServer
public String registryServer()
Get if omitted, the default is "docker.io".
Returns:
userName
public String userName()
Get the userName value.
Returns:
withIdentityReference
public ContainerRegistry withIdentityReference(ComputeNodeIdentityReference identityReference)
Set the identityReference value.
Parameters:
Returns:
withPassword
public ContainerRegistry withPassword(String password)
Set the password value.
Parameters:
Returns:
withRegistryServer
public ContainerRegistry withRegistryServer(String registryServer)
Set if omitted, the default is "docker.io".
Parameters:
Returns:
withUserName
public ContainerRegistry withUserName(String userName)
Set the userName value.
Parameters:
Returns:
Applies to
Azure SDK for Java