1. Packages
  2. Azure Classic
  3. API Docs
  4. containerservice
  5. FluxConfiguration

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.containerservice.FluxConfiguration

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Manages a Kubernetes Flux Configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleKubernetesCluster = new azure.containerservice.KubernetesCluster("example", {
        name: "example-aks",
        location: "West Europe",
        resourceGroupName: example.name,
        dnsPrefix: "example-aks",
        defaultNodePool: {
            name: "default",
            nodeCount: 1,
            vmSize: "Standard_DS2_v2",
        },
        identity: {
            type: "SystemAssigned",
        },
    });
    const exampleKubernetesClusterExtension = new azure.containerservice.KubernetesClusterExtension("example", {
        name: "example-ext",
        clusterId: test.id,
        extensionType: "microsoft.flux",
    });
    const exampleFluxConfiguration = new azure.containerservice.FluxConfiguration("example", {
        name: "example-fc",
        clusterId: test.id,
        namespace: "flux",
        gitRepository: {
            url: "https://github.com/Azure/arc-k8s-demo",
            referenceType: "branch",
            referenceValue: "main",
        },
        kustomizations: [{
            name: "kustomization-1",
        }],
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_kubernetes_cluster = azure.containerservice.KubernetesCluster("example",
        name="example-aks",
        location="West Europe",
        resource_group_name=example.name,
        dns_prefix="example-aks",
        default_node_pool=azure.containerservice.KubernetesClusterDefaultNodePoolArgs(
            name="default",
            node_count=1,
            vm_size="Standard_DS2_v2",
        ),
        identity=azure.containerservice.KubernetesClusterIdentityArgs(
            type="SystemAssigned",
        ))
    example_kubernetes_cluster_extension = azure.containerservice.KubernetesClusterExtension("example",
        name="example-ext",
        cluster_id=test["id"],
        extension_type="microsoft.flux")
    example_flux_configuration = azure.containerservice.FluxConfiguration("example",
        name="example-fc",
        cluster_id=test["id"],
        namespace="flux",
        git_repository=azure.containerservice.FluxConfigurationGitRepositoryArgs(
            url="https://github.com/Azure/arc-k8s-demo",
            reference_type="branch",
            reference_value="main",
        ),
        kustomizations=[azure.containerservice.FluxConfigurationKustomizationArgs(
            name="kustomization-1",
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/containerservice"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerservice.NewKubernetesCluster(ctx, "example", &containerservice.KubernetesClusterArgs{
    			Name:              pulumi.String("example-aks"),
    			Location:          pulumi.String("West Europe"),
    			ResourceGroupName: example.Name,
    			DnsPrefix:         pulumi.String("example-aks"),
    			DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{
    				Name:      pulumi.String("default"),
    				NodeCount: pulumi.Int(1),
    				VmSize:    pulumi.String("Standard_DS2_v2"),
    			},
    			Identity: &containerservice.KubernetesClusterIdentityArgs{
    				Type: pulumi.String("SystemAssigned"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerservice.NewKubernetesClusterExtension(ctx, "example", &containerservice.KubernetesClusterExtensionArgs{
    			Name:          pulumi.String("example-ext"),
    			ClusterId:     pulumi.Any(test.Id),
    			ExtensionType: pulumi.String("microsoft.flux"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerservice.NewFluxConfiguration(ctx, "example", &containerservice.FluxConfigurationArgs{
    			Name:      pulumi.String("example-fc"),
    			ClusterId: pulumi.Any(test.Id),
    			Namespace: pulumi.String("flux"),
    			GitRepository: &containerservice.FluxConfigurationGitRepositoryArgs{
    				Url:            pulumi.String("https://github.com/Azure/arc-k8s-demo"),
    				ReferenceType:  pulumi.String("branch"),
    				ReferenceValue: pulumi.String("main"),
    			},
    			Kustomizations: containerservice.FluxConfigurationKustomizationArray{
    				&containerservice.FluxConfigurationKustomizationArgs{
    					Name: pulumi.String("kustomization-1"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleKubernetesCluster = new Azure.ContainerService.KubernetesCluster("example", new()
        {
            Name = "example-aks",
            Location = "West Europe",
            ResourceGroupName = example.Name,
            DnsPrefix = "example-aks",
            DefaultNodePool = new Azure.ContainerService.Inputs.KubernetesClusterDefaultNodePoolArgs
            {
                Name = "default",
                NodeCount = 1,
                VmSize = "Standard_DS2_v2",
            },
            Identity = new Azure.ContainerService.Inputs.KubernetesClusterIdentityArgs
            {
                Type = "SystemAssigned",
            },
        });
    
        var exampleKubernetesClusterExtension = new Azure.ContainerService.KubernetesClusterExtension("example", new()
        {
            Name = "example-ext",
            ClusterId = test.Id,
            ExtensionType = "microsoft.flux",
        });
    
        var exampleFluxConfiguration = new Azure.ContainerService.FluxConfiguration("example", new()
        {
            Name = "example-fc",
            ClusterId = test.Id,
            Namespace = "flux",
            GitRepository = new Azure.ContainerService.Inputs.FluxConfigurationGitRepositoryArgs
            {
                Url = "https://github.com/Azure/arc-k8s-demo",
                ReferenceType = "branch",
                ReferenceValue = "main",
            },
            Kustomizations = new[]
            {
                new Azure.ContainerService.Inputs.FluxConfigurationKustomizationArgs
                {
                    Name = "kustomization-1",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.containerservice.KubernetesCluster;
    import com.pulumi.azure.containerservice.KubernetesClusterArgs;
    import com.pulumi.azure.containerservice.inputs.KubernetesClusterDefaultNodePoolArgs;
    import com.pulumi.azure.containerservice.inputs.KubernetesClusterIdentityArgs;
    import com.pulumi.azure.containerservice.KubernetesClusterExtension;
    import com.pulumi.azure.containerservice.KubernetesClusterExtensionArgs;
    import com.pulumi.azure.containerservice.FluxConfiguration;
    import com.pulumi.azure.containerservice.FluxConfigurationArgs;
    import com.pulumi.azure.containerservice.inputs.FluxConfigurationGitRepositoryArgs;
    import com.pulumi.azure.containerservice.inputs.FluxConfigurationKustomizationArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleKubernetesCluster = new KubernetesCluster("exampleKubernetesCluster", KubernetesClusterArgs.builder()        
                .name("example-aks")
                .location("West Europe")
                .resourceGroupName(example.name())
                .dnsPrefix("example-aks")
                .defaultNodePool(KubernetesClusterDefaultNodePoolArgs.builder()
                    .name("default")
                    .nodeCount(1)
                    .vmSize("Standard_DS2_v2")
                    .build())
                .identity(KubernetesClusterIdentityArgs.builder()
                    .type("SystemAssigned")
                    .build())
                .build());
    
            var exampleKubernetesClusterExtension = new KubernetesClusterExtension("exampleKubernetesClusterExtension", KubernetesClusterExtensionArgs.builder()        
                .name("example-ext")
                .clusterId(test.id())
                .extensionType("microsoft.flux")
                .build());
    
            var exampleFluxConfiguration = new FluxConfiguration("exampleFluxConfiguration", FluxConfigurationArgs.builder()        
                .name("example-fc")
                .clusterId(test.id())
                .namespace("flux")
                .gitRepository(FluxConfigurationGitRepositoryArgs.builder()
                    .url("https://github.com/Azure/arc-k8s-demo")
                    .referenceType("branch")
                    .referenceValue("main")
                    .build())
                .kustomizations(FluxConfigurationKustomizationArgs.builder()
                    .name("kustomization-1")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleKubernetesCluster:
        type: azure:containerservice:KubernetesCluster
        name: example
        properties:
          name: example-aks
          location: West Europe
          resourceGroupName: ${example.name}
          dnsPrefix: example-aks
          defaultNodePool:
            name: default
            nodeCount: 1
            vmSize: Standard_DS2_v2
          identity:
            type: SystemAssigned
      exampleKubernetesClusterExtension:
        type: azure:containerservice:KubernetesClusterExtension
        name: example
        properties:
          name: example-ext
          clusterId: ${test.id}
          extensionType: microsoft.flux
      exampleFluxConfiguration:
        type: azure:containerservice:FluxConfiguration
        name: example
        properties:
          name: example-fc
          clusterId: ${test.id}
          namespace: flux
          gitRepository:
            url: https://github.com/Azure/arc-k8s-demo
            referenceType: branch
            referenceValue: main
          kustomizations:
            - name: kustomization-1
    

    Create FluxConfiguration Resource

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

    Constructor syntax

    new FluxConfiguration(name: string, args: FluxConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def FluxConfiguration(resource_name: str,
                          args: FluxConfigurationArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def FluxConfiguration(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          cluster_id: Optional[str] = None,
                          kustomizations: Optional[Sequence[FluxConfigurationKustomizationArgs]] = None,
                          namespace: Optional[str] = None,
                          blob_storage: Optional[FluxConfigurationBlobStorageArgs] = None,
                          bucket: Optional[FluxConfigurationBucketArgs] = None,
                          continuous_reconciliation_enabled: Optional[bool] = None,
                          git_repository: Optional[FluxConfigurationGitRepositoryArgs] = None,
                          name: Optional[str] = None,
                          scope: Optional[str] = None)
    func NewFluxConfiguration(ctx *Context, name string, args FluxConfigurationArgs, opts ...ResourceOption) (*FluxConfiguration, error)
    public FluxConfiguration(string name, FluxConfigurationArgs args, CustomResourceOptions? opts = null)
    public FluxConfiguration(String name, FluxConfigurationArgs args)
    public FluxConfiguration(String name, FluxConfigurationArgs args, CustomResourceOptions options)
    
    type: azure:containerservice:FluxConfiguration
    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 FluxConfigurationArgs
    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 FluxConfigurationArgs
    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 FluxConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FluxConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FluxConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var azureFluxConfigurationResource = new Azure.ContainerService.FluxConfiguration("azureFluxConfigurationResource", new()
    {
        ClusterId = "string",
        Kustomizations = new[]
        {
            new Azure.ContainerService.Inputs.FluxConfigurationKustomizationArgs
            {
                Name = "string",
                DependsOns = new[]
                {
                    "string",
                },
                GarbageCollectionEnabled = false,
                Path = "string",
                RecreatingEnabled = false,
                RetryIntervalInSeconds = 0,
                SyncIntervalInSeconds = 0,
                TimeoutInSeconds = 0,
            },
        },
        Namespace = "string",
        BlobStorage = new Azure.ContainerService.Inputs.FluxConfigurationBlobStorageArgs
        {
            ContainerId = "string",
            AccountKey = "string",
            LocalAuthReference = "string",
            ManagedIdentity = new Azure.ContainerService.Inputs.FluxConfigurationBlobStorageManagedIdentityArgs
            {
                ClientId = "string",
            },
            SasToken = "string",
            ServicePrincipal = new Azure.ContainerService.Inputs.FluxConfigurationBlobStorageServicePrincipalArgs
            {
                ClientId = "string",
                TenantId = "string",
                ClientCertificateBase64 = "string",
                ClientCertificatePassword = "string",
                ClientCertificateSendChain = false,
                ClientSecret = "string",
            },
            SyncIntervalInSeconds = 0,
            TimeoutInSeconds = 0,
        },
        Bucket = new Azure.ContainerService.Inputs.FluxConfigurationBucketArgs
        {
            BucketName = "string",
            Url = "string",
            AccessKey = "string",
            LocalAuthReference = "string",
            SecretKeyBase64 = "string",
            SyncIntervalInSeconds = 0,
            TimeoutInSeconds = 0,
            TlsEnabled = false,
        },
        ContinuousReconciliationEnabled = false,
        GitRepository = new Azure.ContainerService.Inputs.FluxConfigurationGitRepositoryArgs
        {
            ReferenceType = "string",
            ReferenceValue = "string",
            Url = "string",
            HttpsCaCertBase64 = "string",
            HttpsKeyBase64 = "string",
            HttpsUser = "string",
            LocalAuthReference = "string",
            SshKnownHostsBase64 = "string",
            SshPrivateKeyBase64 = "string",
            SyncIntervalInSeconds = 0,
            TimeoutInSeconds = 0,
        },
        Name = "string",
        Scope = "string",
    });
    
    example, err := containerservice.NewFluxConfiguration(ctx, "azureFluxConfigurationResource", &containerservice.FluxConfigurationArgs{
    	ClusterId: pulumi.String("string"),
    	Kustomizations: containerservice.FluxConfigurationKustomizationArray{
    		&containerservice.FluxConfigurationKustomizationArgs{
    			Name: pulumi.String("string"),
    			DependsOns: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			GarbageCollectionEnabled: pulumi.Bool(false),
    			Path:                     pulumi.String("string"),
    			RecreatingEnabled:        pulumi.Bool(false),
    			RetryIntervalInSeconds:   pulumi.Int(0),
    			SyncIntervalInSeconds:    pulumi.Int(0),
    			TimeoutInSeconds:         pulumi.Int(0),
    		},
    	},
    	Namespace: pulumi.String("string"),
    	BlobStorage: &containerservice.FluxConfigurationBlobStorageArgs{
    		ContainerId:        pulumi.String("string"),
    		AccountKey:         pulumi.String("string"),
    		LocalAuthReference: pulumi.String("string"),
    		ManagedIdentity: &containerservice.FluxConfigurationBlobStorageManagedIdentityArgs{
    			ClientId: pulumi.String("string"),
    		},
    		SasToken: pulumi.String("string"),
    		ServicePrincipal: &containerservice.FluxConfigurationBlobStorageServicePrincipalArgs{
    			ClientId:                   pulumi.String("string"),
    			TenantId:                   pulumi.String("string"),
    			ClientCertificateBase64:    pulumi.String("string"),
    			ClientCertificatePassword:  pulumi.String("string"),
    			ClientCertificateSendChain: pulumi.Bool(false),
    			ClientSecret:               pulumi.String("string"),
    		},
    		SyncIntervalInSeconds: pulumi.Int(0),
    		TimeoutInSeconds:      pulumi.Int(0),
    	},
    	Bucket: &containerservice.FluxConfigurationBucketArgs{
    		BucketName:            pulumi.String("string"),
    		Url:                   pulumi.String("string"),
    		AccessKey:             pulumi.String("string"),
    		LocalAuthReference:    pulumi.String("string"),
    		SecretKeyBase64:       pulumi.String("string"),
    		SyncIntervalInSeconds: pulumi.Int(0),
    		TimeoutInSeconds:      pulumi.Int(0),
    		TlsEnabled:            pulumi.Bool(false),
    	},
    	ContinuousReconciliationEnabled: pulumi.Bool(false),
    	GitRepository: &containerservice.FluxConfigurationGitRepositoryArgs{
    		ReferenceType:         pulumi.String("string"),
    		ReferenceValue:        pulumi.String("string"),
    		Url:                   pulumi.String("string"),
    		HttpsCaCertBase64:     pulumi.String("string"),
    		HttpsKeyBase64:        pulumi.String("string"),
    		HttpsUser:             pulumi.String("string"),
    		LocalAuthReference:    pulumi.String("string"),
    		SshKnownHostsBase64:   pulumi.String("string"),
    		SshPrivateKeyBase64:   pulumi.String("string"),
    		SyncIntervalInSeconds: pulumi.Int(0),
    		TimeoutInSeconds:      pulumi.Int(0),
    	},
    	Name:  pulumi.String("string"),
    	Scope: pulumi.String("string"),
    })
    
    var azureFluxConfigurationResource = new FluxConfiguration("azureFluxConfigurationResource", FluxConfigurationArgs.builder()        
        .clusterId("string")
        .kustomizations(FluxConfigurationKustomizationArgs.builder()
            .name("string")
            .dependsOns("string")
            .garbageCollectionEnabled(false)
            .path("string")
            .recreatingEnabled(false)
            .retryIntervalInSeconds(0)
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .build())
        .namespace("string")
        .blobStorage(FluxConfigurationBlobStorageArgs.builder()
            .containerId("string")
            .accountKey("string")
            .localAuthReference("string")
            .managedIdentity(FluxConfigurationBlobStorageManagedIdentityArgs.builder()
                .clientId("string")
                .build())
            .sasToken("string")
            .servicePrincipal(FluxConfigurationBlobStorageServicePrincipalArgs.builder()
                .clientId("string")
                .tenantId("string")
                .clientCertificateBase64("string")
                .clientCertificatePassword("string")
                .clientCertificateSendChain(false)
                .clientSecret("string")
                .build())
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .build())
        .bucket(FluxConfigurationBucketArgs.builder()
            .bucketName("string")
            .url("string")
            .accessKey("string")
            .localAuthReference("string")
            .secretKeyBase64("string")
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .tlsEnabled(false)
            .build())
        .continuousReconciliationEnabled(false)
        .gitRepository(FluxConfigurationGitRepositoryArgs.builder()
            .referenceType("string")
            .referenceValue("string")
            .url("string")
            .httpsCaCertBase64("string")
            .httpsKeyBase64("string")
            .httpsUser("string")
            .localAuthReference("string")
            .sshKnownHostsBase64("string")
            .sshPrivateKeyBase64("string")
            .syncIntervalInSeconds(0)
            .timeoutInSeconds(0)
            .build())
        .name("string")
        .scope("string")
        .build());
    
    azure_flux_configuration_resource = azure.containerservice.FluxConfiguration("azureFluxConfigurationResource",
        cluster_id="string",
        kustomizations=[azure.containerservice.FluxConfigurationKustomizationArgs(
            name="string",
            depends_ons=["string"],
            garbage_collection_enabled=False,
            path="string",
            recreating_enabled=False,
            retry_interval_in_seconds=0,
            sync_interval_in_seconds=0,
            timeout_in_seconds=0,
        )],
        namespace="string",
        blob_storage=azure.containerservice.FluxConfigurationBlobStorageArgs(
            container_id="string",
            account_key="string",
            local_auth_reference="string",
            managed_identity=azure.containerservice.FluxConfigurationBlobStorageManagedIdentityArgs(
                client_id="string",
            ),
            sas_token="string",
            service_principal=azure.containerservice.FluxConfigurationBlobStorageServicePrincipalArgs(
                client_id="string",
                tenant_id="string",
                client_certificate_base64="string",
                client_certificate_password="string",
                client_certificate_send_chain=False,
                client_secret="string",
            ),
            sync_interval_in_seconds=0,
            timeout_in_seconds=0,
        ),
        bucket=azure.containerservice.FluxConfigurationBucketArgs(
            bucket_name="string",
            url="string",
            access_key="string",
            local_auth_reference="string",
            secret_key_base64="string",
            sync_interval_in_seconds=0,
            timeout_in_seconds=0,
            tls_enabled=False,
        ),
        continuous_reconciliation_enabled=False,
        git_repository=azure.containerservice.FluxConfigurationGitRepositoryArgs(
            reference_type="string",
            reference_value="string",
            url="string",
            https_ca_cert_base64="string",
            https_key_base64="string",
            https_user="string",
            local_auth_reference="string",
            ssh_known_hosts_base64="string",
            ssh_private_key_base64="string",
            sync_interval_in_seconds=0,
            timeout_in_seconds=0,
        ),
        name="string",
        scope="string")
    
    const azureFluxConfigurationResource = new azure.containerservice.FluxConfiguration("azureFluxConfigurationResource", {
        clusterId: "string",
        kustomizations: [{
            name: "string",
            dependsOns: ["string"],
            garbageCollectionEnabled: false,
            path: "string",
            recreatingEnabled: false,
            retryIntervalInSeconds: 0,
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
        }],
        namespace: "string",
        blobStorage: {
            containerId: "string",
            accountKey: "string",
            localAuthReference: "string",
            managedIdentity: {
                clientId: "string",
            },
            sasToken: "string",
            servicePrincipal: {
                clientId: "string",
                tenantId: "string",
                clientCertificateBase64: "string",
                clientCertificatePassword: "string",
                clientCertificateSendChain: false,
                clientSecret: "string",
            },
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
        },
        bucket: {
            bucketName: "string",
            url: "string",
            accessKey: "string",
            localAuthReference: "string",
            secretKeyBase64: "string",
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
            tlsEnabled: false,
        },
        continuousReconciliationEnabled: false,
        gitRepository: {
            referenceType: "string",
            referenceValue: "string",
            url: "string",
            httpsCaCertBase64: "string",
            httpsKeyBase64: "string",
            httpsUser: "string",
            localAuthReference: "string",
            sshKnownHostsBase64: "string",
            sshPrivateKeyBase64: "string",
            syncIntervalInSeconds: 0,
            timeoutInSeconds: 0,
        },
        name: "string",
        scope: "string",
    });
    
    type: azure:containerservice:FluxConfiguration
    properties:
        blobStorage:
            accountKey: string
            containerId: string
            localAuthReference: string
            managedIdentity:
                clientId: string
            sasToken: string
            servicePrincipal:
                clientCertificateBase64: string
                clientCertificatePassword: string
                clientCertificateSendChain: false
                clientId: string
                clientSecret: string
                tenantId: string
            syncIntervalInSeconds: 0
            timeoutInSeconds: 0
        bucket:
            accessKey: string
            bucketName: string
            localAuthReference: string
            secretKeyBase64: string
            syncIntervalInSeconds: 0
            timeoutInSeconds: 0
            tlsEnabled: false
            url: string
        clusterId: string
        continuousReconciliationEnabled: false
        gitRepository:
            httpsCaCertBase64: string
            httpsKeyBase64: string
            httpsUser: string
            localAuthReference: string
            referenceType: string
            referenceValue: string
            sshKnownHostsBase64: string
            sshPrivateKeyBase64: string
            syncIntervalInSeconds: 0
            timeoutInSeconds: 0
            url: string
        kustomizations:
            - dependsOns:
                - string
              garbageCollectionEnabled: false
              name: string
              path: string
              recreatingEnabled: false
              retryIntervalInSeconds: 0
              syncIntervalInSeconds: 0
              timeoutInSeconds: 0
        name: string
        namespace: string
        scope: string
    

    FluxConfiguration 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 FluxConfiguration resource accepts the following input properties:

    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    Kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    BlobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucket
    A bucket block as defined below.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    Name string
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    Kustomizations []FluxConfigurationKustomizationArgs
    A kustomizations block as defined below.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    BlobStorage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    Name string
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    name String
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    clusterId string
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    kustomizations FluxConfigurationKustomization[]
    A kustomizations block as defined below.
    namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    continuousReconciliationEnabled boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    name string
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    cluster_id str
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    kustomizations Sequence[FluxConfigurationKustomizationArgs]
    A kustomizations block as defined below.
    namespace str
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    blob_storage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    continuous_reconciliation_enabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    git_repository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    name str
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope str
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    kustomizations List<Property Map>
    A kustomizations block as defined below.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    blobStorage Property Map
    An blob_storage block as defined below.
    bucket Property Map
    A bucket block as defined below.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository Property Map
    A git_repository block as defined below.
    name String
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FluxConfiguration Resource

    Get an existing FluxConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FluxConfigurationState, opts?: CustomResourceOptions): FluxConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            blob_storage: Optional[FluxConfigurationBlobStorageArgs] = None,
            bucket: Optional[FluxConfigurationBucketArgs] = None,
            cluster_id: Optional[str] = None,
            continuous_reconciliation_enabled: Optional[bool] = None,
            git_repository: Optional[FluxConfigurationGitRepositoryArgs] = None,
            kustomizations: Optional[Sequence[FluxConfigurationKustomizationArgs]] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            scope: Optional[str] = None) -> FluxConfiguration
    func GetFluxConfiguration(ctx *Context, name string, id IDInput, state *FluxConfigurationState, opts ...ResourceOption) (*FluxConfiguration, error)
    public static FluxConfiguration Get(string name, Input<string> id, FluxConfigurationState? state, CustomResourceOptions? opts = null)
    public static FluxConfiguration get(String name, Output<String> id, FluxConfigurationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BlobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucket
    A bucket block as defined below.
    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    Kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    Name string
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    BlobStorage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    Bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    ClusterId string
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    ContinuousReconciliationEnabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    GitRepository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    Kustomizations []FluxConfigurationKustomizationArgs
    A kustomizations block as defined below.
    Name string
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    Namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    Scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    kustomizations List<FluxConfigurationKustomization>
    A kustomizations block as defined below.
    name String
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    blobStorage FluxConfigurationBlobStorage
    An blob_storage block as defined below.
    bucket FluxConfigurationBucket
    A bucket block as defined below.
    clusterId string
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    continuousReconciliationEnabled boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository FluxConfigurationGitRepository
    A git_repository block as defined below.
    kustomizations FluxConfigurationKustomization[]
    A kustomizations block as defined below.
    name string
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    namespace string
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope string
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    blob_storage FluxConfigurationBlobStorageArgs
    An blob_storage block as defined below.
    bucket FluxConfigurationBucketArgs
    A bucket block as defined below.
    cluster_id str
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    continuous_reconciliation_enabled bool
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    git_repository FluxConfigurationGitRepositoryArgs
    A git_repository block as defined below.
    kustomizations Sequence[FluxConfigurationKustomizationArgs]
    A kustomizations block as defined below.
    name str
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    namespace str
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope str
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.
    blobStorage Property Map
    An blob_storage block as defined below.
    bucket Property Map
    A bucket block as defined below.
    clusterId String
    Specifies the Cluster ID. Changing this forces a new Kubernetes Cluster Extension to be created.
    continuousReconciliationEnabled Boolean
    Whether the configuration will keep its reconciliation of its kustomizations and sources with the repository. Defaults to true.
    gitRepository Property Map
    A git_repository block as defined below.
    kustomizations List<Property Map>
    A kustomizations block as defined below.
    name String
    Specifies the name which should be used for this Kubernetes Flux Configuration. Changing this forces a new Kubernetes Flux Configuration to be created.
    namespace String
    Specifies the namespace to which this configuration is installed to. Changing this forces a new Kubernetes Flux Configuration to be created.
    scope String
    Specifies the scope at which the operator will be installed. Possible values are cluster and namespace. Defaults to namespace. Changing this forces a new Kubernetes Flux Configuration to be created.

    Supporting Types

    FluxConfigurationBlobStorage, FluxConfigurationBlobStorageArgs

    ContainerId string
    Specifies the Azure Blob container ID.
    AccountKey string
    Specifies the account key (shared key) to access the storage account.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    ManagedIdentity FluxConfigurationBlobStorageManagedIdentity
    A managed_identity block as defined below.
    SasToken string
    Specifies the shared access token to access the storage container.
    ServicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    ContainerId string
    Specifies the Azure Blob container ID.
    AccountKey string
    Specifies the account key (shared key) to access the storage account.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    ManagedIdentity FluxConfigurationBlobStorageManagedIdentity
    A managed_identity block as defined below.
    SasToken string
    Specifies the shared access token to access the storage container.
    ServicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    containerId String
    Specifies the Azure Blob container ID.
    accountKey String
    Specifies the account key (shared key) to access the storage account.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    managedIdentity FluxConfigurationBlobStorageManagedIdentity
    A managed_identity block as defined below.
    sasToken String
    Specifies the shared access token to access the storage container.
    servicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    syncIntervalInSeconds Integer
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeoutInSeconds Integer
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    containerId string
    Specifies the Azure Blob container ID.
    accountKey string
    Specifies the account key (shared key) to access the storage account.
    localAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    managedIdentity FluxConfigurationBlobStorageManagedIdentity
    A managed_identity block as defined below.
    sasToken string
    Specifies the shared access token to access the storage container.
    servicePrincipal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    syncIntervalInSeconds number
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeoutInSeconds number
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    container_id str
    Specifies the Azure Blob container ID.
    account_key str
    Specifies the account key (shared key) to access the storage account.
    local_auth_reference str
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    managed_identity FluxConfigurationBlobStorageManagedIdentity
    A managed_identity block as defined below.
    sas_token str
    Specifies the shared access token to access the storage container.
    service_principal FluxConfigurationBlobStorageServicePrincipal
    A service_principal block as defined below.
    sync_interval_in_seconds int
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeout_in_seconds int
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
    containerId String
    Specifies the Azure Blob container ID.
    accountKey String
    Specifies the account key (shared key) to access the storage account.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
    managedIdentity Property Map
    A managed_identity block as defined below.
    sasToken String
    Specifies the shared access token to access the storage container.
    servicePrincipal Property Map
    A service_principal block as defined below.
    syncIntervalInSeconds Number
    Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
    timeoutInSeconds Number
    Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.

    FluxConfigurationBlobStorageManagedIdentity, FluxConfigurationBlobStorageManagedIdentityArgs

    ClientId string
    Specifies the client ID for authenticating a Managed Identity.
    ClientId string
    Specifies the client ID for authenticating a Managed Identity.
    clientId String
    Specifies the client ID for authenticating a Managed Identity.
    clientId string
    Specifies the client ID for authenticating a Managed Identity.
    client_id str
    Specifies the client ID for authenticating a Managed Identity.
    clientId String
    Specifies the client ID for authenticating a Managed Identity.

    FluxConfigurationBlobStorageServicePrincipal, FluxConfigurationBlobStorageServicePrincipalArgs

    ClientId string
    Specifies the client ID for authenticating a Service Principal.
    TenantId string
    Specifies the tenant ID for authenticating a Service Principal.
    ClientCertificateBase64 string
    Base64-encoded certificate used to authenticate a Service Principal .
    ClientCertificatePassword string
    Specifies the password for the certificate used to authenticate a Service Principal .
    ClientCertificateSendChain bool
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    ClientSecret string
    Specifies the client secret for authenticating a Service Principal.
    ClientId string
    Specifies the client ID for authenticating a Service Principal.
    TenantId string
    Specifies the tenant ID for authenticating a Service Principal.
    ClientCertificateBase64 string
    Base64-encoded certificate used to authenticate a Service Principal .
    ClientCertificatePassword string
    Specifies the password for the certificate used to authenticate a Service Principal .
    ClientCertificateSendChain bool
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    ClientSecret string
    Specifies the client secret for authenticating a Service Principal.
    clientId String
    Specifies the client ID for authenticating a Service Principal.
    tenantId String
    Specifies the tenant ID for authenticating a Service Principal.
    clientCertificateBase64 String
    Base64-encoded certificate used to authenticate a Service Principal .
    clientCertificatePassword String
    Specifies the password for the certificate used to authenticate a Service Principal .
    clientCertificateSendChain Boolean
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    clientSecret String
    Specifies the client secret for authenticating a Service Principal.
    clientId string
    Specifies the client ID for authenticating a Service Principal.
    tenantId string
    Specifies the tenant ID for authenticating a Service Principal.
    clientCertificateBase64 string
    Base64-encoded certificate used to authenticate a Service Principal .
    clientCertificatePassword string
    Specifies the password for the certificate used to authenticate a Service Principal .
    clientCertificateSendChain boolean
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    clientSecret string
    Specifies the client secret for authenticating a Service Principal.
    client_id str
    Specifies the client ID for authenticating a Service Principal.
    tenant_id str
    Specifies the tenant ID for authenticating a Service Principal.
    client_certificate_base64 str
    Base64-encoded certificate used to authenticate a Service Principal .
    client_certificate_password str
    Specifies the password for the certificate used to authenticate a Service Principal .
    client_certificate_send_chain bool
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    client_secret str
    Specifies the client secret for authenticating a Service Principal.
    clientId String
    Specifies the client ID for authenticating a Service Principal.
    tenantId String
    Specifies the tenant ID for authenticating a Service Principal.
    clientCertificateBase64 String
    Base64-encoded certificate used to authenticate a Service Principal .
    clientCertificatePassword String
    Specifies the password for the certificate used to authenticate a Service Principal .
    clientCertificateSendChain Boolean
    Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
    clientSecret String
    Specifies the client secret for authenticating a Service Principal.

    FluxConfigurationBucket, FluxConfigurationBucketArgs

    BucketName string
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    Url string
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    AccessKey string
    Specifies the plaintext access key used to securely access the S3 bucket.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    SecretKeyBase64 string
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    TlsEnabled bool
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    BucketName string
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    Url string
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    AccessKey string
    Specifies the plaintext access key used to securely access the S3 bucket.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    SecretKeyBase64 string
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    TlsEnabled bool
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucketName String
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url String
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    accessKey String
    Specifies the plaintext access key used to securely access the S3 bucket.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    secretKeyBase64 String
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    syncIntervalInSeconds Integer
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Integer
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tlsEnabled Boolean
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucketName string
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url string
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    accessKey string
    Specifies the plaintext access key used to securely access the S3 bucket.
    localAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    secretKeyBase64 string
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    syncIntervalInSeconds number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tlsEnabled boolean
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucket_name str
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url str
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    access_key str
    Specifies the plaintext access key used to securely access the S3 bucket.
    local_auth_reference str
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    secret_key_base64 str
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    sync_interval_in_seconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeout_in_seconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tls_enabled bool
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.
    bucketName String
    Specifies the bucket name to sync from the url endpoint for the flux configuration.
    url String
    Specifies the URL to sync for the flux configuration S3 bucket. It must start with http:// or https://.
    accessKey String
    Specifies the plaintext access key used to securely access the S3 bucket.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    secretKeyBase64 String
    Specifies the Base64-encoded secret key used to authenticate with the bucket source.
    syncIntervalInSeconds Number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    tlsEnabled Boolean
    Specify whether to communicate with a bucket using TLS is enabled. Defaults to true.

    FluxConfigurationGitRepository, FluxConfigurationGitRepositoryArgs

    ReferenceType string
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    ReferenceValue string
    Specifies the source reference value for the GitRepository object.
    Url string
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    HttpsCaCertBase64 string
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    HttpsKeyBase64 string
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    HttpsUser string
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    SshKnownHostsBase64 string
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    SshPrivateKeyBase64 string
    Specifies the Base64-encoded SSH private key in PEM format.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    ReferenceType string
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    ReferenceValue string
    Specifies the source reference value for the GitRepository object.
    Url string
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    HttpsCaCertBase64 string
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    HttpsKeyBase64 string
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    HttpsUser string
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    LocalAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    SshKnownHostsBase64 string
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    SshPrivateKeyBase64 string
    Specifies the Base64-encoded SSH private key in PEM format.
    SyncIntervalInSeconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    TimeoutInSeconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    referenceType String
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    referenceValue String
    Specifies the source reference value for the GitRepository object.
    url String
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    httpsCaCertBase64 String
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    httpsKeyBase64 String
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    httpsUser String
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    sshKnownHostsBase64 String
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    sshPrivateKeyBase64 String
    Specifies the Base64-encoded SSH private key in PEM format.
    syncIntervalInSeconds Integer
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Integer
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    referenceType string
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    referenceValue string
    Specifies the source reference value for the GitRepository object.
    url string
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    httpsCaCertBase64 string
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    httpsKeyBase64 string
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    httpsUser string
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    localAuthReference string
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    sshKnownHostsBase64 string
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    sshPrivateKeyBase64 string
    Specifies the Base64-encoded SSH private key in PEM format.
    syncIntervalInSeconds number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    reference_type str
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    reference_value str
    Specifies the source reference value for the GitRepository object.
    url str
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    https_ca_cert_base64 str
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    https_key_base64 str
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    https_user str
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    local_auth_reference str
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    ssh_known_hosts_base64 str
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    ssh_private_key_base64 str
    Specifies the Base64-encoded SSH private key in PEM format.
    sync_interval_in_seconds int
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeout_in_seconds int
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.
    referenceType String
    Specifies the source reference type for the GitRepository object. Possible values are branch, commit, semver and tag.
    referenceValue String
    Specifies the source reference value for the GitRepository object.
    url String
    Specifies the URL to sync for the flux configuration git repository. It must start with http://, https://, git@ or ssh://.
    httpsCaCertBase64 String
    Specifies the Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS.
    httpsKeyBase64 String
    Specifies the Base64-encoded HTTPS personal access token or password that will be used to access the repository.
    httpsUser String
    Specifies the plaintext HTTPS username used to access private git repositories over HTTPS.
    localAuthReference String
    Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
    sshKnownHostsBase64 String
    Specifies the Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH.
    sshPrivateKeyBase64 String
    Specifies the Base64-encoded SSH private key in PEM format.
    syncIntervalInSeconds Number
    Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to 600.
    timeoutInSeconds Number
    Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to 600.

    FluxConfigurationKustomization, FluxConfigurationKustomizationArgs

    Name string
    Specifies the name of the kustomization.
    DependsOns List<string>
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    GarbageCollectionEnabled bool
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    Path string
    Specifies the path in the source reference to reconcile on the cluster.
    RecreatingEnabled bool
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    RetryIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    SyncIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    TimeoutInSeconds int
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    Name string
    Specifies the name of the kustomization.
    DependsOns []string
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    GarbageCollectionEnabled bool
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    Path string
    Specifies the path in the source reference to reconcile on the cluster.
    RecreatingEnabled bool
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    RetryIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    SyncIntervalInSeconds int
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    TimeoutInSeconds int
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name String
    Specifies the name of the kustomization.
    dependsOns List<String>
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbageCollectionEnabled Boolean
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path String
    Specifies the path in the source reference to reconcile on the cluster.
    recreatingEnabled Boolean
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retryIntervalInSeconds Integer
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    syncIntervalInSeconds Integer
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeoutInSeconds Integer
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name string
    Specifies the name of the kustomization.
    dependsOns string[]
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbageCollectionEnabled boolean
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path string
    Specifies the path in the source reference to reconcile on the cluster.
    recreatingEnabled boolean
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retryIntervalInSeconds number
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    syncIntervalInSeconds number
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeoutInSeconds number
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name str
    Specifies the name of the kustomization.
    depends_ons Sequence[str]
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbage_collection_enabled bool
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path str
    Specifies the path in the source reference to reconcile on the cluster.
    recreating_enabled bool
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retry_interval_in_seconds int
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    sync_interval_in_seconds int
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeout_in_seconds int
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.
    name String
    Specifies the name of the kustomization.
    dependsOns List<String>
    Specifies other kustomizations that this kustomization depends on. This kustomization will not reconcile until all dependencies have completed their reconciliation.
    garbageCollectionEnabled Boolean
    Whether garbage collections of Kubernetes objects created by this kustomization is enabled. Defaults to false.
    path String
    Specifies the path in the source reference to reconcile on the cluster.
    recreatingEnabled Boolean
    Whether re-creating Kubernetes resources on the cluster is enabled when patching fails due to an immutable field change. Defaults to false.
    retryIntervalInSeconds Number
    The interval at which to re-reconcile the kustomization on the cluster in the event of failure on reconciliation. Defaults to 600.
    syncIntervalInSeconds Number
    The interval at which to re-reconcile the kustomization on the cluster. Defaults to 600.
    timeoutInSeconds Number
    The maximum time to attempt to reconcile the kustomization on the cluster. Defaults to 600.

    Import

    Kubernetes Flux Configuration can be imported using the resource id for different cluster_resource_name, e.g.

    $ pulumi import azure:containerservice/fluxConfiguration:FluxConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1/providers/Microsoft.KubernetesConfiguration/fluxConfigurations/fluxConfiguration1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi