Interface FileServicesClient
public interface FileServicesClient
An instance of this class provides access to all the operations defined in FileServicesClient.
-
Method Summary
Modifier and TypeMethodDescriptiongetServiceProperties(String resourceGroupName, String accountName) Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.getServicePropertiesAsync(String resourceGroupName, String accountName) Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.com.azure.core.http.rest.Response<FileServicePropertiesInner> getServicePropertiesWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.Mono<com.azure.core.http.rest.Response<FileServicePropertiesInner>> getServicePropertiesWithResponseAsync(String resourceGroupName, String accountName) Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.getServiceUsage(String resourceGroupName, String accountName) Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.getServiceUsageAsync(String resourceGroupName, String accountName) Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.com.azure.core.http.rest.Response<FileServiceUsageInner> getServiceUsageWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.Mono<com.azure.core.http.rest.Response<FileServiceUsageInner>> getServiceUsageWithResponseAsync(String resourceGroupName, String accountName) Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.List all file services in storage accounts.List all file services in storage accounts.com.azure.core.http.rest.PagedIterable<FileServiceUsageInner> listServiceUsages(String resourceGroupName, String accountName) Gets the usages of file service in storage account.com.azure.core.http.rest.PagedIterable<FileServiceUsageInner> listServiceUsages(String resourceGroupName, String accountName, Integer maxpagesize, com.azure.core.util.Context context) Gets the usages of file service in storage account.com.azure.core.http.rest.PagedFlux<FileServiceUsageInner> listServiceUsagesAsync(String resourceGroupName, String accountName) Gets the usages of file service in storage account.com.azure.core.http.rest.PagedFlux<FileServiceUsageInner> listServiceUsagesAsync(String resourceGroupName, String accountName, Integer maxpagesize) Gets the usages of file service in storage account.com.azure.core.http.rest.Response<FileServiceItemsInner> listWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) List all file services in storage accounts.Mono<com.azure.core.http.rest.Response<FileServiceItemsInner>> listWithResponseAsync(String resourceGroupName, String accountName) List all file services in storage accounts.setServiceProperties(String resourceGroupName, String accountName, FileServicePropertiesInner parameters) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.setServicePropertiesAsync(String resourceGroupName, String accountName, FileServicePropertiesInner parameters) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.com.azure.core.http.rest.Response<FileServicePropertiesInner> setServicePropertiesWithResponse(String resourceGroupName, String accountName, FileServicePropertiesInner parameters, com.azure.core.util.Context context) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.Mono<com.azure.core.http.rest.Response<FileServicePropertiesInner>> setServicePropertiesWithResponseAsync(String resourceGroupName, String accountName, FileServicePropertiesInner parameters) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
-
Method Details
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<FileServiceItemsInner>> listWithResponseAsync(String resourceGroupName, String accountName) List all file services in storage accounts.- 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:
- the response body along with
Responseon successful completion ofMono. - Throws:
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.
-
listAsync
List all file services in storage accounts.- 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:
- the response body on successful completion of
Mono. - Throws:
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.
-
listWithResponse
com.azure.core.http.rest.Response<FileServiceItemsInner> listWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) List all file services in storage accounts.- 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.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
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.
-
list
List all file services in storage accounts.- 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:
- the response.
- Throws:
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.
-
setServicePropertiesWithResponseAsync
Mono<com.azure.core.http.rest.Response<FileServicePropertiesInner>> setServicePropertiesWithResponseAsync(String resourceGroupName, String accountName, FileServicePropertiesInner parameters) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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.parameters- The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- Returns:
- the properties of File services in storage account along with
Responseon successful completion ofMono. - Throws:
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.
-
setServicePropertiesAsync
Mono<FileServicePropertiesInner> setServicePropertiesAsync(String resourceGroupName, String accountName, FileServicePropertiesInner parameters) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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.parameters- The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- Returns:
- the properties of File services in storage account on successful completion of
Mono. - Throws:
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.
-
setServicePropertiesWithResponse
com.azure.core.http.rest.Response<FileServicePropertiesInner> setServicePropertiesWithResponse(String resourceGroupName, String accountName, FileServicePropertiesInner parameters, com.azure.core.util.Context context) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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.parameters- The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.context- The context to associate with this operation.- Returns:
- the properties of File services in storage account along with
Response. - Throws:
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.
-
setServiceProperties
FileServicePropertiesInner setServiceProperties(String resourceGroupName, String accountName, FileServicePropertiesInner parameters) Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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.parameters- The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- Returns:
- the properties of File services in storage account.
- Throws:
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.
-
getServicePropertiesWithResponseAsync
Mono<com.azure.core.http.rest.Response<FileServicePropertiesInner>> getServicePropertiesWithResponseAsync(String resourceGroupName, String accountName) Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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:
- the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules
along with
Responseon successful completion ofMono. - Throws:
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.
-
getServicePropertiesAsync
Mono<FileServicePropertiesInner> getServicePropertiesAsync(String resourceGroupName, String accountName) Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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:
- the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules
on successful completion of
Mono. - Throws:
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.
-
getServicePropertiesWithResponse
com.azure.core.http.rest.Response<FileServicePropertiesInner> getServicePropertiesWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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.context- The context to associate with this operation.- Returns:
- the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules
along with
Response. - Throws:
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.
-
getServiceProperties
Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.- 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:
- the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
- Throws:
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.
-
listServiceUsagesAsync
com.azure.core.http.rest.PagedFlux<FileServiceUsageInner> listServiceUsagesAsync(String resourceGroupName, String accountName, Integer maxpagesize) Gets the usages of file service in storage 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.maxpagesize- Optional, specifies the maximum number of file service usages to be included in the list response.- Returns:
- the usages of file service in storage account as paginated response with
PagedFlux. - Throws:
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.
-
listServiceUsagesAsync
com.azure.core.http.rest.PagedFlux<FileServiceUsageInner> listServiceUsagesAsync(String resourceGroupName, String accountName) Gets the usages of file service in storage 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.- Returns:
- the usages of file service in storage account as paginated response with
PagedFlux. - Throws:
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.
-
listServiceUsages
com.azure.core.http.rest.PagedIterable<FileServiceUsageInner> listServiceUsages(String resourceGroupName, String accountName) Gets the usages of file service in storage 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.- Returns:
- the usages of file service in storage account as paginated response with
PagedIterable. - Throws:
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.
-
listServiceUsages
com.azure.core.http.rest.PagedIterable<FileServiceUsageInner> listServiceUsages(String resourceGroupName, String accountName, Integer maxpagesize, com.azure.core.util.Context context) Gets the usages of file service in storage 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.maxpagesize- Optional, specifies the maximum number of file service usages to be included in the list response.context- The context to associate with this operation.- Returns:
- the usages of file service in storage account as paginated response with
PagedIterable. - Throws:
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.
-
getServiceUsageWithResponseAsync
Mono<com.azure.core.http.rest.Response<FileServiceUsageInner>> getServiceUsageWithResponseAsync(String resourceGroupName, String accountName) Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.- 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:
- the usage of file service in storage account including account limits, file share limits and constants
used in recommendations and bursting formula along with
Responseon successful completion ofMono. - Throws:
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.
-
getServiceUsageAsync
Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.- 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:
- the usage of file service in storage account including account limits, file share limits and constants
used in recommendations and bursting formula on successful completion of
Mono. - Throws:
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.
-
getServiceUsageWithResponse
com.azure.core.http.rest.Response<FileServiceUsageInner> getServiceUsageWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.- 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.context- The context to associate with this operation.- Returns:
- the usage of file service in storage account including account limits, file share limits and constants
used in recommendations and bursting formula along with
Response. - Throws:
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.
-
getServiceUsage
Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.- 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:
- the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.
- Throws:
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.
-