ImageDescriptor Class

  • java.lang.Object
    • com.microsoft.azure.management.containerregistry.ImageDescriptor

public class ImageDescriptor

Properties for a registry image.

Method Summary

Modifier and Type Method and Description
String digest()

Get the sha256-based digest of the image manifest.

String registry()

Get the registry login server.

String repository()

Get the repository name.

String tag()

Get the tag name.

ImageDescriptor withDigest(String digest)

Set the sha256-based digest of the image manifest.

ImageDescriptor withRegistry(String registry)

Set the registry login server.

ImageDescriptor withRepository(String repository)

Set the repository name.

ImageDescriptor withTag(String tag)

Set the tag name.

Method Details

digest

public String digest()

Get the sha256-based digest of the image manifest.

Returns:

the digest value

registry

public String registry()

Get the registry login server.

Returns:

the registry value

repository

public String repository()

Get the repository name.

Returns:

the repository value

tag

public String tag()

Get the tag name.

Returns:

the tag value

withDigest

public ImageDescriptor withDigest(String digest)

Set the sha256-based digest of the image manifest.

Parameters:

digest - the digest value to set

Returns:

the ImageDescriptor object itself.

withRegistry

public ImageDescriptor withRegistry(String registry)

Set the registry login server.

Parameters:

registry - the registry value to set

Returns:

the ImageDescriptor object itself.

withRepository

public ImageDescriptor withRepository(String repository)

Set the repository name.

Parameters:

repository - the repository value to set

Returns:

the ImageDescriptor object itself.

withTag

public ImageDescriptor withTag(String tag)

Set the tag name.

Parameters:

tag - the tag value to set

Returns:

the ImageDescriptor object itself.

Applies to