Freigeben über


SubscriptionSupportTicketCollection.GetIfExists 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 Azure.NullableResponse<Azure.ResourceManager.Support.SubscriptionSupportTicketResource> GetIfExists (string supportTicketName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Support.SubscriptionSupportTicketResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Support.SubscriptionSupportTicketResource>
Public Overridable Function GetIfExists (supportTicketName As String, Optional cancellationToken As CancellationToken = Nothing) As 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: