Share via


PurviewScanningServiceClient.GetClassificationRulesAsync Method

Definition

List classification rules in Account.

public virtual Azure.AsyncPageable<BinaryData> GetClassificationRulesAsync (Azure.RequestOptions options);
abstract member GetClassificationRulesAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
override this.GetClassificationRulesAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetClassificationRulesAsync (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