Share via


PurviewTypes.GetTypeDefinitionHeaders Method

Definition

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

public virtual Azure.Response GetTypeDefinitionHeaders (bool? includeTermTemplate = default, string type = default, Azure.RequestContext context = default);
abstract member GetTypeDefinitionHeaders : Nullable<bool> * string * Azure.RequestContext -> Azure.Response
override this.GetTypeDefinitionHeaders : Nullable<bool> * string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetTypeDefinitionHeaders (Optional includeTermTemplate As Nullable(Of Boolean) = Nothing, Optional type As String = Nothing, Optional context As RequestContext = Nothing) As Response

Parameters

includeTermTemplate
Nullable<Boolean>

Whether include termtemplatedef when return all typedefs. This is always true when search filter type=term_template

type
String

Typedef name as search filter when get typedefs. Allowed values: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template".

context
RequestContext

The request context, which can override default behaviors on the request on a per-call basis.

Returns

Remarks

Schema for Response Body:

{
              category: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE",
              guid: string,
              name: string
            }

Schema for Response Error:

{
              requestId: string,
              errorCode: string,
              errorMessage: string
            }

Applies to