Registry Interface

Implements

public interface Registry
extends GroupableResource<ContainerRegistryManager,RegistryInner>, Refreshable<Registry>, Updatable<Update>, SupportsListingPrivateLinkResource, SupportsListingPrivateEndpointConnection, SupportsUpdatingPrivateEndpointConnection

An immutable client-side representation of an Azure registry.

Method Summary

Modifier and Type Method and Description
abstract boolean adminUserEnabled()
abstract boolean canAccessFromTrustedServices()
abstract OffsetDateTime creationDate()
abstract List<String> dedicatedDataEndpointsHostNames()
abstract SourceUploadDefinition getBuildSourceUploadUrl()
abstract Mono<SourceUploadDefinition> getBuildSourceUploadUrlAsync()

Gets the upload location for the user to be able to upload the source asynchronously.

abstract RegistryCredentials getCredentials()
abstract Mono<RegistryCredentials> getCredentialsAsync()
abstract boolean isDedicatedDataEndpointsEnabled()
abstract boolean isZoneRedundancyEnabled()
abstract Collection<RegistryUsage> listQuotaUsages()

Lists the quota usages for the specified container registry.

abstract PagedFlux<RegistryUsage> listQuotaUsagesAsync()

Lists the quota usages for the specified container registry.

abstract String loginServerUrl()
abstract NetworkRuleSet networkRuleSet()
abstract PublicNetworkAccess publicNetworkAccess()
abstract RegistryCredentials regenerateCredential(AccessKeyType accessKeyType)

Regenerates one of the login credentials for the specified container registry.

abstract Mono<RegistryCredentials> regenerateCredentialAsync(AccessKeyType accessKeyType)

Regenerates one of the login credentials for the specified container registry.

abstract BlankFromRegistry scheduleRun()

Begins the definition of the task run.

abstract Sku sku()
abstract WebhookOperations webhooks()

Method Details

adminUserEnabled

public abstract boolean adminUserEnabled()

Returns:

the value that indicates whether the admin user is enabled

canAccessFromTrustedServices

public abstract boolean canAccessFromTrustedServices()

Returns:

whether the container registry can be access from trusted services

creationDate

public abstract OffsetDateTime creationDate()

Returns:

the creation date of the container registry in ISO8601 format

dedicatedDataEndpointsHostNames

public abstract List dedicatedDataEndpointsHostNames()

Returns:

list of host names that will serve data when isDedicatedDataEndpointsEnabled is true

getBuildSourceUploadUrl

public abstract SourceUploadDefinition getBuildSourceUploadUrl()

Returns:

returns the upload location for the user to be able to upload the source.

getBuildSourceUploadUrlAsync

public abstract Mono getBuildSourceUploadUrlAsync()

Gets the upload location for the user to be able to upload the source asynchronously.

Returns:

a representation of the future computation of this call

getCredentials

public abstract RegistryCredentials getCredentials()

Returns:

the login credentials for the specified container registry

getCredentialsAsync

public abstract Mono getCredentialsAsync()

Returns:

a representation of the future computation of this call

isDedicatedDataEndpointsEnabled

public abstract boolean isDedicatedDataEndpointsEnabled()

Returns:

whether the container registries dedicated data endpoints can be accessed from public network

isZoneRedundancyEnabled

public abstract boolean isZoneRedundancyEnabled()

Returns:

Whether or not zone redundancy is enabled for this container registry

listQuotaUsages

public abstract Collection listQuotaUsages()

Lists the quota usages for the specified container registry.

Returns:

the list of container registry's quota usages

listQuotaUsagesAsync

public abstract PagedFlux listQuotaUsagesAsync()

Lists the quota usages for the specified container registry.

Returns:

a representation of the future computation of this call

loginServerUrl

public abstract String loginServerUrl()

Returns:

the URL that can be used to log into the container registry

networkRuleSet

public abstract NetworkRuleSet networkRuleSet()

Returns:

the network rule set for the container registry

publicNetworkAccess

public abstract PublicNetworkAccess publicNetworkAccess()

Returns:

the state of public network access for the container registry.

regenerateCredential

public abstract RegistryCredentials regenerateCredential(AccessKeyType accessKeyType)

Regenerates one of the login credentials for the specified container registry.

Parameters:

accessKeyType - the admin user access key name to regenerate the value for

Returns:

the result of the regeneration

regenerateCredentialAsync

public abstract Mono regenerateCredentialAsync(AccessKeyType accessKeyType)

Regenerates one of the login credentials for the specified container registry.

Parameters:

accessKeyType - the admin user access key name to regenerate the value for

Returns:

a representation of the future computation of this call

scheduleRun

public abstract RegistryTaskRun.DefinitionStages.BlankFromRegistry scheduleRun()

Begins the definition of the task run.

Returns:

the first stage of the task run definition.

sku

public abstract Sku sku()

Returns:

the SKU of the container registry.

webhooks

public abstract WebhookOperations webhooks()

Returns:

returns entry point to manage container registry webhooks.

Applies to