Skip to content

Commit 5a94cde

Browse files
authored
Add dotnet sdk for api-version 2025-07-01 (Azure#52873)
1 parent c95c9db commit 5a94cde

File tree

261 files changed

+22852
-1050
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+22852
-1050
lines changed

.vscode/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@
454454
{
455455
"filename": "**/sdk/containerapps/**/*",
456456
"words": [
457+
"agentic",
457458
"dapr",
458459
"grpc",
459460
"proto"

sdk/containerapps/Azure.ResourceManager.AppContainers/CHANGELOG.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# Release History
22

3-
## 1.5.0-beta.1 (Unreleased)
3+
## 1.5.0 (2025-10-09)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Upgraded api-version tag 'package-2024-03' to 'package-2025-01-01'. Tag detail available at https://github.com/Azure/azure-rest-api-specs/blob/33a2135c8115465b292b71a521ea50c1cc336c8c/specification/app/resource-manager/Microsoft.App/ContainerApps/readme.md.
8+
- Support Logic App Extension
9+
- Support async for connected environment sub resources
10+
- Support ingressConfiguration
11+
- Support advanced ingress
12+
- Support private endpoint connections for managed environment
13+
- Support app health check configuration for DAPR
14+
- Support key vault for environment storage
1215

1316
## 1.4.1 (2025-08-11)
1417

sdk/containerapps/Azure.ResourceManager.AppContainers/api/Azure.ResourceManager.AppContainers.net8.0.cs

Lines changed: 748 additions & 5 deletions
Large diffs are not rendered by default.

sdk/containerapps/Azure.ResourceManager.AppContainers/api/Azure.ResourceManager.AppContainers.netstandard2.0.cs

Lines changed: 748 additions & 5 deletions
Large diffs are not rendered by default.

sdk/containerapps/Azure.ResourceManager.AppContainers/src/Azure.ResourceManager.AppContainers.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>1.5.0-beta.1</Version>
3+
<Version>1.5.0</Version>
44
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
55
<ApiCompatVersion>1.4.1</ApiCompatVersion>
66
<PackageId>Azure.ResourceManager.AppContainers</PackageId>

sdk/containerapps/Azure.ResourceManager.AppContainers/src/Custom/ArmAppContainersModelFactory.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,26 @@ public static ContainerAppManagedEnvironmentStorageData ContainerAppManagedEnvir
2222
{
2323
return ContainerAppManagedEnvironmentStorageData(id: id, name: name, resourceType: resourceType, systemData: systemData, properties: new ManagedEnvironmentStorageProperties() { AzureFile = managedEnvironmentStorageAzureFile });
2424
}
25+
26+
/// <summary> Initializes a new instance of <see cref="AppContainers.ContainerAppConnectedEnvironmentStorageData"/>. </summary>
27+
/// <param name="id"> The id. </param>
28+
/// <param name="name"> The name. </param>
29+
/// <param name="resourceType"> The resourceType. </param>
30+
/// <param name="systemData"> The systemData. </param>
31+
/// <param name="connectedEnvironmentStorageAzureFile"> Storage properties. </param>
32+
/// <returns> A new <see cref="AppContainers.ContainerAppConnectedEnvironmentStorageData"/> instance for mocking. </returns>
33+
[EditorBrowsable(EditorBrowsableState.Never)]
34+
public static ContainerAppConnectedEnvironmentStorageData ContainerAppConnectedEnvironmentStorageData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ContainerAppAzureFileProperties connectedEnvironmentStorageAzureFile = null)
35+
{
36+
return ContainerAppConnectedEnvironmentStorageData(
37+
id,
38+
name,
39+
resourceType,
40+
systemData,
41+
new ConnectedEnvironmentStorageProperties()
42+
{
43+
AzureFile = connectedEnvironmentStorageAzureFile
44+
});
45+
}
2546
}
2647
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System;
7+
using System.ComponentModel;
8+
using System.Threading;
9+
using System.Threading.Tasks;
10+
using Azure.ResourceManager.AppContainers.Models;
11+
12+
namespace Azure.ResourceManager.AppContainers
13+
{
14+
public partial class ContainerAppConnectedEnvironmentCertificateResource
15+
{
16+
/// <summary>
17+
/// Patches a certificate. Currently only patching of tags is supported
18+
/// <list type="bullet">
19+
/// <item>
20+
/// <term>Request Path</term>
21+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}</description>
22+
/// </item>
23+
/// <item>
24+
/// <term>Operation Id</term>
25+
/// <description>ConnectedEnvironmentsCertificates_Update</description>
26+
/// </item>
27+
/// <item>
28+
/// <term>Default Api Version</term>
29+
/// <description>2025-07-01</description>
30+
/// </item>
31+
/// <item>
32+
/// <term>Resource</term>
33+
/// <description><see cref="ContainerAppConnectedEnvironmentCertificateResource"/></description>
34+
/// </item>
35+
/// </list>
36+
/// </summary>
37+
/// <param name="patch"> Properties of a certificate that need to be updated. </param>
38+
/// <param name="cancellationToken"> The cancellation token to use. </param>
39+
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception>
40+
[EditorBrowsable(EditorBrowsableState.Never)]
41+
public virtual Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource> Update(ContainerAppCertificatePatch patch, CancellationToken cancellationToken = default)
42+
{
43+
var lro = Update(WaitUntil.Completed, patch, cancellationToken);
44+
return Response.FromValue(lro.Value, lro.GetRawResponse());
45+
}
46+
47+
/// <summary>
48+
/// Patches a certificate. Currently only patching of tags is supported
49+
/// <list type="bullet">
50+
/// <item>
51+
/// <term>Request Path</term>
52+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}</description>
53+
/// </item>
54+
/// <item>
55+
/// <term>Operation Id</term>
56+
/// <description>ConnectedEnvironmentsCertificates_Update</description>
57+
/// </item>
58+
/// <item>
59+
/// <term>Default Api Version</term>
60+
/// <description>2025-07-01</description>
61+
/// </item>
62+
/// <item>
63+
/// <term>Resource</term>
64+
/// <description><see cref="ContainerAppConnectedEnvironmentCertificateResource"/></description>
65+
/// </item>
66+
/// </list>
67+
/// </summary>
68+
/// <param name="patch"> Properties of a certificate that need to be updated. </param>
69+
/// <param name="cancellationToken"> The cancellation token to use. </param>
70+
/// <exception cref="ArgumentNullException"> <paramref name="patch"/> is null. </exception>
71+
[EditorBrowsable(EditorBrowsableState.Never)]
72+
public virtual async Task<Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>> UpdateAsync(ContainerAppCertificatePatch patch, CancellationToken cancellationToken = default)
73+
{
74+
var lro = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken).ConfigureAwait(false);
75+
return Response.FromValue(lro.Value, lro.GetRawResponse());
76+
}
77+
}
78+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System;
7+
using System.ComponentModel;
8+
using System.Threading;
9+
using System.Threading.Tasks;
10+
11+
namespace Azure.ResourceManager.AppContainers
12+
{
13+
public partial class ContainerAppConnectedEnvironmentResource
14+
{
15+
/// <summary>
16+
/// Patches a Managed Environment. Only patching of tags is supported currently
17+
/// <list type="bullet">
18+
/// <item>
19+
/// <term>Request Path</term>
20+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}</description>
21+
/// </item>
22+
/// <item>
23+
/// <term>Operation Id</term>
24+
/// <description>ConnectedEnvironments_Update</description>
25+
/// </item>
26+
/// <item>
27+
/// <term>Default Api Version</term>
28+
/// <description>2025-01-01</description>
29+
/// </item>
30+
/// <item>
31+
/// <term>Resource</term>
32+
/// <description><see cref="ContainerAppConnectedEnvironmentResource"/></description>
33+
/// </item>
34+
/// </list>
35+
/// </summary>
36+
/// <param name="cancellationToken"> The cancellation token to use. </param>
37+
[Obsolete("This method is obsolete and will be removed in a future release")]
38+
[EditorBrowsable(EditorBrowsableState.Never)]
39+
public virtual Response<ContainerAppConnectedEnvironmentResource> Update(CancellationToken cancellationToken = default)
40+
{
41+
throw new NotSupportedException("This method is not supported. Use the new version of this factory method instead.");
42+
}
43+
44+
/// <summary>
45+
/// Patches a Managed Environment. Only patching of tags is supported currently
46+
/// <list type="bullet">
47+
/// <item>
48+
/// <term>Request Path</term>
49+
/// <description>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}</description>
50+
/// </item>
51+
/// <item>
52+
/// <term>Operation Id</term>
53+
/// <description>ConnectedEnvironments_Update</description>
54+
/// </item>
55+
/// <item>
56+
/// <term>Default Api Version</term>
57+
/// <description>2025-01-01</description>
58+
/// </item>
59+
/// <item>
60+
/// <term>Resource</term>
61+
/// <description><see cref="ContainerAppConnectedEnvironmentResource"/></description>
62+
/// </item>
63+
/// </list>
64+
/// </summary>
65+
/// <param name="cancellationToken"> The cancellation token to use. </param>
66+
[Obsolete("This method is obsolete and will be removed in a future release")]
67+
[EditorBrowsable(EditorBrowsableState.Never)]
68+
public virtual Task<Response<ContainerAppConnectedEnvironmentResource>> UpdateAsync(CancellationToken cancellationToken = default)
69+
{
70+
throw new NotSupportedException("This method is not supported. Use the new version of this factory method instead.");
71+
}
72+
}
73+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ComponentModel;
7+
using Azure.ResourceManager.AppContainers.Models;
8+
using Azure.ResourceManager.Models;
9+
10+
namespace Azure.ResourceManager.AppContainers
11+
{
12+
public partial class ContainerAppConnectedEnvironmentStorageData : ResourceData
13+
{
14+
/// <summary> Azure file properties. </summary>
15+
[WirePath("properties.azureFile")]
16+
[EditorBrowsable(state: EditorBrowsableState.Never)]
17+
public ContainerAppAzureFileProperties ConnectedEnvironmentStorageAzureFile
18+
{
19+
get => Properties is null ? default : Properties.AzureFile;
20+
set
21+
{
22+
if (Properties is null)
23+
Properties = new ConnectedEnvironmentStorageProperties();
24+
Properties.AzureFile = value;
25+
}
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)