public interface Registries extends SupportsCreating<Registry.DefinitionStages.Blank>,HasManager,HasInner,SupportsBatchCreation,SupportsGettingById,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsListingByResourceGroup,SupportsGettingByResourceGroup,SupportsListing
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.