PurviewEntities.CreateOrUpdateEntities(RequestContent, RequestContext) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Criar ou atualizar entidades no Atlas em massa. A entidade existente é correspondida usando seu guid exclusivo, se fornecido ou por seus atributos exclusivos, por exemplo: qualifiedName. Não há suporte para o mapa e a matriz de coleções. Por exemplo, array<array int>>, array<map<string, int>><.
public virtual Azure.Response CreateOrUpdateEntities (Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member CreateOrUpdateEntities : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.CreateOrUpdateEntities : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function CreateOrUpdateEntities (content As RequestContent, Optional context As RequestContext = Nothing) As Response
Parâmetros
- content
- RequestContent
O conteúdo a ser enviado como o corpo da solicitação.
- context
- RequestContext
O contexto de solicitação, que pode substituir comportamentos padrão na solicitação por chamada.
Retornos
Exceções
content
é nulo.
Comentários
Esquema para Request Body
:
{
referredEntities: Dictionary<string, AtlasEntity>,
entities: [
{
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[]>
}
]
}
Esquema para 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"
}
]
}
Esquema para Response Error
:
{
requestId: string,
errorCode: string,
errorMessage: string
}
Aplica-se a
Azure SDK for .NET