Udostępnij za pośrednictwem


PurviewEntities.PartialUpdateEntityAttributeByGuid Method

Definition

Update entity partially - create or update entity attribute identified by its GUID. Supports only primitive attribute type and entity references. It does not support updating complex types like arrays, and maps. Null updates are not possible.

public virtual Azure.Response PartialUpdateEntityAttributeByGuid (string guid, string name, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member PartialUpdateEntityAttributeByGuid : string * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.PartialUpdateEntityAttributeByGuid : string * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function PartialUpdateEntityAttributeByGuid (guid As String, name As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

guid
String

The globally unique identifier of the entity.

name
String

The name of the attribute.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

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

Returns

Exceptions

guid, name or content is null.

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

Remarks

Schema for Response Body:

{
              guidAssignments: Dictionary<string, string>,
              mutatedEntities: Dictionary<string, AtlasEntityHeader[]>,
              partialUpdatedEntities: [
                {
                  attributes: Dictionary<string, AnyObject>,
                  typeName: string,
                  lastModifiedTS: string,
                  classificationNames: [string],
                  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>
                    }
                  ],
                  displayText: string,
                  guid: string,
                  isIncomplete: boolean,
                  labels: [string],
                  meaningNames: [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
                    }
                  ],
                  status: "ACTIVE" | "DELETED"
                }
              ]
            }

Schema for Response Error:

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

Applies to