public interface FileSharesClient
| Modifier and Type | Method and Description |
|---|---|
FileShareInner |
create(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare)
Creates a new share under the specified account as described by request body.
|
Mono<FileShareInner> |
createAsync(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare)
Creates a new share under the specified account as described by request body.
|
Mono<FileShareInner> |
createAsync(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare,
PutSharesExpand expand)
Creates a new share under the specified account as described by request body.
|
com.azure.core.http.rest.Response<FileShareInner> |
createWithResponse(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare,
PutSharesExpand expand,
com.azure.core.util.Context context)
Creates a new share under the specified account as described by request body.
|
Mono<com.azure.core.http.rest.Response<FileShareInner>> |
createWithResponseAsync(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare,
PutSharesExpand expand)
Creates a new share under the specified account as described by request body.
|
void |
delete(String resourceGroupName,
String accountName,
String shareName)
Deletes specified share under its account.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String accountName,
String shareName)
Deletes specified share under its account.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String accountName,
String shareName,
String xMsSnapshot)
Deletes specified share under its account.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String accountName,
String shareName,
String xMsSnapshot,
com.azure.core.util.Context context)
Deletes specified share under its account.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String accountName,
String shareName,
String xMsSnapshot)
Deletes specified share under its account.
|
FileShareInner |
get(String resourceGroupName,
String accountName,
String shareName)
Gets properties of a specified share.
|
Mono<FileShareInner> |
getAsync(String resourceGroupName,
String accountName,
String shareName)
Gets properties of a specified share.
|
Mono<FileShareInner> |
getAsync(String resourceGroupName,
String accountName,
String shareName,
GetShareExpand expand,
String xMsSnapshot)
Gets properties of a specified share.
|
com.azure.core.http.rest.Response<FileShareInner> |
getWithResponse(String resourceGroupName,
String accountName,
String shareName,
GetShareExpand expand,
String xMsSnapshot,
com.azure.core.util.Context context)
Gets properties of a specified share.
|
Mono<com.azure.core.http.rest.Response<FileShareInner>> |
getWithResponseAsync(String resourceGroupName,
String accountName,
String shareName,
GetShareExpand expand,
String xMsSnapshot)
Gets properties of a specified share.
|
com.azure.core.http.rest.PagedIterable<FileShareItemInner> |
list(String resourceGroupName,
String accountName)
Lists all shares.
|
com.azure.core.http.rest.PagedIterable<FileShareItemInner> |
list(String resourceGroupName,
String accountName,
String maxpagesize,
String filter,
ListSharesExpand expand,
com.azure.core.util.Context context)
Lists all shares.
|
com.azure.core.http.rest.PagedFlux<FileShareItemInner> |
listAsync(String resourceGroupName,
String accountName)
Lists all shares.
|
com.azure.core.http.rest.PagedFlux<FileShareItemInner> |
listAsync(String resourceGroupName,
String accountName,
String maxpagesize,
String filter,
ListSharesExpand expand)
Lists all shares.
|
void |
restore(String resourceGroupName,
String accountName,
String shareName,
String deletedShareName,
String deletedShareVersion)
Restore a file share within a valid retention days if share soft delete is enabled.
|
Mono<Void> |
restoreAsync(String resourceGroupName,
String accountName,
String shareName,
String deletedShareName,
String deletedShareVersion)
Restore a file share within a valid retention days if share soft delete is enabled.
|
com.azure.core.http.rest.Response<Void> |
restoreWithResponse(String resourceGroupName,
String accountName,
String shareName,
String deletedShareName,
String deletedShareVersion,
com.azure.core.util.Context context)
Restore a file share within a valid retention days if share soft delete is enabled.
|
Mono<com.azure.core.http.rest.Response<Void>> |
restoreWithResponseAsync(String resourceGroupName,
String accountName,
String shareName,
String deletedShareName,
String deletedShareVersion)
Restore a file share within a valid retention days if share soft delete is enabled.
|
FileShareInner |
update(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare)
Updates share properties as specified in request body.
|
Mono<FileShareInner> |
updateAsync(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare)
Updates share properties as specified in request body.
|
com.azure.core.http.rest.Response<FileShareInner> |
updateWithResponse(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare,
com.azure.core.util.Context context)
Updates share properties as specified in request body.
|
Mono<com.azure.core.http.rest.Response<FileShareInner>> |
updateWithResponseAsync(String resourceGroupName,
String accountName,
String shareName,
FileShareInner fileShare)
Updates share properties as specified in request body.
|
com.azure.core.http.rest.PagedFlux<FileShareItemInner> listAsync(String resourceGroupName, String accountName, String maxpagesize, String filter, ListSharesExpand expand)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<FileShareItemInner> listAsync(String resourceGroupName, String accountName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<FileShareItemInner> list(String resourceGroupName, String accountName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<FileShareItemInner> list(String resourceGroupName, String accountName, String maxpagesize, String filter, ListSharesExpand expand, com.azure.core.util.Context context)
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.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<FileShareInner>> createWithResponseAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, PutSharesExpand expand)
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 create a snapshot.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<FileShareInner> createAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, PutSharesExpand expand)
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 create a snapshot.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<FileShareInner> createAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.FileShareInner create(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<FileShareInner> createWithResponse(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, PutSharesExpand expand, com.azure.core.util.Context context)
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 create a snapshot.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<FileShareInner>> updateWithResponseAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<FileShareInner> updateAsync(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.FileShareInner update(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<FileShareInner> updateWithResponse(String resourceGroupName, String accountName, String shareName, FileShareInner fileShare, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<FileShareInner>> getWithResponseAsync(String resourceGroupName, String accountName, String shareName, GetShareExpand expand, String xMsSnapshot)
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.xMsSnapshot - Optional, used to retrieve properties of a snapshot.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<FileShareInner> getAsync(String resourceGroupName, String accountName, String shareName, GetShareExpand expand, String xMsSnapshot)
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.xMsSnapshot - Optional, used to retrieve properties of a snapshot.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<FileShareInner> getAsync(String resourceGroupName, String accountName, String shareName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.FileShareInner get(String resourceGroupName, String accountName, String shareName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<FileShareInner> getWithResponse(String resourceGroupName, String accountName, String shareName, GetShareExpand expand, String xMsSnapshot, com.azure.core.util.Context context)
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.xMsSnapshot - Optional, used to retrieve properties of a snapshot.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName, String shareName, String xMsSnapshot)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String accountName, String shareName, String xMsSnapshot)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String accountName, String shareName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String accountName, String shareName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String shareName, String xMsSnapshot, com.azure.core.util.Context context)
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.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> restoreWithResponseAsync(String resourceGroupName, String accountName, String shareName, String deletedShareName, String deletedShareVersion)
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.deletedShareName - Required. Identify the name of the deleted share that will be restored.deletedShareVersion - Required. Identify the version of the deleted share that will be restored.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> restoreAsync(String resourceGroupName, String accountName, String shareName, String deletedShareName, String deletedShareVersion)
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.deletedShareName - Required. Identify the name of the deleted share that will be restored.deletedShareVersion - Required. Identify the version of the deleted share that will be restored.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void restore(String resourceGroupName, String accountName, String shareName, String deletedShareName, String deletedShareVersion)
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.deletedShareName - Required. Identify the name of the deleted share that will be restored.deletedShareVersion - Required. Identify the version of the deleted share that will be restored.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> restoreWithResponse(String resourceGroupName, String accountName, String shareName, String deletedShareName, String deletedShareVersion, com.azure.core.util.Context context)
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.deletedShareName - Required. Identify the name of the deleted share that will be restored.deletedShareVersion - Required. Identify the version of the deleted share that will be restored.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.