Skip to content

Commit 929db63

Browse files
Alirexaagithub-actions[bot]
authored andcommitted
[create-pull-request] automated change
1 parent 0e44c1e commit 929db63

49 files changed

Lines changed: 535 additions & 5 deletions

File tree

Some content is hidden

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

src/CommunityToolkit.Aspire.GoFeatureFlag/api/CommunityToolkit.Aspire.GoFeatureFlag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public sealed partial class GoFeatureFlagClientSettings
1616

1717
public int? HealthCheckTimeout { get { throw null; } set { } }
1818

19-
public OpenFeature.Providers.GOFeatureFlag.GoFeatureFlagProviderOptions ProviderOptions { get { throw null; } set { } }
19+
public OpenFeature.Providers.GOFeatureFlag.GOFeatureFlagProviderOptions ProviderOptions { get { throw null; } set { } }
2020
}
2121
}
2222

@@ -28,4 +28,4 @@ public static void AddGoFeatureFlagClient(this IHostApplicationBuilder builder,
2828

2929
public static void AddKeyedGoFeatureFlagClient(this IHostApplicationBuilder builder, string name, System.Action<CommunityToolkit.Aspire.GoFeatureFlag.GoFeatureFlagClientSettings>? configureSettings = null) { }
3030
}
31-
}
31+
}

src/CommunityToolkit.Aspire.Hosting.ActiveMQ/api/CommunityToolkit.Aspire.Hosting.ActiveMQ.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,25 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class ActiveMQBuilderExtensions
1212
{
13+
[AspireExport("addActiveMQ", Description = "Adds an ActiveMQ Classic container resource")]
1314
public static ApplicationModel.IResourceBuilder<ApplicationModel.ActiveMQServerResource> AddActiveMQ(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? userName = null, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? password = null, int? port = null, string scheme = "tcp", int? webPort = null) { throw null; }
1415

16+
[AspireExport("addActiveMQArtemis", Description = "Adds an ActiveMQ Artemis container resource")]
1517
public static ApplicationModel.IResourceBuilder<ApplicationModel.ActiveMQArtemisServerResource> AddActiveMQArtemis(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? userName = null, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? password = null, int? port = null, string scheme = "tcp", int? webPort = null) { throw null; }
1618

19+
[AspireExport("withConfBindMount", Description = "Adds a bind mount for the conf folder to an ActiveMQ container resource")]
1720
public static ApplicationModel.IResourceBuilder<T> WithConfBindMount<T>(this ApplicationModel.IResourceBuilder<T> builder, string source, bool isReadOnly = false)
1821
where T : ApplicationModel.ActiveMQServerResourceBase { throw null; }
1922

23+
[AspireExport("withConfVolume", Description = "Adds a named volume for the config folder to an ActiveMQ container resource")]
2024
public static ApplicationModel.IResourceBuilder<T> WithConfVolume<T>(this ApplicationModel.IResourceBuilder<T> builder, string? name = null, bool isReadOnly = false)
2125
where T : ApplicationModel.ActiveMQServerResourceBase { throw null; }
2226

27+
[AspireExport("withDataBindMount", Description = "Adds a bind mount for the data folder to an ActiveMQ container resource")]
2328
public static ApplicationModel.IResourceBuilder<T> WithDataBindMount<T>(this ApplicationModel.IResourceBuilder<T> builder, string source, bool isReadOnly = false)
2429
where T : ApplicationModel.ActiveMQServerResourceBase { throw null; }
2530

31+
[AspireExport("withDataVolume", Description = "Adds a named volume for the data folder to an ActiveMQ container resource")]
2632
public static ApplicationModel.IResourceBuilder<T> WithDataVolume<T>(this ApplicationModel.IResourceBuilder<T> builder, string? name = null, bool isReadOnly = false)
2733
where T : ApplicationModel.ActiveMQServerResourceBase { throw null; }
2834
}
@@ -40,10 +46,12 @@ public partial class ActiveMQServerResource : ActiveMQServerResourceBase
4046
public ActiveMQServerResource(string name, ParameterResource? userName, ParameterResource password, string scheme) : base(default!, default, default!, default!, default!) { }
4147
}
4248

49+
[AspireExport(ExposeProperties = true)]
4350
public abstract partial class ActiveMQServerResourceBase : ContainerResource, IResourceWithConnectionString, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences, IResourceWithEnvironment
4451
{
4552
protected ActiveMQServerResourceBase(string name, ParameterResource? userName, ParameterResource password, string scheme, CommunityToolkit.Aspire.Hosting.ActiveMQ.IActiveMQSettings settings) : base(default!, default) { }
4653

54+
[AspireExportIgnore(Reason = "IActiveMQSettings is an internal configuration type not compatible with ATS.")]
4755
public CommunityToolkit.Aspire.Hosting.ActiveMQ.IActiveMQSettings ActiveMqSettings { get { throw null; } }
4856

4957
public ReferenceExpression ConnectionStringExpression { get { throw null; } }

src/CommunityToolkit.Aspire.Hosting.Adminer/api/CommunityToolkit.Aspire.Hosting.Adminer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class AdminerBuilderExtensions
1212
{
13+
[AspireExport("addAdminer", Description = "Adds an Adminer container resource")]
1314
public static ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource> AddAdminer(this IDistributedApplicationBuilder builder, string name, int? port = null) { throw null; }
1415

16+
[AspireExport("withHostPort", Description = "Configures the host port for the Adminer resource")]
1517
public static ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource> WithHostPort(this ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource> builder, int? port) { throw null; }
1618
}
1719
}

src/CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis/api/CommunityToolkit.Aspire.Hosting.Azure.Dapr.Redis.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class AzureRedisCacheDaprHostingExtensions
1212
{
13+
[AspireExport("withReference", Description = "Configures a Dapr component resource to use Azure Managed Redis")]
1314
public static ApplicationModel.IResourceBuilder<CommunityToolkit.Aspire.Hosting.Dapr.IDaprComponentResource> WithReference(this ApplicationModel.IResourceBuilder<CommunityToolkit.Aspire.Hosting.Dapr.IDaprComponentResource> builder, ApplicationModel.IResourceBuilder<Azure.AzureManagedRedisResource> source) { throw null; }
1415
}
1516
}

src/CommunityToolkit.Aspire.Hosting.Azure.Dapr/api/CommunityToolkit.Aspire.Hosting.Azure.Dapr.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,25 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class AzureContainerAppEnvironmentResourceBuilderExtensions
1212
{
13+
[AspireExport("withDaprComponents", Description = "Configures an Azure Container App environment to publish Dapr components")]
1314
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> WithDaprComponents(this ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> builder) { throw null; }
1415
}
1516

1617
public static partial class AzureDaprHostingExtensions
1718
{
19+
[AspireExportIgnore(Reason = "Action<AzureResourceInfrastructure> requires an Azure provisioning callback that is not compatible with ATS.")]
1820
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; }
1921

22+
[AspireExportIgnore(Reason = "ContainerAppManagedEnvironmentDaprComponent is an Azure.Provisioning type not compatible with ATS.")]
2023
public static void AddScopes(this ApplicationModel.IResourceBuilder<CommunityToolkit.Aspire.Hosting.Dapr.IDaprComponentResource> builder, global::Azure.Provisioning.AppContainers.ContainerAppManagedEnvironmentDaprComponent daprComponent) { }
2124

25+
[AspireExportIgnore(Reason = "BicepValue<string> and ContainerAppManagedEnvironmentDaprComponent are Azure.Provisioning types not compatible with ATS.")]
2226
public static global::Azure.Provisioning.AppContainers.ContainerAppManagedEnvironmentDaprComponent CreateDaprComponent(string bicepIdentifier, global::Azure.Provisioning.BicepValue<string> name, string componentType, string version) { throw null; }
2327
}
2428

2529
public static partial class AzureKeyVaultDaprHostingExtensions
2630
{
31+
[AspireExportIgnore(Reason = "ProvisioningParameter is an Azure.Provisioning type not compatible with ATS.")]
2732
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; }
2833
}
2934
}

src/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder/api/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,27 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class DataApiBuilderHostingExtension
1212
{
13+
[AspireExportIgnore(Reason = "Polyglot app hosts use the overload that makes both configFilePaths and httpPort optional to avoid optional parameter ordering issues.")]
1314
public static ApplicationModel.IResourceBuilder<ApplicationModel.DataApiBuilderContainerResource> AddDataAPIBuilder(this IDistributedApplicationBuilder builder, string name, int? httpPort = null, params string[] configFilePaths) { throw null; }
1415

16+
[AspireExportIgnore(Reason = "Polyglot app hosts use the overload that makes both configFilePaths and httpPort optional.")]
1517
public static ApplicationModel.IResourceBuilder<ApplicationModel.DataApiBuilderContainerResource> AddDataAPIBuilder(this IDistributedApplicationBuilder builder, string name, params string[] configFilePaths) { throw null; }
1618
}
1719
}
1820

1921
namespace Aspire.Hosting.ApplicationModel
2022
{
23+
[AspireExport(ExposeProperties = true)]
2124
public partial class DataApiBuilderContainerResource : ContainerResource, IResourceWithServiceDiscovery, IResourceWithEndpoints, IResource
2225
{
2326
public DataApiBuilderContainerResource(string name, string? entrypoint = null) : base(default!, default) { }
27+
28+
public EndpointReferenceExpression Host { get { throw null; } }
29+
30+
public EndpointReferenceExpression Port { get { throw null; } }
31+
32+
public EndpointReference PrimaryEndpoint { get { throw null; } }
33+
34+
public ReferenceExpression UriExpression { get { throw null; } }
2435
}
2536
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
namespace Aspire.Hosting
10+
{
11+
public static partial class AzureBlobStorageResourceBuilderExtensions
12+
{
13+
[AspireExport("withBlobAzureStorageExplorer", MethodName = "withAzureStorageExplorer", Description = "Adds an Azure Storage Explorer instance to a Blob storage resource.")]
14+
public static ApplicationModel.IResourceBuilder<Azure.AzureBlobStorageResource> WithAzureStorageExplorer(this ApplicationModel.IResourceBuilder<Azure.AzureBlobStorageResource> blobs, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.AzureStorageExplorerResource>>? configureContainer = null, string? name = null) { throw null; }
15+
}
16+
17+
public static partial class AzureQueueStorageResourceBuilderExtensions
18+
{
19+
[AspireExport("withQueueAzureStorageExplorer", MethodName = "withAzureStorageExplorer", Description = "Adds an Azure Storage Explorer instance to a Queue storage resource.")]
20+
public static ApplicationModel.IResourceBuilder<Azure.AzureQueueStorageResource> WithAzureStorageExplorer(this ApplicationModel.IResourceBuilder<Azure.AzureQueueStorageResource> queues, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.AzureStorageExplorerResource>>? configureContainer = null, string? name = null) { throw null; }
21+
}
22+
23+
public static partial class AzureStorageExplorerBuilderExtensions
24+
{
25+
[AspireExport("withHostPort", Description = "Configures the host port that the Azure Storage Explorer resource is exposed on.")]
26+
public static ApplicationModel.IResourceBuilder<ApplicationModel.AzureStorageExplorerResource> WithHostPort(this ApplicationModel.IResourceBuilder<ApplicationModel.AzureStorageExplorerResource> builder, int? port) { throw null; }
27+
}
28+
29+
public static partial class AzureTableStorageResourceBuilderExtensions
30+
{
31+
[AspireExport("withTableAzureStorageExplorer", MethodName = "withAzureStorageExplorer", Description = "Adds an Azure Storage Explorer instance to a Table storage resource.")]
32+
public static ApplicationModel.IResourceBuilder<Azure.AzureTableStorageResource> WithAzureStorageExplorer(this ApplicationModel.IResourceBuilder<Azure.AzureTableStorageResource> tables, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.AzureStorageExplorerResource>>? configureContainer = null, string? name = null) { throw null; }
33+
}
34+
}
35+
36+
namespace Aspire.Hosting.ApplicationModel
37+
{
38+
[AspireExport(ExposeProperties = true)]
39+
public partial class AzureStorageExplorerResource : ContainerResource
40+
{
41+
public AzureStorageExplorerResource(string name) : base(default!, default) { }
42+
43+
public EndpointReferenceExpression Host { get { throw null; } }
44+
45+
public EndpointReferenceExpression Port { get { throw null; } }
46+
47+
public EndpointReference PrimaryEndpoint { get { throw null; } }
48+
}
49+
}

src/CommunityToolkit.Aspire.Hosting.Bun/api/CommunityToolkit.Aspire.Hosting.Bun.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class BunAppExtensions
1212
{
13+
[AspireExport("addBunApp", Description = "Adds a Bun app")]
1314
public static ApplicationModel.IResourceBuilder<ApplicationModel.BunAppResource> AddBunApp(this IDistributedApplicationBuilder builder, string name, string? workingDirectory = null, string entryPoint = "index.ts", bool watch = false) { throw null; }
1415

16+
[AspireExportIgnore(Reason = "Action<IResourceBuilder<BunInstallerResource>> is not ATS-compatible. Use the overload without configureInstaller instead.")]
1517
public static ApplicationModel.IResourceBuilder<ApplicationModel.BunAppResource> WithBunPackageInstallation(this ApplicationModel.IResourceBuilder<ApplicationModel.BunAppResource> resource, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.BunInstallerResource>>? configureInstaller = null) { throw null; }
1618
}
1719
}

0 commit comments

Comments
 (0)