Skip to content

Commit dc6d557

Browse files
chunyu3ellismg
andauthored
LLC purview Account (Azure#23334)
* LLC purview Account * use default credential * resolve comments * re-generate purveiw account to latest version * update collection test * update Readme * update purview Account API * record test case * update recorded test case * [Purview] Renames + Adopt "Clientlet" Design - Make some very general client names a little more specific by prefixing them with `Purview`. - Adopt "Clientlet" design, while we work on teaching the code generator how to do this. There are a few changes here: - The list methods for Resource Rule Sets and Collections are promoted to the root account client. - The `collectionName` parameter is promoted to be a client parameter instead of an operation parameter. - The public constructors for the clientlet types are supressed. - `Get<ClientletName>Client()` methods are added to the root client. * [Purview] Update Accounts README.md * [Purview] Mark methods virtual * [Purview] Run Export-API.ps1 Co-authored-by: Matt Ellis <matell@microsoft.com>
1 parent e17808f commit dc6d557

35 files changed

+4758
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29709.97
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{8052009B-2126-44A3-88CD-4F3B17894C64}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Test.Stress", "..\..\..\common\Stress\Azure.Test.Stress\Azure.Test.Stress.csproj", "{0B991CA1-E570-4292-BABF-E011D9613C7B}"
9+
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Test.Perf", "..\..\..\common\Perf\Azure.Test.Perf\Azure.Test.Perf.csproj", "{0ED9C8A0-9A19-4750-8DD3-61D086288283}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Analytics.Purview.Account", "src\Azure.Analytics.Purview.Account.csproj", "{CF37FB99-8D78-473D-8333-AD560F057B75}"
13+
EndProject
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Analytics.Purview.Account.Tests", "tests\Azure.Analytics.Purview.Account.Tests.csproj", "{002A0F15-402B-473D-8842-5507462920BF}"
15+
EndProject
16+
Global
17+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18+
Debug|Any CPU = Debug|Any CPU
19+
Release|Any CPU = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
22+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Debug|Any CPU.Build.0 = Debug|Any CPU
24+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{0B991CA1-E570-4292-BABF-E011D9613C7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{0B991CA1-E570-4292-BABF-E011D9613C7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{0B991CA1-E570-4292-BABF-E011D9613C7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{0B991CA1-E570-4292-BABF-E011D9613C7B}.Release|Any CPU.Build.0 = Release|Any CPU
30+
{0ED9C8A0-9A19-4750-8DD3-61D086288283}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31+
{0ED9C8A0-9A19-4750-8DD3-61D086288283}.Debug|Any CPU.Build.0 = Debug|Any CPU
32+
{0ED9C8A0-9A19-4750-8DD3-61D086288283}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{0ED9C8A0-9A19-4750-8DD3-61D086288283}.Release|Any CPU.Build.0 = Release|Any CPU
34+
{CF37FB99-8D78-473D-8333-AD560F057B75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35+
{CF37FB99-8D78-473D-8333-AD560F057B75}.Debug|Any CPU.Build.0 = Debug|Any CPU
36+
{CF37FB99-8D78-473D-8333-AD560F057B75}.Release|Any CPU.ActiveCfg = Release|Any CPU
37+
{CF37FB99-8D78-473D-8333-AD560F057B75}.Release|Any CPU.Build.0 = Release|Any CPU
38+
{002A0F15-402B-473D-8842-5507462920BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39+
{002A0F15-402B-473D-8842-5507462920BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
40+
{002A0F15-402B-473D-8842-5507462920BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
41+
{002A0F15-402B-473D-8842-5507462920BF}.Release|Any CPU.Build.0 = Release|Any CPU
42+
EndGlobalSection
43+
GlobalSection(SolutionProperties) = preSolution
44+
HideSolutionNode = FALSE
45+
EndGlobalSection
46+
GlobalSection(ExtensibilityGlobals) = postSolution
47+
SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
48+
EndGlobalSection
49+
EndGlobal
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (Unreleased)
4+
5+
### New Features
6+
7+
- Initial preview release of the Azure Purview Account client library for .NET
8+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<!--
3+
Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props
4+
-->
5+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" />
6+
</Project>
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Azure Purview Account client library for .NET
2+
3+
Azure Purview Account is a fully managed cloud service.
4+
5+
**Please rely heavily on the [service's documentation][account_product_documentation] and our [protocol client docs][protocol_client_quickstart] to use this library**
6+
7+
[Source code][source_code] | [Package (NuGet)][client_nuget_package] | [Product documentation][account_product_documentation]
8+
9+
## Getting started
10+
11+
### Install the package
12+
13+
Install the Azure Purview Account client library for .NET with [NuGet][client_nuget_package]:
14+
15+
```
16+
dotnet add package Azure.Analysis.Purview.Account
17+
```
18+
19+
### Prerequisites
20+
21+
- You must have an [Azure subscription][azure_subscription] and a [Purview resource][purview_resource] to use this package.
22+
23+
### Authenticate the client
24+
25+
#### Using Azure Active Directory
26+
27+
This document demonstrates using [DefaultAzureCredential][default_cred_ref] to authenticate via Azure Active Directory. However, any of the credentials offered by the [Azure.Identity][azure_identity] will be accepted. See the [Azure.Identity][azure_identity] documentation for more information about other credentials.
28+
29+
Once you have chosen and configured your credential, you can create instances of the `AccountClient`.
30+
31+
```C#
32+
var credential = new DefaultAzureCredential();
33+
var client = new PurviewAccountClient(new Url("https://<my-account-name>.purview.azure.com"), credential);
34+
```
35+
36+
## Key concepts
37+
38+
### Protocol Methods
39+
40+
Operations exposed by the Purview Account SDK for .NET use *protocol methods* to expose the underlying REST operations. You can learn more about how to use SDK Clients which use protocol methods in our [documentation][protocol_client_quickstart].
41+
42+
### Thread safety
43+
44+
We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads.
45+
46+
### Additional concepts
47+
<!-- CLIENT COMMON BAR -->
48+
[Client options](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions) |
49+
[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
50+
[Long-running operations](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt) |
51+
[Handling failures](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception) |
52+
[Diagnostics](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md) |
53+
[Mocking](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#mocking) |
54+
[Client lifetime](https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/)
55+
<!-- CLIENT COMMON BAR -->
56+
57+
## Examples
58+
59+
The following section shows you how to initialize and authenticate your client, then get all of the type definitions in the catalog.
60+
61+
### Get All Type Definitions
62+
63+
```C#
64+
var credential = new DefaultAzureCredential();
65+
var client = new PurviewAccountClient(new Uri("https://<my-account-name>.purview.azure.com"), credential);
66+
67+
var Response response = await client.GetAccountPropertiesAsync();
68+
var responseDocument = JsonDocument.Parse(response.Content);
69+
Console.WriteLine(responseDocument.RootElement.GetProperty("name"));
70+
```
71+
72+
## Troubleshooting
73+
74+
### Setting up console logging
75+
The simplest way to see the logs is to enable the console logging.
76+
To create an Azure SDK log listener that outputs messages to console use AzureEventSourceListener.CreateConsoleLogger method.
77+
78+
```C#
79+
// Setup a listener to monitor logged events.
80+
using AzureEventSourceListener listener = AzureEventSourceListener.CreateConsoleLogger();
81+
```
82+
83+
To learn more about other logging mechanisms see [here][azure_core_diagnostics].
84+
85+
## Next steps
86+
87+
This client SDK exposes operations using *protocol methods*, you can learn more about how to use SDK Clients which use protocol methods in our [documentation][protocol_client_quickstart].
88+
89+
## Contributing
90+
91+
See the [CONTRIBUTING.md][contributing] for details on building, testing, and contributing to this library.
92+
93+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla].
94+
95+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
96+
97+
This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments.
98+
99+
<!-- LINKS -->
100+
[source_code]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/purview/Azure.Analytics.Purview.Account/src
101+
[client_nuget_package]: https://www.nuget.org/packages?q=Azure.Analytics.Purview.Account
102+
[account_product_documentation]: https://azure.microsoft.com/services/purview/
103+
[azure_identity]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/identity/Azure.Identity
104+
[protocol_client_quickstart]: https://aka.ms/azsdk/net/protocol/quickstart
105+
[default_cred_ref]: https://docs.microsoft.com/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet
106+
[azure_subscription]: https://azure.microsoft.com/free/dotnet/
107+
[purview_resource]: https://docs.microsoft.com/azure/purview
108+
[azure_core_diagnostics]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md
109+
[cla]: https://cla.microsoft.com
110+
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
111+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
112+
[coc_contact]: mailto:opencode@microsoft.com
113+
114+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net%2Fsdk%2Fpurview%2FAzure.Analytics.Purview.Catalog%2FREADME.png)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
namespace Azure.Analytics.Purview.Account
2+
{
3+
public partial class PurviewAccountClient
4+
{
5+
protected PurviewAccountClient() { }
6+
public PurviewAccountClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Account.PurviewAccountClientOptions options = null) { }
7+
public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
8+
public virtual Azure.Response GetAccessKeys(Azure.RequestOptions options = null) { throw null; }
9+
public virtual System.Threading.Tasks.Task<Azure.Response> GetAccessKeysAsync(Azure.RequestOptions options = null) { throw null; }
10+
public virtual Azure.Response GetAccountProperties(Azure.RequestOptions options = null) { throw null; }
11+
public virtual System.Threading.Tasks.Task<Azure.Response> GetAccountPropertiesAsync(Azure.RequestOptions options = null) { throw null; }
12+
public virtual Azure.Analytics.Purview.Account.PurviewCollection GetCollectionClient(string collectionName) { throw null; }
13+
public virtual Azure.Response GetCollections(string skipToken = null, Azure.RequestOptions options = null) { throw null; }
14+
public virtual System.Threading.Tasks.Task<Azure.Response> GetCollectionsAsync(string skipToken = null, Azure.RequestOptions options = null) { throw null; }
15+
public virtual Azure.Analytics.Purview.Account.PurviewResourceSetRule GetResourceSetRuleClient() { throw null; }
16+
public virtual Azure.Response GetResourceSetRules(string skipToken = null, Azure.RequestOptions options = null) { throw null; }
17+
public virtual System.Threading.Tasks.Task<Azure.Response> GetResourceSetRulesAsync(string skipToken = null, Azure.RequestOptions options = null) { throw null; }
18+
public virtual Azure.Response RegenerateAccessKey(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
19+
public virtual System.Threading.Tasks.Task<Azure.Response> RegenerateAccessKeyAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
20+
public virtual Azure.Response UpdateAccountProperties(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
21+
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateAccountPropertiesAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
22+
}
23+
public partial class PurviewAccountClientOptions : Azure.Core.ClientOptions
24+
{
25+
public PurviewAccountClientOptions(Azure.Analytics.Purview.Account.PurviewAccountClientOptions.ServiceVersion version = Azure.Analytics.Purview.Account.PurviewAccountClientOptions.ServiceVersion.V2019_11_01_preview) { }
26+
public enum ServiceVersion
27+
{
28+
V2019_11_01_preview = 1,
29+
}
30+
}
31+
public partial class PurviewCollection
32+
{
33+
protected PurviewCollection() { }
34+
public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
35+
public virtual Azure.Response CreateOrUpdateCollection(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
36+
public virtual System.Threading.Tasks.Task<Azure.Response> CreateOrUpdateCollectionAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
37+
public virtual Azure.Response DeleteCollection(Azure.RequestOptions options = null) { throw null; }
38+
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteCollectionAsync(Azure.RequestOptions options = null) { throw null; }
39+
public virtual Azure.Response GetCollection(Azure.RequestOptions options = null) { throw null; }
40+
public virtual System.Threading.Tasks.Task<Azure.Response> GetCollectionAsync(Azure.RequestOptions options = null) { throw null; }
41+
public virtual Azure.Response GetCollectionPath(Azure.RequestOptions options = null) { throw null; }
42+
public virtual System.Threading.Tasks.Task<Azure.Response> GetCollectionPathAsync(Azure.RequestOptions options = null) { throw null; }
43+
public virtual Azure.Response ListChildCollectionNames(string skipToken = null, Azure.RequestOptions options = null) { throw null; }
44+
public virtual System.Threading.Tasks.Task<Azure.Response> ListChildCollectionNamesAsync(string skipToken = null, Azure.RequestOptions options = null) { throw null; }
45+
}
46+
public partial class PurviewResourceSetRule
47+
{
48+
protected PurviewResourceSetRule() { }
49+
public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
50+
public virtual Azure.Response CreateOrUpdateResourceSetRule(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
51+
public virtual System.Threading.Tasks.Task<Azure.Response> CreateOrUpdateResourceSetRuleAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; }
52+
public virtual Azure.Response DeleteResourceSetRule(Azure.RequestOptions options = null) { throw null; }
53+
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteResourceSetRuleAsync(Azure.RequestOptions options = null) { throw null; }
54+
public virtual Azure.Response GetResourceSetRule(Azure.RequestOptions options = null) { throw null; }
55+
public virtual System.Threading.Tasks.Task<Azure.Response> GetResourceSetRuleAsync(Azure.RequestOptions options = null) { throw null; }
56+
}
57+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<Description>An SDK for interacting with the Azure Purview Account service</Description>
4+
<AssemblyTitle>Azure Purview Account SDK</AssemblyTitle>
5+
<Version>1.0.0-beta.1</Version>
6+
<PackageTags>Azure Purview</PackageTags>
7+
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
8+
<NoWarn>$(NoWarn);CS0169</NoWarn>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Azure.Core" />
13+
<PackageReference Include="Azure.Core.Experimental" />
14+
</ItemGroup>
15+
16+
<!-- Shared source from Azure.Core -->
17+
<ItemGroup>
18+
<Compile Include="$(AzureCoreSharedSources)ArrayBufferWriter.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
19+
<Compile Include="$(AzureCoreSharedSources)ClientDiagnostics.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
20+
<Compile Include="$(AzureCoreSharedSources)ContentTypeUtilities.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
21+
<Compile Include="$(AzureCoreSharedSources)DiagnosticScope.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
22+
<Compile Include="$(AzureCoreSharedSources)DiagnosticScopeFactory.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
23+
<Compile Include="$(AzureCoreSharedSources)HttpMessageSanitizer.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
24+
<Compile Include="$(AzureCoreSharedSources)TaskExtensions.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
25+
<Compile Include="$(AzureCoreSharedSources)OperationHelpers.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
26+
<Compile Include="$(AzureCoreSharedSources)AzureResourceProviderNamespaceAttribute.cs" Link="Shared\%(RecursiveDir)\%(Filename)%(Extension)" />
27+
</ItemGroup>
28+
29+
</Project>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
5+
using Azure.Core;
6+
7+
namespace Azure.Analytics.Purview.Account
8+
{
9+
[CodeGenClient("AccountsClient")]
10+
public partial class PurviewAccountClient
11+
{
12+
/// <summary>
13+
/// Gets a service client for interacting with a collection.
14+
/// </summary>
15+
/// <param name="collectionName">The name of the collection to use.</param>
16+
/// <returns>A service client for interacting with a collection.</returns>
17+
public virtual PurviewCollection GetCollectionClient(string collectionName)
18+
{
19+
if (string.IsNullOrEmpty(collectionName))
20+
{
21+
throw new ArgumentNullException(nameof(collectionName));
22+
}
23+
24+
return new PurviewCollection(Pipeline, _tokenCredential, endpoint, collectionName, apiVersion, _clientDiagnostics);
25+
}
26+
27+
/// <summary>
28+
/// Gets a service client for interacting with a resource set rule.
29+
/// </summary>
30+
/// <returns>A service client for interacting with a resource set rule.</returns>
31+
public virtual PurviewResourceSetRule GetResourceSetRuleClient()
32+
{
33+
return new PurviewResourceSetRule(Pipeline, _tokenCredential, endpoint, apiVersion, _clientDiagnostics);
34+
}
35+
}
36+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
5+
using Azure.Core;
6+
using Azure.Core.Pipeline;
7+
8+
namespace Azure.Analytics.Purview.Account
9+
{
10+
[CodeGenClient("CollectionsClient")]
11+
[CodeGenSuppress("PurviewCollection", new Type[] { typeof(Uri), typeof(string), typeof(TokenCredential), typeof(PurviewAccountClientOptions)})]
12+
public partial class PurviewCollection
13+
{
14+
internal PurviewCollection(HttpPipeline pipeline, TokenCredential tokenCredential, Uri endpoint, string collectionName, string apiVersion, ClientDiagnostics clientDiagnostics)
15+
{
16+
Pipeline = pipeline;
17+
_tokenCredential = tokenCredential;
18+
this.endpoint = endpoint;
19+
this.collectionName = collectionName;
20+
this.apiVersion = apiVersion;
21+
_clientDiagnostics = clientDiagnostics;
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)