MaintenanceEventResource.RescheduleAsync Method

Definition

Reschedules a maintenance event to a new date and time.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/maintenanceEvents/{maintenanceEventId}/reschedule.
  • Operation Id. : MaintenanceEvents_Reschedule.
  • Default Api Version. : 2026-04-01-preview.
  • Resource. : MaintenanceEventResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventActionResult>> RescheduleAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventRescheduleContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RescheduleAsync : Azure.WaitUntil * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventRescheduleContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventActionResult>>
override this.RescheduleAsync : Azure.WaitUntil * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventRescheduleContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventActionResult>>
Public Overridable Function RescheduleAsync (waitUntil As WaitUntil, content As MaintenanceEventRescheduleContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MaintenanceEventActionResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
MaintenanceEventRescheduleContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to