Freigeben über


MockableMySqlFlexibleServersSubscriptionResource.GetMySqlFlexibleServersCapabilityAsync Methode

Definition

Rufen Sie Funktionen an einem angegebenen Speicherort in einem bestimmten Abonnement ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilitySets/{capabilitySetName}
  • Vorgang IdLocationBasedCapabilitySet_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>> GetMySqlFlexibleServersCapabilityAsync (Azure.Core.AzureLocation locationName, string capabilitySetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMySqlFlexibleServersCapabilityAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>>
override this.GetMySqlFlexibleServersCapabilityAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>>
Public Overridable Function GetMySqlFlexibleServersCapabilityAsync (locationName As AzureLocation, capabilitySetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServersCapabilityResource))

Parameter

locationName
AzureLocation

Der Name des Speicherorts.

capabilitySetName
String

Name des Funktionssatzes.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

capabilitySetName ist NULL.

capabilitySetName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

Gilt für: