Udostępnij za pośrednictwem


PurviewEntities.GetByGuidAsync Method

Definition

Get complete definition of an entity given its GUID.

public virtual System.Threading.Tasks.Task<Azure.Response> GetByGuidAsync (string guid, bool? minExtInfo = default, bool? ignoreRelationships = default, Azure.RequestContext context = default);
abstract member GetByGuidAsync : string * Nullable<bool> * Nullable<bool> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetByGuidAsync : string * Nullable<bool> * Nullable<bool> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetByGuidAsync (guid As String, Optional minExtInfo As Nullable(Of Boolean) = Nothing, Optional ignoreRelationships As Nullable(Of Boolean) = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

guid
String

The globally unique identifier of the entity.

minExtInfo
Nullable<Boolean>

Whether to return minimal information for referred entities.

ignoreRelationships
Nullable<Boolean>

Whether to ignore relationship attributes.

context
RequestContext

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

Returns

Exceptions

guid is null.

guid is an empty string, and was expected to be non-empty.

Remarks

Schema for Response Body:

{
              referredEntities: Dictionary<string, AtlasEntity>,
              entity: {
                attributes: Dictionary<string, AnyObject>,
                typeName: string,
                lastModifiedTS: string,
                businessAttributes: Dictionary<string, AnyObject>,
                classifications: [
                  {
                    attributes: Dictionary<string, AnyObject>,
                    typeName: string,
                    lastModifiedTS: string,
                    entityGuid: string,
                    entityStatus: "ACTIVE" | "DELETED",
                    removePropagationsOnEntityDelete: boolean,
                    validityPeriods: [
                      {
                        endTime: string,
                        startTime: string,
                        timeZone: string
                      }
                    ],
                    source: string,
                    sourceDetails: Dictionary<string, AnyObject>
                  }
                ],
                createTime: number,
                createdBy: string,
                customAttributes: Dictionary<string, string>,
                guid: string,
                homeId: string,
                isIncomplete: boolean,
                labels: [string],
                meanings: [
                  {
                    confidence: number,
                    createdBy: string,
                    description: string,
                    displayText: string,
                    expression: string,
                    relationGuid: string,
                    source: string,
                    status: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER",
                    steward: string,
                    termGuid: string
                  }
                ],
                provenanceType: number,
                proxy: boolean,
                relationshipAttributes: Dictionary<string, AnyObject>,
                status: "ACTIVE" | "DELETED",
                updateTime: number,
                updatedBy: string,
                version: number,
                source: string,
                sourceDetails: Dictionary<string, AnyObject>,
                contacts: Dictionary<string, ContactBasic[]>
              }
            }

Schema for Response Error:

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

Applies to