You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Aspire.Hosting.Azure.AppContainers/ContainerAppExtensions.cs
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
usingAzure.Provisioning.Expressions;
7
7
usingAzure.Provisioning;
8
8
usingSystem.Diagnostics.CodeAnalysis;
9
+
usingAspire.Hosting.Azure;
9
10
10
11
namespaceAspire.Hosting;
11
12
@@ -20,12 +21,12 @@ public static class ContainerAppExtensions
20
21
/// <param name="app">The container app resource to configure for custom domain usage.</param>
21
22
/// <param name="customDomain">A resource builder for a parameter resource capturing the name of the custom domain.</param>
22
23
/// <param name="certificateName">A resource builder for a parameter resource capturing the name of the certficate configured in the Azure Portal.</param>
23
-
/// <exception cref="ArgumentException">Throws if the container app resource is not parented to a <see cref="ResourceModuleConstruct"/>.</exception>
24
+
/// <exception cref="ArgumentException">Throws if the container app resource is not parented to a <see cref="AzureResourceInfrastructure"/>.</exception>
/// simplifies the process of assigning a custom domain to a container app resource when it is deployed. It has no impact on local development.</para>
27
28
/// <para>The <see cref="ConfigureCustomDomain(ContainerApp, IResourceBuilder{ParameterResource}, IResourceBuilder{ParameterResource})"/> method is used
28
-
/// in conjunction with the <see cref="AzureContainerAppContainerExtensions.PublishAsAzureContainerApp{T}(IResourceBuilder{T}, Action{ResourceModuleConstruct, ContainerApp})"/>
29
+
/// in conjunction with the <see cref="AzureContainerAppContainerExtensions.PublishAsAzureContainerApp{T}(IResourceBuilder{T}, Action{AzureResourceInfrastructure, ContainerApp})"/>
29
30
/// callback. Assigning a custom domain to a container app resource is a multi-step process and requires multiple deployments.</para>
/// two arguments which are parameter resource builders. The first is a parameter that represents the custom domain and the second is a parameter that
@@ -40,7 +41,7 @@ public static class ContainerAppExtensions
40
41
/// <example>
41
42
/// This example shows declaring two parameters to capture the custom domain and certificate name and
42
43
/// passing them to the <see cref="ConfigureCustomDomain(ContainerApp, IResourceBuilder{ParameterResource}, IResourceBuilder{ParameterResource})"/>
43
-
/// method via the <see cref="AzureContainerAppContainerExtensions.PublishAsAzureContainerApp{T}(IResourceBuilder{T}, Action{ResourceModuleConstruct, ContainerApp})"/>
44
+
/// method via the <see cref="AzureContainerAppContainerExtensions.PublishAsAzureContainerApp{T}(IResourceBuilder{T}, Action{AzureResourceInfrastructure, ContainerApp})"/>
44
45
/// extension method.
45
46
/// <code lang="C#">
46
47
/// var builder = DistributedApplication.CreateBuilder();
@@ -56,7 +57,7 @@ public static class ContainerAppExtensions
0 commit comments