IManagedClustersOperations.ResetServicePrincipalProfileWithHttpMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>> ResetServicePrincipalProfileWithHttpMessagesAsync (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 ResetServicePrincipalProfileWithHttpMessagesAsync : 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 ResetServicePrincipalProfileWithHttpMessagesAsync (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