ConsumerInvitationsOperationsExtensions.GetAsync Method

Definition

Gets the invitation identified by invitationId

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation> GetAsync (this Microsoft.Azure.Management.DataShare.IConsumerInvitationsOperations operations, string location, string invitationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.DataShare.IConsumerInvitationsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation>
<Extension()>
Public Function GetAsync (operations As IConsumerInvitationsOperations, location As String, invitationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConsumerInvitation)

Parameters

operations
IConsumerInvitationsOperations

The operations group for this extension method.

location
String

Location of the invitation

invitationId
String

An invitation id

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get an invitation

Applies to