Udostępnij za pośrednictwem


PurviewEntities.AddClassification(RequestContent, RequestContext) Method

Definition

Associate a classification to multiple entities in bulk.

public virtual Azure.Response AddClassification (Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member AddClassification : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.AddClassification : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function AddClassification (content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

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

content is null.

Remarks

Schema for Request Body:

{
              classification: {
                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>
              },
              entityGuids: [string]
            }

Schema for Response Error:

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

Applies to