Partager via


ManagedClustersOperationsExtensions.ResetServicePrincipalProfileAsync Method

Definition

This action cannot be performed on a cluster that is not using a service principal

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

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to