import * as pulumi from "@pulumi/pulumi"; /** * Uses this data source to access information about an existing Managed API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.connections.getManagedApi({ * name: "servicebus", * location: "West Europe", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2016-06-01 */ export declare function getManagedApi(args: GetManagedApiArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedApi. */ export interface GetManagedApiArgs { /** * The Azure location for this Managed API. */ location: string; /** * Specifies the name of the Managed API. */ name: string; } /** * A collection of values returned by getManagedApi. */ export interface GetManagedApiResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly name: string; readonly tags: { [key: string]: string; }; } /** * Uses this data source to access information about an existing Managed API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.connections.getManagedApi({ * name: "servicebus", * location: "West Europe", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2016-06-01 */ export declare function getManagedApiOutput(args: GetManagedApiOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedApi. */ export interface GetManagedApiOutputArgs { /** * The Azure location for this Managed API. */ location: pulumi.Input; /** * Specifies the name of the Managed API. */ name: pulumi.Input; }