Compartilhar via


JobRouterAdministrationClient.CreateClassificationPolicy Método

Definição

Cria ou atualiza uma política de classificação.

public virtual Azure.Response<Azure.Communication.JobRouter.Models.ClassificationPolicy> CreateClassificationPolicy (Azure.Communication.JobRouter.CreateClassificationPolicyOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateClassificationPolicy : Azure.Communication.JobRouter.CreateClassificationPolicyOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.Models.ClassificationPolicy>
override this.CreateClassificationPolicy : Azure.Communication.JobRouter.CreateClassificationPolicyOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.Models.ClassificationPolicy>
Public Overridable Function CreateClassificationPolicy (options As CreateClassificationPolicyOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ClassificationPolicy)

Parâmetros

options
CreateClassificationPolicyOptions

(Opcional) Opções para criar a política de classificação..

cancellationToken
CancellationToken

(Opcional) O token de cancelamento a ser usado.

Retornos

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

Aplica-se a