import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Route Table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getRouteTable({ * name: "myroutetable", * resourceGroupName: "some-resource-group", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getRouteTable(args: GetRouteTableArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRouteTable. */ export interface GetRouteTableArgs { /** * The name of the Route Table. */ name: string; /** * The name of the Resource Group in which the Route Table exists. */ resourceGroupName: string; } /** * A collection of values returned by getRouteTable. */ export interface GetRouteTableResult { /** * Boolean flag which controls propagation of routes learned by BGP on that route table. */ readonly bgpRoutePropagationEnabled: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure Region in which the Route Table exists. */ readonly location: string; /** * The name of the Route. */ readonly name: string; readonly resourceGroupName: string; /** * One or more `route` blocks as documented below. */ readonly routes: outputs.network.GetRouteTableRoute[]; /** * The collection of Subnets associated with this route table. */ readonly subnets: string[]; /** * A mapping of tags assigned to the Route Table. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Route Table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getRouteTable({ * name: "myroutetable", * resourceGroupName: "some-resource-group", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getRouteTableOutput(args: GetRouteTableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRouteTable. */ export interface GetRouteTableOutputArgs { /** * The name of the Route Table. */ name: pulumi.Input; /** * The name of the Resource Group in which the Route Table exists. */ resourceGroupName: pulumi.Input; }