Freigeben über


InstancePoolCollection.GetIfExists(String, CancellationToken) Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}
  • Vorgangs-IdInstancePools_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.InstancePoolResource> GetIfExists (string instancePoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.InstancePoolResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.InstancePoolResource>
Public Overridable Function GetIfExists (instancePoolName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of InstancePoolResource)

Parameter

instancePoolName
String

Der Name des abzurufenden instance Pools.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

instancePoolName ist NULL.

Gilt für: