MockableDataShareTenantResource.RejectConsumerInvitation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reject an invitation
- Request Path: /providers/Microsoft.DataShare/locations/{location}/rejectInvitation
- Operation Id: ConsumerInvitations_RejectInvitation
public virtual Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource> RejectConsumerInvitation (Azure.Core.AzureLocation location, Azure.ResourceManager.DataShare.DataShareConsumerInvitationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member RejectConsumerInvitation : Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.DataShareConsumerInvitationData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>
override this.RejectConsumerInvitation : Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.DataShareConsumerInvitationData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>
Public Overridable Function RejectConsumerInvitation (location As AzureLocation, data As DataShareConsumerInvitationData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataShareConsumerInvitationResource)
Parameters
- location
- AzureLocation
Location of the invitation.
An invitation payload.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.