PurviewEntities.PartialUpdateEntityAttributeByGuidAsync Methode

Definition

Entität teilweise aktualisieren: Erstellen oder Aktualisieren eines Entitätsattributs, das durch die GUID identifiziert wird. Unterstützt nur primitive Attributtypen und Entitätsverweise. Das Aktualisieren komplexer Typen wie Arrays und Zuordnungen wird nicht unterstützt. Null-Updates sind nicht möglich.

C#
public virtual System.Threading.Tasks.Task<Azure.Response> PartialUpdateEntityAttributeByGuidAsync(string guid, string name, Azure.Core.RequestContent content, Azure.RequestContext context = default);

Parameter

guid
String

Der global eindeutige Bezeichner der Entität.

name
String

Der Name des Attributs.

content
RequestContent

Der Inhalt, der als Textkörper der Anforderung gesendet werden soll.

context
RequestContext

Der Anforderungskontext, der das Standardverhalten für die Anforderung pro Aufruf außer Kraft setzen kann.

Gibt zurück

Ausnahmen

guid, name oder content ist NULL.

guid ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

Hinweise

Schema für 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 für Response Error:

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

Gilt für:

Produkt Versionen
Azure SDK for .NET Legacy