import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing API Management Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getService({ * name: "example-apim", * resourceGroupName: "example-rg", * }); * const exampleGetGateway = example.then(example => azure.apimanagement.getGateway({ * name: "example-api-gateway", * apiManagementId: example.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 */ export declare function getGateway(args: GetGatewayArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGateway. */ export interface GetGatewayArgs { /** * The ID of the API Management Service in which the Gateway exists. */ apiManagementId: string; /** * The name of the API Management Gateway. */ name: string; } /** * A collection of values returned by getGateway. */ export interface GetGatewayResult { readonly apiManagementId: string; /** * The description of the API Management Gateway. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `locationData` block as documented below. */ readonly locationDatas: outputs.apimanagement.GetGatewayLocationData[]; /** * A canonical name for the geographic or physical location. */ readonly name: string; } /** * Use this data source to access information about an existing API Management Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getService({ * name: "example-apim", * resourceGroupName: "example-rg", * }); * const exampleGetGateway = example.then(example => azure.apimanagement.getGateway({ * name: "example-api-gateway", * apiManagementId: example.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 */ export declare function getGatewayOutput(args: GetGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGateway. */ export interface GetGatewayOutputArgs { /** * The ID of the API Management Service in which the Gateway exists. */ apiManagementId: pulumi.Input; /** * The name of the API Management Gateway. */ name: pulumi.Input; }