Freigeben über


SubscriptionSupportTicketCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}
  • Vorgang IdSupportTickets_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SubscriptionSupportTicketResource>> GetIfExistsAsync (string supportTicketName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SubscriptionSupportTicketResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SubscriptionSupportTicketResource>>
Public Overridable Function GetIfExistsAsync (supportTicketName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SubscriptionSupportTicketResource))

Parameter

supportTicketName
String

Supportticketname.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

supportTicketName ist NULL.

Gilt für: