Share via


Maintenances interface

Interface representing a Maintenances.

Methods

beginUpdate(string, string, string, MaintenancesUpdateOptionalParams)

Update maintenances.

beginUpdateAndWait(string, string, string, MaintenancesUpdateOptionalParams)

Update maintenances.

list(string, string, MaintenancesListOptionalParams)

List maintenances.

read(string, string, string, MaintenancesReadOptionalParams)

Read maintenance.

Method Details

beginUpdate(string, string, string, MaintenancesUpdateOptionalParams)

Update maintenances.

function beginUpdate(resourceGroupName: string, serverName: string, maintenanceName: string, options?: MaintenancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Maintenance>, Maintenance>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

maintenanceName

string

The name of the maintenance.

options
MaintenancesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Maintenance>, Maintenance>>

beginUpdateAndWait(string, string, string, MaintenancesUpdateOptionalParams)

Update maintenances.

function beginUpdateAndWait(resourceGroupName: string, serverName: string, maintenanceName: string, options?: MaintenancesUpdateOptionalParams): Promise<Maintenance>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

maintenanceName

string

The name of the maintenance.

options
MaintenancesUpdateOptionalParams

The options parameters.

Returns

Promise<Maintenance>

list(string, string, MaintenancesListOptionalParams)

List maintenances.

function list(resourceGroupName: string, serverName: string, options?: MaintenancesListOptionalParams): PagedAsyncIterableIterator<Maintenance, Maintenance[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

options
MaintenancesListOptionalParams

The options parameters.

Returns

read(string, string, string, MaintenancesReadOptionalParams)

Read maintenance.

function read(resourceGroupName: string, serverName: string, maintenanceName: string, options?: MaintenancesReadOptionalParams): Promise<Maintenance>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

maintenanceName

string

The name of the maintenance.

options
MaintenancesReadOptionalParams

The options parameters.

Returns

Promise<Maintenance>