Share via


PurviewClassificationRuleClient.GetVersionsAsync(RequestOptions) Method

Definition

Lists the rule versions of a classification rule.

public virtual Azure.AsyncPageable<BinaryData> GetVersionsAsync (Azure.RequestOptions options);
abstract member GetVersionsAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
override this.GetVersionsAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetVersionsAsync (options As RequestOptions) As AsyncPageable(Of BinaryData)

Parameters

options
Azure.RequestOptions

The request options.

Returns

Remarks

Schema for Response Body:

{
              value: [
                {
                  id: string,
                  name: string,
                  kind: "System" | "Custom"
                }
              ],
              nextLink: string,
              count: number
            }

Schema for Response Error:

{
              error: {
                code: string,
                message: string,
                target: string,
                details: [
                  {
                    code: string,
                    message: string,
                    target: string,
                    details: [ErrorModel]
                  }
                ]
              }
            }

Applies to