Interface Registries
-
- All Superinterfaces:
HasManager<ContainerRegistryManager>,SupportsBatchCreation<Registry>,SupportsCreating<Registry.DefinitionStages.Blank>,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsGettingById<Registry>,SupportsGettingByResourceGroup<Registry>,SupportsListing<Registry>,SupportsListingByResourceGroup<Registry>
public interface Registries extends SupportsCreating<Registry.DefinitionStages.Blank>, HasManager<ContainerRegistryManager>, SupportsBatchCreation<Registry>, SupportsGettingById<Registry>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsListingByResourceGroup<Registry>, SupportsGettingByResourceGroup<Registry>, SupportsListing<Registry>
Entry point to the registry management API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRegistries.WebhooksClientGrouping of registry webhook actions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckNameAvailabilityResultcheckNameAvailability(String name)Checks if the specified container registry name is valid and available.Mono<CheckNameAvailabilityResult>checkNameAvailabilityAsync(String name)Checks if container registry name is valid and is not in use asynchronously.SourceUploadDefinitiongetBuildSourceUploadUrl(String rgName, String acrName)The function that gets the URL of the build source upload.Mono<SourceUploadDefinition>getBuildSourceUploadUrlAsync(String rgName, String acrName)The function that gets the URL of the build source upload ashnchronously.RegistryCredentialsgetCredentials(String resourceGroupName, String registryName)Gets the login credentials for the specified container registry.Mono<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.com.azure.core.http.rest.PagedFlux<RegistryUsage>listQuotaUsagesAsync(String resourceGroupName, String registryName)Lists the quota usages for the specified container registry.RegistryCredentialsregenerateCredential(String resourceGroupName, String registryName, AccessKeyType accessKeyType)Regenerates the value for one of the admin user access key for the specified container registry.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.Registries.WebhooksClientwebhooks()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
define
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
-
-
-
Method Detail
-
getCredentials
RegistryCredentials getCredentials(String resourceGroupName, String registryName)
Gets the login credentials for the specified container registry.- Parameters:
resourceGroupName- the resource group nameregistryName- the registry name- Returns:
- the container registry's login credentials
-
getCredentialsAsync
Mono<RegistryCredentials> getCredentialsAsync(String resourceGroupName, String registryName)
Gets the login credentials for the specified container registry.- Parameters:
resourceGroupName- the resource group nameregistryName- the registry name- Returns:
- a representation of the future computation of this call, returning the container registry's login credentials
-
regenerateCredential
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 nameregistryName- the registry nameaccessKeyType- the admin user access key name to regenerate the value for- Returns:
- the container registry's login credentials
-
regenerateCredentialAsync
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.- Parameters:
resourceGroupName- the resource group nameregistryName- the registry nameaccessKeyType- 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
-
listQuotaUsages
Collection<RegistryUsage> listQuotaUsages(String resourceGroupName, String registryName)
Lists the quota usages for the specified container registry.- Parameters:
resourceGroupName- the resource group nameregistryName- the registry name- Returns:
- the list of container registry's quota usages
-
listQuotaUsagesAsync
com.azure.core.http.rest.PagedFlux<RegistryUsage> listQuotaUsagesAsync(String resourceGroupName, String registryName)
Lists the quota usages for the specified container registry.- Parameters:
resourceGroupName- the resource group nameregistryName- the registry name- Returns:
- a representation of the future computation of this call, returning the list of container registry's quota usages
-
checkNameAvailability
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
Mono<CheckNameAvailabilityResult> 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
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
Mono<SourceUploadDefinition> 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.
-
webhooks
Registries.WebhooksClient webhooks()
- Returns:
- returns entry point to manage container registry webhooks.
-
-