Registries Interface

Implements

public interface Registries
extends SupportsCreating<Blank>, HasManager<ContainerRegistryManager>, HasInner<RegistriesInner>, SupportsBatchCreation<Registry>, SupportsGettingById<Registry>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsListingByResourceGroup<Registry>, SupportsGettingByResourceGroup<Registry>, SupportsListing<Registry>

Entry point to the registry management API.

Method Summary

Modifier and Type Method and Description
abstract CheckNameAvailabilityResult checkNameAvailability(String name)

Checks if the specified container registry name is valid and available.

abstract rx.Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

Checks if container registry name is valid and is not in use asynchronously.

abstract SourceUploadDefinition getBuildSourceUploadUrl(String rgName, String acrName)

The function that gets the URL of the build source upload.

abstract rx.Observable<SourceUploadDefinition> getBuildSourceUploadUrlAsync(String rgName, String acrName)

The function that gets the URL of the build source upload ashnchronously.

abstract RegistryCredentials getCredentials(String resourceGroupName, String registryName)

Gets the login credentials for the specified container registry.

abstract rx.Observable<RegistryCredentials> getCredentialsAsync(String resourceGroupName, String registryName)

Gets the login credentials for the specified container registry.

abstract java.util.Collection<RegistryUsage> listQuotaUsages(String resourceGroupName, String registryName)

Lists the quota usages for the specified container registry.

abstract rx.Observable<RegistryUsage> listQuotaUsagesAsync(String resourceGroupName, String registryName)

Lists the quota usages for the specified container registry.

abstract RegistryCredentials regenerateCredential(String resourceGroupName, String registryName, AccessKeyType accessKeyType)

Regenerates the value for one of the admin user access key for the specified container registry.

abstract rx.Observable<RegistryCredentials> regenerateCredentialAsync(String resourceGroupName, String registryName, AccessKeyType accessKeyType)

Regenerates the value for one of the admin user access key for the specified container registry.

abstract WebhooksClient webhooks()

Method Details

checkNameAvailability

public abstract CheckNameAvailabilityResult checkNameAvailability(String name)

Checks if the specified container registry name is valid and available.

Parameters:

name - the container registry name to check

Returns:

whether the name is available and other info if not

checkNameAvailabilityAsync

public abstract Observable checkNameAvailabilityAsync(String name)

Checks if container registry name is valid and is not in use asynchronously.

Parameters:

name - the container registry name to check

Returns:

a representation of the future computation of this call, returning whether the name is available or other info if not

getBuildSourceUploadUrl

public abstract SourceUploadDefinition getBuildSourceUploadUrl(String rgName, String acrName)

The function that gets the URL of the build source upload.

Parameters:

rgName - the name of the resource group.
acrName - the name of the container.

Returns:

the URL of the build source upload.

getBuildSourceUploadUrlAsync

public abstract Observable getBuildSourceUploadUrlAsync(String rgName, String acrName)

The function that gets the URL of the build source upload ashnchronously.

Parameters:

rgName - the name of the resource group.
acrName - the name of the container.

Returns:

the URL of the build source upload.

getCredentials

public abstract RegistryCredentials getCredentials(String resourceGroupName, String registryName)

Gets the login credentials for the specified container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name

Returns:

the container registry's login credentials

getCredentialsAsync

public abstract Observable getCredentialsAsync(String resourceGroupName, String registryName)

Gets the login credentials for the specified container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name

Returns:

a representation of the future computation of this call, returning the container registry's login credentials

listQuotaUsages

public abstract Collection listQuotaUsages(String resourceGroupName, String registryName)

Lists the quota usages for the specified container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name

Returns:

the list of container registry's quota usages

listQuotaUsagesAsync

public abstract Observable listQuotaUsagesAsync(String resourceGroupName, String registryName)

Lists the quota usages for the specified container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name

Returns:

a representation of the future computation of this call, returning the list of container registry's quota usages

regenerateCredential

public abstract RegistryCredentials regenerateCredential(String resourceGroupName, String registryName, AccessKeyType accessKeyType)

Regenerates the value for one of the admin user access key for the specified container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name
accessKeyType - the admin user access key name to regenerate the value for

Returns:

the container registry's login credentials

regenerateCredentialAsync

public abstract Observable regenerateCredentialAsync(String resourceGroupName, String registryName, AccessKeyType accessKeyType)

Regenerates the value for one of the admin user access key for the specified container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name
accessKeyType - the admin user access key name to regenerate the value for

Returns:

a representation of the future computation of this call, returning the container registry's login credentials

webhooks

public abstract Registries.WebhooksClient webhooks()

Returns:

returns entry point to manage container registry webhooks.

Applies to