Condividi tramite


IManagedClustersOperations.BeginResetServicePrincipalProfileWithHttpMessagesAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.ContainerService.Models.ManagedClustersResetServicePrincipalProfileHeaders>> BeginResetServicePrincipalProfileWithHttpMessagesAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.ContainerService.Models.ManagedClusterServicePrincipalProfile parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginResetServicePrincipalProfileWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.ContainerService.Models.ManagedClustersResetServicePrincipalProfileHeaders>>
Public Function BeginResetServicePrincipalProfileWithHttpMessagesAsync (resourceGroupName As String, resourceName As String, parameters As ManagedClusterServicePrincipalProfile, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationHeaderResponse(Of ManagedClustersResetServicePrincipalProfileHeaders))

Parameters

resourceGroupName
String

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

resourceName
String

The name of the managed cluster resource.

parameters
ManagedClusterServicePrincipalProfile

The service principal profile to set on the managed cluster.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Remarks

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

Applies to