Skip to main content

received_shares

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

Overview

Namereceived_shares
TypeResource
Idazure.purview_sharing.received_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_replaceinsertreceived_share_id, endpointCreate or replace a received share. Update changes to a received share.
create_or_replacereplacereceived_share_id, endpointCreate or replace a received share. Update changes to a received share.
deletedeletereceived_share_id, endpointDeletes a received share. Delete a received share.
get_rawexecreceived_share_id, endpointGet a received share by unique id. Get a received share.
list_attachedexecreferenceName, endpointfilter, orderbyGet a list of attached received shares. List attached received shares.
list_detachedexecendpointfilter, orderbyGet a list of detached received shares. List detached received shares.
activate_tenant_email_registrationexecendpointrepeatability-request-idActivates the tenant and email combination using the activation code received. Activates the email registration for current tenant.
register_tenant_email_registrationexecendpointrepeatability-request-idRegisters the tenant and email combination for activation. Register an email for the current tenant.

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: )
received_share_idstringId of the received share. Required.
referenceNamestringA name that references a data store. 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 received share. Update changes to a received share.

INSERT INTO azure.purview_sharing.received_shares (
received_share_id,
endpoint
)
SELECT
'{{ received_share_id }}',
'{{ endpoint }}'
;

REPLACE examples

Create or replace a received share. Update changes to a received share.

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

DELETE examples

Deletes a received share. Delete a received share.

DELETE FROM azure.purview_sharing.received_shares
WHERE received_share_id = '{{ received_share_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

Get a received share by unique id. Get a received share.

EXEC azure.purview_sharing.received_shares.get_raw 
@received_share_id='{{ received_share_id }}' --required,
@endpoint='{{ endpoint }}' --required
;