1. Packages
  2. Azure Native v1
  3. API Docs
  4. kubernetesconfiguration
  5. SourceControlConfiguration
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.kubernetesconfiguration.SourceControlConfiguration

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    The SourceControl Configuration object returned in Get & Put response. API Version: 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 = "namespace",
            OperatorType = "Flux",
            RepositoryUrl = "git@github.com:k8sdeveloper425/flux-get-started",
            ResourceGroupName = "rg1",
            SourceControlConfigurationName = "SRS_GitHubConfig",
            SshKnownHostsContents = "c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg=",
        });
    
    });
    
    package main
    
    import (
    	kubernetesconfiguration "github.com/pulumi/pulumi-azure-native-sdk/kubernetesconfiguration"
    	"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("namespace"),
    			OperatorType:                   pulumi.String("Flux"),
    			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
    	})
    }
    
    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 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(Map.ofEntries(
                    Map.entry("chartValues", "--set git.ssh.secretName=flux-git-deploy --set tillerNamespace=kube-system"),
                    Map.entry("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=")
                .build());
    
        }
    }
    
    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=azure_native.kubernetesconfiguration.HelmOperatorPropertiesArgs(
            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="namespace",
        operator_type="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=")
    
    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: "namespace",
        operatorType: "Flux",
        repositoryUrl: "git@github.com:k8sdeveloper425/flux-get-started",
        resourceGroupName: "rg1",
        sourceControlConfigurationName: "SRS_GitHubConfig",
        sshKnownHostsContents: "c3NoLmRldi5henVyZS5jb20gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDN0hyMW9UV3FOcU9sekdKT2ZHSjROYWtWeUl6ZjFyWFlkNGQ3d282akJsa0x2Q0E0b2RCbEwwbURVeVowL1FVZlRUcWV1K3RtMjJnT3N2K1ZyVlRNazZ2d1JVNzVnWS95OXV0NU1iM2JSNUJWNThkS1h5cTlBOVVlQjVDYWtlaG41WmdtNngxbUtvVnlmK0ZGbjI2aVlxWEpSZ3pJWlpjWjVWNmhyRTBRZzM5a1ptNGF6NDhvMEFVYmY2U3A0U0xkdm51TWEyc1ZOd0hCYm9TN0VKa201N1hRUFZVMy9RcHlOTEhiV0Rkend0cmxTK2V6MzBTM0FkWWhMS0VPeEFHOHdlT255cnRMSkFVZW45bVRrb2w4b0lJMWVkZjdtV1diV1ZmMG5CbWx5MjErblpjbUNUSVNRQnRkY3lQYUVubzdmRlFNREQyNi9zMGxmS29iNEt3OEg=",
    });
    
    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=
    

    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 string
    The unique name of the resource.
    args SourceControlConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args SourceControlConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SourceControlConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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",
    })
    
    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());
    
    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)
    
    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",
    });
    
    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
    

    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

    The SourceControlConfiguration resource accepts the following input properties:

    ClusterName string
    The name of the kubernetes cluster.
    ClusterResourceName string
    The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).
    ClusterRp string
    The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).
    ResourceGroupName string
    The name of the resource group.
    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 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 string
    The name of the kubernetes cluster.
    ClusterResourceName string
    The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).
    ClusterRp string
    The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).
    ResourceGroupName string
    The name of the resource group.
    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 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 String
    The name of the kubernetes cluster.
    clusterResourceName String
    The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).
    clusterRp String
    The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).
    resourceGroupName String
    The name of the resource group.
    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 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 string
    The name of the kubernetes cluster.
    clusterResourceName string
    The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).
    clusterRp string
    The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).
    resourceGroupName string
    The name of the resource group.
    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 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 str
    The name of the kubernetes cluster.
    cluster_resource_name str
    The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).
    cluster_rp str
    The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).
    resource_group_name str
    The name of the resource group.
    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 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 String
    The name of the kubernetes cluster.
    clusterResourceName String
    The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).
    clusterRp String
    The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).
    resourceGroupName String
    The name of the resource group.
    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 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 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 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 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 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 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 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/subId1/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/clusterName1/providers/Microsoft.KubernetesConfiguration/sourceControlConfigurations/SRS_GitHubConfig 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi