Freigeben über


MySqlFlexibleServersCapabilityCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilitySets/{capabilitySetName}
  • Vorgangs-IdLocationBasedCapabilitySet_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>> GetIfExistsAsync (string capabilitySetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServersCapabilityResource>>
Public Overridable Function GetIfExistsAsync (capabilitySetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MySqlFlexibleServersCapabilityResource))

Parameter

capabilitySetName
String

Name des Funktionssatzes.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

capabilitySetName ist NULL.

Gilt für: