From 573fb57e740f5add5e398633031644ae3be868d5 Mon Sep 17 00:00:00 2001 From: glorialimicrosoft Date: Mon, 9 Oct 2023 17:29:51 -0700 Subject: [PATCH] run 'eng\scripts\Export-API.ps1' --- ...e.Communication.Messages.netstandard2.0.cs | 240 ++++++++++++++++++ ...e.Monitor.OpenTelemetry.Exporter.net6.0.cs | 24 ++ ...re.WebJobs.Extensions.ServiceBus.net6.0.cs | 128 ++++++++++ 3 files changed, 392 insertions(+) create mode 100644 sdk/communication/Azure.Communication.Messages/api/Azure.Communication.Messages.netstandard2.0.cs create mode 100644 sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/api/Azure.Monitor.OpenTelemetry.Exporter.net6.0.cs create mode 100644 sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/api/Microsoft.Azure.WebJobs.Extensions.ServiceBus.net6.0.cs diff --git a/sdk/communication/Azure.Communication.Messages/api/Azure.Communication.Messages.netstandard2.0.cs b/sdk/communication/Azure.Communication.Messages/api/Azure.Communication.Messages.netstandard2.0.cs new file mode 100644 index 0000000000000..da475957b2e2a --- /dev/null +++ b/sdk/communication/Azure.Communication.Messages/api/Azure.Communication.Messages.netstandard2.0.cs @@ -0,0 +1,240 @@ +namespace Azure.Communication.Messages +{ + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct CommunicationMessagesChannelType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CommunicationMessagesChannelType(string value) { throw null; } + public static Azure.Communication.Messages.CommunicationMessagesChannelType WhatsApp { get { throw null; } } + public bool Equals(Azure.Communication.Messages.CommunicationMessagesChannelType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.Communication.Messages.CommunicationMessagesChannelType left, Azure.Communication.Messages.CommunicationMessagesChannelType right) { throw null; } + public static implicit operator Azure.Communication.Messages.CommunicationMessagesChannelType (string value) { throw null; } + public static bool operator !=(Azure.Communication.Messages.CommunicationMessagesChannelType left, Azure.Communication.Messages.CommunicationMessagesChannelType right) { throw null; } + public override string ToString() { throw null; } + } + public partial class CommunicationMessagesClientOptions : Azure.Core.ClientOptions + { + public CommunicationMessagesClientOptions(Azure.Communication.Messages.CommunicationMessagesClientOptions.ServiceVersion version = Azure.Communication.Messages.CommunicationMessagesClientOptions.ServiceVersion.V2023_08_24_Preview) { } + public enum ServiceVersion + { + V2023_08_24_Preview = 1, + } + } + public static partial class CommunicationMessagesModelFactory + { + public static Azure.Communication.Messages.MessageReceipt MessageReceipt(string messageId = null, string to = null) { throw null; } + public static Azure.Communication.Messages.SendMessageResult SendMessageResult(System.Collections.Generic.IEnumerable receipts = null) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct CommunicationMessageType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CommunicationMessageType(string value) { throw null; } + public static Azure.Communication.Messages.CommunicationMessageType Image { get { throw null; } } + public static Azure.Communication.Messages.CommunicationMessageType Template { get { throw null; } } + public static Azure.Communication.Messages.CommunicationMessageType Text { get { throw null; } } + public bool Equals(Azure.Communication.Messages.CommunicationMessageType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.Communication.Messages.CommunicationMessageType left, Azure.Communication.Messages.CommunicationMessageType right) { throw null; } + public static implicit operator Azure.Communication.Messages.CommunicationMessageType (string value) { throw null; } + public static bool operator !=(Azure.Communication.Messages.CommunicationMessageType left, Azure.Communication.Messages.CommunicationMessageType right) { throw null; } + public override string ToString() { throw null; } + } + public partial class MessageReceipt + { + internal MessageReceipt() { } + public string MessageId { get { throw null; } } + public string To { get { throw null; } } + } + public partial class MessageTemplate + { + public MessageTemplate(string name, string language, System.Collections.Generic.IEnumerable values = null, Azure.Communication.Messages.MessageTemplateBindings bindings = null) { } + public Azure.Communication.Messages.MessageTemplateBindings Bindings { get { throw null; } } + public string Language { get { throw null; } } + public string Name { get { throw null; } } + public System.Collections.Generic.IEnumerable Values { get { throw null; } } + } + public abstract partial class MessageTemplateBindings + { + public MessageTemplateBindings() { } + internal abstract Azure.Communication.Messages.MessageTemplateBindingsInternal ToMessageTemplateBindingsInternal(); + } + public partial class MessageTemplateClient + { + protected MessageTemplateClient() { } + public MessageTemplateClient(string connectionString) { } + public MessageTemplateClient(string connectionString, Azure.Communication.Messages.CommunicationMessagesClientOptions options) { } + public MessageTemplateClient(System.Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.Communication.Messages.CommunicationMessagesClientOptions options = null) { } + public virtual Azure.Pageable GetTemplates(string channelRegistrationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTemplatesAsync(string channelRegistrationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class MessageTemplateDocument : Azure.Communication.Messages.MessageTemplateValue + { + public MessageTemplateDocument(string name, System.Uri uri, string caption = null, string fileName = null) : base (default(string)) { } + public string Caption { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + public System.Uri Uri { get { throw null; } set { } } + } + public partial class MessageTemplateImage : Azure.Communication.Messages.MessageTemplateValue + { + public MessageTemplateImage(string name, System.Uri uri, string caption = null, string fileName = null) : base (default(string)) { } + public string Caption { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + public System.Uri Uri { get { throw null; } set { } } + } + public partial class MessageTemplateItem + { + internal MessageTemplateItem() { } + public Azure.Communication.Messages.CommunicationMessagesChannelType? ChannelType { get { throw null; } } + public string Language { get { throw null; } } + public string Name { get { throw null; } } + public Azure.Communication.Messages.TemplateStatus? Status { get { throw null; } } + public Azure.Communication.Messages.MessageTemplateItemWhatsApp WhatsApp { get { throw null; } } + } + public partial class MessageTemplateItemWhatsApp + { + internal MessageTemplateItemWhatsApp() { } + public System.BinaryData Content { get { throw null; } } + } + public partial class MessageTemplateLocation : Azure.Communication.Messages.MessageTemplateValue + { + public MessageTemplateLocation(string name, double latitude, double longitude, string locationName = null, string address = null) : base (default(string)) { } + public string Address { get { throw null; } set { } } + public double Latitude { get { throw null; } set { } } + public string LocationName { get { throw null; } set { } } + public double Longitude { get { throw null; } set { } } + } + public partial class MessageTemplateQuickAction : Azure.Communication.Messages.MessageTemplateValue + { + public MessageTemplateQuickAction(string name, string text = null, string payload = null) : base (default(string)) { } + public string Payload { get { throw null; } set { } } + public string Text { get { throw null; } set { } } + } + public partial class MessageTemplateText : Azure.Communication.Messages.MessageTemplateValue + { + public MessageTemplateText(string name, string text) : base (default(string)) { } + public string Text { get { throw null; } set { } } + } + public abstract partial class MessageTemplateValue + { + public MessageTemplateValue(string name) { } + public string Name { get { throw null; } } + internal abstract Azure.Communication.Messages.MessageTemplateValueInternal ToMessageTemplateValueInternal(); + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct MessageTemplateValueKind : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MessageTemplateValueKind(string value) { throw null; } + public static Azure.Communication.Messages.MessageTemplateValueKind Document { get { throw null; } } + public static Azure.Communication.Messages.MessageTemplateValueKind Image { get { throw null; } } + public static Azure.Communication.Messages.MessageTemplateValueKind Location { get { throw null; } } + public static Azure.Communication.Messages.MessageTemplateValueKind QuickAction { get { throw null; } } + public static Azure.Communication.Messages.MessageTemplateValueKind Text { get { throw null; } } + public static Azure.Communication.Messages.MessageTemplateValueKind Video { get { throw null; } } + public bool Equals(Azure.Communication.Messages.MessageTemplateValueKind other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.Communication.Messages.MessageTemplateValueKind left, Azure.Communication.Messages.MessageTemplateValueKind right) { throw null; } + public static implicit operator Azure.Communication.Messages.MessageTemplateValueKind (string value) { throw null; } + public static bool operator !=(Azure.Communication.Messages.MessageTemplateValueKind left, Azure.Communication.Messages.MessageTemplateValueKind right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct MessageTemplateValueWhatsAppSubType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MessageTemplateValueWhatsAppSubType(string value) { throw null; } + public static Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType QuickReply { get { throw null; } } + public static Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType Url { get { throw null; } } + public bool Equals(Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType left, Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType right) { throw null; } + public static implicit operator Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType (string value) { throw null; } + public static bool operator !=(Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType left, Azure.Communication.Messages.MessageTemplateValueWhatsAppSubType right) { throw null; } + public override string ToString() { throw null; } + } + public partial class MessageTemplateVideo : Azure.Communication.Messages.MessageTemplateValue + { + public MessageTemplateVideo(string name, System.Uri uri, string caption = null, string fileName = null) : base (default(string)) { } + public string Caption { get { throw null; } set { } } + public string FileName { get { throw null; } set { } } + public System.Uri Uri { get { throw null; } set { } } + } + public partial class MessageTemplateWhatsAppBindings : Azure.Communication.Messages.MessageTemplateBindings + { + public MessageTemplateWhatsAppBindings(System.Collections.Generic.IEnumerable header = null, System.Collections.Generic.IEnumerable body = null, System.Collections.Generic.IEnumerable footer = null, System.Collections.Generic.IEnumerable> button = null) { } + public System.Collections.Generic.IEnumerable Body { get { throw null; } } + public System.Collections.Generic.IEnumerable> Button { get { throw null; } } + public System.Collections.Generic.IEnumerable Footer { get { throw null; } } + public System.Collections.Generic.IEnumerable Header { get { throw null; } } + } + public partial class NotificationMessagesClient + { + protected NotificationMessagesClient() { } + public NotificationMessagesClient(string connectionString) { } + public NotificationMessagesClient(string connectionString, Azure.Communication.Messages.CommunicationMessagesClientOptions options) { } + public NotificationMessagesClient(System.Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.Communication.Messages.CommunicationMessagesClientOptions options = null) { } + public virtual Azure.Response DownloadMedia(string mediaContentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> DownloadMediaAsync(string mediaContentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response DownloadMediaTo(string mediaContentId, System.IO.Stream destinationStream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response DownloadMediaTo(string mediaContentId, string destinationPath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DownloadMediaToAsync(string mediaContentId, System.IO.Stream destinationStream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DownloadMediaToAsync(string mediaContentId, string destinationPath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SendMessage(Azure.Communication.Messages.SendMessageOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SendMessageAsync(Azure.Communication.Messages.SendMessageOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class SendMessageOptions + { + public SendMessageOptions(string channelRegistrationId, System.Collections.Generic.IEnumerable to, Azure.Communication.Messages.MessageTemplate template) { } + public SendMessageOptions(string channelRegistrationId, System.Collections.Generic.IEnumerable to, string content) { } + public SendMessageOptions(string channelRegistrationId, System.Collections.Generic.IEnumerable to, System.Uri mediaUri, string content = null) { } + public string ChannelRegistrationId { get { throw null; } } + public string Content { get { throw null; } } + public System.Uri MediaUri { get { throw null; } } + public Azure.Communication.Messages.CommunicationMessageType MessageType { get { throw null; } } + public Azure.Communication.Messages.MessageTemplate Template { get { throw null; } } + public System.Collections.Generic.IEnumerable To { get { throw null; } } + } + public partial class SendMessageResult + { + internal SendMessageResult() { } + public System.Collections.Generic.IReadOnlyList Receipts { get { throw null; } } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct TemplateStatus : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TemplateStatus(string value) { throw null; } + public static Azure.Communication.Messages.TemplateStatus Approved { get { throw null; } } + public static Azure.Communication.Messages.TemplateStatus Paused { get { throw null; } } + public static Azure.Communication.Messages.TemplateStatus Pending { get { throw null; } } + public static Azure.Communication.Messages.TemplateStatus Rejected { get { throw null; } } + public bool Equals(Azure.Communication.Messages.TemplateStatus other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.Communication.Messages.TemplateStatus left, Azure.Communication.Messages.TemplateStatus right) { throw null; } + public static implicit operator Azure.Communication.Messages.TemplateStatus (string value) { throw null; } + public static bool operator !=(Azure.Communication.Messages.TemplateStatus left, Azure.Communication.Messages.TemplateStatus right) { throw null; } + public override string ToString() { throw null; } + } +} diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/api/Azure.Monitor.OpenTelemetry.Exporter.net6.0.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/api/Azure.Monitor.OpenTelemetry.Exporter.net6.0.cs new file mode 100644 index 0000000000000..df4fa7a160503 --- /dev/null +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/api/Azure.Monitor.OpenTelemetry.Exporter.net6.0.cs @@ -0,0 +1,24 @@ +namespace Azure.Monitor.OpenTelemetry.Exporter +{ + public static partial class AzureMonitorExporterExtensions + { + public static OpenTelemetry.Logs.OpenTelemetryLoggerOptions AddAzureMonitorLogExporter(this OpenTelemetry.Logs.OpenTelemetryLoggerOptions loggerOptions, System.Action configure = null, Azure.Core.TokenCredential credential = null) { throw null; } + public static OpenTelemetry.Metrics.MeterProviderBuilder AddAzureMonitorMetricExporter(this OpenTelemetry.Metrics.MeterProviderBuilder builder, System.Action configure = null, Azure.Core.TokenCredential credential = null, string name = null) { throw null; } + public static OpenTelemetry.Trace.TracerProviderBuilder AddAzureMonitorTraceExporter(this OpenTelemetry.Trace.TracerProviderBuilder builder, System.Action configure = null, Azure.Core.TokenCredential credential = null, string name = null) { throw null; } + } + public partial class AzureMonitorExporterOptions : Azure.Core.ClientOptions + { + public AzureMonitorExporterOptions() { } + public AzureMonitorExporterOptions(Azure.Monitor.OpenTelemetry.Exporter.AzureMonitorExporterOptions.ServiceVersion version = Azure.Monitor.OpenTelemetry.Exporter.AzureMonitorExporterOptions.ServiceVersion.v2_1) { } + public string ConnectionString { get { throw null; } set { } } + public Azure.Core.TokenCredential Credential { get { throw null; } set { } } + public bool DisableOfflineStorage { get { throw null; } set { } } + public float SamplingRatio { get { throw null; } set { } } + public string StorageDirectory { get { throw null; } set { } } + public Azure.Monitor.OpenTelemetry.Exporter.AzureMonitorExporterOptions.ServiceVersion Version { get { throw null; } set { } } + public enum ServiceVersion + { + v2_1 = 1, + } + } +} diff --git a/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/api/Microsoft.Azure.WebJobs.Extensions.ServiceBus.net6.0.cs b/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/api/Microsoft.Azure.WebJobs.Extensions.ServiceBus.net6.0.cs new file mode 100644 index 0000000000000..54f867273d900 --- /dev/null +++ b/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/api/Microsoft.Azure.WebJobs.Extensions.ServiceBus.net6.0.cs @@ -0,0 +1,128 @@ +namespace Microsoft.Azure.WebJobs +{ + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Method | System.AttributeTargets.Parameter)] + public sealed partial class ServiceBusAccountAttribute : System.Attribute, Microsoft.Azure.WebJobs.IConnectionProvider + { + public ServiceBusAccountAttribute(string account) { } + public string Account { get { throw null; } } + string Microsoft.Azure.WebJobs.IConnectionProvider.Connection { get { throw null; } set { } } + } + [Microsoft.Azure.WebJobs.ConnectionProviderAttribute(typeof(Microsoft.Azure.WebJobs.ServiceBusAccountAttribute))] + [Microsoft.Azure.WebJobs.Description.BindingAttribute] + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue)] + [System.Diagnostics.DebuggerDisplayAttribute("{QueueOrTopicName,nq}")] + public sealed partial class ServiceBusAttribute : System.Attribute, Microsoft.Azure.WebJobs.IConnectionProvider + { + public ServiceBusAttribute(string queueOrTopicName, Microsoft.Azure.WebJobs.ServiceBus.ServiceBusEntityType entityType = Microsoft.Azure.WebJobs.ServiceBus.ServiceBusEntityType.Queue) { } + public string Connection { get { throw null; } set { } } + public Microsoft.Azure.WebJobs.ServiceBus.ServiceBusEntityType EntityType { get { throw null; } set { } } + public string QueueOrTopicName { get { throw null; } } + } + [Microsoft.Azure.WebJobs.ConnectionProviderAttribute(typeof(Microsoft.Azure.WebJobs.ServiceBusAccountAttribute))] + [Microsoft.Azure.WebJobs.Description.BindingAttribute] + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter)] + [System.Diagnostics.DebuggerDisplayAttribute("{DebuggerDisplay,nq}")] + public sealed partial class ServiceBusTriggerAttribute : System.Attribute, Microsoft.Azure.WebJobs.IConnectionProvider + { + public ServiceBusTriggerAttribute(string queueName) { } + public ServiceBusTriggerAttribute(string topicName, string subscriptionName) { } + public bool AutoCompleteMessages { get { throw null; } set { } } + public string Connection { get { throw null; } set { } } + public bool IsSessionsEnabled { get { throw null; } set { } } + public string QueueName { get { throw null; } } + public string SubscriptionName { get { throw null; } } + public string TopicName { get { throw null; } } + } +} +namespace Microsoft.Azure.WebJobs.ServiceBus +{ + public partial class MessageProcessor + { + protected internal MessageProcessor(Azure.Messaging.ServiceBus.ServiceBusProcessor processor) { } + protected internal Azure.Messaging.ServiceBus.ServiceBusProcessor Processor { get { throw null; } } + protected internal virtual System.Threading.Tasks.Task BeginProcessingMessageAsync(Microsoft.Azure.WebJobs.ServiceBus.ServiceBusMessageActions actions, Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } + protected internal virtual System.Threading.Tasks.Task CompleteProcessingMessageAsync(Microsoft.Azure.WebJobs.ServiceBus.ServiceBusMessageActions actions, Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, Microsoft.Azure.WebJobs.Host.Executors.FunctionResult result, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public partial class MessagingProvider + { + public MessagingProvider(Microsoft.Extensions.Options.IOptions options) { } + protected internal virtual Azure.Messaging.ServiceBus.ServiceBusReceiver CreateBatchMessageReceiver(Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusReceiverOptions options) { throw null; } + protected internal virtual Azure.Messaging.ServiceBus.ServiceBusClient CreateClient(string fullyQualifiedNamespace, Azure.Core.TokenCredential credential, Azure.Messaging.ServiceBus.ServiceBusClientOptions options) { throw null; } + protected internal virtual Azure.Messaging.ServiceBus.ServiceBusClient CreateClient(string connectionString, Azure.Messaging.ServiceBus.ServiceBusClientOptions options) { throw null; } + protected internal virtual Microsoft.Azure.WebJobs.ServiceBus.MessageProcessor CreateMessageProcessor(Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusProcessorOptions options) { throw null; } + protected internal virtual Azure.Messaging.ServiceBus.ServiceBusSender CreateMessageSender(Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath) { throw null; } + protected internal virtual Azure.Messaging.ServiceBus.ServiceBusProcessor CreateProcessor(Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusProcessorOptions options) { throw null; } + protected internal virtual Microsoft.Azure.WebJobs.ServiceBus.SessionMessageProcessor CreateSessionMessageProcessor(Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions options) { throw null; } + protected internal virtual Azure.Messaging.ServiceBus.ServiceBusSessionProcessor CreateSessionProcessor(Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions options) { throw null; } + } + public enum ServiceBusEntityType + { + Queue = 0, + Topic = 1, + } + public partial class ServiceBusMessageActions + { + protected ServiceBusMessageActions() { } + public virtual System.Threading.Tasks.Task AbandonMessageAsync(Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Collections.Generic.IDictionary propertiesToModify = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CompleteMessageAsync(Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeadLetterMessageAsync(Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Collections.Generic.Dictionary propertiesToModify, string deadLetterReason, string deadLetterErrorDescription = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeadLetterMessageAsync(Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Collections.Generic.IDictionary propertiesToModify = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeadLetterMessageAsync(Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, string deadLetterReason, string deadLetterErrorDescription = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeferMessageAsync(Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Collections.Generic.IDictionary propertiesToModify = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task RenewMessageLockAsync(Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ServiceBusOptions : Microsoft.Azure.WebJobs.Hosting.IOptionsFormatter + { + public ServiceBusOptions() { } + public bool AutoCompleteMessages { get { throw null; } set { } } + public Azure.Messaging.ServiceBus.ServiceBusRetryOptions ClientRetryOptions { get { throw null; } set { } } + public bool EnableCrossEntityTransactions { get { throw null; } set { } } + public Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get { throw null; } set { } } + public System.TimeSpan MaxAutoLockRenewalDuration { get { throw null; } set { } } + public System.TimeSpan MaxBatchWaitTime { get { throw null; } set { } } + public int MaxConcurrentCalls { get { throw null; } set { } } + public int MaxConcurrentCallsPerSession { get { throw null; } set { } } + public int MaxConcurrentSessions { get { throw null; } set { } } + public int MaxMessageBatchSize { get { throw null; } set { } } + public int MinMessageBatchSize { get { throw null; } set { } } + public int PrefetchCount { get { throw null; } set { } } + public System.Func ProcessErrorAsync { get { throw null; } set { } } + public System.Func SessionClosingAsync { get { throw null; } set { } } + public System.TimeSpan? SessionIdleTimeout { get { throw null; } set { } } + public System.Func SessionInitializingAsync { get { throw null; } set { } } + public Azure.Messaging.ServiceBus.ServiceBusTransportType TransportType { get { throw null; } set { } } + public System.Net.IWebProxy WebProxy { get { throw null; } set { } } + string Microsoft.Azure.WebJobs.Hosting.IOptionsFormatter.Format() { throw null; } + } + public partial class ServiceBusReceiveActions + { + protected ServiceBusReceiveActions() { } + public virtual System.Threading.Tasks.Task> PeekMessagesAsync(int maxMessages, long? fromSequenceNumber = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ReceiveDeferredMessagesAsync(System.Collections.Generic.IEnumerable sequenceNumbers, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ReceiveMessagesAsync(int maxMessages, System.TimeSpan? maxWaitTime = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ServiceBusSessionMessageActions : Microsoft.Azure.WebJobs.ServiceBus.ServiceBusMessageActions + { + protected ServiceBusSessionMessageActions() { } + public virtual System.DateTimeOffset SessionLockedUntil { get { throw null; } } + public virtual System.Threading.Tasks.Task GetSessionStateAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual void ReleaseSession() { } + public virtual System.Threading.Tasks.Task RenewSessionLockAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SetSessionStateAsync(System.BinaryData sessionState, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class SessionMessageProcessor + { + protected internal SessionMessageProcessor(Azure.Messaging.ServiceBus.ServiceBusSessionProcessor processor) { } + protected internal Azure.Messaging.ServiceBus.ServiceBusSessionProcessor Processor { get { throw null; } } + protected internal virtual System.Threading.Tasks.Task BeginProcessingMessageAsync(Microsoft.Azure.WebJobs.ServiceBus.ServiceBusSessionMessageActions actions, Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } + protected internal virtual System.Threading.Tasks.Task CompleteProcessingMessageAsync(Microsoft.Azure.WebJobs.ServiceBus.ServiceBusSessionMessageActions actions, Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, Microsoft.Azure.WebJobs.Host.Executors.FunctionResult result, System.Threading.CancellationToken cancellationToken) { throw null; } + } +} +namespace Microsoft.Extensions.Hosting +{ + public static partial class ServiceBusHostBuilderExtensions + { + public static Microsoft.Azure.WebJobs.IWebJobsBuilder AddServiceBus(this Microsoft.Azure.WebJobs.IWebJobsBuilder builder) { throw null; } + public static Microsoft.Azure.WebJobs.IWebJobsBuilder AddServiceBus(this Microsoft.Azure.WebJobs.IWebJobsBuilder builder, System.Action configure) { throw null; } + } +}