/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { MaintenanceWindowsGetOptionalParams, MaintenanceWindowsGetResponse, MaintenanceWindows, MaintenanceWindowsCreateOrUpdateOptionalParams } from "../models"; /** Interface representing a MaintenanceWindowsOperations. */ export interface MaintenanceWindowsOperations { /** * Gets maintenance windows settings for a database. * @param 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. * @param serverName The name of the server. * @param databaseName The name of the database to get maintenance windows for. * @param maintenanceWindowName Maintenance window name. * @param options The options parameters. */ get( resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, options?: MaintenanceWindowsGetOptionalParams ): Promise; /** * Sets maintenance windows settings for a database. * @param 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. * @param serverName The name of the server. * @param databaseName The name of the database to set maintenance windows for. * @param maintenanceWindowName Maintenance window name. * @param parameters Maintenance windows. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, parameters: MaintenanceWindows, options?: MaintenanceWindowsCreateOrUpdateOptionalParams ): Promise; }