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 Distributions in Oracle Cloud Infrastructure Core service. * * Lists the route distributions in the specified DRG. * * To retrieve the statements in a distribution, use the * ListDrgRouteDistributionStatements operation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDrgRouteDistributions = oci.core.getDrgRouteDistributions({ * drgId: testDrg.id, * displayName: drgRouteDistributionDisplayName, * state: drgRouteDistributionState, * }); * ``` */ export declare function getDrgRouteDistributions(args: GetDrgRouteDistributionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDrgRouteDistributions. */ export interface GetDrgRouteDistributionsArgs { /** * 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.GetDrgRouteDistributionsFilter[]; /** * A filter that only returns resources that match the specified lifecycle state. The value is case insensitive. */ state?: string; } /** * A collection of values returned by getDrgRouteDistributions. */ export interface GetDrgRouteDistributionsResult { /** * 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 that contains this route distribution. */ readonly drgId: string; /** * The list of drg_route_distributions. */ readonly drgRouteDistributions: outputs.Core.GetDrgRouteDistributionsDrgRouteDistribution[]; readonly filters?: outputs.Core.GetDrgRouteDistributionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The route distribution's current state. */ readonly state?: string; } /** * This data source provides the list of Drg Route Distributions in Oracle Cloud Infrastructure Core service. * * Lists the route distributions in the specified DRG. * * To retrieve the statements in a distribution, use the * ListDrgRouteDistributionStatements operation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDrgRouteDistributions = oci.core.getDrgRouteDistributions({ * drgId: testDrg.id, * displayName: drgRouteDistributionDisplayName, * state: drgRouteDistributionState, * }); * ``` */ export declare function getDrgRouteDistributionsOutput(args: GetDrgRouteDistributionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDrgRouteDistributions. */ export interface GetDrgRouteDistributionsOutputArgs { /** * 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>; /** * A filter that only returns resources that match the specified lifecycle state. The value is case insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getDrgRouteDistributions.d.ts.map