Dela via


PurviewRelationships.GetPurviewRelationship Method

Definition

Get relationship information between entities by its GUID.

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

Parameters

guid
String

The globally unique identifier of the relationship.

extendedInfo
Nullable<Boolean>

Limits whether includes extended information.

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, AtlasEntityHeader>,
              relationship: {
                attributes: Dictionary<string, AnyObject>,
                typeName: string,
                lastModifiedTS: string,
                createTime: number,
                createdBy: string,
                end1: {
                  guid: string,
                  typeName: string,
                  uniqueAttributes: Dictionary<string, AnyObject>
                },
                end2: AtlasObjectId,
                guid: string,
                homeId: string,
                label: string,
                provenanceType: number,
                status: "ACTIVE" | "DELETED",
                updateTime: number,
                updatedBy: string,
                version: number
              }
            }

Schema for Response Error:

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

Applies to