PostgreSqlFlexibleServerResource.StartMajorVersionUpgradePrecheckAsync Method

Definition

Start Major Version Upgrade Prechecks.

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

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
StartMajorVersionUpgradePrecheckContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to