ShareFilesStorageResourceProvider Constructors

Definition

Overloads

ShareFilesStorageResourceProvider()

Default constrctor.

ShareFilesStorageResourceProvider(AzureSasCredential)

Constructs this provider to use the given credential when making a new File Share StorageResource.

This instance will use the given AzureSasCredential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, AzureSasCredential, ShareClientOptions). The credential will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions). Additionally, if the given target share resource already has a SAS token in the URI, that token will be preferred over this credential.

ShareFilesStorageResourceProvider(TokenCredential)

Constructs this provider to use the given credential when making a new File Share StorageResource.

This instance will use the given TokenCredential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, TokenCredential, ShareClientOptions). The credential will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

ShareFilesStorageResourceProvider(ShareFilesStorageResourceProvider+GetAzureSasCredential)

Constructs this provider to use the given delegate for acquiring a credential when making a new File Share StorageResource.

This instance will use the given ShareFilesStorageResourceProvider.GetAzureSasCredential to fetch a credential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, AzureSasCredential, ShareClientOptions). The delegate will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions). Additionally, if the given target share resource already has a SAS token in the URI, that token will be preferred over this delegate.

ShareFilesStorageResourceProvider(ShareFilesStorageResourceProvider+GetStorageSharedKeyCredential)

Constructs this provider to use the given delegate for acquiring a credential when making a new File Share see cref="StorageResource"/>.

This instance will use the given ShareFilesStorageResourceProvider.GetStorageSharedKeyCredential to fetch a credential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, StorageSharedKeyCredential, ShareClientOptions). The delegate will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

ShareFilesStorageResourceProvider(ShareFilesStorageResourceProvider+GetTokenCredential)

Constructs this provider to use the given delegate for acquiring a credential when making a new File Share StorageResource.

This instance will use the given ShareFilesStorageResourceProvider.GetTokenCredential to fetch a credential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, TokenCredential, ShareClientOptions). The delegate will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

ShareFilesStorageResourceProvider(StorageSharedKeyCredential)

Constructs this provider to use the given credential when making a new File Share StorageResource.

This instance will use the given StorageSharedKeyCredential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, StorageSharedKeyCredential, ShareClientOptions). The credential will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

ShareFilesStorageResourceProvider()

Source:
ShareFilesStorageResourceProvider.cs

Default constrctor.

public ShareFilesStorageResourceProvider ();
Public Sub New ()

Applies to

ShareFilesStorageResourceProvider(AzureSasCredential)

Source:
ShareFilesStorageResourceProvider.cs

Constructs this provider to use the given credential when making a new File Share StorageResource.

This instance will use the given AzureSasCredential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, AzureSasCredential, ShareClientOptions). The credential will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions). Additionally, if the given target share resource already has a SAS token in the URI, that token will be preferred over this credential.

public ShareFilesStorageResourceProvider (Azure.AzureSasCredential credential);
new Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider : Azure.AzureSasCredential -> Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider
Public Sub New (credential As AzureSasCredential)

Parameters

credential
AzureSasCredential

SAS credential to use when constructing resources.

Applies to

ShareFilesStorageResourceProvider(TokenCredential)

Source:
ShareFilesStorageResourceProvider.cs

Constructs this provider to use the given credential when making a new File Share StorageResource.

This instance will use the given TokenCredential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, TokenCredential, ShareClientOptions). The credential will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

public ShareFilesStorageResourceProvider (Azure.Core.TokenCredential credential);
new Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider : Azure.Core.TokenCredential -> Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider
Public Sub New (credential As TokenCredential)

Parameters

credential
TokenCredential

Token credential to use when constructing resources.

Applies to

ShareFilesStorageResourceProvider(ShareFilesStorageResourceProvider+GetAzureSasCredential)

Source:
ShareFilesStorageResourceProvider.cs

Constructs this provider to use the given delegate for acquiring a credential when making a new File Share StorageResource.

This instance will use the given ShareFilesStorageResourceProvider.GetAzureSasCredential to fetch a credential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, AzureSasCredential, ShareClientOptions). The delegate will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions). Additionally, if the given target share resource already has a SAS token in the URI, that token will be preferred over this delegate.

public ShareFilesStorageResourceProvider (Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider.GetAzureSasCredential getAzureSasCredentialAsync);
new Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider : Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider.GetAzureSasCredential -> Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider
Public Sub New (getAzureSasCredentialAsync As ShareFilesStorageResourceProvider.GetAzureSasCredential)

Parameters

getAzureSasCredentialAsync
ShareFilesStorageResourceProvider.GetAzureSasCredential

Delegate for acquiring a credential.

Applies to

ShareFilesStorageResourceProvider(ShareFilesStorageResourceProvider+GetStorageSharedKeyCredential)

Source:
ShareFilesStorageResourceProvider.cs

Constructs this provider to use the given delegate for acquiring a credential when making a new File Share see cref="StorageResource"/>.

This instance will use the given ShareFilesStorageResourceProvider.GetStorageSharedKeyCredential to fetch a credential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, StorageSharedKeyCredential, ShareClientOptions). The delegate will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

public ShareFilesStorageResourceProvider (Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider.GetStorageSharedKeyCredential getStorageSharedKeyCredentialAsync);
new Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider : Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider.GetStorageSharedKeyCredential -> Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider
Public Sub New (getStorageSharedKeyCredentialAsync As ShareFilesStorageResourceProvider.GetStorageSharedKeyCredential)

Parameters

getStorageSharedKeyCredentialAsync
ShareFilesStorageResourceProvider.GetStorageSharedKeyCredential

Delegate for acquiring a credential.

Applies to

ShareFilesStorageResourceProvider(ShareFilesStorageResourceProvider+GetTokenCredential)

Source:
ShareFilesStorageResourceProvider.cs

Constructs this provider to use the given delegate for acquiring a credential when making a new File Share StorageResource.

This instance will use the given ShareFilesStorageResourceProvider.GetTokenCredential to fetch a credential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, TokenCredential, ShareClientOptions). The delegate will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

public ShareFilesStorageResourceProvider (Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider.GetTokenCredential getTokenCredentialAsync);
new Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider : Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider.GetTokenCredential -> Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider
Public Sub New (getTokenCredentialAsync As ShareFilesStorageResourceProvider.GetTokenCredential)

Parameters

getTokenCredentialAsync
ShareFilesStorageResourceProvider.GetTokenCredential

Delegate for acquiring a credential.

Applies to

ShareFilesStorageResourceProvider(StorageSharedKeyCredential)

Source:
ShareFilesStorageResourceProvider.cs

Constructs this provider to use the given credential when making a new File Share StorageResource.

This instance will use the given StorageSharedKeyCredential when constructing the underlying Azure.Storage.Files.Shares client, e.g. ShareFileClient(Uri, StorageSharedKeyCredential, ShareClientOptions). The credential will only be used when the provider needs to construct a client in the first place. It will not be used when creating a StorageResource from a pre-existing client, e.g. FromClient(ShareFileClient, ShareFileStorageResourceOptions).

public ShareFilesStorageResourceProvider (Azure.Storage.StorageSharedKeyCredential credential);
new Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider : Azure.Storage.StorageSharedKeyCredential -> Azure.Storage.DataMovement.Files.Shares.ShareFilesStorageResourceProvider
Public Sub New (credential As StorageSharedKeyCredential)

Parameters

credential
StorageSharedKeyCredential

Shared key credential to use when constructing resources.

Applies to