Skip to main content

types

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

Overview

Nametypes
TypeResource
Idazure.purview_catalog.types

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
list_type_definition_headersexecendpointincludeTermTemplate, typeList all type definitions returned as a list of minimal information header.
get_business_metadata_def_by_guidexecguid, endpointGet the businessMetadata definition for the given guid.
get_business_metadata_def_by_nameexecname, endpointGet the businessMetadata definition by it's name (unique).
get_classification_def_by_guidexecguid, endpointGet the classification definition for the given GUID.
get_classification_def_by_nameexecname, endpointGet the classification definition by its name (unique).
get_entity_definition_by_guidexecguid, endpointGet the Entity definition for the given GUID.
get_entity_definition_by_nameexecname, endpointGet the entity definition by its name (unique).
get_enum_def_by_guidexecguid, endpointGet the enum definition for the given GUID.
get_enum_def_by_nameexecname, endpointGet the enum definition by its name (unique).
get_relationship_def_by_guidexecguid, endpointGet the relationship definition for the given GUID.
get_relationship_def_by_nameexecname, endpointGet the relationship definition by its name (unique).
get_struct_def_by_guidexecguid, endpointGet the struct definition for the given GUID.
get_struct_def_by_nameexecname, endpointGet the struct definition by its name (unique).
get_type_definition_by_guidexecguid, endpointGet the type definition for the given GUID.
get_type_definition_by_nameexecname, endpointGet the type definition by its name (unique).
delete_type_by_nameexecname, endpointDelete API for type identified by its name.
get_all_type_definitionsexecendpointincludeTermTemplate, typeGet all type definitions in Atlas in bulk.
create_type_definitionsexecendpointCreate all atlas type definitions in bulk, only new definitions will be created. Any changes to the existing definitions will be discarded.
update_atlas_type_definitionsexecendpointUpdate all types in bulk, changes detected in the type definitions would be persisted.
delete_type_definitionsexecendpointDelete API for all types in bulk.
get_term_template_def_by_guidexecguid, endpointGet the term template definition for the given GUID.
get_term_template_def_by_nameexecname, endpointGet the term template definition by its name (unique).

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). (default: )
guidstringThe globally unique identifier of the term template.
namestringThe name of the term template.
includeTermTemplatebooleanWhether include termtemplatedef when return all typedefs. This is always true when search filter type=term_template. Default value is False.
typestringTypedef name as search filter when get typedefs. Known values are: "enum", "entity", "classification", "relationship", "struct", and "term_template". Default value is None.

Lifecycle Methods

List all type definitions returned as a list of minimal information header.

EXEC azure.purview_catalog.types.list_type_definition_headers 
@endpoint='{{ endpoint }}' --required,
@includeTermTemplate={{ includeTermTemplate }},
@type='{{ type }}'
;