diff --git a/src/CommunityToolkit.Aspire.Chroma/api/CommunityToolkit.Aspire.Chroma.cs b/src/CommunityToolkit.Aspire.Chroma/api/CommunityToolkit.Aspire.Chroma.cs new file mode 100644 index 000000000..cb8ab4a66 --- /dev/null +++ b/src/CommunityToolkit.Aspire.Chroma/api/CommunityToolkit.Aspire.Chroma.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace CommunityToolkit.Aspire.Chroma +{ + public sealed partial class ChromaClientSettings + { + public string? Database { get { throw null; } set { } } + + public bool DisableHealthChecks { get { throw null; } set { } } + + public bool DisableMetrics { get { throw null; } set { } } + + public bool DisableTracing { get { throw null; } set { } } + + public System.Uri? Endpoint { get { throw null; } set { } } + + public int? HealthCheckTimeout { get { throw null; } set { } } + + public string? Tenant { get { throw null; } set { } } + + public string? Token { get { throw null; } set { } } + } +} + +namespace Microsoft.Extensions.Hosting +{ + public static partial class AspireChromaExtensions + { + public static void AddChromaClient(this IHostApplicationBuilder builder, string connectionName, System.Action? configureSettings = null) { } + + public static void AddKeyedChromaClient(this IHostApplicationBuilder builder, string name, System.Action? configureSettings = null) { } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.Chroma/api/CommunityToolkit.Aspire.Hosting.Chroma.cs b/src/CommunityToolkit.Aspire.Hosting.Chroma/api/CommunityToolkit.Aspire.Hosting.Chroma.cs new file mode 100644 index 000000000..16b5a72b1 --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.Chroma/api/CommunityToolkit.Aspire.Hosting.Chroma.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class ChromaBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddChroma(this IDistributedApplicationBuilder builder, string name, int? port = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataBindMount(this ApplicationModel.IResourceBuilder builder, string source) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataVolume(this ApplicationModel.IResourceBuilder builder, string? name = null) { throw null; } + } +} + +namespace Aspire.Hosting.ApplicationModel +{ + [AspireExport(ExposeProperties = true)] + public partial class ChromaResource : ContainerResource, IResourceWithConnectionString, IResource, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public ChromaResource(string name) : base(default!, default) { } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public EndpointReferenceExpression Host { get { throw null; } } + + public EndpointReferenceExpression Port { get { throw null; } } + + public EndpointReference PrimaryEndpoint { get { throw null; } } + + public ReferenceExpression UriExpression { get { throw null; } } + + System.Collections.Generic.IEnumerable> IResourceWithConnectionString.GetConnectionProperties() { throw null; } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.Floci/api/CommunityToolkit.Aspire.Hosting.Floci.cs b/src/CommunityToolkit.Aspire.Hosting.Floci/api/CommunityToolkit.Aspire.Hosting.Floci.cs index a9e6aff9b..f74624231 100644 --- a/src/CommunityToolkit.Aspire.Hosting.Floci/api/CommunityToolkit.Aspire.Hosting.Floci.cs +++ b/src/CommunityToolkit.Aspire.Hosting.Floci/api/CommunityToolkit.Aspire.Hosting.Floci.cs @@ -91,6 +91,9 @@ public static ApplicationModel.IResourceBuilder WithReference WithServiceBus(this ApplicationModel.IResourceBuilder builder, string name = "servicebus", int? amqpPort = null, int? amqpTlsPort = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithStorage(this ApplicationModel.IResourceBuilder builder, string name = "storage") { throw null; } } } @@ -140,6 +143,22 @@ public FlociAzureServiceBusResource(string name, FlociAzureContainerResource par System.Collections.Generic.IEnumerable> IResourceWithConnectionString.GetConnectionProperties() { throw null; } } + [AspireExport(ExposeProperties = true)] + public partial class FlociAzureStorageResource : Resource, IResourceWithParent, IResourceWithParent, IResource, IResourceWithConnectionString, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public FlociAzureStorageResource(string name, FlociAzureContainerResource parent) : base(default!) { } + + public string AccountName { get { throw null; } } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public FlociAzureContainerResource Parent { get { throw null; } } + + public ReferenceExpression ServiceEndpoint { get { throw null; } } + + System.Collections.Generic.IEnumerable> IResourceWithConnectionString.GetConnectionProperties() { throw null; } + } + public abstract partial class FlociContainerResource : ContainerResource, IResourceWithConnectionString, IResource, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences { protected FlociContainerResource(string name, string endpointName) : base(default!, default) { }