Share via


PurviewShareClientBuilderExtensions.AddShareResourcesClient Method

Definition

Overloads

AddShareResourcesClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a ShareResourcesClient instance.

AddShareResourcesClient<TBuilder>(TBuilder, Uri)

Registers a ShareResourcesClient instance.

AddShareResourcesClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
PurviewShareClientBuilderExtensions.cs

Registers a ShareResourcesClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Analytics.Purview.Sharing.ShareResourcesClient,Azure.Analytics.Purview.Sharing.PurviewShareClientOptions> AddShareResourcesClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddShareResourcesClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Analytics.Purview.Sharing.ShareResourcesClient, Azure.Analytics.Purview.Sharing.PurviewShareClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddShareResourcesClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of ShareResourcesClient, PurviewShareClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Applies to

AddShareResourcesClient<TBuilder>(TBuilder, Uri)

Source:
PurviewShareClientBuilderExtensions.cs

Registers a ShareResourcesClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Analytics.Purview.Sharing.ShareResourcesClient,Azure.Analytics.Purview.Sharing.PurviewShareClientOptions> AddShareResourcesClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddShareResourcesClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Analytics.Purview.Sharing.ShareResourcesClient, Azure.Analytics.Purview.Sharing.PurviewShareClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddShareResourcesClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of ShareResourcesClient, PurviewShareClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

endpoint
Uri

The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share.

Returns

Applies to