Udostępnij za pośrednictwem


DataShareConsumerInvitationCollection.ExistsAsync Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}
  • Operation Id: ConsumerInvitations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (Azure.Core.AzureLocation location, Guid invitationId, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Azure.Core.AzureLocation * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Azure.Core.AzureLocation * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (location As AzureLocation, invitationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameters

location
AzureLocation

Location of the invitation.

invitationId
Guid

An invitation id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to