Partager via


ManagedClustersOperationsExtensions.GetCommandResultAsync Method

Definition

Gets the results of a command which has been run on the Managed Cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.RunCommandResult> GetCommandResultAsync (this Microsoft.Azure.Management.ContainerService.IManagedClustersOperations operations, string resourceGroupName, string resourceName, string commandId, System.Threading.CancellationToken cancellationToken = default);
static member GetCommandResultAsync : Microsoft.Azure.Management.ContainerService.IManagedClustersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.RunCommandResult>
<Extension()>
Public Function GetCommandResultAsync (operations As IManagedClustersOperations, resourceGroupName As String, resourceName As String, commandId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RunCommandResult)

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the managed cluster resource.

commandId
String

Id of the command.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to