Udostępnij za pośrednictwem


ContainerServiceManagedClusterResource.ResetServicePrincipalProfile Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile
  • Operation Id: ManagedClusters_ResetServicePrincipalProfile
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
public virtual Azure.ResourceManager.ArmOperation ResetServicePrincipalProfile (Azure.WaitUntil waitUntil, Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile managedClusterServicePrincipalProfile, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetServicePrincipalProfile : Azure.WaitUntil * Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.ResetServicePrincipalProfile : Azure.WaitUntil * Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function ResetServicePrincipalProfile (waitUntil As WaitUntil, managedClusterServicePrincipalProfile As ManagedClusterServicePrincipalProfile, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

managedClusterServicePrincipalProfile
ManagedClusterServicePrincipalProfile

The service principal profile to set on the managed cluster.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managedClusterServicePrincipalProfile is null.

Applies to