import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Custom Location within an Extended Location. * * > **Note:** Installing and configuring the Azure Arc Agent on your Kubernetes Cluster to establish connectivity is outside the scope of this document. For more details refer to [Deploy agents to your cluster](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/conceptual-agent-overview#deploy-agents-to-your-cluster) and [Connect an existing Kubernetes Cluster](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/quickstart-connect-cluster?tabs=azure-cli#connect-an-existing-kubernetes-cluster). If you encounter issues connecting your Kubernetes Cluster to Azure Arc, we'd recommend opening a ticket with Microsoft Support. * * ## Import * * Custom Locations can be imported using the resource id, e.g. * * ```sh * $ pulumi import azure:extendedlocation/customLocation:CustomLocation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location * ``` */ export declare class CustomLocation extends pulumi.CustomResource { /** * Get an existing CustomLocation 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?: CustomLocationState, opts?: pulumi.CustomResourceOptions): CustomLocation; /** * Returns true if the given object is an instance of CustomLocation. 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 CustomLocation; /** * An `authentication` block as defined below. */ readonly authentication: pulumi.Output; /** * Specifies the list of Cluster Extension IDs. */ readonly clusterExtensionIds: pulumi.Output; /** * Specifies the display name of the Custom Location. */ readonly displayName: pulumi.Output; /** * Specifies the host resource ID. Changing this forces a new resource to be created. */ readonly hostResourceId: pulumi.Output; /** * Specifies the host type of the Custom Location. The only possible values is `KubernetesCluster`. Changing this forces a new resource to be created. */ readonly hostType: pulumi.Output; /** * Specifies the Azure location where the Custom Location should exist. Changing this forces a new Custom Location to be created. */ readonly location: pulumi.Output; /** * Specifies the name which should be used for this Custom Location. Changing this forces a new Custom Location to be created. */ readonly name: pulumi.Output; /** * Specifies the namespace of the Custom Location. Changing this forces a new Custom Location to be created. */ readonly namespace: pulumi.Output; /** * Specifies the name of the Resource Group where the Custom Location should exist. Changing this forces a new Custom Location to be created. */ readonly resourceGroupName: pulumi.Output; /** * Create a CustomLocation 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: CustomLocationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomLocation resources. */ export interface CustomLocationState { /** * An `authentication` block as defined below. */ authentication?: pulumi.Input; /** * Specifies the list of Cluster Extension IDs. */ clusterExtensionIds?: pulumi.Input[]>; /** * Specifies the display name of the Custom Location. */ displayName?: pulumi.Input; /** * Specifies the host resource ID. Changing this forces a new resource to be created. */ hostResourceId?: pulumi.Input; /** * Specifies the host type of the Custom Location. The only possible values is `KubernetesCluster`. Changing this forces a new resource to be created. */ hostType?: pulumi.Input; /** * Specifies the Azure location where the Custom Location should exist. Changing this forces a new Custom Location to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Custom Location. Changing this forces a new Custom Location to be created. */ name?: pulumi.Input; /** * Specifies the namespace of the Custom Location. Changing this forces a new Custom Location to be created. */ namespace?: pulumi.Input; /** * Specifies the name of the Resource Group where the Custom Location should exist. Changing this forces a new Custom Location to be created. */ resourceGroupName?: pulumi.Input; } /** * The set of arguments for constructing a CustomLocation resource. */ export interface CustomLocationArgs { /** * An `authentication` block as defined below. */ authentication?: pulumi.Input; /** * Specifies the list of Cluster Extension IDs. */ clusterExtensionIds: pulumi.Input[]>; /** * Specifies the display name of the Custom Location. */ displayName?: pulumi.Input; /** * Specifies the host resource ID. Changing this forces a new resource to be created. */ hostResourceId: pulumi.Input; /** * Specifies the host type of the Custom Location. The only possible values is `KubernetesCluster`. Changing this forces a new resource to be created. */ hostType?: pulumi.Input; /** * Specifies the Azure location where the Custom Location should exist. Changing this forces a new Custom Location to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Custom Location. Changing this forces a new Custom Location to be created. */ name?: pulumi.Input; /** * Specifies the namespace of the Custom Location. Changing this forces a new Custom Location to be created. */ namespace: pulumi.Input; /** * Specifies the name of the Resource Group where the Custom Location should exist. Changing this forces a new Custom Location to be created. */ resourceGroupName: pulumi.Input; }