Condividi tramite


PurviewEntities.GetClassification(String, String, RequestContext) Method

Definition

List classifications for a given entity represented by a GUID.

public virtual Azure.Response GetClassification (string guid, string classificationName, Azure.RequestContext context = default);
abstract member GetClassification : string * string * Azure.RequestContext -> Azure.Response
override this.GetClassification : string * string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetClassification (guid As String, classificationName As String, Optional context As RequestContext = Nothing) As Response

Parameters

guid
String

The globally unique identifier of the entity.

classificationName
String

The name of the classification.

context
RequestContext

The request context, which can override default behaviors on the request on a per-call basis.

Returns

Exceptions

guid or classificationName is null.

guid or classificationName is an empty string, and was expected to be non-empty.

Remarks

Schema for Response 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