BlobsStorageResourceProvider Constructors

Definition

Overloads

BlobsStorageResourceProvider()

Default constructor.

BlobsStorageResourceProvider(AzureSasCredential)

Constructs this provider to use the given credential when making a new Blob Storage StorageResource.

This instance will use the given AzureSasCredential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, AzureSasCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions). Additionally, if the given target blob resource already has a SAS token in the URI, that token will be preferred over this credential.

BlobsStorageResourceProvider(TokenCredential)

Constructs this provider to use the given credential when making a new Blob Storage StorageResource.

This instance will use the given TokenCredential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, TokenCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

BlobsStorageResourceProvider(BlobsStorageResourceProvider+GetAzureSasCredential)

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

This instance will use the given BlobsStorageResourceProvider.GetAzureSasCredential to fetch a credential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, AzureSasCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions). Additionally, if the given target blob resource already has a SAS token in the URI, that token will be preferred over this delegate.

BlobsStorageResourceProvider(BlobsStorageResourceProvider+GetStorageSharedKeyCredential)

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

This instance will use the given BlobsStorageResourceProvider.GetStorageSharedKeyCredential to fetch a credential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, StorageSharedKeyCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

BlobsStorageResourceProvider(BlobsStorageResourceProvider+GetTokenCredential)

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

This instance will use the given BlobsStorageResourceProvider.GetTokenCredential to fetch a credential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, TokenCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

BlobsStorageResourceProvider(StorageSharedKeyCredential)

Constructs this provider to use the given credential when making a new Blob Storage StorageResource.

This instance will use the given StorageSharedKeyCredential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, StorageSharedKeyCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

BlobsStorageResourceProvider()

Source:
BlobsStorageResourceProvider.cs

Default constructor.

public BlobsStorageResourceProvider ();
Public Sub New ()

Applies to

BlobsStorageResourceProvider(AzureSasCredential)

Source:
BlobsStorageResourceProvider.cs

Constructs this provider to use the given credential when making a new Blob Storage StorageResource.

This instance will use the given AzureSasCredential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, AzureSasCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions). Additionally, if the given target blob resource already has a SAS token in the URI, that token will be preferred over this credential.

public BlobsStorageResourceProvider (Azure.AzureSasCredential credential);
new Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider : Azure.AzureSasCredential -> Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider
Public Sub New (credential As AzureSasCredential)

Parameters

credential
AzureSasCredential

SAS credential to use when constructing resources.

Applies to

BlobsStorageResourceProvider(TokenCredential)

Source:
BlobsStorageResourceProvider.cs

Constructs this provider to use the given credential when making a new Blob Storage StorageResource.

This instance will use the given TokenCredential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, TokenCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

public BlobsStorageResourceProvider (Azure.Core.TokenCredential credential);
new Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider : Azure.Core.TokenCredential -> Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider
Public Sub New (credential As TokenCredential)

Parameters

credential
TokenCredential

Token credential to use when constructing resources.

Applies to

BlobsStorageResourceProvider(BlobsStorageResourceProvider+GetAzureSasCredential)

Source:
BlobsStorageResourceProvider.cs

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

This instance will use the given BlobsStorageResourceProvider.GetAzureSasCredential to fetch a credential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, AzureSasCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions). Additionally, if the given target blob resource already has a SAS token in the URI, that token will be preferred over this delegate.

public BlobsStorageResourceProvider (Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider.GetAzureSasCredential getAzureSasCredentialAsync);
new Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider : Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider.GetAzureSasCredential -> Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider
Public Sub New (getAzureSasCredentialAsync As BlobsStorageResourceProvider.GetAzureSasCredential)

Parameters

getAzureSasCredentialAsync
BlobsStorageResourceProvider.GetAzureSasCredential

Delegate for acquiring a credential.

Applies to

BlobsStorageResourceProvider(BlobsStorageResourceProvider+GetStorageSharedKeyCredential)

Source:
BlobsStorageResourceProvider.cs

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

This instance will use the given BlobsStorageResourceProvider.GetStorageSharedKeyCredential to fetch a credential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, StorageSharedKeyCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

public BlobsStorageResourceProvider (Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider.GetStorageSharedKeyCredential getStorageSharedKeyCredentialAsync);
new Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider : Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider.GetStorageSharedKeyCredential -> Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider
Public Sub New (getStorageSharedKeyCredentialAsync As BlobsStorageResourceProvider.GetStorageSharedKeyCredential)

Parameters

getStorageSharedKeyCredentialAsync
BlobsStorageResourceProvider.GetStorageSharedKeyCredential

Delegate for acquiring a credential.

Applies to

BlobsStorageResourceProvider(BlobsStorageResourceProvider+GetTokenCredential)

Source:
BlobsStorageResourceProvider.cs

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

This instance will use the given BlobsStorageResourceProvider.GetTokenCredential to fetch a credential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, TokenCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

public BlobsStorageResourceProvider (Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider.GetTokenCredential getTokenCredentialAsync);
new Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider : Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider.GetTokenCredential -> Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider
Public Sub New (getTokenCredentialAsync As BlobsStorageResourceProvider.GetTokenCredential)

Parameters

getTokenCredentialAsync
BlobsStorageResourceProvider.GetTokenCredential

Delegate for acquiring a credential.

Applies to

BlobsStorageResourceProvider(StorageSharedKeyCredential)

Source:
BlobsStorageResourceProvider.cs

Constructs this provider to use the given credential when making a new Blob Storage StorageResource.

This instance will use the given StorageSharedKeyCredential when constructing the underlying Azure.Storage.Blobs client, e.g. BlockBlobClient(Uri, StorageSharedKeyCredential, BlobClientOptions). 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(BlockBlobClient, BlockBlobStorageResourceOptions).

public BlobsStorageResourceProvider (Azure.Storage.StorageSharedKeyCredential credential);
new Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider : Azure.Storage.StorageSharedKeyCredential -> Azure.Storage.DataMovement.Blobs.BlobsStorageResourceProvider
Public Sub New (credential As StorageSharedKeyCredential)

Parameters

credential
StorageSharedKeyCredential

Shared key credential to use when constructing resources.

Applies to