Share via


DataShareConsumerInvitationCollection.GetAsync Method

Definition

Get an invitation

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

Parameters

location
AzureLocation

Location of the invitation.

invitationId
Guid

An invitation id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to