FileSharesClient Interface

public interface FileSharesClient

An instance of this class provides access to all the operations defined in FileSharesClient.

Method Summary

Modifier and Type Method and Description
abstract FileShareInner create(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)

Creates a new share under the specified account as described by request body.

abstract Mono<FileShareInner> createAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)

Creates a new share under the specified account as described by request body.

abstract Response<FileShareInner> createWithResponse(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, String expand, Context context)

Creates a new share under the specified account as described by request body.

abstract Mono<Response<FileShareInner>> createWithResponseAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, String expand)

Creates a new share under the specified account as described by request body.

abstract void delete(String resourceGroupName, String accountName, String shareName)

Deletes specified share under its account.

abstract Mono<Void> deleteAsync(String resourceGroupName, String accountName, String shareName)

Deletes specified share under its account.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, String include, Context context)

Deletes specified share under its account.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, String include)

Deletes specified share under its account.

abstract FileShareInner get(String resourceGroupName, String accountName, String shareName)

Gets properties of a specified share.

abstract Mono<FileShareInner> getAsync(String resourceGroupName, String accountName, String shareName)

Gets properties of a specified share.

abstract Response<FileShareInner> getWithResponse(String resourceGroupName, String accountName, String shareName, String expand, String xMsSnapshot, Context context)

Gets properties of a specified share.

abstract Mono<Response<FileShareInner>> getWithResponseAsync(String resourceGroupName, String accountName, String shareName, String expand, String xMsSnapshot)

Gets properties of a specified share.

abstract LeaseShareResponseInner lease(String resourceGroupName, String accountName, String shareName)

The Lease Share operation establishes and manages a lock on a share for delete operations.

abstract Mono<LeaseShareResponseInner> leaseAsync(String resourceGroupName, String accountName, String shareName)

The Lease Share operation establishes and manages a lock on a share for delete operations.

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.

abstract Mono<FileSharesLeaseResponse> leaseWithResponseAsync(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, LeaseShareRequest parameters)

The Lease Share operation establishes and manages a lock on a share for delete operations.

abstract PagedIterable<FileShareItemInner> list(String resourceGroupName, String accountName)

Lists all shares.

abstract PagedIterable<FileShareItemInner> list(String resourceGroupName, String accountName, String maxpagesize, String filter, String expand, Context context)

Lists all shares.

abstract PagedFlux<FileShareItemInner> listAsync(String resourceGroupName, String accountName)

Lists all shares.

abstract PagedFlux<FileShareItemInner> listAsync(String resourceGroupName, String accountName, String maxpagesize, String filter, String expand)

Lists all shares.

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.

abstract Mono<Void> restoreAsync(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare)

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

abstract Response<Void> restoreWithResponse(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare, Context context)

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

abstract Mono<Response<Void>> restoreWithResponseAsync(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare)

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

abstract FileShareInner update(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)

Updates share properties as specified in request body.

abstract Mono<FileShareInner> updateAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)

Updates share properties as specified in request body.

abstract Response<FileShareInner> updateWithResponse(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, Context context)

Updates share properties as specified in request body.

abstract Mono<Response<FileShareInner>> updateWithResponseAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)

Updates share properties as specified in request body.

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties of the file share to create.

Returns:

properties of the file share, including Id, resource name, resource type, Etag.

createAsync

public abstract Mono createAsync(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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties of the file share to create.

Returns:

properties of the file share, including Id, resource name, resource type, Etag on successful completion of Mono.

createWithResponse

public abstract Response createWithResponse(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, String expand, Context context)

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties of the file share to create.
expand - Optional, used to expand the properties within share's properties. Valid values are: snapshots. Should be passed as a string with delimiter ','.
context - The context to associate with this operation.

Returns:

properties of the file share, including Id, resource name, resource type, Etag along with Response<T>.

createWithResponseAsync

public abstract Mono> createWithResponseAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, String expand)

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties of the file share to create.
expand - Optional, used to expand the properties within share's properties. Valid values are: snapshots. Should be passed as a string with delimiter ','.

Returns:

properties of the file share, including Id, resource name, resource type, Etag along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String accountName, String shareName)

Deletes specified share under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String accountName, String shareName)

Deletes specified share under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, String include, Context context)

Deletes specified share under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
xMsSnapshot - Optional, used to delete a snapshot.
include - Optional. Valid values are: snapshots, leased-snapshots, none. The default value is snapshots. For 'snapshots', the file share is deleted including all of its file share snapshots. If the file share contains leased-snapshots, the deletion fails. For 'leased-snapshots', the file share is deleted included all of its file share snapshots (leased/unleased). For 'none', the file share is deleted if it has no share snapshots. If the file share contains any snapshots (leased or unleased), the deletion fails.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, String include)

Deletes specified share under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
xMsSnapshot - Optional, used to delete a snapshot.
include - Optional. Valid values are: snapshots, leased-snapshots, none. The default value is snapshots. For 'snapshots', the file share is deleted including all of its file share snapshots. If the file share contains leased-snapshots, the deletion fails. For 'leased-snapshots', the file share is deleted included all of its file share snapshots (leased/unleased). For 'none', the file share is deleted if it has no share snapshots. If the file share contains any snapshots (leased or unleased), the deletion fails.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract FileShareInner get(String resourceGroupName, String accountName, String shareName)

Gets properties of a specified share.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

properties of a specified share.

getAsync

public abstract Mono getAsync(String resourceGroupName, String accountName, String shareName)

Gets properties of a specified share.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

properties of a specified share on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String accountName, String shareName, String expand, String xMsSnapshot, Context context)

Gets properties of a specified share.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
expand - Optional, used to expand the properties within share's properties. Valid values are: stats. Should be passed as a string with delimiter ','.
xMsSnapshot - Optional, used to retrieve properties of a snapshot.
context - The context to associate with this operation.

Returns:

properties of a specified share along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String accountName, String shareName, String expand, String xMsSnapshot)

Gets properties of a specified share.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
expand - Optional, used to expand the properties within share's properties. Valid values are: stats. Should be passed as a string with delimiter ','.
xMsSnapshot - Optional, used to retrieve properties of a snapshot.

Returns:

properties of a specified share along with Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

lease Share response schema.

leaseAsync

public abstract Mono leaseAsync(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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

lease Share response schema on successful completion of Mono.

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
xMsSnapshot - Optional. Specify the snapshot time to lease a snapshot.
parameters - Lease Share request body.
context - The context to associate with this operation.

Returns:

lease Share response schema.

leaseWithResponseAsync

public abstract Mono leaseWithResponseAsync(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, LeaseShareRequest parameters)

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
xMsSnapshot - Optional. Specify the snapshot time to lease a snapshot.
parameters - Lease Share request body.

Returns:

lease Share response schema on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String accountName)

Lists all shares.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

Returns:

response schema as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String accountName, String maxpagesize, String filter, String expand, Context context)

Lists all shares.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
maxpagesize - Optional. Specified maximum number of shares that can be included in the list.
filter - Optional. When specified, only share names starting with the filter will be listed.
expand - Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ','.
context - The context to associate with this operation.

Returns:

response schema as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String accountName)

Lists all shares.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

Returns:

response schema as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String accountName, String maxpagesize, String filter, String expand)

Lists all shares.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
maxpagesize - Optional. Specified maximum number of shares that can be included in the list.
filter - Optional. When specified, only share names starting with the filter will be listed.
expand - Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ','.

Returns:

response schema as paginated response with PagedFlux<T>.

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
deletedShare - The deletedShare parameter.

restoreAsync

public abstract Mono restoreAsync(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
deletedShare - The deletedShare parameter.

Returns:

A Mono that completes when a successful response is received.

restoreWithResponse

public abstract Response restoreWithResponse(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
deletedShare - The deletedShare parameter.
context - The context to associate with this operation.

Returns:

restoreWithResponseAsync

public abstract Mono> restoreWithResponseAsync(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
deletedShare - The deletedShare parameter.

Returns:

the Response<T> on successful completion of Mono.

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties to update for the file share.

Returns:

properties of the file share, including Id, resource name, resource type, Etag.

updateAsync

public abstract Mono updateAsync(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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties to update for the file share.

Returns:

properties of the file share, including Id, resource name, resource type, Etag on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, Context context)

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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties to update for the file share.
context - The context to associate with this operation.

Returns:

properties of the file share, including Id, resource name, resource type, Etag along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(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:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
shareName - The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
fileShare - Properties to update for the file share.

Returns:

properties of the file share, including Id, resource name, resource type, Etag along with Response<T> on successful completion of Mono.

Applies to