88//------------------------------------------------------------------------------
99namespace Aspire . Hosting
1010{
11- public static partial class AzureDaprHostingExtensions
11+ public static partial class AzureContainerAppEnvironmentResourceBuilderExtensions
1212 {
13- public static ApplicationModel . IResourceBuilder < ApplicationModel . AzureDaprComponentResource > AddAzureDaprResource ( this ApplicationModel . IResourceBuilder < ApplicationModel . AzureDaprComponentResource > builder , string name , System . Action < Azure . AzureResourceInfrastructure > configureInfrastructure ) { throw null ; }
13+ public static ApplicationModel . IResourceBuilder < Azure . AppContainers . AzureContainerAppEnvironmentResource > WithDaprComponents ( this ApplicationModel . IResourceBuilder < Azure . AppContainers . AzureContainerAppEnvironmentResource > builder ) { throw null ; }
14+ }
1415
16+ public static partial class AzureDaprHostingExtensions
17+ {
1518 public static ApplicationModel . IResourceBuilder < ApplicationModel . AzureDaprComponentResource > AddAzureDaprResource ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , string name , System . Action < Azure . AzureResourceInfrastructure > configureInfrastructure ) { throw null ; }
1619
1720 public static void AddScopes ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , global ::Azure . Provisioning . AppContainers . ContainerAppManagedEnvironmentDaprComponent daprComponent ) { }
1821
1922 public static global ::Azure . Provisioning . AppContainers . ContainerAppManagedEnvironmentDaprComponent CreateDaprComponent ( string bicepIdentifier , global ::Azure . Provisioning . BicepValue < string > name , string componentType , string version ) { throw null ; }
20-
21- public static System . Action < Azure . AzureResourceInfrastructure > GetInfrastructureConfigurationAction ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , global ::Azure . Provisioning . AppContainers . ContainerAppManagedEnvironmentDaprComponent daprComponent , System . Collections . Generic . IEnumerable < global ::Azure . Provisioning . ProvisioningParameter > ? parameters = null , bool ? requireScopes = false ) { throw null ; }
2223 }
2324
2425 public static partial class AzureKeyVaultDaprHostingExtensions
2526 {
26- public static ApplicationModel . IResourceBuilder < ApplicationModel . AzureDaprComponentResource > ConfigureKeyVaultSecretsComponent ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , global ::Azure . Provisioning . ProvisioningParameter kvNameParam ) { throw null ; }
27- }
28-
29- public static partial class DaprMetadataResourceBuilderExtensions
30- {
31- public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > WithMetadata ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , string name , ApplicationModel . ParameterResource parameterResource ) { throw null ; }
32-
33- public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > WithMetadata ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , string name , string value ) { throw null ; }
34- }
35-
36- public static partial class IDistributedApplicationBuilderExtensions
37- {
38- public static IDistributedApplicationBuilder AddDapr ( this IDistributedApplicationBuilder builder , System . Action < CommunityToolkit . Aspire . Hosting . Dapr . DaprOptions > ? configure = null ) { throw null ; }
39-
40- public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > AddDaprComponent ( this IDistributedApplicationBuilder builder , string name , string type , CommunityToolkit . Aspire . Hosting . Dapr . DaprComponentOptions ? options = null ) { throw null ; }
41-
42- public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > AddDaprPubSub ( this IDistributedApplicationBuilder builder , string name , CommunityToolkit . Aspire . Hosting . Dapr . DaprComponentOptions ? options = null ) { throw null ; }
43-
44- public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > AddDaprStateStore ( this IDistributedApplicationBuilder builder , string name , CommunityToolkit . Aspire . Hosting . Dapr . DaprComponentOptions ? options = null ) { throw null ; }
45- }
46-
47- public static partial class IDistributedApplicationResourceBuilderExtensions
48- {
49- public static ApplicationModel . IResourceBuilder < T > WithDaprSidecar < T > ( this ApplicationModel . IResourceBuilder < T > builder , CommunityToolkit . Aspire . Hosting . Dapr . DaprSidecarOptions ? options = null )
50- where T : ApplicationModel . IResource { throw null ; }
51-
52- public static ApplicationModel . IResourceBuilder < T > WithDaprSidecar < T > ( this ApplicationModel . IResourceBuilder < T > builder , System . Action < ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > > configureSidecar )
53- where T : ApplicationModel . IResource { throw null ; }
54-
55- public static ApplicationModel . IResourceBuilder < T > WithDaprSidecar < T > ( this ApplicationModel . IResourceBuilder < T > builder , string appId )
56- where T : ApplicationModel . IResource { throw null ; }
57-
58- public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > WithOptions ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > builder , CommunityToolkit . Aspire . Hosting . Dapr . DaprSidecarOptions options ) { throw null ; }
59-
60- public static ApplicationModel . IResourceBuilder < TDestination > WithReference < TDestination > ( this ApplicationModel . IResourceBuilder < TDestination > builder , ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > component )
61- where TDestination : ApplicationModel . IResource { throw null ; }
27+ public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > ConfigureKeyVaultSecretsComponent ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , global ::Azure . Provisioning . ProvisioningParameter kvNameParam ) { throw null ; }
6228 }
6329}
6430
@@ -70,143 +36,9 @@ public AzureDaprComponentResource(string bicepIdentifier, System.Action<Azure.Az
7036 }
7137}
7238
73- namespace CommunityToolkit . Aspire . Hosting . Dapr
39+ namespace CommunityToolkit . Aspire . Hosting . Azure . Dapr
7440{
75- public sealed partial record DaprComponentOptions ( )
76- {
77- public string ? LocalPath { get { throw null ; } init { } }
78- }
79-
80- public sealed partial record DaprComponentReferenceAnnotation ( IDaprComponentResource Component ) : global ::Aspire . Hosting . ApplicationModel . IResourceAnnotation
81- {
82- }
83-
84- public sealed partial class DaprComponentResource : global ::Aspire . Hosting . ApplicationModel . Resource , IDaprComponentResource , global ::Aspire . Hosting . ApplicationModel . IResource , global ::Aspire . Hosting . ApplicationModel . IResourceWithWaitSupport
85- {
86- public DaprComponentResource ( string name , string type ) : base ( default ! ) { }
87-
88- public DaprComponentOptions ? Options { get { throw null ; } init { } }
89-
90- public string Type { get { throw null ; } }
91- }
92-
93- public abstract partial class DaprComponentSpecMetadata
94- {
95- [ YamlDotNet . Serialization . YamlMember ( Order = 1 ) ]
96- public required string Name { get { throw null ; } init { } }
97- }
98-
99- public sealed partial class DaprComponentSpecMetadataSecret : DaprComponentSpecMetadata
100- {
101- [ YamlDotNet . Serialization . YamlMember ( Order = 2 ) ]
102- public required DaprSecretKeyRef SecretKeyRef { get { throw null ; } set { } }
103- }
104-
105- public sealed partial class DaprComponentSpecMetadataValue : DaprComponentSpecMetadata
106- {
107- [ YamlDotNet . Serialization . YamlMember ( Order = 2 ) ]
108- public required string Value { get { throw null ; } set { } }
109- }
110-
111- public sealed partial record DaprOptions ( )
112- {
113- public string ? DaprPath { get { throw null ; } set { } }
114-
115- public bool ? EnableTelemetry { get { throw null ; } set { } }
116- }
117-
118- public sealed partial class DaprSecretKeyRef
119- {
120- public required string Key { get { throw null ; } init { } }
121-
122- public required string Name { get { throw null ; } init { } }
123- }
124-
125- public sealed partial record DaprSidecarAnnotation ( IDaprSidecarResource Sidecar ) : global ::Aspire . Hosting . ApplicationModel . IResourceAnnotation
126- {
127- }
128-
129- public sealed partial record DaprSidecarOptions ( )
130- {
131- public string ? AppChannelAddress { get { throw null ; } init { } }
132-
133- public string ? AppEndpoint { get { throw null ; } init { } }
134-
135- public string ? AppHealthCheckPath { get { throw null ; } init { } }
136-
137- public int ? AppHealthProbeInterval { get { throw null ; } init { } }
138-
139- public int ? AppHealthProbeTimeout { get { throw null ; } init { } }
140-
141- public int ? AppHealthThreshold { get { throw null ; } init { } }
142-
143- public string ? AppId { get { throw null ; } init { } }
144-
145- public int ? AppMaxConcurrency { get { throw null ; } init { } }
146-
147- public int ? AppPort { get { throw null ; } init { } }
148-
149- public string ? AppProtocol { get { throw null ; } init { } }
150-
151- public System . Collections . Immutable . IImmutableList < string > Command { get { throw null ; } init { } }
152-
153- public string ? Config { get { throw null ; } init { } }
154-
155- public int ? DaprGrpcPort { get { throw null ; } init { } }
156-
157- [ System . Obsolete ( "Use DaprMaxBodySize" , false ) ]
158- public int ? DaprHttpMaxRequestSize { get { throw null ; } init { } }
159-
160- public int ? DaprHttpPort { get { throw null ; } init { } }
161-
162- [ System . Obsolete ( "Use DaprMaxBodySize" , false ) ]
163- public int ? DaprHttpReadBufferSize { get { throw null ; } init { } }
164-
165- public int ? DaprInternalGrpcPort { get { throw null ; } init { } }
166-
167- public string ? DaprListenAddresses { get { throw null ; } init { } }
168-
169- public string ? DaprMaxBodySize { get { throw null ; } init { } }
170-
171- public string ? DaprReadBufferSize { get { throw null ; } init { } }
172-
173- public bool ? EnableApiLogging { get { throw null ; } init { } }
174-
175- public bool ? EnableAppHealthCheck { get { throw null ; } init { } }
176-
177- public bool ? EnableProfiling { get { throw null ; } init { } }
178-
179- public string ? LogLevel { get { throw null ; } init { } }
180-
181- public int ? MetricsPort { get { throw null ; } init { } }
182-
183- public string ? PlacementHostAddress { get { throw null ; } init { } }
184-
185- public int ? ProfilePort { get { throw null ; } init { } }
186-
187- public System . Collections . Immutable . IImmutableSet < string > ResourcesPaths { get { throw null ; } init { } }
188-
189- public string ? RunFile { get { throw null ; } init { } }
190-
191- public string ? RuntimePath { get { throw null ; } init { } }
192-
193- public string ? SchedulerHostAddress { get { throw null ; } init { } }
194-
195- public string ? UnixDomainSocket { get { throw null ; } init { } }
196- }
197-
198- public sealed partial record DaprSidecarOptionsAnnotation ( DaprSidecarOptions Options ) : global ::Aspire . Hosting . ApplicationModel . IResourceAnnotation
199- {
200- }
201-
202- public partial interface IDaprComponentResource : global ::Aspire . Hosting . ApplicationModel . IResource , global ::Aspire . Hosting . ApplicationModel . IResourceWithWaitSupport
203- {
204- DaprComponentOptions ? Options { get ; }
205-
206- string Type { get ; }
207- }
208-
209- public partial interface IDaprSidecarResource : global ::Aspire . Hosting . ApplicationModel . IResource
41+ public partial record AzureDaprComponentPublishingAnnotation ( System . Action < global ::Aspire . Hosting . Azure . AzureResourceInfrastructure > PublishingAction ) : global ::Aspire . Hosting . ApplicationModel . IResourceAnnotation
21042 {
21143 }
21244}
0 commit comments