Partilhar via


Registries Interface

Implements

public interface Registries
extends SupportsCreating<Blank>, HasManager<ContainerRegistryManager>, 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 Mono<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 Mono<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 Mono<RegistryCredentials> getCredentialsAsync(String resourceGroupName, String registryName)

Gets the login credentials for the specified container registry.

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

Lists the quota usages for the specified container registry.

abstract PagedFlux<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 Mono<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 Mono 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 Mono 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 Mono 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 PagedFlux 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 Mono 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