FileSharesOperationsExtensions Class

Definition

Extension methods for FileSharesOperations.

public static class FileSharesOperationsExtensions
type FileSharesOperationsExtensions = class
Public Module FileSharesOperationsExtensions
Inheritance
FileSharesOperationsExtensions

Methods

Create(IFileSharesOperations, String, String, String, FileShare, String)

Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.

CreateAsync(IFileSharesOperations, String, String, String, FileShare, String, CancellationToken)

Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.

Delete(IFileSharesOperations, String, String, String, String, String)

Deletes specified share under its account.

DeleteAsync(IFileSharesOperations, String, String, String, String, String, CancellationToken)

Deletes specified share under its account.

Get(IFileSharesOperations, String, String, String, String, String)

Gets properties of a specified share.

GetAsync(IFileSharesOperations, String, String, String, String, String, CancellationToken)

Gets properties of a specified share.

Lease(IFileSharesOperations, String, String, String, LeaseShareRequest, String)

The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.

LeaseAsync(IFileSharesOperations, String, String, String, LeaseShareRequest, String, CancellationToken)

The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.

List(IFileSharesOperations, String, String, String, String, String)

Lists all shares.

ListAsync(IFileSharesOperations, String, String, String, String, String, CancellationToken)

Lists all shares.

ListNext(IFileSharesOperations, String)

Lists all shares.

ListNextAsync(IFileSharesOperations, String, CancellationToken)

Lists all shares.

Restore(IFileSharesOperations, String, String, String, String, String)

Restore a file share within a valid retention days if share soft delete is enabled

RestoreAsync(IFileSharesOperations, String, String, String, String, String, CancellationToken)

Restore a file share within a valid retention days if share soft delete is enabled

Update(IFileSharesOperations, String, String, String, FileShare)

Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.

UpdateAsync(IFileSharesOperations, String, String, String, FileShare, CancellationToken)

Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.

Applies to