Partager via


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()

Checks whether the admin user is enabled.

abstract boolean canAccessFromTrustedServices()

Checks whether the container registry can be access from trusted services

abstract OffsetDateTime creationDate()

Gets the creation date of the container registry.

abstract List<String> dedicatedDataEndpointsHostNames()

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

abstract SourceUploadDefinition getBuildSourceUploadUrl()

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

abstract Mono<SourceUploadDefinition> getBuildSourceUploadUrlAsync()

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

abstract RegistryCredentials getCredentials()

Gets the login credentials for the specified container registry.

abstract Mono<RegistryCredentials> getCredentialsAsync()

Gets a representation of the future computation of this call.

abstract boolean isDedicatedDataEndpointsEnabled()

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

abstract boolean isZoneRedundancyEnabled()

Checks whether zone redundancy is enabled for this container registry.

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()

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

abstract NetworkRuleSet networkRuleSet()

Gets the network rule set for the container registry.

abstract PublicNetworkAccess publicNetworkAccess()

Gets the state of public network access for the container registry.

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()

Gets the SKU of the container registry.

abstract WebhookOperations webhooks()

Gets entry point to manage container registry webhooks.

Method Details

adminUserEnabled

public abstract boolean adminUserEnabled()

Checks whether the admin user is enabled.

Returns:

the value that indicates whether the admin user is enabled

canAccessFromTrustedServices

public abstract boolean canAccessFromTrustedServices()

Checks whether the container registry can be access from trusted services

Returns:

whether the container registry can be access from trusted services

creationDate

public abstract OffsetDateTime creationDate()

Gets the creation date of the container registry.

Returns:

the creation date of the container registry in ISO8601 format

dedicatedDataEndpointsHostNames

public abstract List dedicatedDataEndpointsHostNames()

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

Returns:

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

getBuildSourceUploadUrl

public abstract SourceUploadDefinition getBuildSourceUploadUrl()

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

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()

Gets the login credentials for the specified container registry.

Returns:

the login credentials for the specified container registry

getCredentialsAsync

public abstract Mono getCredentialsAsync()

Gets a representation of the future computation of this call.

Returns:

a representation of the future computation of this call

isDedicatedDataEndpointsEnabled

public abstract boolean isDedicatedDataEndpointsEnabled()

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

Returns:

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

isZoneRedundancyEnabled

public abstract boolean isZoneRedundancyEnabled()

Checks whether zone redundancy is enabled for this container registry.

Returns:

Whether 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()

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

Returns:

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

networkRuleSet

public abstract NetworkRuleSet networkRuleSet()

Gets the network rule set for the container registry.

Returns:

the network rule set for the container registry

publicNetworkAccess

public abstract PublicNetworkAccess publicNetworkAccess()

Gets the state of public network access for the container registry.

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()

Gets the SKU of the container registry.

Returns:

the SKU of the container registry.

webhooks

public abstract WebhookOperations webhooks()

Gets entry point to manage container registry webhooks.

Returns:

returns entry point to manage container registry webhooks.

Applies to