diff --git a/sdk/containerregistry/azure-resourcemanager-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-resourcemanager-containerregistry/CHANGELOG.md index 99731ebcb11d..4f52f5c8195f 100644 --- a/sdk/containerregistry/azure-resourcemanager-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-resourcemanager-containerregistry/CHANGELOG.md @@ -4,20 +4,245 @@ ### Breaking Changes -- Removed `resourceGroupName` and `autoGeneratedDomainNameLabelScope` from `RegistryNameCheckRequest` class. These APIs do not exist in api-version 2025-11-01. +#### `models.OperationListResult` was removed -#### Changes to `ContainerRegistryManagementClient` Class +#### `models.TokenListResult` was removed -- Moved `ContainerRegistryManager.serviceClient().getAgentPools()` to `ContainerRegistryManager.taskClient().getAgentPools()`. -- Moved `ContainerRegistryManager.serviceClient().getRuns()` to `ContainerRegistryManager.taskClient().getRuns()`. -- Moved `ContainerRegistryManager.serviceClient().getTaskRuns()` to `ContainerRegistryManager.taskClient().getTaskRuns()`. -- Moved `ContainerRegistryManager.serviceClient().getTasks()` to `ContainerRegistryManager.taskClient().getTasks()`. -- Moved `ContainerRegistryManager.serviceClient().getRegistries().scheduleRun(...)` to `ContainerRegistryManager.taskClient().getRegistryTasks().scheduleRun(...)`. -- Moved `ContainerRegistryManager.serviceClient().getRegistries().getBuildSourceUploadUrl(...)` to `ContainerRegistryManager.taskClient().getRegistryTasks().getBuildSourceUploadUrl(...)`. +#### `models.ConnectedRegistryListResult` was removed -### Other Changes +#### `models.ReplicationListResult` was removed + +#### `models.RegistryListResult` was removed + +#### `models.CredentialSetListResult` was removed + +#### `models.PrivateEndpointConnectionListResult` was removed + +#### `models.EventListResult` was removed + +#### `models.ScopeMapListResult` was removed + +#### `models.WebhookListResult` was removed + +#### `models.PrivateLinkResourceListResult` was removed + +#### `models.CacheRulesListResult` was removed + +#### `models.OperationMetricSpecificationDefinition` was modified + +* `OperationMetricSpecificationDefinition()` was changed to private access +* `withDisplayDescription(java.lang.String)` was removed +* `withAggregationType(java.lang.String)` was removed +* `withInternalMetricName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed + +#### `models.TlsProperties` was modified + +* `TlsProperties()` was changed to private access + +#### `models.RegistryPassword` was modified + +* `RegistryPassword()` was changed to private access +* `withName(models.PasswordName)` was removed +* `withValue(java.lang.String)` was removed + +#### `models.TlsCertificateProperties` was modified + +* `TlsCertificateProperties()` was changed to private access + +#### `models.SourceRegistryCredentials` was modified + +* `withIdentity(java.lang.String)` was removed +* `identity()` was removed + +#### `models.Target` was modified + +* `Target()` was changed to private access +* `withDigest(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withTag(java.lang.String)` was removed +* `withUrl(java.lang.String)` was removed +* `withLength(java.lang.Long)` was removed +* `withRepository(java.lang.String)` was removed +* `withVersion(java.lang.String)` was removed +* `withMediaType(java.lang.String)` was removed +* `withSize(java.lang.Long)` was removed + +#### `models.StatusDetailProperties` was modified + +* `StatusDetailProperties()` was changed to private access + +#### `models.Status` was modified + +* `Status()` was changed to private access + +#### `models.OperationServiceSpecificationDefinition` was modified + +* `OperationServiceSpecificationDefinition()` was changed to private access +* `withMetricSpecifications(java.util.List)` was removed +* `withLogSpecifications(java.util.List)` was removed + +#### `models.Actor` was modified + +* `Actor()` was changed to private access +* `withName(java.lang.String)` was removed + +#### `models.Source` was modified + +* `Source()` was changed to private access +* `withInstanceId(java.lang.String)` was removed +* `withAddr(java.lang.String)` was removed + +#### `models.RegistryUsage` was modified + +* `RegistryUsage()` was changed to private access +* `withLimit(java.lang.Long)` was removed +* `withUnit(models.RegistryUsageUnit)` was removed +* `withCurrentValue(java.lang.Long)` was removed +* `withName(java.lang.String)` was removed + +#### `models.EventResponseMessage` was modified + +* `EventResponseMessage()` was changed to private access +* `withReasonPhrase(java.lang.String)` was removed +* `withVersion(java.lang.String)` was removed +* `withHeaders(java.util.Map)` was removed +* `withContent(java.lang.String)` was removed +* `withStatusCode(java.lang.String)` was removed + +#### `models.EventContent` was modified + +* `EventContent()` was changed to private access +* `withRequest(models.Request)` was removed +* `withSource(models.Source)` was removed +* `withAction(java.lang.String)` was removed +* `withTarget(models.Target)` was removed +* `withTimestamp(java.time.OffsetDateTime)` was removed +* `withId(java.lang.String)` was removed +* `withActor(models.Actor)` was removed + +#### `models.OperationDisplayDefinition` was modified + +* `OperationDisplayDefinition()` was changed to private access +* `withDescription(java.lang.String)` was removed +* `withResource(java.lang.String)` was removed +* `withProvider(java.lang.String)` was removed +* `withOperation(java.lang.String)` was removed + +#### `models.ActivationProperties` was modified + +* `ActivationProperties()` was changed to private access + +#### `models.EventRequestMessage` was modified + +* `EventRequestMessage()` was changed to private access +* `withMethod(java.lang.String)` was removed +* `withRequestUri(java.lang.String)` was removed +* `withContent(models.EventContent)` was removed +* `withVersion(java.lang.String)` was removed +* `withHeaders(java.util.Map)` was removed + +#### `models.CredentialHealth` was modified + +* `CredentialHealth()` was changed to private access +* `withStatus(models.CredentialHealthStatus)` was removed +* `withErrorCode(java.lang.String)` was removed +* `withErrorMessage(java.lang.String)` was removed + +#### `models.OperationLogSpecificationDefinition` was modified + +* `OperationLogSpecificationDefinition()` was changed to private access +* `withDisplayName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed + +#### `models.Request` was modified + +* `Request()` was changed to private access +* `withHost(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withMethod(java.lang.String)` was removed +* `withUseragent(java.lang.String)` was removed +* `withAddr(java.lang.String)` was removed + +### Features Added + +* `models.PipelineTriggerDescriptor` was added + +* `models.ArchiveUpdateParameters` was added + +* `models.ProgressProperties` was added + +* `models.PipelineOptions` was added + +* `models.PipelineSourceTriggerDescriptor` was added + +* `models.PipelineRunTargetProperties` was added + +* `models.ArchivePackageSourceProperties` was added + +* `models.MetadataSearch` was added + +* `models.RegistrySyncResult` was added + +* `models.ExportPipelineTargetProperties` was added + +* `models.ImportPipelineSourceProperties` was added + +* `models.SyncState` was added + +* `models.SoftDeletePolicy` was added + +* `models.PipelineRunRequest` was added + +* `models.PipelineSourceType` was added + +* `models.RegionalEndpoints` was added + +* `models.PackageSourceType` was added + +* `models.PipelineRunSourceProperties` was added + +* `models.PipelineRunSourceType` was added + +* `models.SyncTrigger` was added + +* `models.EndpointProtocol` was added + +* `models.PipelineRunResponse` was added + +* `models.PipelineSourceTriggerProperties` was added + +* `models.PipelineTriggerProperties` was added + +* `models.StorageAccessMode` was added + +* `models.PipelineRunTargetType` was added + +#### `models.CacheRuleUpdateParameters` was modified + +* `identity()` was added +* `withIdentity(models.IdentityProperties)` was added + +#### `models.Policies` was modified + +* `withSoftDeletePolicy(models.SoftDeletePolicy)` was added +* `softDeletePolicy()` was added + +#### `models.RegistryUpdateParameters` was modified + +* `metadataSearch()` was added +* `withRegionalEndpoints(models.RegionalEndpoints)` was added +* `withMetadataSearch(models.MetadataSearch)` was added +* `endpointProtocol()` was added +* `regionalEndpoints()` was added +* `withEndpointProtocol(models.EndpointProtocol)` was added + +#### `ContainerRegistryManager` was modified -- Registry Tasks related feature is deprecated in this library. Please use "azure-resourcemanager-containerregistry-tasks" library. +* `taskClient()` was added ## 2.54.2 (2026-01-29) diff --git a/sdk/containerregistry/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/models/TriggerStatus.java b/sdk/containerregistry/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/models/TriggerStatus.java deleted file mode 100644 index da23d272d08a..000000000000 --- a/sdk/containerregistry/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/models/TriggerStatus.java +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.resourcemanager.containerregistry.models; - -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The current status of trigger. - */ -public final class TriggerStatus extends ExpandableStringEnum { - /** - * Static value Disabled for TriggerStatus. - */ - public static final TriggerStatus DISABLED = fromString("Disabled"); - - /** - * Static value Enabled for TriggerStatus. - */ - public static final TriggerStatus ENABLED = fromString("Enabled"); - - /** - * Creates a new instance of TriggerStatus value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Deprecated - public TriggerStatus() { - } - - /** - * Creates or finds a TriggerStatus from its string representation. - * - * @param name a name to look for. - * @return the corresponding TriggerStatus. - */ - public static TriggerStatus fromString(String name) { - return fromString(name, TriggerStatus.class); - } - - /** - * Gets known TriggerStatus values. - * - * @return known TriggerStatus values. - */ - public static Collection values() { - return values(TriggerStatus.class); - } -} diff --git a/sdk/containerregistry/azure-resourcemanager-containerregistry/tsp-location.yaml b/sdk/containerregistry/azure-resourcemanager-containerregistry/tsp-location.yaml index f9da72965ed3..2307456c3e2b 100644 --- a/sdk/containerregistry/azure-resourcemanager-containerregistry/tsp-location.yaml +++ b/sdk/containerregistry/azure-resourcemanager-containerregistry/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry -commit: 6d00d74a16a7305aa9064fc5a534167cc2fbe0a2 +commit: b37b0676411ff84913d5358998668b867ac75a0f repo: Azure/azure-rest-api-specs additionalDirectories: