import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Path Route Set resource in Oracle Cloud Infrastructure Load Balancer service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/loadbalancer/latest/PathRouteSet * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/load_balancer * * Adds a path route set to a load balancer. For more information, see * [Managing Request Routing](https://docs.cloud.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPathRouteSet = new oci.loadbalancer.PathRouteSet("test_path_route_set", { * loadBalancerId: testLoadBalancer.id, * name: pathRouteSetName, * pathRoutes: [{ * backendSetName: testBackendSet.name, * path: pathRouteSetPathRoutesPath, * pathMatchType: { * matchType: pathRouteSetPathRoutesPathMatchTypeMatchType, * }, * }], * }); * ``` * * ## Import * * PathRouteSets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:LoadBalancer/pathRouteSet:PathRouteSet test_path_route_set "loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}" * ``` */ export declare class PathRouteSet extends pulumi.CustomResource { /** * Get an existing PathRouteSet resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PathRouteSetState, opts?: pulumi.CustomResourceOptions): PathRouteSet; /** * Returns true if the given object is an instance of PathRouteSet. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PathRouteSet; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to add the path route set to. */ readonly loadBalancerId: pulumi.Output; /** * The name for this set of path route rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `examplePathRouteSet` */ readonly name: pulumi.Output; /** * (Updatable) The set of path route rules. */ readonly pathRoutes: pulumi.Output; readonly state: pulumi.Output; /** * Create a PathRouteSet resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PathRouteSetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PathRouteSet resources. */ export interface PathRouteSetState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to add the path route set to. */ loadBalancerId?: pulumi.Input; /** * The name for this set of path route rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `examplePathRouteSet` */ name?: pulumi.Input; /** * (Updatable) The set of path route rules. */ pathRoutes?: pulumi.Input[] | undefined>; state?: pulumi.Input; } /** * The set of arguments for constructing a PathRouteSet resource. */ export interface PathRouteSetArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to add the path route set to. */ loadBalancerId: pulumi.Input; /** * The name for this set of path route rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `examplePathRouteSet` */ name?: pulumi.Input; /** * (Updatable) The set of path route rules. */ pathRoutes: pulumi.Input[]>; } //# sourceMappingURL=pathRouteSet.d.ts.map