BlobsStorageResourceProvider.FromClient Method
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
FromClient(BlobContainerClient, BlobStorageResourceContainerOptions) |
Creates a storage resource pointing towards the given Azure SDK client. |
FromClient(AppendBlobClient, AppendBlobStorageResourceOptions) |
Creates a storage resource pointing towards the given Azure SDK client. |
FromClient(BlockBlobClient, BlockBlobStorageResourceOptions) |
Creates a storage resource pointing towards the given Azure SDK client. |
FromClient(PageBlobClient, PageBlobStorageResourceOptions) |
Creates a storage resource pointing towards the given Azure SDK client. |
FromClient(BlobContainerClient, BlobStorageResourceContainerOptions)
Creates a storage resource pointing towards the given Azure SDK client.
public static Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.BlobContainerClient client, Azure.Storage.DataMovement.Blobs.BlobStorageResourceContainerOptions options = default);
public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.BlobContainerClient client, Azure.Storage.DataMovement.Blobs.BlobStorageResourceContainerOptions options = default);
static member FromClient : Azure.Storage.Blobs.BlobContainerClient * Azure.Storage.DataMovement.Blobs.BlobStorageResourceContainerOptions -> Azure.Storage.DataMovement.StorageResource
member this.FromClient : Azure.Storage.Blobs.BlobContainerClient * Azure.Storage.DataMovement.Blobs.BlobStorageResourceContainerOptions -> Azure.Storage.DataMovement.StorageResource
Public Shared Function FromClient (client As BlobContainerClient, Optional options As BlobStorageResourceContainerOptions = Nothing) As StorageResource
Public Function FromClient (client As BlobContainerClient, Optional options As BlobStorageResourceContainerOptions = Nothing) As StorageResource
Parameters
- client
- BlobContainerClient
Target resource presented within an Azure SDK client. Note: It is NOT guaranteed that properties set within the client's BlobClientOptions will be respected when resuming a transfer.
Options for creating the storage resource.
Returns
The configured storage resource.
Applies to
FromClient(AppendBlobClient, AppendBlobStorageResourceOptions)
Creates a storage resource pointing towards the given Azure SDK client.
public static Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.Specialized.AppendBlobClient client, Azure.Storage.DataMovement.Blobs.AppendBlobStorageResourceOptions options = default);
public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.Specialized.AppendBlobClient client, Azure.Storage.DataMovement.Blobs.AppendBlobStorageResourceOptions options = default);
static member FromClient : Azure.Storage.Blobs.Specialized.AppendBlobClient * Azure.Storage.DataMovement.Blobs.AppendBlobStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
member this.FromClient : Azure.Storage.Blobs.Specialized.AppendBlobClient * Azure.Storage.DataMovement.Blobs.AppendBlobStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Shared Function FromClient (client As AppendBlobClient, Optional options As AppendBlobStorageResourceOptions = Nothing) As StorageResource
Public Function FromClient (client As AppendBlobClient, Optional options As AppendBlobStorageResourceOptions = Nothing) As StorageResource
Parameters
- client
- AppendBlobClient
Target resource presented within an Azure SDK client. Note: It is NOT guaranteed that properties set within the client's BlobClientOptions will be respected when resuming a transfer.
- options
- AppendBlobStorageResourceOptions
Options for creating the storage resource.
Returns
The configured storage resource.
Applies to
FromClient(BlockBlobClient, BlockBlobStorageResourceOptions)
Creates a storage resource pointing towards the given Azure SDK client.
public static Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.Specialized.BlockBlobClient client, Azure.Storage.DataMovement.Blobs.BlockBlobStorageResourceOptions options = default);
public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.Specialized.BlockBlobClient client, Azure.Storage.DataMovement.Blobs.BlockBlobStorageResourceOptions options = default);
static member FromClient : Azure.Storage.Blobs.Specialized.BlockBlobClient * Azure.Storage.DataMovement.Blobs.BlockBlobStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
member this.FromClient : Azure.Storage.Blobs.Specialized.BlockBlobClient * Azure.Storage.DataMovement.Blobs.BlockBlobStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Shared Function FromClient (client As BlockBlobClient, Optional options As BlockBlobStorageResourceOptions = Nothing) As StorageResource
Public Function FromClient (client As BlockBlobClient, Optional options As BlockBlobStorageResourceOptions = Nothing) As StorageResource
Parameters
- client
- BlockBlobClient
Target resource presented within an Azure SDK client. Note: It is NOT guaranteed that properties set within the client's BlobClientOptions will be respected when resuming a transfer.
- options
- BlockBlobStorageResourceOptions
Options for creating the storage resource.
Returns
The configured storage resource.
Applies to
FromClient(PageBlobClient, PageBlobStorageResourceOptions)
Creates a storage resource pointing towards the given Azure SDK client.
public static Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.Specialized.PageBlobClient client, Azure.Storage.DataMovement.Blobs.PageBlobStorageResourceOptions options = default);
public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Blobs.Specialized.PageBlobClient client, Azure.Storage.DataMovement.Blobs.PageBlobStorageResourceOptions options = default);
static member FromClient : Azure.Storage.Blobs.Specialized.PageBlobClient * Azure.Storage.DataMovement.Blobs.PageBlobStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
member this.FromClient : Azure.Storage.Blobs.Specialized.PageBlobClient * Azure.Storage.DataMovement.Blobs.PageBlobStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Shared Function FromClient (client As PageBlobClient, Optional options As PageBlobStorageResourceOptions = Nothing) As StorageResource
Public Function FromClient (client As PageBlobClient, Optional options As PageBlobStorageResourceOptions = Nothing) As StorageResource
Parameters
- client
- PageBlobClient
Target resource presented within an Azure SDK client. Note: It is NOT guaranteed that properties set within the client's BlobClientOptions will be respected when resuming a transfer.
- options
- PageBlobStorageResourceOptions
Options for creating the storage resource.
Returns
The configured storage resource.
Applies to
Azure SDK for .NET