Share via


SourceControlConfigurationsOperationsExtensions.DeleteAsync Method

Definition

This will delete the YAML file used to set up the Source control configuration, thus stopping future sync from the source repo.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.KubernetesConfiguration.ISourceControlConfigurationsOperations operations, string resourceGroupName, string clusterRp, string clusterResourceName, string clusterName, string sourceControlConfigurationName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.KubernetesConfiguration.ISourceControlConfigurationsOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ISourceControlConfigurationsOperations, resourceGroupName As String, clusterRp As String, clusterResourceName As String, clusterName As String, sourceControlConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ISourceControlConfigurationsOperations

The operations group for this extension method.

resourceGroupName
String

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

clusterRp
String

The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName
String

The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.

clusterName
String

The name of the kubernetes cluster.

sourceControlConfigurationName
String

Name of the Source Control Configuration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to