1. Packages
  2. Azure Native v2
  3. API Docs
  4. kubernetesconfiguration
  5. SourceControlConfiguration
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.kubernetesconfiguration.SourceControlConfiguration

Explore with Pulumi AI

The SourceControl Configuration object returned in Get & Put response. Azure REST API version: 2023-05-01. Prior API version in Azure Native 1.x: 2021-03-01.

Example Usage

Create Source Control Configuration

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var sourceControlConfiguration = new AzureNative.KubernetesConfiguration.SourceControlConfiguration("sourceControlConfiguration", new()
    {
        ClusterName = "clusterName1",
        ClusterResourceName = "connectedClusters",
        ClusterRp = "Microsoft.Kubernetes",
        ConfigurationProtectedSettings = 
        {
            { "protectedSetting1Key", "protectedSetting1Value" },
        },
        EnableHelmOperator = true,
        HelmOperatorProperties = new AzureNative.KubernetesConfiguration.Inputs.HelmOperatorPropertiesArgs
        {
            ChartValues = "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system",
            ChartVersion = "0.3.0",
        },
        OperatorInstanceName = "SRSGitHubFluxOp-01",
        OperatorNamespace = "SRS_Namespace",
        OperatorParams = "--git-email=xyzgituser@users.srs.github.com",
        OperatorScope = AzureNative.KubernetesConfiguration.OperatorScopeType.@Namespace,
        OperatorType = AzureNative.KubernetesConfiguration.OperatorType.Flux,
        RepositoryUrl = "git@github.com:k8sdeveloper425/flux-get-started",
        ResourceGroupName = "rg1",
        SourceControlConfigurationName = "SRS_GitHubConfig",
        SshKnownHostsContents = "c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg=",
    });

});
Copy
package main

import (
	kubernetesconfiguration "github.com/pulumi/pulumi-azure-native-sdk/kubernetesconfiguration/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kubernetesconfiguration.NewSourceControlConfiguration(ctx, "sourceControlConfiguration", &kubernetesconfiguration.SourceControlConfigurationArgs{
			ClusterName:         pulumi.String("clusterName1"),
			ClusterResourceName: pulumi.String("connectedClusters"),
			ClusterRp:           pulumi.String("Microsoft.Kubernetes"),
			ConfigurationProtectedSettings: pulumi.StringMap{
				"protectedSetting1Key": pulumi.String("protectedSetting1Value"),
			},
			EnableHelmOperator: pulumi.Bool(true),
			HelmOperatorProperties: &kubernetesconfiguration.HelmOperatorPropertiesArgs{
				ChartValues:  pulumi.String("--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"),
				ChartVersion: pulumi.String("0.3.0"),
			},
			OperatorInstanceName:           pulumi.String("SRSGitHubFluxOp-01"),
			OperatorNamespace:              pulumi.String("SRS_Namespace"),
			OperatorParams:                 pulumi.String("--git-email=xyzgituser@users.srs.github.com"),
			OperatorScope:                  pulumi.String(kubernetesconfiguration.OperatorScopeTypeNamespace),
			OperatorType:                   pulumi.String(kubernetesconfiguration.OperatorTypeFlux),
			RepositoryUrl:                  pulumi.String("git@github.com:k8sdeveloper425/flux-get-started"),
			ResourceGroupName:              pulumi.String("rg1"),
			SourceControlConfigurationName: pulumi.String("SRS_GitHubConfig"),
			SshKnownHostsContents:          pulumi.String("c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg="),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.kubernetesconfiguration.SourceControlConfiguration;
import com.pulumi.azurenative.kubernetesconfiguration.SourceControlConfigurationArgs;
import com.pulumi.azurenative.kubernetesconfiguration.inputs.HelmOperatorPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var sourceControlConfiguration = new SourceControlConfiguration("sourceControlConfiguration", SourceControlConfigurationArgs.builder()
            .clusterName("clusterName1")
            .clusterResourceName("connectedClusters")
            .clusterRp("Microsoft.Kubernetes")
            .configurationProtectedSettings(Map.of("protectedSetting1Key", "protectedSetting1Value"))
            .enableHelmOperator(true)
            .helmOperatorProperties(HelmOperatorPropertiesArgs.builder()
                .chartValues("--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system")
                .chartVersion("0.3.0")
                .build())
            .operatorInstanceName("SRSGitHubFluxOp-01")
            .operatorNamespace("SRS_Namespace")
            .operatorParams("--git-email=xyzgituser@users.srs.github.com")
            .operatorScope("namespace")
            .operatorType("Flux")
            .repositoryUrl("git@github.com:k8sdeveloper425/flux-get-started")
            .resourceGroupName("rg1")
            .sourceControlConfigurationName("SRS_GitHubConfig")
            .sshKnownHostsContents("c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg=")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const sourceControlConfiguration = new azure_native.kubernetesconfiguration.SourceControlConfiguration("sourceControlConfiguration", {
    clusterName: "clusterName1",
    clusterResourceName: "connectedClusters",
    clusterRp: "Microsoft.Kubernetes",
    configurationProtectedSettings: {
        protectedSetting1Key: "protectedSetting1Value",
    },
    enableHelmOperator: true,
    helmOperatorProperties: {
        chartValues: "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system",
        chartVersion: "0.3.0",
    },
    operatorInstanceName: "SRSGitHubFluxOp-01",
    operatorNamespace: "SRS_Namespace",
    operatorParams: "--git-email=xyzgituser@users.srs.github.com",
    operatorScope: azure_native.kubernetesconfiguration.OperatorScopeType.Namespace,
    operatorType: azure_native.kubernetesconfiguration.OperatorType.Flux,
    repositoryUrl: "git@github.com:k8sdeveloper425/flux-get-started",
    resourceGroupName: "rg1",
    sourceControlConfigurationName: "SRS_GitHubConfig",
    sshKnownHostsContents: "c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg=",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

source_control_configuration = azure_native.kubernetesconfiguration.SourceControlConfiguration("sourceControlConfiguration",
    cluster_name="clusterName1",
    cluster_resource_name="connectedClusters",
    cluster_rp="Microsoft.Kubernetes",
    configuration_protected_settings={
        "protectedSetting1Key": "protectedSetting1Value",
    },
    enable_helm_operator=True,
    helm_operator_properties={
        "chart_values": "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system",
        "chart_version": "0.3.0",
    },
    operator_instance_name="SRSGitHubFluxOp-01",
    operator_namespace="SRS_Namespace",
    operator_params="--git-email=xyzgituser@users.srs.github.com",
    operator_scope=azure_native.kubernetesconfiguration.OperatorScopeType.NAMESPACE,
    operator_type=azure_native.kubernetesconfiguration.OperatorType.FLUX,
    repository_url="git@github.com:k8sdeveloper425/flux-get-started",
    resource_group_name="rg1",
    source_control_configuration_name="SRS_GitHubConfig",
    ssh_known_hosts_contents="c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg=")
Copy
resources:
  sourceControlConfiguration:
    type: azure-native:kubernetesconfiguration:SourceControlConfiguration
    properties:
      clusterName: clusterName1
      clusterResourceName: connectedClusters
      clusterRp: Microsoft.Kubernetes
      configurationProtectedSettings:
        protectedSetting1Key: protectedSetting1Value
      enableHelmOperator: true
      helmOperatorProperties:
        chartValues: --set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system
        chartVersion: 0.3.0
      operatorInstanceName: SRSGitHubFluxOp-01
      operatorNamespace: SRS_Namespace
      operatorParams: --git-email=xyzgituser@users.srs.github.com
      operatorScope: namespace
      operatorType: Flux
      repositoryUrl: git@github.com:k8sdeveloper425/flux-get-started
      resourceGroupName: rg1
      sourceControlConfigurationName: SRS_GitHubConfig
      sshKnownHostsContents: c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg=
Copy

Create SourceControlConfiguration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SourceControlConfiguration(name: string, args: SourceControlConfigurationArgs, opts?: CustomResourceOptions);
@overload
def SourceControlConfiguration(resource_name: str,
                               args: SourceControlConfigurationArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def SourceControlConfiguration(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               cluster_name: Optional[str] = None,
                               cluster_resource_name: Optional[str] = None,
                               cluster_rp: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               operator_instance_name: Optional[str] = None,
                               helm_operator_properties: Optional[HelmOperatorPropertiesArgs] = None,
                               enable_helm_operator: Optional[bool] = None,
                               operator_namespace: Optional[str] = None,
                               operator_params: Optional[str] = None,
                               operator_scope: Optional[Union[str, OperatorScopeType]] = None,
                               operator_type: Optional[Union[str, OperatorType]] = None,
                               repository_url: Optional[str] = None,
                               configuration_protected_settings: Optional[Mapping[str, str]] = None,
                               source_control_configuration_name: Optional[str] = None,
                               ssh_known_hosts_contents: Optional[str] = None)
func NewSourceControlConfiguration(ctx *Context, name string, args SourceControlConfigurationArgs, opts ...ResourceOption) (*SourceControlConfiguration, error)
public SourceControlConfiguration(string name, SourceControlConfigurationArgs args, CustomResourceOptions? opts = null)
public SourceControlConfiguration(String name, SourceControlConfigurationArgs args)
public SourceControlConfiguration(String name, SourceControlConfigurationArgs args, CustomResourceOptions options)
type: azure-native:kubernetesconfiguration:SourceControlConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SourceControlConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SourceControlConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SourceControlConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SourceControlConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SourceControlConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var sourceControlConfigurationResource = new AzureNative.Kubernetesconfiguration.SourceControlConfiguration("sourceControlConfigurationResource", new()
{
    ClusterName = "string",
    ClusterResourceName = "string",
    ClusterRp = "string",
    ResourceGroupName = "string",
    OperatorInstanceName = "string",
    HelmOperatorProperties = 
    {
        { "chartValues", "string" },
        { "chartVersion", "string" },
    },
    EnableHelmOperator = false,
    OperatorNamespace = "string",
    OperatorParams = "string",
    OperatorScope = "string",
    OperatorType = "string",
    RepositoryUrl = "string",
    ConfigurationProtectedSettings = 
    {
        { "string", "string" },
    },
    SourceControlConfigurationName = "string",
    SshKnownHostsContents = "string",
});
Copy
example, err := kubernetesconfiguration.NewSourceControlConfiguration(ctx, "sourceControlConfigurationResource", &kubernetesconfiguration.SourceControlConfigurationArgs{
	ClusterName:          "string",
	ClusterResourceName:  "string",
	ClusterRp:            "string",
	ResourceGroupName:    "string",
	OperatorInstanceName: "string",
	HelmOperatorProperties: map[string]interface{}{
		"chartValues":  "string",
		"chartVersion": "string",
	},
	EnableHelmOperator: false,
	OperatorNamespace:  "string",
	OperatorParams:     "string",
	OperatorScope:      "string",
	OperatorType:       "string",
	RepositoryUrl:      "string",
	ConfigurationProtectedSettings: map[string]interface{}{
		"string": "string",
	},
	SourceControlConfigurationName: "string",
	SshKnownHostsContents:          "string",
})
Copy
var sourceControlConfigurationResource = new SourceControlConfiguration("sourceControlConfigurationResource", SourceControlConfigurationArgs.builder()
    .clusterName("string")
    .clusterResourceName("string")
    .clusterRp("string")
    .resourceGroupName("string")
    .operatorInstanceName("string")
    .helmOperatorProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .enableHelmOperator(false)
    .operatorNamespace("string")
    .operatorParams("string")
    .operatorScope("string")
    .operatorType("string")
    .repositoryUrl("string")
    .configurationProtectedSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .sourceControlConfigurationName("string")
    .sshKnownHostsContents("string")
    .build());
Copy
source_control_configuration_resource = azure_native.kubernetesconfiguration.SourceControlConfiguration("sourceControlConfigurationResource",
    cluster_name=string,
    cluster_resource_name=string,
    cluster_rp=string,
    resource_group_name=string,
    operator_instance_name=string,
    helm_operator_properties={
        chartValues: string,
        chartVersion: string,
    },
    enable_helm_operator=False,
    operator_namespace=string,
    operator_params=string,
    operator_scope=string,
    operator_type=string,
    repository_url=string,
    configuration_protected_settings={
        string: string,
    },
    source_control_configuration_name=string,
    ssh_known_hosts_contents=string)
Copy
const sourceControlConfigurationResource = new azure_native.kubernetesconfiguration.SourceControlConfiguration("sourceControlConfigurationResource", {
    clusterName: "string",
    clusterResourceName: "string",
    clusterRp: "string",
    resourceGroupName: "string",
    operatorInstanceName: "string",
    helmOperatorProperties: {
        chartValues: "string",
        chartVersion: "string",
    },
    enableHelmOperator: false,
    operatorNamespace: "string",
    operatorParams: "string",
    operatorScope: "string",
    operatorType: "string",
    repositoryUrl: "string",
    configurationProtectedSettings: {
        string: "string",
    },
    sourceControlConfigurationName: "string",
    sshKnownHostsContents: "string",
});
Copy
type: azure-native:kubernetesconfiguration:SourceControlConfiguration
properties:
    clusterName: string
    clusterResourceName: string
    clusterRp: string
    configurationProtectedSettings:
        string: string
    enableHelmOperator: false
    helmOperatorProperties:
        chartValues: string
        chartVersion: string
    operatorInstanceName: string
    operatorNamespace: string
    operatorParams: string
    operatorScope: string
    operatorType: string
    repositoryUrl: string
    resourceGroupName: string
    sourceControlConfigurationName: string
    sshKnownHostsContents: string
Copy

SourceControlConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SourceControlConfiguration resource accepts the following input properties:

ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the kubernetes cluster.
ClusterResourceName
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
ClusterRp
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ConfigurationProtectedSettings Dictionary<string, string>
Name-value pairs of protected configuration settings for the configuration
EnableHelmOperator bool
Option to enable Helm Operator for this git configuration.
HelmOperatorProperties Pulumi.AzureNative.KubernetesConfiguration.Inputs.HelmOperatorProperties
Properties for Helm operator.
OperatorInstanceName string
Instance name of the operator - identifying the specific configuration.
OperatorNamespace string
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
OperatorParams string
Any Parameters for the Operator instance in string format.
OperatorScope string | Pulumi.AzureNative.KubernetesConfiguration.OperatorScopeType
Scope at which the operator will be installed.
OperatorType string | Pulumi.AzureNative.KubernetesConfiguration.OperatorType
Type of the operator
RepositoryUrl string
Url of the SourceControl Repository.
SourceControlConfigurationName Changes to this property will trigger replacement. string
Name of the Source Control Configuration.
SshKnownHostsContents string
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the kubernetes cluster.
ClusterResourceName
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
ClusterRp
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ConfigurationProtectedSettings map[string]string
Name-value pairs of protected configuration settings for the configuration
EnableHelmOperator bool
Option to enable Helm Operator for this git configuration.
HelmOperatorProperties HelmOperatorPropertiesArgs
Properties for Helm operator.
OperatorInstanceName string
Instance name of the operator - identifying the specific configuration.
OperatorNamespace string
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
OperatorParams string
Any Parameters for the Operator instance in string format.
OperatorScope string | OperatorScopeType
Scope at which the operator will be installed.
OperatorType string | OperatorType
Type of the operator
RepositoryUrl string
Url of the SourceControl Repository.
SourceControlConfigurationName Changes to this property will trigger replacement. string
Name of the Source Control Configuration.
SshKnownHostsContents string
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the kubernetes cluster.
clusterResourceName
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
clusterRp
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
configurationProtectedSettings Map<String,String>
Name-value pairs of protected configuration settings for the configuration
enableHelmOperator Boolean
Option to enable Helm Operator for this git configuration.
helmOperatorProperties HelmOperatorProperties
Properties for Helm operator.
operatorInstanceName String
Instance name of the operator - identifying the specific configuration.
operatorNamespace String
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operatorParams String
Any Parameters for the Operator instance in string format.
operatorScope String | OperatorScopeType
Scope at which the operator will be installed.
operatorType String | OperatorType
Type of the operator
repositoryUrl String
Url of the SourceControl Repository.
sourceControlConfigurationName Changes to this property will trigger replacement. String
Name of the Source Control Configuration.
sshKnownHostsContents String
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
clusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the kubernetes cluster.
clusterResourceName
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
clusterRp
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
configurationProtectedSettings {[key: string]: string}
Name-value pairs of protected configuration settings for the configuration
enableHelmOperator boolean
Option to enable Helm Operator for this git configuration.
helmOperatorProperties HelmOperatorProperties
Properties for Helm operator.
operatorInstanceName string
Instance name of the operator - identifying the specific configuration.
operatorNamespace string
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operatorParams string
Any Parameters for the Operator instance in string format.
operatorScope string | OperatorScopeType
Scope at which the operator will be installed.
operatorType string | OperatorType
Type of the operator
repositoryUrl string
Url of the SourceControl Repository.
sourceControlConfigurationName Changes to this property will trigger replacement. string
Name of the Source Control Configuration.
sshKnownHostsContents string
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
cluster_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the kubernetes cluster.
cluster_resource_name
This property is required.
Changes to this property will trigger replacement.
str
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
cluster_rp
This property is required.
Changes to this property will trigger replacement.
str
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
configuration_protected_settings Mapping[str, str]
Name-value pairs of protected configuration settings for the configuration
enable_helm_operator bool
Option to enable Helm Operator for this git configuration.
helm_operator_properties HelmOperatorPropertiesArgs
Properties for Helm operator.
operator_instance_name str
Instance name of the operator - identifying the specific configuration.
operator_namespace str
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operator_params str
Any Parameters for the Operator instance in string format.
operator_scope str | OperatorScopeType
Scope at which the operator will be installed.
operator_type str | OperatorType
Type of the operator
repository_url str
Url of the SourceControl Repository.
source_control_configuration_name Changes to this property will trigger replacement. str
Name of the Source Control Configuration.
ssh_known_hosts_contents str
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the kubernetes cluster.
clusterResourceName
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
clusterRp
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
configurationProtectedSettings Map<String>
Name-value pairs of protected configuration settings for the configuration
enableHelmOperator Boolean
Option to enable Helm Operator for this git configuration.
helmOperatorProperties Property Map
Properties for Helm operator.
operatorInstanceName String
Instance name of the operator - identifying the specific configuration.
operatorNamespace String
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operatorParams String
Any Parameters for the Operator instance in string format.
operatorScope String | "cluster" | "namespace"
Scope at which the operator will be installed.
operatorType String | "Flux"
Type of the operator
repositoryUrl String
Url of the SourceControl Repository.
sourceControlConfigurationName Changes to this property will trigger replacement. String
Name of the Source Control Configuration.
sshKnownHostsContents String
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances

Outputs

All input properties are implicitly available as output properties. Additionally, the SourceControlConfiguration resource produces the following output properties:

ComplianceStatus Pulumi.AzureNative.KubernetesConfiguration.Outputs.ComplianceStatusResponse
Compliance Status of the Configuration
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioning state of the resource provider.
RepositoryPublicKey string
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
SystemData Pulumi.AzureNative.KubernetesConfiguration.Outputs.SystemDataResponse
Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
ComplianceStatus ComplianceStatusResponse
Compliance Status of the Configuration
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The provisioning state of the resource provider.
RepositoryPublicKey string
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
SystemData SystemDataResponse
Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
complianceStatus ComplianceStatusResponse
Compliance Status of the Configuration
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioning state of the resource provider.
repositoryPublicKey String
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
systemData SystemDataResponse
Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
complianceStatus ComplianceStatusResponse
Compliance Status of the Configuration
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
The provisioning state of the resource provider.
repositoryPublicKey string
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
systemData SystemDataResponse
Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
compliance_status ComplianceStatusResponse
Compliance Status of the Configuration
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
The provisioning state of the resource provider.
repository_public_key str
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
system_data SystemDataResponse
Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
complianceStatus Property Map
Compliance Status of the Configuration
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The provisioning state of the resource provider.
repositoryPublicKey String
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
systemData Property Map
Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ComplianceStatusResponse
, ComplianceStatusResponseArgs

ComplianceState This property is required. string
The compliance state of the configuration.
LastConfigApplied string
Datetime the configuration was last applied.
Message string
Message from when the configuration was applied.
MessageLevel string
Level of the message.
ComplianceState This property is required. string
The compliance state of the configuration.
LastConfigApplied string
Datetime the configuration was last applied.
Message string
Message from when the configuration was applied.
MessageLevel string
Level of the message.
complianceState This property is required. String
The compliance state of the configuration.
lastConfigApplied String
Datetime the configuration was last applied.
message String
Message from when the configuration was applied.
messageLevel String
Level of the message.
complianceState This property is required. string
The compliance state of the configuration.
lastConfigApplied string
Datetime the configuration was last applied.
message string
Message from when the configuration was applied.
messageLevel string
Level of the message.
compliance_state This property is required. str
The compliance state of the configuration.
last_config_applied str
Datetime the configuration was last applied.
message str
Message from when the configuration was applied.
message_level str
Level of the message.
complianceState This property is required. String
The compliance state of the configuration.
lastConfigApplied String
Datetime the configuration was last applied.
message String
Message from when the configuration was applied.
messageLevel String
Level of the message.

HelmOperatorProperties
, HelmOperatorPropertiesArgs

ChartValues string
Values override for the operator Helm chart.
ChartVersion string
Version of the operator Helm chart.
ChartValues string
Values override for the operator Helm chart.
ChartVersion string
Version of the operator Helm chart.
chartValues String
Values override for the operator Helm chart.
chartVersion String
Version of the operator Helm chart.
chartValues string
Values override for the operator Helm chart.
chartVersion string
Version of the operator Helm chart.
chart_values str
Values override for the operator Helm chart.
chart_version str
Version of the operator Helm chart.
chartValues String
Values override for the operator Helm chart.
chartVersion String
Version of the operator Helm chart.

HelmOperatorPropertiesResponse
, HelmOperatorPropertiesResponseArgs

ChartValues string
Values override for the operator Helm chart.
ChartVersion string
Version of the operator Helm chart.
ChartValues string
Values override for the operator Helm chart.
ChartVersion string
Version of the operator Helm chart.
chartValues String
Values override for the operator Helm chart.
chartVersion String
Version of the operator Helm chart.
chartValues string
Values override for the operator Helm chart.
chartVersion string
Version of the operator Helm chart.
chart_values str
Values override for the operator Helm chart.
chart_version str
Version of the operator Helm chart.
chartValues String
Values override for the operator Helm chart.
chartVersion String
Version of the operator Helm chart.

OperatorScopeType
, OperatorScopeTypeArgs

Cluster
cluster
@Namespace
namespace
OperatorScopeTypeCluster
cluster
OperatorScopeTypeNamespace
namespace
Cluster
cluster
Namespace
namespace
Cluster
cluster
Namespace
namespace
CLUSTER
cluster
NAMESPACE
namespace
"cluster"
cluster
"namespace"
namespace

OperatorType
, OperatorTypeArgs

Flux
Flux
OperatorTypeFlux
Flux
Flux
Flux
Flux
Flux
FLUX
Flux
"Flux"
Flux

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:kubernetesconfiguration:SourceControlConfiguration SRS_GitHubConfig /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/{sourceControlConfigurationName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0