import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access the ID of a specified Traffic Manager Geographical Location within the Geographical Hierarchy. * * ## Example Usage * * ### World) * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getTrafficManager({ * name: "World", * }); * export const locationCode = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2022-04-01 */ export declare function getTrafficManager(args: GetTrafficManagerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTrafficManager. */ export interface GetTrafficManagerArgs { /** * Specifies the name of the Location, for example `World`, `Europe` or `Germany`. */ name: string; } /** * A collection of values returned by getTrafficManager. */ export interface GetTrafficManagerResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; } /** * Use this data source to access the ID of a specified Traffic Manager Geographical Location within the Geographical Hierarchy. * * ## Example Usage * * ### World) * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getTrafficManager({ * name: "World", * }); * export const locationCode = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2022-04-01 */ export declare function getTrafficManagerOutput(args: GetTrafficManagerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTrafficManager. */ export interface GetTrafficManagerOutputArgs { /** * Specifies the name of the Location, for example `World`, `Europe` or `Germany`. */ name: pulumi.Input; }