Skip to main content

sent_shares

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

Overview

Namesent_shares
TypeResource
Idazure.purview_sharing.sent_shares

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_or_replaceinsertsent_share_id, endpointCreate or replace a sent share. Create or replace a sent share.
create_or_replacereplacesent_share_id, endpointCreate or replace a sent share. Create or replace a sent share.
deletedeletesent_share_id, endpointDeletes a sent share. Delete a sent share.
get_rawexecsent_share_id, endpointGet a sent share by guid. Get a sent share.
list_rawexecreferenceName, endpointfilter, orderbyGet a list of sent shares. List sent shares.
list_invitationsexecsent_share_id, endpointfilter, orderbyList all sent share invitations in a sent share. List sent share recipients.
get_invitationexecsent_share_id, sent_share_invitation_id, endpointGet sent share invitation for a given sent share. Get recipient for a given sent share.
create_invitationexecsent_share_id, sent_share_invitation_id, endpointCreate a sent share invitation. Create a recipient for a given sent share.
delete_invitationexecsent_share_id, sent_share_invitation_id, endpointDelete Invitation in a share. Delete a sent share invitation.
notify_user_invitationexecsent_share_id, sent_share_invitation_id, endpointrepeatability-request-idNotifies the recipient of the sent share invitation. Notifies the user recipient of the sent share invitation, does not apply to service invitations.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
referenceNamestringA name that references a data store. Required.
sent_share_idstringId of the sent share. Required.
sent_share_invitation_idstringId of the sent share invitation. Required.
filterstringFilters the results using OData syntax. Default value is None.
orderbystringSorts the results using OData syntax. Default value is None.
repeatability-request-idstringIf specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs. Default value is None.

INSERT examples

Create or replace a sent share. Create or replace a sent share.

INSERT INTO azure.purview_sharing.sent_shares (
sent_share_id,
endpoint
)
SELECT
'{{ sent_share_id }}',
'{{ endpoint }}'
;

REPLACE examples

Create or replace a sent share. Create or replace a sent share.

REPLACE azure.purview_sharing.sent_shares
SET
-- No updatable properties
WHERE
sent_share_id = '{{ sent_share_id }}' --required
AND endpoint = '{{ endpoint }}' --required;

DELETE examples

Deletes a sent share. Delete a sent share.

DELETE FROM azure.purview_sharing.sent_shares
WHERE sent_share_id = '{{ sent_share_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

Get a sent share by guid. Get a sent share.

EXEC azure.purview_sharing.sent_shares.get_raw 
@sent_share_id='{{ sent_share_id }}' --required,
@endpoint='{{ endpoint }}' --required
;