-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Release Azure.ResourceManager.ContainerRegistry for RegistryTasks 2025-03-01-preview #54341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
355 changes: 355 additions & 0 deletions
355
...stry/Azure.Containers.ContainerRegistry/api/Azure.Containers.ContainerRegistry.net10.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 2 additions & 6 deletions
8
sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3,287 changes: 3,287 additions & 0 deletions
3,287
....ResourceManager.ContainerRegistry/api/Azure.ResourceManager.ContainerRegistry.net10.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
40 changes: 39 additions & 1 deletion
40
...e.ResourceManager.ContainerRegistry/api/Azure.ResourceManager.ContainerRegistry.net8.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
40 changes: 39 additions & 1 deletion
40
...ceManager.ContainerRegistry/api/Azure.ResourceManager.ContainerRegistry.netstandard2.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
....ResourceManager.ContainerRegistry/src/Custom/ContainerRegistryPrivateLinkResourceData.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; } | ||
| } | ||
| } | ||
80 changes: 80 additions & 0 deletions
80
...rregistry/Azure.ResourceManager.ContainerRegistry/src/Custom/ContainerRegistryResource.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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("This method is no longer supported. Please use `Task<Response<ContainerRegistryRunResource>> ScheduleRunAsync(ContainerRegistryRunContent content, CancellationToken cancellationToken = default)` instead."); | ||
| } | ||
|
|
||
| /// <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("This method is no longer supported. Please use `Response<ContainerRegistryRunResource> ScheduleRun(ContainerRegistryRunContent content, CancellationToken cancellationToken = default)` instead."); | ||
| } | ||
| } | ||
| } |
147 changes: 147 additions & 0 deletions
147
...gistry/Azure.ResourceManager.ContainerRegistry/src/Custom/ContainerRegistryRunResource.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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("This method is no longer supported. Please use `Task<Response<ContainerRegistryRunResource>> UpdateAsync(ContainerRegistryRunPatch patch, CancellationToken cancellationToken = default)` instead."); | ||
| } | ||
|
|
||
| /// <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("This method is no longer supported. Please use `Response<ContainerRegistryRunResource> Update(ContainerRegistryRunPatch patch, CancellationToken cancellationToken = default)` instead."); | ||
| } | ||
|
|
||
| /// <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("This method is no longer supported. Please use `Task<Response> CancelAsync(CancellationToken cancellationToken = default)` instead."); | ||
| } | ||
|
|
||
| /// <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("This method is no longer supported. Please use `Response Cancel(CancellationToken cancellationToken = default)` instead."); | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.