Partilhar via


ContainerServiceManagedClusterResource.GetCommandResult Método

Definição

Obtém os resultados de um comando que foi executado no Cluster Gerenciado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}
  • Operação IdManagedClusters_GetCommandResult
public virtual Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterRunCommandResult> GetCommandResult (string commandId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCommandResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterRunCommandResult>
override this.GetCommandResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterRunCommandResult>
Public Overridable Function GetCommandResult (commandId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedClusterRunCommandResult)

Parâmetros

commandId
String

Id do comando.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

commandId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

commandId é nulo.

Aplica-se a