FileSharesClient Interface
public interface FileSharesClient
An instance of this class provides access to all the operations defined in FileSharesClient.
Method Summary
Method Details
create
public abstract FileShareInner create(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)
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.
Parameters:
Returns:
createAsync
public abstract Mono
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.
Parameters:
Returns:
createWithResponse
public abstract Response
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.
Parameters:
Returns:
createWithResponseAsync
public abstract Mono
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.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String accountName, String shareName)
Deletes specified share under its account.
Parameters:
deleteAsync
public abstract Mono
Deletes specified share under its account.
Parameters:
Returns:
deleteWithResponse
public abstract Response
Deletes specified share under its account.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
Deletes specified share under its account.
Parameters:
Returns:
get
public abstract FileShareInner get(String resourceGroupName, String accountName, String shareName)
Gets properties of a specified share.
Parameters:
Returns:
getAsync
public abstract Mono
Gets properties of a specified share.
Parameters:
Returns:
getWithResponse
public abstract Response
Gets properties of a specified share.
Parameters:
Returns:
getWithResponseAsync
public abstract Mono
Gets properties of a specified share.
Parameters:
Returns:
lease
public abstract LeaseShareResponseInner lease(String resourceGroupName, String accountName, String shareName)
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.
Parameters:
Returns:
leaseAsync
public abstract Mono
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.
Parameters:
Returns:
leaseWithResponse
public abstract FileSharesLeaseResponse leaseWithResponse(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, LeaseShareRequest parameters, Context context)
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.
Parameters:
Returns:
leaseWithResponseAsync
public abstract Mono
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.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all shares.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all shares.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all shares.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all shares.
Parameters:
Returns:
restore
public abstract void restore(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare)
Restore a file share within a valid retention days if share soft delete is enabled.
Parameters:
restoreAsync
public abstract Mono
Restore a file share within a valid retention days if share soft delete is enabled.
Parameters:
Returns:
restoreWithResponse
public abstract Response
Restore a file share within a valid retention days if share soft delete is enabled.
Parameters:
Returns:
restoreWithResponseAsync
public abstract Mono
Restore a file share within a valid retention days if share soft delete is enabled.
Parameters:
Returns:
update
public abstract FileShareInner update(String resourceGroupName, String accountName, String shareName, FileShareInner 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.
Parameters:
Returns:
updateAsync
public abstract Mono
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.
Parameters:
Returns:
updateWithResponse
public abstract Response
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.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono
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.
Parameters:
Returns:
Applies to
Azure SDK for Java