PurviewEntities.PartialUpdateEntityByUniqueAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue.
public virtual Azure.Response PartialUpdateEntityByUniqueAttributes (string typeName, Azure.Core.RequestContent content, string attrQualifiedName = default, Azure.RequestContext context = default);
abstract member PartialUpdateEntityByUniqueAttributes : string * Azure.Core.RequestContent * string * Azure.RequestContext -> Azure.Response
override this.PartialUpdateEntityByUniqueAttributes : string * Azure.Core.RequestContent * string * Azure.RequestContext -> Azure.Response
Public Overridable Function PartialUpdateEntityByUniqueAttributes (typeName As String, content As RequestContent, Optional attrQualifiedName As String = Nothing, Optional context As RequestContext = Nothing) As Response
Parameters
- typeName
- String
The name of the type.
- content
- RequestContent
The content to send as the body of the request.
- attrQualifiedName
- String
The qualified name of the entity.
- context
- RequestContext
The request context, which can override default behaviors on the request on a per-call basis.
Returns
Exceptions
typeName
or content
is null.
typeName
is an empty string, and was expected to be non-empty.
Remarks
Schema for Request 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 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
Azure SDK for .NET