PurviewCollections.MoveEntitiesToCollectionAsync 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.
Move existing entities to the target collection.
public virtual System.Threading.Tasks.Task<Azure.Response> MoveEntitiesToCollectionAsync (string collection, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member MoveEntitiesToCollectionAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.MoveEntitiesToCollectionAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function MoveEntitiesToCollectionAsync (collection As String, content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)
Parameters
- collection
- String
the collection unique name.
- 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
collection
or content
is null.
collection
is an empty string, and was expected to be non-empty.
Remarks
Schema for Request Body
:
{
entityGuids: [string]
}
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