Freigeben über


SupportTicketNoSubCommunicationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: CommunicationsNoSubscription_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketNoSubCommunicationResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>> GetIfExistsAsync (string communicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>>
Public Overridable Function GetIfExistsAsync (communicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SupportTicketNoSubCommunicationResource))

Parameters

communicationName
String

Communication name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

communicationName is an empty string, and was expected to be non-empty.

communicationName is null.

Applies to