BlobsStorageResourceProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Default constructor.
public BlobsStorageResourceProvider ();
Public Sub New ()
Applies to
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.
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)
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)
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)
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)
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)
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
Azure SDK for .NET