Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed partial class GoFeatureFlagClientSettings

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

public OpenFeature.Providers.GOFeatureFlag.GoFeatureFlagProviderOptions ProviderOptions { get { throw null; } set { } }
public OpenFeature.Providers.GOFeatureFlag.GOFeatureFlagProviderOptions ProviderOptions { get { throw null; } set { } }
}
}

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

public static void AddKeyedGoFeatureFlagClient(this IHostApplicationBuilder builder, string name, System.Action<CommunityToolkit.Aspire.GoFeatureFlag.GoFeatureFlagClientSettings>? configureSettings = null) { }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,25 @@ namespace Aspire.Hosting
{
public static partial class ActiveMQBuilderExtensions
{
[AspireExport("addActiveMQ", Description = "Adds an ActiveMQ Classic container resource")]
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; }

[AspireExport("addActiveMQArtemis", Description = "Adds an ActiveMQ Artemis container resource")]
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; }

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

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

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

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

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

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

public ReferenceExpression ConnectionStringExpression { get { throw null; } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ namespace Aspire.Hosting
{
public static partial class AdminerBuilderExtensions
{
[AspireExport("addAdminer", Description = "Adds an Adminer container resource")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource> AddAdminer(this IDistributedApplicationBuilder builder, string name, int? port = null) { throw null; }

[AspireExport("withHostPort", Description = "Configures the host port for the Adminer resource")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource> WithHostPort(this ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource> builder, int? port) { throw null; }
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace Aspire.Hosting
{
public static partial class AzureRedisCacheDaprHostingExtensions
{
[AspireExport("withReference", Description = "Configures a Dapr component resource to use Azure Managed Redis")]
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; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,25 @@ namespace Aspire.Hosting
{
public static partial class AzureContainerAppEnvironmentResourceBuilderExtensions
{
[AspireExport("withDaprComponents", Description = "Configures an Azure Container App environment to publish Dapr components")]
public static ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> WithDaprComponents(this ApplicationModel.IResourceBuilder<Azure.AppContainers.AzureContainerAppEnvironmentResource> builder) { throw null; }
}

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

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

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

public static partial class AzureKeyVaultDaprHostingExtensions
{
[AspireExportIgnore(Reason = "ProvisioningParameter is an Azure.Provisioning type not compatible with ATS.")]
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; }
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,27 @@ namespace Aspire.Hosting
{
public static partial class DataApiBuilderHostingExtension
{
[AspireExportIgnore(Reason = "Polyglot app hosts use the overload that makes both configFilePaths and httpPort optional to avoid optional parameter ordering issues.")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.DataApiBuilderContainerResource> AddDataAPIBuilder(this IDistributedApplicationBuilder builder, string name, int? httpPort = null, params string[] configFilePaths) { throw null; }

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

namespace Aspire.Hosting.ApplicationModel
{
[AspireExport(ExposeProperties = true)]
public partial class DataApiBuilderContainerResource : ContainerResource, IResourceWithServiceDiscovery, IResourceWithEndpoints, IResource
{
public DataApiBuilderContainerResource(string name, string? entrypoint = null) : base(default!, default) { }

public EndpointReferenceExpression Host { get { throw null; } }

public EndpointReferenceExpression Port { get { throw null; } }

public EndpointReference PrimaryEndpoint { get { throw null; } }

public ReferenceExpression UriExpression { get { throw null; } }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
public static partial class AzureBlobStorageResourceBuilderExtensions
{
[AspireExport("withBlobAzureStorageExplorer", MethodName = "withAzureStorageExplorer", Description = "Adds an Azure Storage Explorer instance to a Blob storage resource.")]
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; }
}

public static partial class AzureQueueStorageResourceBuilderExtensions
{
[AspireExport("withQueueAzureStorageExplorer", MethodName = "withAzureStorageExplorer", Description = "Adds an Azure Storage Explorer instance to a Queue storage resource.")]
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; }
}

public static partial class AzureStorageExplorerBuilderExtensions
{
[AspireExport("withHostPort", Description = "Configures the host port that the Azure Storage Explorer resource is exposed on.")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.AzureStorageExplorerResource> WithHostPort(this ApplicationModel.IResourceBuilder<ApplicationModel.AzureStorageExplorerResource> builder, int? port) { throw null; }
}

public static partial class AzureTableStorageResourceBuilderExtensions
{
[AspireExport("withTableAzureStorageExplorer", MethodName = "withAzureStorageExplorer", Description = "Adds an Azure Storage Explorer instance to a Table storage resource.")]
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; }
}
}

namespace Aspire.Hosting.ApplicationModel
{
[AspireExport(ExposeProperties = true)]
public partial class AzureStorageExplorerResource : ContainerResource
{
public AzureStorageExplorerResource(string name) : base(default!, default) { }

public EndpointReferenceExpression Host { get { throw null; } }

public EndpointReferenceExpression Port { get { throw null; } }

public EndpointReference PrimaryEndpoint { get { throw null; } }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ namespace Aspire.Hosting
{
public static partial class BunAppExtensions
{
[AspireExport("addBunApp", Description = "Adds a Bun app")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.BunAppResource> AddBunApp(this IDistributedApplicationBuilder builder, string name, string? workingDirectory = null, string entryPoint = "index.ts", bool watch = false) { throw null; }

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