-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Add dotnet sdk for api-version 2025-07-01 #52873
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 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
69d2323
Add dotnet sdk for api-version 2025-07-01
8e792e9
Add cspell
c405ad7
fix comments
1b20a00
Fix
a4339ee
update
ArthurMa1978 bd220b2
update
ArthurMa1978 8db2d52
update
ArthurMa1978 621e7a7
update
ArthurMa1978 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
15 changes: 9 additions & 6 deletions
15
sdk/containerapps/Azure.ResourceManager.AppContainers/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
750 changes: 746 additions & 4 deletions
750
...pps/Azure.ResourceManager.AppContainers/api/Azure.ResourceManager.AppContainers.net8.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
750 changes: 746 additions & 4 deletions
750
...e.ResourceManager.AppContainers/api/Azure.ResourceManager.AppContainers.netstandard2.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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
78 changes: 78 additions & 0 deletions
78
...ceManager.AppContainers/src/Custom/ContainerAppConnectedEnvironmentCertificateResource.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,78 @@ | ||
| // 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.ResourceManager.AppContainers.Models; | ||
|
|
||
| namespace Azure.ResourceManager.AppContainers | ||
| { | ||
| public partial class ContainerAppConnectedEnvironmentCertificateResource | ||
| { | ||
| /// <summary> | ||
| /// Patches a certificate. Currently only patching of tags is supported | ||
| /// <list type="bullet"> | ||
| /// <item> | ||
| /// <term>Request Path</term> | ||
| /// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Operation Id</term> | ||
| /// <description>ConnectedEnvironmentsCertificates_Update</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Default Api Version</term> | ||
| /// <description>2025-07-01</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Resource</term> | ||
| /// <description><see cref="ContainerAppConnectedEnvironmentCertificateResource"/></description> | ||
| /// </item> | ||
| /// </list> | ||
| /// </summary> | ||
| /// <param name="patch"> Properties of a certificate that need to be updated. </param> | ||
| /// <param name="cancellationToken"> The cancellation token to use. </param> | ||
| /// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public virtual Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource> Update(ContainerAppCertificatePatch patch, CancellationToken cancellationToken = default) | ||
| { | ||
| var lro = Update(WaitUntil.Completed, patch, cancellationToken); | ||
| return Response.FromValue(lro.Value, lro.GetRawResponse()); | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Patches a certificate. Currently only patching of tags is supported | ||
| /// <list type="bullet"> | ||
| /// <item> | ||
| /// <term>Request Path</term> | ||
| /// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Operation Id</term> | ||
| /// <description>ConnectedEnvironmentsCertificates_Update</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Default Api Version</term> | ||
| /// <description>2025-07-01</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Resource</term> | ||
| /// <description><see cref="ContainerAppConnectedEnvironmentCertificateResource"/></description> | ||
| /// </item> | ||
| /// </list> | ||
| /// </summary> | ||
| /// <param name="patch"> Properties of a certificate that need to be updated. </param> | ||
| /// <param name="cancellationToken"> The cancellation token to use. </param> | ||
| /// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public virtual async Task<Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>> UpdateAsync(ContainerAppCertificatePatch patch, CancellationToken cancellationToken = default) | ||
| { | ||
| var lro = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken).ConfigureAwait(false); | ||
| return Response.FromValue(lro.Value, lro.GetRawResponse()); | ||
| } | ||
| } | ||
| } |
73 changes: 73 additions & 0 deletions
73
...zure.ResourceManager.AppContainers/src/Custom/ContainerAppConnectedEnvironmentResource.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,73 @@ | ||
| // 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; | ||
|
|
||
| namespace Azure.ResourceManager.AppContainers | ||
| { | ||
| public partial class ContainerAppConnectedEnvironmentResource | ||
| { | ||
| /// <summary> | ||
| /// Patches a Managed Environment. Only patching of tags is supported currently | ||
| /// <list type="bullet"> | ||
| /// <item> | ||
| /// <term>Request Path</term> | ||
| /// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Operation Id</term> | ||
| /// <description>ConnectedEnvironments_Update</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Default Api Version</term> | ||
| /// <description>2025-01-01</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Resource</term> | ||
| /// <description><see cref="ContainerAppConnectedEnvironmentResource"/></description> | ||
| /// </item> | ||
| /// </list> | ||
| /// </summary> | ||
| /// <param name="cancellationToken"> The cancellation token to use. </param> | ||
| [Obsolete] | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public virtual Response<ContainerAppConnectedEnvironmentResource> Update(CancellationToken cancellationToken = default) | ||
| { | ||
| throw new InvalidOperationException(); | ||
ArthurMa1978 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
ArthurMa1978 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| /// <summary> | ||
| /// Patches a Managed Environment. Only patching of tags is supported currently | ||
| /// <list type="bullet"> | ||
| /// <item> | ||
| /// <term>Request Path</term> | ||
| /// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Operation Id</term> | ||
| /// <description>ConnectedEnvironments_Update</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Default Api Version</term> | ||
| /// <description>2025-01-01</description> | ||
| /// </item> | ||
| /// <item> | ||
| /// <term>Resource</term> | ||
| /// <description><see cref="ContainerAppConnectedEnvironmentResource"/></description> | ||
| /// </item> | ||
| /// </list> | ||
| /// </summary> | ||
| /// <param name="cancellationToken"> The cancellation token to use. </param> | ||
| [Obsolete] | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public virtual Task<Response<ContainerAppConnectedEnvironmentResource>> UpdateAsync(CancellationToken cancellationToken = default) | ||
| { | ||
| throw new InvalidOperationException(); | ||
| } | ||
ArthurMa1978 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
| } | ||
28 changes: 28 additions & 0 deletions
28
...e.ResourceManager.AppContainers/src/Custom/ContainerAppConnectedEnvironmentStorageData.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,28 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #nullable disable | ||
|
|
||
| using System.ComponentModel; | ||
| using Azure.ResourceManager.AppContainers.Models; | ||
| using Azure.ResourceManager.Models; | ||
|
|
||
| namespace Azure.ResourceManager.AppContainers | ||
| { | ||
| public partial class ContainerAppConnectedEnvironmentStorageData : ResourceData | ||
| { | ||
| /// <summary> Azure file properties. </summary> | ||
| [WirePath("properties.azureFile")] | ||
| [EditorBrowsable(state: EditorBrowsableState.Never)] | ||
| public ContainerAppAzureFileProperties ConnectedEnvironmentStorageAzureFile | ||
| { | ||
| get => Properties is null ? default : Properties.AzureFile; | ||
| set | ||
| { | ||
| if (Properties is null) | ||
| Properties = new ConnectedEnvironmentStorageProperties(); | ||
| Properties.AzureFile = value; | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
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.