Dela via


PurviewClassificationRuleClient.DeleteAsync(RequestOptions) Method

Definition

Deletes a classification rule.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAsync (Azure.RequestOptions options = default);
abstract member DeleteAsync : Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAsync : Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAsync (Optional options As RequestOptions = Nothing) As Task(Of Response)

Parameters

options
Azure.RequestOptions

The request options.

Returns

Remarks

Schema for Response Body:

{
              id: string,
              name: string,
              kind: "System" | "Custom"
            }

Schema for Response Error:

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

Applies to