Sdílet prostřednictvím


PurviewEntities.UpdateClassificationsByUniqueAttributeAsync Method

Definition

Update classification on an entity identified by its type and unique attributes.

public virtual System.Threading.Tasks.Task<Azure.Response> UpdateClassificationsByUniqueAttributeAsync (string typeName, Azure.Core.RequestContent content, string attrQualifiedName = default, Azure.RequestContext context = default);
abstract member UpdateClassificationsByUniqueAttributeAsync : string * Azure.Core.RequestContent * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateClassificationsByUniqueAttributeAsync : string * Azure.Core.RequestContent * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateClassificationsByUniqueAttributeAsync (typeName As String, content As RequestContent, Optional attrQualifiedName As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of 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:

{
              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
            }

Applies to