ShareFilesStorageResourceProvider.FromClient Method

Definition

Overloads

FromClient(ShareDirectoryClient, ShareFileStorageResourceOptions)

Creates a storage resource pointing towards the given Azure SDK client.

FromClient(ShareFileClient, ShareFileStorageResourceOptions)

Creates a storage resource pointing towards the given Azure SDK client.

FromClient(ShareDirectoryClient, ShareFileStorageResourceOptions)

Source:
ShareFilesStorageResourceProvider.cs

Creates a storage resource pointing towards the given Azure SDK client.

public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Files.Shares.ShareDirectoryClient client, Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions options = default);
member this.FromClient : Azure.Storage.Files.Shares.ShareDirectoryClient * Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Function FromClient (client As ShareDirectoryClient, Optional options As ShareFileStorageResourceOptions = Nothing) As StorageResource

Parameters

client
ShareDirectoryClient

Target resource presented within an Azure SDK client.

options
ShareFileStorageResourceOptions

Options for creating the storage resource.

Returns

The configured storage resource.

Applies to

FromClient(ShareFileClient, ShareFileStorageResourceOptions)

Source:
ShareFilesStorageResourceProvider.cs

Creates a storage resource pointing towards the given Azure SDK client.

public Azure.Storage.DataMovement.StorageResource FromClient (Azure.Storage.Files.Shares.ShareFileClient client, Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions options = default);
member this.FromClient : Azure.Storage.Files.Shares.ShareFileClient * Azure.Storage.DataMovement.Files.Shares.ShareFileStorageResourceOptions -> Azure.Storage.DataMovement.StorageResource
Public Function FromClient (client As ShareFileClient, Optional options As ShareFileStorageResourceOptions = Nothing) As StorageResource

Parameters

client
ShareFileClient

Target resource presented within an Azure SDK client.

options
ShareFileStorageResourceOptions

Options for creating the storage resource.

Returns

The configured storage resource.

Applies to