import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Arc Kubernetes Provisioned Cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * import * as azuread from "@pulumi/azuread"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const current = azure.core.getClientConfig({}); * const exampleGroup = new azuread.Group("example", { * displayName: "example-adg", * owners: [current.then(current => current.objectId)], * securityEnabled: true, * }); * const exampleProvisionedCluster = new azure.arckubernetes.ProvisionedCluster("example", { * name: "example-akpc", * resourceGroupName: example.name, * location: example.location, * azureActiveDirectory: { * azureRbacEnabled: true, * adminGroupObjectIds: [exampleGroup.id], * tenantId: current.then(current => current.tenantId), * }, * identity: { * type: "SystemAssigned", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Kubernetes` - 2024-01-01 * * ## Import * * Arc Kubernetes Provisioned Clusters can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:arckubernetes/provisionedCluster:ProvisionedCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/cluster1 * ``` */ export declare class ProvisionedCluster extends pulumi.CustomResource { /** * Get an existing ProvisionedCluster 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ProvisionedClusterState, opts?: pulumi.CustomResourceOptions): ProvisionedCluster; /** * Returns true if the given object is an instance of ProvisionedCluster. 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 ProvisionedCluster; /** * The version of the agent running on the cluster resource. */ readonly agentVersion: pulumi.Output; /** * Whether the Arc agents will be upgraded automatically to the latest version. Defaults to `true`. */ readonly arcAgentAutoUpgradeEnabled: pulumi.Output; /** * The version of the Arc agents to be installed on the cluster. */ readonly arcAgentDesiredVersion: pulumi.Output; /** * An `azureActiveDirectory` block as defined below. */ readonly azureActiveDirectory: pulumi.Output; /** * The distribution running on this Arc Kubernetes Provisioned Cluster. */ readonly distribution: pulumi.Output; /** * An `identity` block as defined below. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ readonly identity: pulumi.Output; /** * The infrastructure on which the Arc Kubernetes Provisioned Cluster is running on. */ readonly infrastructure: pulumi.Output; /** * The Kubernetes version of the cluster resource. */ readonly kubernetesVersion: pulumi.Output; /** * The Azure Region where the Arc Kubernetes Provisioned Cluster should exist. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Arc Kubernetes Provisioned Cluster. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ readonly name: pulumi.Output; /** * The cluster offering. */ readonly offering: pulumi.Output; /** * The name of the Resource Group where the Arc Kubernetes Provisioned Cluster should exist. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Arc Kubernetes Provisioned Cluster. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The number of CPU cores present in the cluster resource. */ readonly totalCoreCount: pulumi.Output; /** * The number of nodes present in the cluster resource. */ readonly totalNodeCount: pulumi.Output; /** * Create a ProvisionedCluster 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: ProvisionedClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProvisionedCluster resources. */ export interface ProvisionedClusterState { /** * The version of the agent running on the cluster resource. */ agentVersion?: pulumi.Input; /** * Whether the Arc agents will be upgraded automatically to the latest version. Defaults to `true`. */ arcAgentAutoUpgradeEnabled?: pulumi.Input; /** * The version of the Arc agents to be installed on the cluster. */ arcAgentDesiredVersion?: pulumi.Input; /** * An `azureActiveDirectory` block as defined below. */ azureActiveDirectory?: pulumi.Input; /** * The distribution running on this Arc Kubernetes Provisioned Cluster. */ distribution?: pulumi.Input; /** * An `identity` block as defined below. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ identity?: pulumi.Input; /** * The infrastructure on which the Arc Kubernetes Provisioned Cluster is running on. */ infrastructure?: pulumi.Input; /** * The Kubernetes version of the cluster resource. */ kubernetesVersion?: pulumi.Input; /** * The Azure Region where the Arc Kubernetes Provisioned Cluster should exist. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ location?: pulumi.Input; /** * The name which should be used for this Arc Kubernetes Provisioned Cluster. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ name?: pulumi.Input; /** * The cluster offering. */ offering?: pulumi.Input; /** * The name of the Resource Group where the Arc Kubernetes Provisioned Cluster should exist. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Arc Kubernetes Provisioned Cluster. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The number of CPU cores present in the cluster resource. */ totalCoreCount?: pulumi.Input; /** * The number of nodes present in the cluster resource. */ totalNodeCount?: pulumi.Input; } /** * The set of arguments for constructing a ProvisionedCluster resource. */ export interface ProvisionedClusterArgs { /** * Whether the Arc agents will be upgraded automatically to the latest version. Defaults to `true`. */ arcAgentAutoUpgradeEnabled?: pulumi.Input; /** * The version of the Arc agents to be installed on the cluster. */ arcAgentDesiredVersion?: pulumi.Input; /** * An `azureActiveDirectory` block as defined below. */ azureActiveDirectory?: pulumi.Input; /** * An `identity` block as defined below. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ identity: pulumi.Input; /** * The Azure Region where the Arc Kubernetes Provisioned Cluster should exist. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ location?: pulumi.Input; /** * The name which should be used for this Arc Kubernetes Provisioned Cluster. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Arc Kubernetes Provisioned Cluster should exist. Changing this forces a new Arc Kubernetes Provisioned Cluster to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Arc Kubernetes Provisioned Cluster. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }