import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Drg Route Tables in Oracle Cloud Infrastructure Core service. * * Lists the DRG route tables for the specified DRG. * * Use the `ListDrgRouteRules` operation to retrieve the route rules in a table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDrgRouteTables = oci.core.getDrgRouteTables({ * drgId: testDrg.id, * displayName: drgRouteTableDisplayName, * importDrgRouteDistributionId: testDrgRouteDistribution.id, * state: drgRouteTableState, * }); * ``` */ export declare function getDrgRouteTables(args: GetDrgRouteTablesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDrgRouteTables. */ export interface GetDrgRouteTablesArgs { /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ drgId: string; filters?: inputs.Core.GetDrgRouteTablesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution. */ importDrgRouteDistributionId?: string; /** * A filter that only returns matches for the specified lifecycle state. The value is case insensitive. */ state?: string; } /** * A collection of values returned by getDrgRouteTables. */ export interface GetDrgRouteTablesResult { /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG that contains this route table. */ readonly drgId: string; /** * The list of drg_route_tables. */ readonly drgRouteTables: outputs.Core.GetDrgRouteTablesDrgRouteTable[]; readonly filters?: outputs.Core.GetDrgRouteTablesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements from referenced attachments are inserted into the DRG route table. */ readonly importDrgRouteDistributionId?: string; /** * The DRG route table's current state. */ readonly state?: string; } /** * This data source provides the list of Drg Route Tables in Oracle Cloud Infrastructure Core service. * * Lists the DRG route tables for the specified DRG. * * Use the `ListDrgRouteRules` operation to retrieve the route rules in a table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDrgRouteTables = oci.core.getDrgRouteTables({ * drgId: testDrg.id, * displayName: drgRouteTableDisplayName, * importDrgRouteDistributionId: testDrgRouteDistribution.id, * state: drgRouteTableState, * }); * ``` */ export declare function getDrgRouteTablesOutput(args: GetDrgRouteTablesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDrgRouteTables. */ export interface GetDrgRouteTablesOutputArgs { /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ drgId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution. */ importDrgRouteDistributionId?: pulumi.Input; /** * A filter that only returns matches for the specified lifecycle state. The value is case insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getDrgRouteTables.d.ts.map