SourceControlConfigurationsOperationsExtensions.CreateOrUpdateAsync 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.
Create a new Kubernetes Source Control Configuration.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration> CreateOrUpdateAsync (this Microsoft.Azure.Management.KubernetesConfiguration.ISourceControlConfigurationsOperations operations, string resourceGroupName, string clusterRp, string clusterResourceName, string clusterName, string sourceControlConfigurationName, Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration sourceControlConfiguration, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.KubernetesConfiguration.ISourceControlConfigurationsOperations * string * string * string * string * string * Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISourceControlConfigurationsOperations, resourceGroupName As String, clusterRp As String, clusterResourceName As String, clusterName As String, sourceControlConfigurationName As String, sourceControlConfiguration As SourceControlConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceControlConfiguration)
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.
- sourceControlConfiguration
- SourceControlConfiguration
Properties necessary to Create KubernetesConfiguration.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET