/// <summary> /// Reset Service Principal Profile of a managed cluster. /// </summary> /// <remarks> /// Update the service principal Profile for a managed cluster. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='resourceName'> /// The name of the managed cluster resource. /// </param> /// <param name='parameters'> /// Parameters supplied to the Reset Service Principal Profile operation for a /// Managed Cluster. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task BeginResetServicePrincipalProfileAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, ManagedClusterServicePrincipalProfile parameters, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.BeginResetServicePrincipalProfileWithHttpMessagesAsync(resourceGroupName, resourceName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); }