Udostępnij za pośrednictwem


SupportTicketCommunicationCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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

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