diff --git a/sdk/core/Microsoft.Extensions.Azure/api/Microsoft.Extensions.Azure.netstandard2.0.cs b/sdk/core/Microsoft.Extensions.Azure/api/Microsoft.Extensions.Azure.netstandard2.0.cs new file mode 100644 index 0000000000000..a9be4f097bab5 --- /dev/null +++ b/sdk/core/Microsoft.Extensions.Azure/api/Microsoft.Extensions.Azure.netstandard2.0.cs @@ -0,0 +1,33 @@ +namespace Microsoft.Extensions.Azure +{ + public static partial class AzureClientBuilderExtensions + { + public static Azure.Core.Extensions.IAzureClientBuilder ConfigureOptions(this Azure.Core.Extensions.IAzureClientBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration) where TOptions : class { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder ConfigureOptions(this Azure.Core.Extensions.IAzureClientBuilder builder, System.Action configureOptions) where TOptions : class { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder ConfigureOptions(this Azure.Core.Extensions.IAzureClientBuilder builder, System.Action configureOptions) where TOptions : class { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder WithCredential(this Azure.Core.Extensions.IAzureClientBuilder builder, Azure.Core.TokenCredential credential) where TOptions : class { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder WithCredential(this Azure.Core.Extensions.IAzureClientBuilder builder, System.Func credentialFactory) where TOptions : class { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder WithName(this Azure.Core.Extensions.IAzureClientBuilder builder, string name) where TOptions : class { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder WithVersion(this Azure.Core.Extensions.IAzureClientBuilder builder, TVersion version) where TOptions : class { throw null; } + } + public sealed partial class AzureClientFactoryBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder, Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration, Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential + { + internal AzureClientFactoryBuilder() { } + Azure.Core.Extensions.IAzureClientBuilder Azure.Core.Extensions.IAzureClientFactoryBuilder.RegisterClientFactory(System.Func clientFactory) { throw null; } + Azure.Core.Extensions.IAzureClientBuilder Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration.RegisterClientFactory(Microsoft.Extensions.Configuration.IConfiguration configuration) { throw null; } + Azure.Core.Extensions.IAzureClientBuilder Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential.RegisterClientFactory(System.Func clientFactory, bool requiresCredential) { throw null; } + public Microsoft.Extensions.Azure.AzureClientFactoryBuilder ConfigureDefaults(Microsoft.Extensions.Configuration.IConfiguration configuration) { throw null; } + public Microsoft.Extensions.Azure.AzureClientFactoryBuilder ConfigureDefaults(System.Action configureOptions) { throw null; } + public Microsoft.Extensions.Azure.AzureClientFactoryBuilder ConfigureDefaults(System.Action configureOptions) { throw null; } + public Microsoft.Extensions.Azure.AzureClientFactoryBuilder UseCredential(Azure.Core.TokenCredential tokenCredential) { throw null; } + public Microsoft.Extensions.Azure.AzureClientFactoryBuilder UseCredential(System.Func tokenCredentialFactory) { throw null; } + } + public static partial class AzureClientServiceCollectionExtensions + { + public static void AddAzureClients(this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, System.Action configureClients) { } + } + public partial interface IAzureClientFactory + { + TClient CreateClient(string name); + } +}