SourceControlConfigurationsOperationsExtensions.CreateOrUpdate 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 Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration CreateOrUpdate (this Microsoft.Azure.Management.KubernetesConfiguration.ISourceControlConfigurationsOperations operations, string resourceGroupName, string clusterRp, string clusterResourceName, string clusterName, string sourceControlConfigurationName, Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration sourceControlConfiguration);
static member CreateOrUpdate : Microsoft.Azure.Management.KubernetesConfiguration.ISourceControlConfigurationsOperations * string * string * string * string * string * Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration -> Microsoft.Azure.Management.KubernetesConfiguration.Models.SourceControlConfiguration
<Extension()>
Public Function CreateOrUpdate (operations As ISourceControlConfigurationsOperations, resourceGroupName As String, clusterRp As String, clusterResourceName As String, clusterName As String, sourceControlConfigurationName As String, sourceControlConfiguration As SourceControlConfiguration) As 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.
Returns
Applies to
Azure SDK for .NET