Skip to main content

lineage

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

Overview

Namelineage
TypeResource
Idazure.purview_catalog.lineage

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
get_lineage_graphexecguid, direction, endpointdepth, width, includeParent, getDerivedLineageGet lineage info of the entity specified by GUID.
get_lineage_by_unique_attributeexectype_name, direction, endpointdepth, width, includeParent, getDerivedLineageReturns lineage info about entity. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format attr:[attrName]=[attrValue] NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName.
next_page_lineageexecguid, direction, endpointgetDerivedLineage, offset, limitReturn immediate next page lineage info about entity with pagination.

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
directionstringThe direction of the lineage, which could be INPUT, OUTPUT or BOTH. Known values are: "BOTH", "INPUT", and "OUTPUT".
endpointstringThe service endpoint host (no scheme). (default: )
guidstringThe globally unique identifier of the entity.
type_namestringThe name of the type.
depthintegerThe number of hops for lineage. Default value is 3.
getDerivedLineagebooleanTrue to include derived lineage in the response. Default value is None.
includeParentbooleanTrue to include the parent chain in the response. Default value is None.
limitintegerThe page size - by default there is no paging. Default value is None.
offsetintegerThe offset for pagination purpose. Default value is None.
widthintegerThe number of max expanding width in lineage. Default value is 10.

Lifecycle Methods

Get lineage info of the entity specified by GUID.

EXEC azure.purview_catalog.lineage.get_lineage_graph 
@guid='{{ guid }}' --required,
@direction='{{ direction }}' --required,
@endpoint='{{ endpoint }}' --required,
@depth='{{ depth }}',
@width='{{ width }}',
@includeParent={{ includeParent }},
@getDerivedLineage={{ getDerivedLineage }}
;