MaintenanceEventsOperations interface

Interface representing a MaintenanceEvents operations.

Properties

applyNow

Applies the maintenance event immediately.

beginApplyNow
beginApplyNowAndWait
beginReschedule
beginRescheduleAndWait
get

Gets information about a maintenance event for a flexible server.

list

Lists all maintenance events for a flexible server.

reschedule

Reschedules a maintenance event to a new date and time.

Property Details

applyNow

Applies the maintenance event immediately.

applyNow: (resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsApplyNowOptionalParams) => PollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>

Property Value

(resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsApplyNowOptionalParams) => PollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>

beginApplyNow

Warning

This API is now deprecated.

use applyNow instead

beginApplyNow: (resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsApplyNowOptionalParams) => Promise<SimplePollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>>

Property Value

(resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsApplyNowOptionalParams) => Promise<SimplePollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>>

beginApplyNowAndWait

Warning

This API is now deprecated.

use applyNow instead

beginApplyNowAndWait: (resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsApplyNowOptionalParams) => Promise<MaintenanceEventActionResponse>

Property Value

(resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsApplyNowOptionalParams) => Promise<MaintenanceEventActionResponse>

beginReschedule

Warning

This API is now deprecated.

use reschedule instead

beginReschedule: (resourceGroupName: string, serverName: string, maintenanceEventId: string, body: MaintenanceEventRescheduleRequest, options?: MaintenanceEventsRescheduleOptionalParams) => Promise<SimplePollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>>

Property Value

(resourceGroupName: string, serverName: string, maintenanceEventId: string, body: MaintenanceEventRescheduleRequest, options?: MaintenanceEventsRescheduleOptionalParams) => Promise<SimplePollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>>

beginRescheduleAndWait

Warning

This API is now deprecated.

use reschedule instead

beginRescheduleAndWait: (resourceGroupName: string, serverName: string, maintenanceEventId: string, body: MaintenanceEventRescheduleRequest, options?: MaintenanceEventsRescheduleOptionalParams) => Promise<MaintenanceEventActionResponse>

Property Value

(resourceGroupName: string, serverName: string, maintenanceEventId: string, body: MaintenanceEventRescheduleRequest, options?: MaintenanceEventsRescheduleOptionalParams) => Promise<MaintenanceEventActionResponse>

get

Gets information about a maintenance event for a flexible server.

get: (resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsGetOptionalParams) => Promise<MaintenanceEventResource>

Property Value

(resourceGroupName: string, serverName: string, maintenanceEventId: string, options?: MaintenanceEventsGetOptionalParams) => Promise<MaintenanceEventResource>

list

Lists all maintenance events for a flexible server.

list: (resourceGroupName: string, serverName: string, options?: MaintenanceEventsListOptionalParams) => PagedAsyncIterableIterator<MaintenanceEventResource, MaintenanceEventResource[], PageSettings>

Property Value

(resourceGroupName: string, serverName: string, options?: MaintenanceEventsListOptionalParams) => PagedAsyncIterableIterator<MaintenanceEventResource, MaintenanceEventResource[], PageSettings>

reschedule

Reschedules a maintenance event to a new date and time.

reschedule: (resourceGroupName: string, serverName: string, maintenanceEventId: string, body: MaintenanceEventRescheduleRequest, options?: MaintenanceEventsRescheduleOptionalParams) => PollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>

Property Value

(resourceGroupName: string, serverName: string, maintenanceEventId: string, body: MaintenanceEventRescheduleRequest, options?: MaintenanceEventsRescheduleOptionalParams) => PollerLike<OperationState<MaintenanceEventActionResponse>, MaintenanceEventActionResponse>