Condividi tramite


IManagedClustersOperations.ResetAADProfileWithHttpMessagesAsync Method

Definition

WARNING: This API will be deprecated. Please see AKS-managed Azure Active Directory integration to update your cluster with AKS-managed Azure AD.

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

Parameters

resourceGroupName
String

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

resourceName
String

The name of the managed cluster resource.

parameters
ManagedClusterAADProfile

The AAD 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

**WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.

Applies to