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.
Other available API versions: 2019-11-01-preview.
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 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=")
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=",
});
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={
"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:
- Cluster
Name string - The name of the kubernetes cluster.
- Cluster
Resource stringName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- Cluster
Rp string - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Configuration
Protected Dictionary<string, string>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 Pulumi.Properties Azure Native. Kubernetes Configuration. Inputs. Helm Operator Properties - Properties for Helm operator.
- Operator
Instance stringName - Instance name of the operator - identifying the specific configuration.
- Operator
Namespace string - The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
- Operator
Params string - Any Parameters for the Operator instance in string format.
- Operator
Scope string | Pulumi.Azure Native. Kubernetes Configuration. Operator Scope Type - Scope at which the operator will be installed.
- Operator
Type string | Pulumi.Azure Native. Kubernetes Configuration. Operator Type - Type of the operator
- Repository
Url string - Url of the SourceControl Repository.
- Source
Control stringConfiguration Name - Name of the Source Control Configuration.
- Ssh
Known stringHosts Contents - Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
- Cluster
Name string - The name of the kubernetes cluster.
- Cluster
Resource stringName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- Cluster
Rp string - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Configuration
Protected map[string]stringSettings - 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 stringName - Instance name of the operator - identifying the specific configuration.
- Operator
Namespace string - The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
- Operator
Params string - Any Parameters for the Operator instance in string format.
- Operator
Scope string | OperatorScope Type - Scope at which the operator will be installed.
- Operator
Type string | OperatorType - Type of the operator
- Repository
Url string - Url of the SourceControl Repository.
- Source
Control stringConfiguration Name - Name of the Source Control Configuration.
- Ssh
Known stringHosts Contents - Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
- cluster
Name String - The name of the kubernetes cluster.
- cluster
Resource StringName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- cluster
Rp String - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- configuration
Protected Map<String,String>Settings - Name-value pairs of protected configuration settings for the configuration
- enable
Helm BooleanOperator - Option to enable Helm Operator for this git configuration.
- helm
Operator HelmProperties Operator Properties - Properties for Helm operator.
- operator
Instance StringName - Instance name of the operator - identifying the specific configuration.
- operator
Namespace String - The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
- operator
Params String - Any Parameters for the Operator instance in string format.
- operator
Scope String | OperatorScope Type - Scope at which the operator will be installed.
- operator
Type String | OperatorType - Type of the operator
- repository
Url String - Url of the SourceControl Repository.
- source
Control StringConfiguration Name - Name of the Source Control Configuration.
- ssh
Known StringHosts Contents - Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
- cluster
Name string - The name of the kubernetes cluster.
- cluster
Resource stringName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- cluster
Rp string - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- configuration
Protected {[key: string]: string}Settings - Name-value pairs of protected configuration settings for the configuration
- enable
Helm booleanOperator - Option to enable Helm Operator for this git configuration.
- helm
Operator HelmProperties Operator Properties - Properties for Helm operator.
- operator
Instance stringName - Instance name of the operator - identifying the specific configuration.
- operator
Namespace string - The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
- operator
Params string - Any Parameters for the Operator instance in string format.
- operator
Scope string | OperatorScope Type - Scope at which the operator will be installed.
- operator
Type string | OperatorType - Type of the operator
- repository
Url string - Url of the SourceControl Repository.
- source
Control stringConfiguration Name - Name of the Source Control Configuration.
- ssh
Known 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
- cluster
Name String - The name of the kubernetes cluster.
- cluster
Resource StringName - The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
- cluster
Rp String - The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- configuration
Protected Map<String>Settings - Name-value pairs of protected configuration settings for the configuration
- enable
Helm BooleanOperator - Option to enable Helm Operator for this git configuration.
- helm
Operator Property MapProperties - Properties for Helm operator.
- operator
Instance StringName - Instance name of the operator - identifying the specific configuration.
- operator
Namespace String - The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
- operator
Params String - Any Parameters for the Operator instance in string format.
- operator
Scope String | "cluster" | "namespace" - Scope at which the operator will be installed.
- operator
Type String | "Flux" - Type of the operator
- repository
Url String - Url of the SourceControl Repository.
- source
Control StringConfiguration Name - Name of the Source Control Configuration.
- ssh
Known 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:
- Compliance
Status 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
- Provisioning
State string - The provisioning state of the resource provider.
- Repository
Public stringKey - Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
- System
Data 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"
- Compliance
Status 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
- Provisioning
State string - The provisioning state of the resource provider.
- Repository
Public stringKey - 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 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 String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource provider.
- repository
Public StringKey - 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 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 string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the resource provider.
- repository
Public stringKey - 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 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"
- compliance
Status 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
- provisioning
State String - The provisioning state of the resource provider.
- repository
Public StringKey - Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
- system
Data 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
- Compliance
State string - The compliance state of the configuration.
- Last
Config stringApplied - Datetime the configuration was last applied.
- Message string
- Message from when the configuration was applied.
- Message
Level string - Level of the message.
- Compliance
State string - The compliance state of the configuration.
- Last
Config stringApplied - Datetime the configuration was last applied.
- Message string
- Message from when the configuration was applied.
- Message
Level string - Level of the message.
- compliance
State String - The compliance state of the configuration.
- last
Config StringApplied - Datetime the configuration was last applied.
- message String
- Message from when the configuration was applied.
- message
Level String - Level of the message.
- compliance
State string - The compliance state of the configuration.
- last
Config stringApplied - Datetime the configuration was last applied.
- message string
- Message from when the configuration was applied.
- message
Level 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.
- compliance
State String - The compliance state of the configuration.
- last
Config StringApplied - Datetime the configuration was last applied.
- message String
- Message from when the configuration was applied.
- message
Level String - Level of the message.
HelmOperatorProperties, HelmOperatorPropertiesArgs
- Chart
Values string - Values override for the operator Helm chart.
- Chart
Version string - Version of the operator Helm chart.
- Chart
Values string - Values override for the operator Helm chart.
- Chart
Version string - Version of the operator Helm chart.
- chart
Values String - Values override for the operator Helm chart.
- chart
Version String - Version of the operator Helm chart.
- chart
Values string - Values override for the operator Helm chart.
- chart
Version 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.
- chart
Values String - Values override for the operator Helm chart.
- chart
Version String - Version of the operator Helm chart.
HelmOperatorPropertiesResponse, HelmOperatorPropertiesResponseArgs
- Chart
Values string - Values override for the operator Helm chart.
- Chart
Version string - Version of the operator Helm chart.
- Chart
Values string - Values override for the operator Helm chart.
- Chart
Version string - Version of the operator Helm chart.
- chart
Values String - Values override for the operator Helm chart.
- chart
Version String - Version of the operator Helm chart.
- chart
Values string - Values override for the operator Helm chart.
- chart
Version 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.
- chart
Values String - Values override for the operator Helm chart.
- chart
Version String - Version of the operator Helm chart.
OperatorScopeType, OperatorScopeTypeArgs
- Cluster
- cluster
- @Namespace
- namespace
- Operator
Scope Type Cluster - cluster
- Operator
Scope Type Namespace - namespace
- Cluster
- cluster
- Namespace
- namespace
- Cluster
- cluster
- Namespace
- namespace
- CLUSTER
- cluster
- NAMESPACE
- namespace
- "cluster"
- cluster
- "namespace"
- namespace
OperatorType, OperatorTypeArgs
- Flux
- Flux
- Operator
Type Flux - Flux
- Flux
- Flux
- Flux
- Flux
- FLUX
- Flux
- "Flux"
- Flux
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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