PurviewEntities.AddClassifications 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.
Add classifications to an existing entity represented by a GUID.
public virtual Azure.Response AddClassifications (string guid, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member AddClassifications : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.AddClassifications : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function AddClassifications (guid As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response
Parameters
- guid
- String
The globally unique identifier of the entity.
- 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
or content
is null.
guid
is an empty string, and was expected to be non-empty.
Remarks
Schema for Request Body
:
{
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>
}
Schema for Response Error
:
{
requestId: string,
errorCode: string,
errorMessage: string
}