共用方式為


MySqlFlexibleServerResource.ValidateEstimateHighAvailabilityAsync Method

Definition

Validate a deployment of high availability.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/validateEstimateHighAvailability
  • Operation Id: Servers_ValidateEstimateHighAvailability
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.HighAvailabilityValidationEstimation>> ValidateEstimateHighAvailabilityAsync (Azure.ResourceManager.MySql.FlexibleServers.Models.HighAvailabilityValidationEstimation highAvailabilityValidationEstimation, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateEstimateHighAvailabilityAsync : Azure.ResourceManager.MySql.FlexibleServers.Models.HighAvailabilityValidationEstimation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.HighAvailabilityValidationEstimation>>
override this.ValidateEstimateHighAvailabilityAsync : Azure.ResourceManager.MySql.FlexibleServers.Models.HighAvailabilityValidationEstimation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.HighAvailabilityValidationEstimation>>
Public Overridable Function ValidateEstimateHighAvailabilityAsync (highAvailabilityValidationEstimation As HighAvailabilityValidationEstimation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HighAvailabilityValidationEstimation))

Parameters

highAvailabilityValidationEstimation
HighAvailabilityValidationEstimation

The required parameters for validation of high availability deployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

highAvailabilityValidationEstimation is null.

Applies to