Interface FileServicesClient
-
public interface FileServicesClientAn instance of this class provides access to all the operations defined in FileServicesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileServicePropertiesInnergetServiceProperties(String resourceGroupName, String accountName)Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.Mono<FileServicePropertiesInner>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.FileServiceItemsInnerlist(String resourceGroupName, String accountName)List all file services in storage accounts.Mono<FileServiceItemsInner>listAsync(String resourceGroupName, String accountName)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.FileServicePropertiesInnersetServiceProperties(String resourceGroupName, String accountName, FileServicePropertiesInner parameters)Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.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.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 Detail
-
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.
- 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
Mono<FileServiceItemsInner> listAsync(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.
- 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
FileServiceItemsInner list(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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
FileServicePropertiesInner getServiceProperties(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.
- 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.
- 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.
-
-