UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

205 lines (204 loc) 8.86 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The Flux Configuration object returned in Get & Put response. * * Uses Azure REST API version 2023-05-01. In version 2.x of the Azure Native provider, it used API version 2023-05-01. * * Other available API versions: 2022-07-01, 2022-11-01, 2024-04-01-preview, 2024-11-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native kubernetesconfiguration [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class FluxConfiguration extends pulumi.CustomResource { /** * Get an existing FluxConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): FluxConfiguration; /** * Returns true if the given object is an instance of FluxConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FluxConfiguration; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Parameters to reconcile to the AzureBlob source kind type. */ readonly azureBlob: pulumi.Output<outputs.kubernetesconfiguration.AzureBlobDefinitionResponse | undefined>; /** * Parameters to reconcile to the Bucket source kind type. */ readonly bucket: pulumi.Output<outputs.kubernetesconfiguration.BucketDefinitionResponse | undefined>; /** * Combined status of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects. */ readonly complianceState: pulumi.Output<string>; /** * Key-value pairs of protected configuration settings for the configuration */ readonly configurationProtectedSettings: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Error message returned to the user in the case of provisioning failure. */ readonly errorMessage: pulumi.Output<string>; /** * Parameters to reconcile to the GitRepository source kind type. */ readonly gitRepository: pulumi.Output<outputs.kubernetesconfiguration.GitRepositoryDefinitionResponse | undefined>; /** * Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. */ readonly kustomizations: pulumi.Output<{ [key: string]: outputs.kubernetesconfiguration.KustomizationDefinitionResponse; } | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only. */ readonly namespace: pulumi.Output<string | undefined>; /** * Status of the creation of the fluxConfiguration. */ readonly provisioningState: pulumi.Output<string>; /** * Maximum duration to wait for flux configuration reconciliation. E.g PT1H, PT5M, P1D */ readonly reconciliationWaitDuration: pulumi.Output<string | undefined>; /** * Public Key associated with this fluxConfiguration (either generated within the cluster or provided by the user). */ readonly repositoryPublicKey: pulumi.Output<string>; /** * Scope at which the operator will be installed. */ readonly scope: pulumi.Output<string | undefined>; /** * Source Kind to pull the configuration data from. */ readonly sourceKind: pulumi.Output<string | undefined>; /** * Branch and/or SHA of the source commit synced with the cluster. */ readonly sourceSyncedCommitId: pulumi.Output<string>; /** * Datetime the fluxConfiguration synced its source on the cluster. */ readonly sourceUpdatedAt: pulumi.Output<string>; /** * Datetime the fluxConfiguration synced its status on the cluster with Azure. */ readonly statusUpdatedAt: pulumi.Output<string>; /** * Statuses of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects provisioned by the fluxConfiguration. */ readonly statuses: pulumi.Output<outputs.kubernetesconfiguration.ObjectStatusDefinitionResponse[]>; /** * Whether this configuration should suspend its reconciliation of its kustomizations and sources. */ readonly suspend: pulumi.Output<boolean | undefined>; /** * 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 */ readonly systemData: pulumi.Output<outputs.kubernetesconfiguration.SystemDataResponse>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Whether flux configuration deployment should wait for cluster to reconcile the kustomizations. */ readonly waitForReconciliation: pulumi.Output<boolean | undefined>; /** * Create a FluxConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FluxConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a FluxConfiguration resource. */ export interface FluxConfigurationArgs { /** * Parameters to reconcile to the AzureBlob source kind type. */ azureBlob?: pulumi.Input<inputs.kubernetesconfiguration.AzureBlobDefinitionArgs>; /** * Parameters to reconcile to the Bucket source kind type. */ bucket?: pulumi.Input<inputs.kubernetesconfiguration.BucketDefinitionArgs>; /** * The name of the kubernetes cluster. */ clusterName: pulumi.Input<string>; /** * The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. */ clusterResourceName: pulumi.Input<string>; /** * The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. */ clusterRp: pulumi.Input<string>; /** * Key-value pairs of protected configuration settings for the configuration */ configurationProtectedSettings?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * Name of the Flux Configuration. */ fluxConfigurationName?: pulumi.Input<string>; /** * Parameters to reconcile to the GitRepository source kind type. */ gitRepository?: pulumi.Input<inputs.kubernetesconfiguration.GitRepositoryDefinitionArgs>; /** * Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. */ kustomizations?: pulumi.Input<{ [key: string]: pulumi.Input<inputs.kubernetesconfiguration.KustomizationDefinitionArgs>; }>; /** * The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only. */ namespace?: pulumi.Input<string>; /** * Maximum duration to wait for flux configuration reconciliation. E.g PT1H, PT5M, P1D */ reconciliationWaitDuration?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Scope at which the operator will be installed. */ scope?: pulumi.Input<string | enums.kubernetesconfiguration.ScopeType>; /** * Source Kind to pull the configuration data from. */ sourceKind?: pulumi.Input<string | enums.kubernetesconfiguration.SourceKindType>; /** * Whether this configuration should suspend its reconciliation of its kustomizations and sources. */ suspend?: pulumi.Input<boolean>; /** * Whether flux configuration deployment should wait for cluster to reconcile the kustomizations. */ waitForReconciliation?: pulumi.Input<boolean>; }