MaintenanceWindowsOperations interface

Interface representing a MaintenanceWindowsOperations.

Methods

createOrUpdate(string, string, string, string, MaintenanceWindows, MaintenanceWindowsCreateOrUpdateOptionalParams)

Sets maintenance windows settings for a database.

get(string, string, string, string, MaintenanceWindowsGetOptionalParams)

Gets maintenance windows settings for a database.

Method Details

createOrUpdate(string, string, string, string, MaintenanceWindows, MaintenanceWindowsCreateOrUpdateOptionalParams)

Sets maintenance windows settings for a database.

function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, parameters: MaintenanceWindows, options?: MaintenanceWindowsCreateOrUpdateOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

string

The name of the server.

databaseName

string

The name of the database to set maintenance windows for.

maintenanceWindowName

string

Maintenance window name.

parameters
MaintenanceWindows

Maintenance windows.

options
MaintenanceWindowsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, MaintenanceWindowsGetOptionalParams)

Gets maintenance windows settings for a database.

function get(resourceGroupName: string, serverName: string, databaseName: string, maintenanceWindowName: string, options?: MaintenanceWindowsGetOptionalParams): Promise<MaintenanceWindows>

Parameters

resourceGroupName

string

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

string

The name of the server.

databaseName

string

The name of the database to get maintenance windows for.

maintenanceWindowName

string

Maintenance window name.

options
MaintenanceWindowsGetOptionalParams

The options parameters.

Returns