Compartilhar via


MachineLearningOnlineEndpointResource.RegenerateKeysAsync Método

Definição

Regenerar EndpointAuthKeys para um ponto de extremidade usando a autenticação baseada em chave (assíncrona).

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys
  • Operação IdOnlineEndpoints_RegenerateKeys
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> RegenerateKeysAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointKeyRegenerateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeysAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointKeyRegenerateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.RegenerateKeysAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointKeyRegenerateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function RegenerateKeysAsync (waitUntil As WaitUntil, content As MachineLearningEndpointKeyRegenerateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

content
MachineLearningEndpointKeyRegenerateContent

Solicitação RegenerateKeys .

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a