Interface MaintenanceWindowsOperationsClient
public interface MaintenanceWindowsOperationsClient
An instance of this class provides access to all the operations defined in MaintenanceWindowsOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters) Sets maintenance windows settings for a database.createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters) Sets maintenance windows settings for a database.com.azure.core.http.rest.Response<Void> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters, com.azure.core.util.Context context) Sets maintenance windows settings for a database.createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters) Sets maintenance windows settings for a database.Gets maintenance windows settings for a database.getAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName) Gets maintenance windows settings for a database.com.azure.core.http.rest.Response<MaintenanceWindowsInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, com.azure.core.util.Context context) Gets maintenance windows settings for a database.Mono<com.azure.core.http.rest.Response<MaintenanceWindowsInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName) Gets maintenance windows settings for a database.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<MaintenanceWindowsInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName) Gets maintenance windows settings for a database.- 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 for.maintenanceWindowName- Maintenance window name.- Returns:
- maintenance windows settings for a database 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<MaintenanceWindowsInner> getAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName) Gets maintenance windows settings for a database.- 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 for.maintenanceWindowName- Maintenance window name.- Returns:
- maintenance windows settings for a database 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<MaintenanceWindowsInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, com.azure.core.util.Context context) Gets maintenance windows settings for a database.- 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 for.maintenanceWindowName- Maintenance window name.context- The context to associate with this operation.- Returns:
- maintenance windows settings for a database 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
MaintenanceWindowsInner get(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName) Gets maintenance windows settings for a database.- 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 for.maintenanceWindowName- Maintenance window name.- Returns:
- maintenance windows settings for a database.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters) Sets maintenance windows settings for a database.- 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 set maintenance windows for.maintenanceWindowName- Maintenance window name.parameters- The parameters parameter.- Returns:
- the
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.
-
createOrUpdateAsync
Mono<Void> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters) Sets maintenance windows settings for a database.- 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 set maintenance windows for.maintenanceWindowName- Maintenance window name.parameters- The parameters parameter.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<Void> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters, com.azure.core.util.Context context) Sets maintenance windows settings for a database.- 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 set maintenance windows for.maintenanceWindowName- Maintenance window name.parameters- The parameters parameter.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.
-
createOrUpdate
void createOrUpdate(String resourceGroupName, String serverName, String databaseName, String maintenanceWindowName, MaintenanceWindowsInner parameters) Sets maintenance windows settings for a database.- 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 set maintenance windows for.maintenanceWindowName- Maintenance window name.parameters- The parameters parameter.- 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.
-