Interface MaintenanceWindowOptionsOperationsClient
public interface MaintenanceWindowOptionsOperationsClient
An instance of this class provides access to all the operations defined in MaintenanceWindowOptionsOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionget(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName) Gets a list of available maintenance windows.getAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName) Gets a list of available maintenance windows.com.azure.core.http.rest.Response<MaintenanceWindowOptionsInner>getWithResponse(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName, com.azure.core.util.Context context) Gets a list of available maintenance windows.Mono<com.azure.core.http.rest.Response<MaintenanceWindowOptionsInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName) Gets a list of available maintenance windows.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<MaintenanceWindowOptionsInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName) Gets a list of available maintenance windows.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database to get maintenance windows options for.maintenanceWindowOptionsName- Maintenance window options name.- Returns:
- a list of available maintenance windows 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.
-
getAsync
Mono<MaintenanceWindowOptionsInner> getAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName) Gets a list of available maintenance windows.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database to get maintenance windows options for.maintenanceWindowOptionsName- Maintenance window options name.- Returns:
- a list of available maintenance windows 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.
-
getWithResponse
com.azure.core.http.rest.Response<MaintenanceWindowOptionsInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName, com.azure.core.util.Context context) Gets a list of available maintenance windows.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database to get maintenance windows options for.maintenanceWindowOptionsName- Maintenance window options name.context- The context to associate with this operation.- Returns:
- a list of available maintenance windows 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.
-
get
MaintenanceWindowOptionsInner get(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowOptionsName) Gets a list of available maintenance windows.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database to get maintenance windows options for.maintenanceWindowOptionsName- Maintenance window options name.- Returns:
- a list of available maintenance windows.
- 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.
-