Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
joperezr authored and github-actions[bot] committed Feb 2, 2025
1 parent d65be45 commit 02609f0
Show file tree
Hide file tree
Showing 22 changed files with 544 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ public static ApplicationModel.IResourceBuilder<T> PublishAsAzureContainerApp<T>
where T : ApplicationModel.ContainerResource { throw null; }
}

public static partial class AzureContainerAppExecutableExtensions
{
public static ApplicationModel.IResourceBuilder<T> PublishAsAzureContainerApp<T>(this ApplicationModel.IResourceBuilder<T> executable, System.Action<Azure.AzureResourceInfrastructure, global::Azure.Provisioning.AppContainers.ContainerApp> configure)
where T : ApplicationModel.ExecutableResource { throw null; }
}

public static partial class AzureContainerAppExtensions
{
public static IDistributedApplicationBuilder AddAzureContainerAppsInfrastructure(this IDistributedApplicationBuilder builder) { throw null; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,43 @@
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
public partial class AzureCosmosDBResource : Azure.AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueProvider, ApplicationModel.IValueWithReferences, ApplicationModel.IResourceWithEndpoints
public partial class AzureCosmosDBResource : Azure.AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueProvider, ApplicationModel.IValueWithReferences, ApplicationModel.IResourceWithEndpoints, Azure.IResourceWithAzureFunctionsConfig
{
public AzureCosmosDBResource(string name, System.Action<Azure.AzureResourceInfrastructure> configureInfrastructure) : base(default!, default!) { }

public Azure.BicepSecretOutputReference ConnectionString { get { throw null; } }

public ApplicationModel.ReferenceExpression ConnectionStringExpression { get { throw null; } }

public Azure.BicepOutputReference ConnectionStringOutput { get { throw null; } }

public bool IsEmulator { get { throw null; } }

[System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, "ConnectionStringSecretOutput")]
public bool UseAccessKeyAuthentication { get { throw null; } }

public void ApplyAzureFunctionsConfiguration(System.Collections.Generic.IDictionary<string, object> target, string connectionName) { }
}

public static partial class AzureCosmosExtensions
{
public static ApplicationModel.IResourceBuilder<AzureCosmosDBResource> AddAzureCosmosDB(this IDistributedApplicationBuilder builder, string name) { throw null; }

[System.Obsolete("This method is obsolete and will be removed in a future version. Use WithDatabase instead to add a Cosmos DB database.")]
public static ApplicationModel.IResourceBuilder<AzureCosmosDBResource> AddDatabase(this ApplicationModel.IResourceBuilder<AzureCosmosDBResource> builder, string databaseName) { throw null; }

public static ApplicationModel.IResourceBuilder<AzureCosmosDBResource> RunAsEmulator(this ApplicationModel.IResourceBuilder<AzureCosmosDBResource> builder, System.Action<ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource>>? configureContainer = null) { throw null; }

[System.Diagnostics.CodeAnalysis.Experimental("ASPIRECOSMOS001", UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}")]
public static ApplicationModel.IResourceBuilder<AzureCosmosDBResource> RunAsPreviewEmulator(this ApplicationModel.IResourceBuilder<AzureCosmosDBResource> builder, System.Action<ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource>>? configureContainer = null) { throw null; }

public static ApplicationModel.IResourceBuilder<AzureCosmosDBResource> WithAccessKeyAuthentication(this ApplicationModel.IResourceBuilder<AzureCosmosDBResource> builder) { throw null; }

public static ApplicationModel.IResourceBuilder<AzureCosmosDBResource> WithDatabase(this ApplicationModel.IResourceBuilder<AzureCosmosDBResource> builder, string name, System.Action<Azure.CosmosDB.CosmosDBDatabase>? configure = null) { throw null; }

[System.Diagnostics.CodeAnalysis.Experimental("ASPIRECOSMOS001", UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}")]
public static ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource> WithDataExplorer(this ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource> builder, int? port = null) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource> WithDataVolume(this ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource> builder, string? name = null) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource> WithGatewayPort(this ApplicationModel.IResourceBuilder<Azure.AzureCosmosDBEmulatorResource> builder, int? port) { throw null; }
Expand All @@ -42,7 +60,26 @@ public partial class AzureCosmosDBEmulatorResource : ApplicationModel.ContainerR
public AzureCosmosDBEmulatorResource(AzureCosmosDBResource innerResource) : base(default!, default) { }

public override ApplicationModel.ResourceAnnotationCollection Annotations { get { throw null; } }
}
}

namespace Aspire.Hosting.Azure.CosmosDB
{
public partial class CosmosDBContainer
{
public CosmosDBContainer(string name, string partitionKeyPath) { }

public string Name { get { throw null; } set { } }

public string PartitionKeyPath { get { throw null; } set { } }
}

public partial class CosmosDBDatabase
{
public CosmosDBDatabase(string name) { }

public System.Collections.Generic.List<CosmosDBContainer> Containers { get { throw null; } }

public override string Name { get { throw null; } }
public string Name { get { throw null; } set { } }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,25 @@ public static partial class AzureEventHubsExtensions
{
public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsResource> AddAzureEventHubs(this IDistributedApplicationBuilder builder, string name) { throw null; }

[System.Obsolete("This method is obsolete and will be removed in a future version. Use WithHub instead to add an Azure Event Hub.")]
public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsResource> AddEventHub(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsResource> builder, string name) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> ConfigureEmulator(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> builder, System.Action<System.Text.Json.Nodes.JsonNode> configJson) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsResource> RunAsEmulator(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsResource> builder, System.Action<ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource>>? configureContainer = null) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> WithConfigurationFile(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> builder, string path) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> WithDataBindMount(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> builder, string? path = null) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> WithDataVolume(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> builder, string? name = null) { throw null; }

[System.Obsolete("Use WithHostPort instead.")]
public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> WithGatewayPort(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> builder, int? port) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> WithHostPort(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsEmulatorResource> builder, int? port) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureEventHubsResource> WithHub(this ApplicationModel.IResourceBuilder<Azure.AzureEventHubsResource> builder, string name, System.Action<Azure.EventHubs.EventHub>? configure = null) { throw null; }
}
}

Expand All @@ -47,4 +57,25 @@ public AzureEventHubsResource(string name, System.Action<AzureResourceInfrastruc

void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(System.Collections.Generic.IDictionary<string, object> target, string connectionName) { }
}
}

namespace Aspire.Hosting.Azure.EventHubs
{
public partial class EventHub
{
public EventHub(string name) { }

public System.Collections.Generic.List<EventHubConsumerGroup> ConsumerGroups { get { throw null; } }

public string Name { get { throw null; } set { } }

public long? PartitionCount { get { throw null; } set { } }
}

public partial class EventHubConsumerGroup
{
public EventHubConsumerGroup(string name) { }

public string Name { get { throw null; } set { } }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public AzurePostgresFlexibleServerResource(string name, System.Action<AzureResou
public ApplicationModel.ReferenceExpression ConnectionStringExpression { get { throw null; } }

public System.Collections.Generic.IReadOnlyDictionary<string, string> Databases { get { throw null; } }

[System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, "ConnectionStringSecretOutput")]
public bool UsePasswordAuthentication { get { throw null; } }
}

[System.Obsolete("This class is obsolete and will be removed in a future version. Use AddAzurePostgresFlexibleServer instead to add an Azure Postgres Flexible Server resource.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public AzureRedisCacheResource(string name, System.Action<AzureResourceInfrastru
public override ApplicationModel.ResourceAnnotationCollection Annotations { get { throw null; } }

public ApplicationModel.ReferenceExpression ConnectionStringExpression { get { throw null; } }

[System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, "ConnectionStringSecretOutput")]
public bool UseAccessKeyAuthentication { get { throw null; } }
}

[System.Obsolete("This class is obsolete and will be removed in a future version. Use AddAzureRedis instead to add an Azure Cache for Redis resource.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,157 @@ public static partial class AzureServiceBusExtensions
{
public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> AddAzureServiceBus(this IDistributedApplicationBuilder builder, string name) { throw null; }

[System.Obsolete("This method is obsolete and will be removed in a future version. Use WithQueue instead to add an Azure Service Bus Queue.")]
public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> AddQueue(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> builder, string name) { throw null; }

[System.Obsolete("This method is obsolete and will be removed in a future version. Use WithTopic instead to add an Azure Service Bus Subscription to a Topic.")]
public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> AddSubscription(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> builder, string topicName, string subscriptionName) { throw null; }

[System.Obsolete("This method is obsolete and will be removed in a future version. Use WithTopic instead to add an Azure Service Bus Topic and Subscriptions.")]
public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> AddTopic(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> builder, string name, string[] subscriptions) { throw null; }

[System.Obsolete("This method is obsolete and will be removed in a future version. Use WithTopic instead to add an Azure Service Bus Topic.")]
public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> AddTopic(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> builder, string name) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusEmulatorResource> ConfigureEmulator(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusEmulatorResource> builder, System.Action<System.Text.Json.Nodes.JsonNode> configJson) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> RunAsEmulator(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> builder, System.Action<ApplicationModel.IResourceBuilder<Azure.AzureServiceBusEmulatorResource>>? configureContainer = null) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusEmulatorResource> WithConfigurationFile(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusEmulatorResource> builder, string path) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusEmulatorResource> WithHostPort(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusEmulatorResource> builder, int? port) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> WithQueue(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> builder, string name, System.Action<Azure.ServiceBus.ServiceBusQueue>? configure = null) { throw null; }

public static ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> WithTopic(this ApplicationModel.IResourceBuilder<Azure.AzureServiceBusResource> builder, string name, System.Action<Azure.ServiceBus.ServiceBusTopic>? configure = null) { throw null; }
}
}

namespace Aspire.Hosting.Azure
{
public partial class AzureServiceBusResource : AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueProvider, ApplicationModel.IValueWithReferences, IResourceWithAzureFunctionsConfig
public partial class AzureServiceBusEmulatorResource : ApplicationModel.ContainerResource, ApplicationModel.IResource
{
public AzureServiceBusEmulatorResource(AzureServiceBusResource innerResource) : base(default!, default) { }

public override ApplicationModel.ResourceAnnotationCollection Annotations { get { throw null; } }
}

public partial class AzureServiceBusResource : AzureProvisioningResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueProvider, ApplicationModel.IValueWithReferences, IResourceWithAzureFunctionsConfig, ApplicationModel.IResourceWithEndpoints
{
public AzureServiceBusResource(string name, System.Action<AzureResourceInfrastructure> configureInfrastructure) : base(default!, default!) { }

public ApplicationModel.ReferenceExpression ConnectionStringExpression { get { throw null; } }

public bool IsEmulator { get { throw null; } }

public BicepOutputReference ServiceBusEndpoint { get { throw null; } }

void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(System.Collections.Generic.IDictionary<string, object> target, string connectionName) { }
}
}

namespace Aspire.Hosting.Azure.ServiceBus
{
public partial class ServiceBusCorrelationFilter
{
public string? ContentType { get { throw null; } set { } }

public string? CorrelationId { get { throw null; } set { } }

public string? MessageId { get { throw null; } set { } }

public System.Collections.Generic.Dictionary<string, object> Properties { get { throw null; } set { } }

public string? ReplyTo { get { throw null; } set { } }

public string? ReplyToSessionId { get { throw null; } set { } }

public bool? RequiresPreprocessing { get { throw null; } set { } }

public string? SendTo { get { throw null; } set { } }

public string? SessionId { get { throw null; } set { } }

public string? Subject { get { throw null; } set { } }
}

public enum ServiceBusFilterType
{
SqlFilter = 0,
CorrelationFilter = 1
}

public partial class ServiceBusQueue
{
public ServiceBusQueue(string name) { }

public bool? DeadLetteringOnMessageExpiration { get { throw null; } set { } }

public System.TimeSpan? DefaultMessageTimeToLive { get { throw null; } set { } }

public System.TimeSpan? DuplicateDetectionHistoryTimeWindow { get { throw null; } set { } }

public string? ForwardDeadLetteredMessagesTo { get { throw null; } set { } }

public string? ForwardTo { get { throw null; } set { } }

public System.TimeSpan? LockDuration { get { throw null; } set { } }

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

public string Name { get { throw null; } set { } }

public bool? RequiresDuplicateDetection { get { throw null; } set { } }

public bool? RequiresSession { get { throw null; } set { } }
}

public partial class ServiceBusRule
{
public ServiceBusRule(string name) { }

public ServiceBusCorrelationFilter CorrelationFilter { get { throw null; } set { } }

public ServiceBusFilterType FilterType { get { throw null; } set { } }

public string Name { get { throw null; } set { } }
}

public partial class ServiceBusSubscription
{
public ServiceBusSubscription(string name) { }

public bool? DeadLetteringOnMessageExpiration { get { throw null; } set { } }

public System.TimeSpan? DefaultMessageTimeToLive { get { throw null; } set { } }

public string? ForwardDeadLetteredMessagesTo { get { throw null; } set { } }

public string? ForwardTo { get { throw null; } set { } }

public System.TimeSpan? LockDuration { get { throw null; } set { } }

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

public string Name { get { throw null; } set { } }

public bool? RequiresSession { get { throw null; } set { } }

public System.Collections.Generic.List<ServiceBusRule> Rules { get { throw null; } }
}

public partial class ServiceBusTopic
{
public ServiceBusTopic(string name) { }

public System.TimeSpan? DefaultMessageTimeToLive { get { throw null; } set { } }

public System.TimeSpan? DuplicateDetectionHistoryTimeWindow { get { throw null; } set { } }

public string Name { get { throw null; } set { } }

public bool? RequiresDuplicateDetection { get { throw null; } set { } }

public System.Collections.Generic.List<ServiceBusSubscription> Subscriptions { get { throw null; } }
}
}
Loading

0 comments on commit 02609f0

Please sign in to comment.