Udostępnij za pośrednictwem


DataShareConsumerInvitationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

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

Parameters

location
AzureLocation

Location of the invitation.

invitationId
Guid

An invitation id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to