Skip to main content

consumer_invitations

Creates, updates, deletes, gets or lists a consumer_invitations resource.

Overview

Nameconsumer_invitations
TypeResource
Idazure.data_share.consumer_invitations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource id of the azure resource
namestringName of the azure resource
propertiesobjectProperties on the account
systemDataobjectSystem Data of the Azure resource.
typestringType of the azure resource

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, invitationIdapi-versionGet an invitation
list_invitationsselectapi-version, $skipTokenLists invitations
reject_invitationexeclocation, propertiesapi-versionReject an invitation

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
invitationIdstringAn invitation id
locationstringLocation of the invitation
$skipTokenstringThe continuation token
api-versionstringThe api version to use.

SELECT examples

Get an invitation

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_share.consumer_invitations
WHERE location = '{{ location }}' -- required
AND invitationId = '{{ invitationId }}' -- required
AND api-version = '{{ api-version }}'
;

Lifecycle Methods

Reject an invitation

EXEC azure.data_share.consumer_invitations.reject_invitation 
@location='{{ location }}' --required,
@api-version='{{ api-version }}'
@@json=
'{
"properties": "{{ properties }}"
}'
;