import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Custom Location within an Extended Location. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.extendedlocation.getCustomLocation({ * name: exampleAzurermExtendedLocationCustomLocation.name, * resourceGroupName: exampleAzurermResourceGroup.name, * }); * export const customLocationId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ExtendedLocation` - 2021-08-15 */ export declare function getCustomLocation(args: GetCustomLocationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCustomLocation. */ export interface GetCustomLocationArgs { /** * The name of the Custom Location. */ name: string; /** * The name of the Resource Group where the Custom Location exists. */ resourceGroupName: string; } /** * A collection of values returned by getCustomLocation. */ export interface GetCustomLocationResult { /** * An `authentication` block as defined below. */ readonly authentications: outputs.extendedlocation.GetCustomLocationAuthentication[]; /** * The list of Cluster Extension IDs. */ readonly clusterExtensionIds: string[]; /** * The display name of the Custom Location. */ readonly displayName: string; /** * The host resource ID. */ readonly hostResourceId: string; /** * The host type of the Custom Location. */ readonly hostType: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure location where the Custom Location exists. */ readonly location: string; readonly name: string; /** * The namespace of the Custom Location. */ readonly namespace: string; readonly resourceGroupName: string; } /** * Use this data source to access information about an existing Custom Location within an Extended Location. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.extendedlocation.getCustomLocation({ * name: exampleAzurermExtendedLocationCustomLocation.name, * resourceGroupName: exampleAzurermResourceGroup.name, * }); * export const customLocationId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ExtendedLocation` - 2021-08-15 */ export declare function getCustomLocationOutput(args: GetCustomLocationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCustomLocation. */ export interface GetCustomLocationOutputArgs { /** * The name of the Custom Location. */ name: pulumi.Input; /** * The name of the Resource Group where the Custom Location exists. */ resourceGroupName: pulumi.Input; }