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.List all file services in storage accounts.List all file services in storage accounts.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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-