Share via


IFileSharesOperations Interface

Definition

FileSharesOperations operations.

public interface IFileSharesOperations
type IFileSharesOperations = interface
Public Interface IFileSharesOperations

Methods

CreateWithHttpMessagesAsync(String, String, String, FileShare, String, Dictionary<String,List<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.

DeleteWithHttpMessagesAsync(String, String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes specified share under its account.

GetWithHttpMessagesAsync(String, String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

Gets properties of a specified share.

LeaseWithHttpMessagesAsync(String, String, String, LeaseShareRequest, String, Dictionary<String,List<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.

ListNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Lists all shares.

ListWithHttpMessagesAsync(String, String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

Lists all shares.

RestoreWithHttpMessagesAsync(String, String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

UpdateWithHttpMessagesAsync(String, String, String, FileShare, Dictionary<String,List<String>>, 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.

Extension 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