import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Uses this data source to access information about an existing Virtual Hub Route Table. * * ## Virtual Hub Route Table Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getVirtualHubRouteTable({ * name: "example-hub-route-table", * resourceGroupName: "example-resources", * virtualHubName: "example-hub-name", * }); * export const virtualHubRouteTableId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getVirtualHubRouteTable(args: GetVirtualHubRouteTableArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVirtualHubRouteTable. */ export interface GetVirtualHubRouteTableArgs { /** * The name of the Virtual Hub Route Table. */ name: string; /** * The Name of the Resource Group where the Virtual Hub Route Table exists. */ resourceGroupName: string; /** * The name which should be used for Virtual Hub Route Table. */ virtualHubName: string; } /** * A collection of values returned by getVirtualHubRouteTable. */ export interface GetVirtualHubRouteTableResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of labels associated with this route table. */ readonly labels: string[]; /** * The name which is used for this route. */ readonly name: string; readonly resourceGroupName: string; /** * A `route` block as defined below. */ readonly routes: outputs.network.GetVirtualHubRouteTableRoute[]; /** * The ID of the Virtual Hub within which this route table is created */ readonly virtualHubId: string; readonly virtualHubName: string; } /** * Uses this data source to access information about an existing Virtual Hub Route Table. * * ## Virtual Hub Route Table Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.network.getVirtualHubRouteTable({ * name: "example-hub-route-table", * resourceGroupName: "example-resources", * virtualHubName: "example-hub-name", * }); * export const virtualHubRouteTableId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getVirtualHubRouteTableOutput(args: GetVirtualHubRouteTableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVirtualHubRouteTable. */ export interface GetVirtualHubRouteTableOutputArgs { /** * The name of the Virtual Hub Route Table. */ name: pulumi.Input; /** * The Name of the Resource Group where the Virtual Hub Route Table exists. */ resourceGroupName: pulumi.Input; /** * The name which should be used for Virtual Hub Route Table. */ virtualHubName: pulumi.Input; }