Share via


DataShareConsumerInvitationCollection.GetIfExists 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 Azure.NullableResponse<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource> GetIfExists (Azure.Core.AzureLocation location, Guid invitationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.Core.AzureLocation * Guid * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>
override this.GetIfExists : Azure.Core.AzureLocation * Guid * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>
Public Overridable Function GetIfExists (location As AzureLocation, invitationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As 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