Registries Interface

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

Entry point to the registry management API.

Method Summary

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

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

Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

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

SourceUploadDefinition getBuildSourceUploadUrl(String rgName, String acrName)

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

Observable<SourceUploadDefinition> getBuildSourceUploadUrlAsync(String rgName, String acrName)

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

RegistryCredentials getCredentials(String resourceGroupName, String registryName)

Gets the login credentials for the specified container registry.

Observable<RegistryCredentials> getCredentialsAsync(String resourceGroupName, String registryName)

Gets the login credentials for the specified container registry.

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

Lists the quota usages for the specified container registry.

Observable<RegistryUsage> listQuotaUsagesAsync(String resourceGroupName, String registryName)

Lists the quota usages for the specified container registry.

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

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

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.

Registries.WebhooksClient webhooks()

Inherited Members

SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables) SupportsCreating<T>.define(String name) SupportsDeletingById.deleteById(String id) SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback) SupportsDeletingById.deleteByIdAsync(String id) SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingById<T>.getById(String id) SupportsGettingById<T>.getByIdAsync(String id) SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback) SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback) HasInner<T>.inner() SupportsListing<T>.list() SupportsListing<T>.listAsync() SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName) SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName) HasManager<ManagerT>.manager()

Method Details

checkNameAvailability

public 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 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 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 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 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 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 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 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 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 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 WebhooksClient webhooks()

Returns:

returns entry point to manage container registry webhooks.

Applies to