Condividi tramite


PurviewEntities.GetClassificationsAsync(String, RequestContext) Method

Definition

List classifications for a given entity represented by a GUID.

public virtual System.Threading.Tasks.Task<Azure.Response> GetClassificationsAsync (string guid, Azure.RequestContext context = default);
abstract member GetClassificationsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetClassificationsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetClassificationsAsync (guid As String, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

guid
String

The globally unique identifier of the entity.

context
RequestContext

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

Returns

Exceptions

guid is null.

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

Remarks

Schema for Response Body:

{
              list: [AnyObject],
              pageSize: number,
              sortBy: string,
              sortType: "NONE" | "ASC" | "DESC",
              startIndex: number,
              totalCount: number
            }

Schema for Response Error:

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

Applies to