azure-native.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=",
    });
});
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
	})
}
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());
    }
}
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=",
});
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=")
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 = new AzureNative.KubernetesConfiguration.Inputs.HelmOperatorPropertiesArgs
    {
        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:          pulumi.String("string"),
	ClusterResourceName:  pulumi.String("string"),
	ClusterRp:            pulumi.String("string"),
	ResourceGroupName:    pulumi.String("string"),
	OperatorInstanceName: pulumi.String("string"),
	HelmOperatorProperties: &kubernetesconfiguration.HelmOperatorPropertiesArgs{
		ChartValues:  pulumi.String("string"),
		ChartVersion: pulumi.String("string"),
	},
	EnableHelmOperator: pulumi.Bool(false),
	OperatorNamespace:  pulumi.String("string"),
	OperatorParams:     pulumi.String("string"),
	OperatorScope:      pulumi.String("string"),
	OperatorType:       pulumi.String("string"),
	RepositoryUrl:      pulumi.String("string"),
	ConfigurationProtectedSettings: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	SourceControlConfigurationName: pulumi.String("string"),
	SshKnownHostsContents:          pulumi.String("string"),
})
var sourceControlConfigurationResource = new SourceControlConfiguration("sourceControlConfigurationResource", SourceControlConfigurationArgs.builder()
    .clusterName("string")
    .clusterResourceName("string")
    .clusterRp("string")
    .resourceGroupName("string")
    .operatorInstanceName("string")
    .helmOperatorProperties(HelmOperatorPropertiesArgs.builder()
        .chartValues("string")
        .chartVersion("string")
        .build())
    .enableHelmOperator(false)
    .operatorNamespace("string")
    .operatorParams("string")
    .operatorScope("string")
    .operatorType("string")
    .repositoryUrl("string")
    .configurationProtectedSettings(Map.of("string", "string"))
    .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={
        "chart_values": "string",
        "chart_version": "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
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 string
- The name of the kubernetes cluster.
- ClusterResource stringName 
- The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- ClusterRp string
- The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ConfigurationProtected Dictionary<string, string>Settings 
- Name-value pairs of protected configuration settings for the configuration
- EnableHelm boolOperator 
- Option to enable Helm Operator for this git configuration.
- HelmOperator Pulumi.Properties Azure Native. Kubernetes Configuration. Inputs. Helm Operator Properties 
- Properties for Helm operator.
- OperatorInstance stringName 
- 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.Azure Native. Kubernetes Configuration. Operator Scope Type 
- Scope at which the operator will be installed.
- OperatorType string | Pulumi.Azure Native. Kubernetes Configuration. Operator Type 
- Type of the operator
- RepositoryUrl string
- Url of the SourceControl Repository.
- SourceControl stringConfiguration Name 
- Name of the Source Control Configuration.
- SshKnown stringHosts Contents 
- Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
- ClusterName string
- The name of the kubernetes cluster.
- ClusterResource stringName 
- The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- ClusterRp string
- The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ConfigurationProtected map[string]stringSettings 
- Name-value pairs of protected configuration settings for the configuration
- EnableHelm boolOperator 
- Option to enable Helm Operator for this git configuration.
- HelmOperator HelmProperties Operator Properties Args 
- Properties for Helm operator.
- OperatorInstance stringName 
- 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 | OperatorScope Type 
- Scope at which the operator will be installed.
- OperatorType string | OperatorType 
- Type of the operator
- RepositoryUrl string
- Url of the SourceControl Repository.
- SourceControl stringConfiguration Name 
- Name of the Source Control Configuration.
- SshKnown stringHosts Contents 
- Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
- clusterName String
- The name of the kubernetes cluster.
- clusterResource StringName 
- The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- clusterRp String
- The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- configurationProtected Map<String,String>Settings 
- Name-value pairs of protected configuration settings for the configuration
- enableHelm BooleanOperator 
- Option to enable Helm Operator for this git configuration.
- helmOperator HelmProperties Operator Properties 
- Properties for Helm operator.
- operatorInstance StringName 
- 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 | OperatorScope Type 
- Scope at which the operator will be installed.
- operatorType String | OperatorType 
- Type of the operator
- repositoryUrl String
- Url of the SourceControl Repository.
- sourceControl StringConfiguration Name 
- Name of the Source Control Configuration.
- sshKnown StringHosts Contents 
- Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
- clusterName string
- The name of the kubernetes cluster.
- clusterResource stringName 
- The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- clusterRp string
- The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- configurationProtected {[key: string]: string}Settings 
- Name-value pairs of protected configuration settings for the configuration
- enableHelm booleanOperator 
- Option to enable Helm Operator for this git configuration.
- helmOperator HelmProperties Operator Properties 
- Properties for Helm operator.
- operatorInstance stringName 
- 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 | OperatorScope Type 
- Scope at which the operator will be installed.
- operatorType string | OperatorType 
- Type of the operator
- repositoryUrl string
- Url of the SourceControl Repository.
- sourceControl stringConfiguration Name 
- Name of the Source Control Configuration.
- sshKnown stringHosts Contents 
- 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_ strname 
- The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- cluster_rp str
- The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- configuration_protected_ Mapping[str, str]settings 
- Name-value pairs of protected configuration settings for the configuration
- enable_helm_ booloperator 
- Option to enable Helm Operator for this git configuration.
- helm_operator_ Helmproperties Operator Properties Args 
- Properties for Helm operator.
- operator_instance_ strname 
- 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 | OperatorScope Type 
- 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_ strconfiguration_ name 
- Name of the Source Control Configuration.
- ssh_known_ strhosts_ contents 
- Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
- clusterName String
- The name of the kubernetes cluster.
- clusterResource StringName 
- The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- clusterRp String
- The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- configurationProtected Map<String>Settings 
- Name-value pairs of protected configuration settings for the configuration
- enableHelm BooleanOperator 
- Option to enable Helm Operator for this git configuration.
- helmOperator Property MapProperties 
- Properties for Helm operator.
- operatorInstance StringName 
- 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.
- sourceControl StringConfiguration Name 
- Name of the Source Control Configuration.
- sshKnown StringHosts Contents 
- 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.Azure Native. Kubernetes Configuration. Outputs. Compliance Status Response 
- 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.
- RepositoryPublic stringKey 
- Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
- SystemData Pulumi.Azure Native. Kubernetes Configuration. Outputs. System Data Response 
- 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 ComplianceStatus Response 
- 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.
- RepositoryPublic stringKey 
- Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
- SystemData SystemData Response 
- 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 ComplianceStatus Response 
- 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.
- repositoryPublic StringKey 
- Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
- systemData SystemData Response 
- 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 ComplianceStatus Response 
- 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.
- repositoryPublic stringKey 
- Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
- systemData SystemData Response 
- 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 ComplianceStatus Response 
- 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_ strkey 
- Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
- system_data SystemData Response 
- 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.
- repositoryPublic StringKey 
- 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.
- LastConfig stringApplied 
- 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.
- LastConfig stringApplied 
- 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.
- lastConfig StringApplied 
- 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.
- lastConfig stringApplied 
- 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_ strapplied 
- 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.
- lastConfig StringApplied 
- 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
- OperatorScope Type Cluster 
- cluster
- OperatorScope Type Namespace 
- namespace
- Cluster
- cluster
- Namespace
- namespace
- Cluster
- cluster
- Namespace
- namespace
- CLUSTER
- cluster
- NAMESPACE
- namespace
- "cluster"
- cluster
- "namespace"
- namespace
OperatorType, OperatorTypeArgs    
- Flux
- Flux
- OperatorType Flux 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0