Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

## 1.5.0-beta.1 (Unreleased)
## 1.5.0-beta.1 (2025-12-10)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Upgraded RegistryTasks api-version to 2025-03-01-preview.

## 1.4.0 (2025-11-05)

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#nullable disable

using System.Collections.Generic;
using Azure.ResourceManager.Models;

namespace Azure.ResourceManager.ContainerRegistry
{
/// <summary>
/// A class representing the ContainerRegistryPrivateLinkResource data model.
/// A private link resource.
/// </summary>
public partial class ContainerRegistryPrivateLinkResourceData : ResourceData
{
/// <summary> The private link resource private link DNS zone name. </summary>
[WirePath("properties.requiredZoneNames")]
public IReadOnlyList<string> RequiredZoneNames { get; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#nullable disable

using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.ResourceManager.ContainerRegistry.Models;
using Azure.ResourceManager.Resources;

namespace Azure.ResourceManager.ContainerRegistry
{
/// <summary>
/// A Class representing a ContainerRegistry along with the instance operations that can be performed on it.
/// If you have a <see cref="ResourceIdentifier"/> you can construct a <see cref="ContainerRegistryResource"/>
/// from an instance of <see cref="ArmClient"/> using the GetContainerRegistryResource method.
/// Otherwise you can get one from its parent resource <see cref="ResourceGroupResource"/> using the GetContainerRegistry method.
/// </summary>
public partial class ContainerRegistryResource : ArmResource
{
/// <summary>
/// Schedules a new run based on the request parameters and add it to the run queue.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Schedules_ScheduleRun</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="content"> The parameters of a run that needs to scheduled. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
/// <exception cref="ArgumentNullException"> <paramref name="content"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Task<Response<ContainerRegistryRunResource>> ScheduleRunAsync(ContainerRegistryRunContent content, CancellationToken cancellationToken = default) instead")]
public virtual Task<ArmOperation<ContainerRegistryRunResource>> ScheduleRunAsync(WaitUntil waitUntil, ContainerRegistryRunContent content, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}

/// <summary>
/// Schedules a new run based on the request parameters and add it to the run queue.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Schedules_ScheduleRun</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="content"> The parameters of a run that needs to scheduled. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
/// <exception cref="ArgumentNullException"> <paramref name="content"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Response<ContainerRegistryRunResource> ScheduleRun(ContainerRegistryRunContent content, CancellationToken cancellationToken = default) instead")]
public virtual ArmOperation<ContainerRegistryRunResource> ScheduleRun(WaitUntil waitUntil, ContainerRegistryRunContent content, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#nullable disable

using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.ResourceManager.ContainerRegistry.Models;

namespace Azure.ResourceManager.ContainerRegistry
{
/// <summary>
/// A Class representing a ContainerRegistryRun along with the instance operations that can be performed on it.
/// If you have a <see cref="ResourceIdentifier"/> you can construct a <see cref="ContainerRegistryRunResource"/>
/// from an instance of <see cref="ArmClient"/> using the GetContainerRegistryRunResource method.
/// Otherwise you can get one from its parent resource <see cref="ContainerRegistryResource"/> using the GetContainerRegistryRun method.
/// </summary>
public partial class ContainerRegistryRunResource : ArmResource
{
/// <summary>
/// Patch the run properties.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Runs_Update</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ContainerRegistryRunResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="patch"> The run update properties. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Task<Response<ContainerRegistryRunResource>> UpdateAsync(ContainerRegistryRunPatch patch, CancellationToken cancellationToken = default) instead")]
public virtual Task<ArmOperation<ContainerRegistryRunResource>> UpdateAsync(WaitUntil waitUntil, ContainerRegistryRunPatch patch, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}

/// <summary>
/// Patch the run properties.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Runs_Update</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ContainerRegistryRunResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="patch"> The run update properties. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Response<ContainerRegistryRunResource> Update(ContainerRegistryRunPatch patch, CancellationToken cancellationToken = default) instead")]
public virtual ArmOperation<ContainerRegistryRunResource> Update(WaitUntil waitUntil, ContainerRegistryRunPatch patch, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}

/// <summary>
/// Cancel an existing run.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Runs_Cancel</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ContainerRegistryRunResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Task<Response> CancelAsync(CancellationToken cancellationToken = default) instead")]
public virtual Task<ArmOperation> CancelAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}

/// <summary>
/// Cancel an existing run.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Runs_Cancel</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ContainerRegistryRunResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Response Cancel(CancellationToken cancellationToken = default) instead")]
public virtual ArmOperation Cancel(WaitUntil waitUntil, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#nullable disable

using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.ResourceManager.ContainerRegistry.Models;

namespace Azure.ResourceManager.ContainerRegistry
{
/// <summary>
/// A Class representing a ContainerRegistryTask along with the instance operations that can be performed on it.
/// If you have a <see cref="ResourceIdentifier"/> you can construct a <see cref="ContainerRegistryTaskResource"/>
/// from an instance of <see cref="ArmClient"/> using the GetContainerRegistryTaskResource method.
/// Otherwise you can get one from its parent resource <see cref="ContainerRegistryResource"/> using the GetContainerRegistryTask method.
/// </summary>
public partial class ContainerRegistryTaskResource : ArmResource
{
/// <summary>
/// Updates a task with the specified parameters.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Tasks_Update</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ContainerRegistryTaskResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="patch"> The parameters for updating a task. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Task<Response<ContainerRegistryTaskResource>> UpdateAsync(ContainerRegistryTaskPatch patch, CancellationToken cancellationToken = default) instead")]
public virtual Task<ArmOperation<ContainerRegistryTaskResource>> UpdateAsync(WaitUntil waitUntil, ContainerRegistryTaskPatch patch, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}

/// <summary>
/// Updates a task with the specified parameters.
/// <list type="bullet">
/// <item>
/// <term>Request Path</term>
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}</description>
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>Tasks_Update</description>
/// </item>
/// <item>
/// <term>Default Api Version</term>
/// <description>2019-06-01-preview</description>
/// </item>
/// <item>
/// <term>Resource</term>
/// <description><see cref="ContainerRegistryTaskResource"/></description>
/// </item>
/// </list>
/// </summary>
/// <param name="waitUntil"> <see cref="WaitUntil.Completed"/> if the method should wait to return until the long-running operation has completed on the service; <see cref="WaitUntil.Started"/> if it should return after starting the operation. For more information on long-running operations, please see <see href="https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md"> Azure.Core Long-Running Operation samples</see>. </param>
/// <param name="patch"> The parameters for updating a task. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is deprecated, use Response<ContainerRegistryTaskResource> Update(ContainerRegistryTaskPatch patch, CancellationToken cancellationToken = default) instead")]
public virtual ArmOperation<ContainerRegistryTaskResource> Update(WaitUntil waitUntil, ContainerRegistryTaskPatch patch, CancellationToken cancellationToken = default)
{
throw new NotSupportedException();
}
}
}
Loading