Partager via


ManagedClustersOperationsExtensions.BeginRunCommand Method

Definition

AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see AKS Run Command.

public static Microsoft.Azure.Management.ContainerService.Models.RunCommandResult BeginRunCommand (this Microsoft.Azure.Management.ContainerService.IManagedClustersOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ContainerService.Models.RunCommandRequest requestPayload);
static member BeginRunCommand : Microsoft.Azure.Management.ContainerService.IManagedClustersOperations * string * string * Microsoft.Azure.Management.ContainerService.Models.RunCommandRequest -> Microsoft.Azure.Management.ContainerService.Models.RunCommandResult
<Extension()>
Public Function BeginRunCommand (operations As IManagedClustersOperations, resourceGroupName As String, resourceName As String, requestPayload As RunCommandRequest) As 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.

requestPayload
RunCommandRequest

Returns

Applies to