|
| 1 | +namespace Azure.Monitor.Ingestion |
| 2 | +{ |
| 3 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 4 | + public readonly partial struct LogsIngestionAudience : System.IEquatable<Azure.Monitor.Ingestion.LogsIngestionAudience> |
| 5 | + { |
| 6 | + private readonly object _dummy; |
| 7 | + private readonly int _dummyPrimitive; |
| 8 | + public LogsIngestionAudience(string value) { throw null; } |
| 9 | + public static Azure.Monitor.Ingestion.LogsIngestionAudience AzureChina { get { throw null; } } |
| 10 | + public static Azure.Monitor.Ingestion.LogsIngestionAudience AzureGovernment { get { throw null; } } |
| 11 | + public static Azure.Monitor.Ingestion.LogsIngestionAudience AzurePublicCloud { get { throw null; } } |
| 12 | + public bool Equals(Azure.Monitor.Ingestion.LogsIngestionAudience other) { throw null; } |
| 13 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 14 | + public override bool Equals(object obj) { throw null; } |
| 15 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 16 | + public override int GetHashCode() { throw null; } |
| 17 | + public static bool operator ==(Azure.Monitor.Ingestion.LogsIngestionAudience left, Azure.Monitor.Ingestion.LogsIngestionAudience right) { throw null; } |
| 18 | + public static implicit operator Azure.Monitor.Ingestion.LogsIngestionAudience (string value) { throw null; } |
| 19 | + public static bool operator !=(Azure.Monitor.Ingestion.LogsIngestionAudience left, Azure.Monitor.Ingestion.LogsIngestionAudience right) { throw null; } |
| 20 | + public override string ToString() { throw null; } |
| 21 | + } |
| 22 | + public partial class LogsIngestionClient |
| 23 | + { |
| 24 | + protected LogsIngestionClient() { } |
| 25 | + public LogsIngestionClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { } |
| 26 | + public LogsIngestionClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Monitor.Ingestion.LogsIngestionClientOptions options) { } |
| 27 | + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } |
| 28 | + public virtual Azure.Response Upload(string ruleId, string streamName, Azure.Core.RequestContent content, string contentEncoding = null, Azure.RequestContext context = null) { throw null; } |
| 29 | + public virtual System.Threading.Tasks.Task<Azure.Response> UploadAsync(string ruleId, string streamName, Azure.Core.RequestContent content, string contentEncoding = null, Azure.RequestContext context = null) { throw null; } |
| 30 | + public virtual System.Threading.Tasks.Task<Azure.Response> UploadAsync<T>(string ruleId, string streamName, System.Collections.Generic.IEnumerable<T> logs, Azure.Monitor.Ingestion.LogsUploadOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } |
| 31 | + public virtual Azure.Response Upload<T>(string ruleId, string streamName, System.Collections.Generic.IEnumerable<T> logs, Azure.Monitor.Ingestion.LogsUploadOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } |
| 32 | + } |
| 33 | + public partial class LogsIngestionClientOptions : Azure.Core.ClientOptions |
| 34 | + { |
| 35 | + public LogsIngestionClientOptions(Azure.Monitor.Ingestion.LogsIngestionClientOptions.ServiceVersion version = Azure.Monitor.Ingestion.LogsIngestionClientOptions.ServiceVersion.V2023_01_01) { } |
| 36 | + public Azure.Monitor.Ingestion.LogsIngestionAudience? Audience { get { throw null; } set { } } |
| 37 | + public enum ServiceVersion |
| 38 | + { |
| 39 | + V2023_01_01 = 1, |
| 40 | + } |
| 41 | + } |
| 42 | + public partial class LogsUploadFailedEventArgs : Azure.SyncAsyncEventArgs |
| 43 | + { |
| 44 | + public LogsUploadFailedEventArgs(System.Collections.Generic.IEnumerable<object> failedLogs, System.Exception exception, bool isRunningSynchronously, System.Threading.CancellationToken cancellationToken) : base (default(bool), default(System.Threading.CancellationToken)) { } |
| 45 | + public System.Exception Exception { get { throw null; } } |
| 46 | + public System.Collections.Generic.IReadOnlyList<object> FailedLogs { get { throw null; } } |
| 47 | + } |
| 48 | + public partial class LogsUploadOptions |
| 49 | + { |
| 50 | + public LogsUploadOptions() { } |
| 51 | + public int MaxConcurrency { get { throw null; } set { } } |
| 52 | + public Azure.Core.Serialization.ObjectSerializer Serializer { get { throw null; } set { } } |
| 53 | + public event Azure.Core.SyncAsyncEventHandler<Azure.Monitor.Ingestion.LogsUploadFailedEventArgs> UploadFailed { add { } remove { } } |
| 54 | + } |
| 55 | +} |
| 56 | +namespace Microsoft.Extensions.Azure |
| 57 | +{ |
| 58 | + public static partial class IngestionClientBuilderExtensions |
| 59 | + { |
| 60 | + public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Ingestion.LogsIngestionClient, Azure.Monitor.Ingestion.LogsIngestionClientOptions> AddLogsIngestionClient<TBuilder>(this TBuilder builder, System.Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential { throw null; } |
| 61 | + public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Ingestion.LogsIngestionClient, Azure.Monitor.Ingestion.LogsIngestionClientOptions> AddLogsIngestionClient<TBuilder, TConfiguration>(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration> { throw null; } |
| 62 | + } |
| 63 | +} |
0 commit comments