import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class DomainRoute extends pulumi.CustomResource { /** * Get an existing DomainRoute 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?: DomainRouteState, opts?: pulumi.CustomResourceOptions): DomainRoute; /** * Returns true if the given object is an instance of DomainRoute. 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 DomainRoute; /** * The self link of the domain to add the route to. */ readonly domainLink: pulumi.Output; /** * The port the route corresponds to. Default: 443 */ readonly domainPort: pulumi.Output; /** * Modify the headers for all http requests for this route. */ readonly headers: pulumi.Output; /** * This option allows forwarding traffic for different host headers to different workloads. This will only be used when the target GVC has dedicated load balancing enabled and the Domain is configured for wildcard support. Please contact us on Slack or at support@controlplane.com for additional details. */ readonly hostPrefix: pulumi.Output; /** * A regex to match the host header. This will only be used when the target GVC has dedicated load balancing enabled and the Domain is configure for wildcard support. Contact your account manager for details. */ readonly hostRegex: pulumi.Output; /** * Mirror the traffic to the specified workload(s). Only works for workloads running in the same location as the primary workload(s). */ readonly mirrors: pulumi.Output; /** * For the linked workload, the port to route traffic to. */ readonly port: pulumi.Output; /** * The path will match any unmatched path prefixes for the subdomain. */ readonly prefix: pulumi.Output; /** * Used to match URI paths. Uses the google re2 regex syntax. */ readonly regex: pulumi.Output; /** * A path prefix can be configured to be replaced when forwarding the request to the Workload. */ readonly replacePrefix: pulumi.Output; /** * The replica number of a stateful workload to route to. If not provided, traffic will be routed to all replicas. */ readonly replica: pulumi.Output; /** * The link of the workload to map the prefix to. */ readonly workloadLink: pulumi.Output; /** * Create a DomainRoute 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: DomainRouteArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DomainRoute resources. */ export interface DomainRouteState { /** * The self link of the domain to add the route to. */ domainLink?: pulumi.Input; /** * The port the route corresponds to. Default: 443 */ domainPort?: pulumi.Input; /** * Modify the headers for all http requests for this route. */ headers?: pulumi.Input; /** * This option allows forwarding traffic for different host headers to different workloads. This will only be used when the target GVC has dedicated load balancing enabled and the Domain is configured for wildcard support. Please contact us on Slack or at support@controlplane.com for additional details. */ hostPrefix?: pulumi.Input; /** * A regex to match the host header. This will only be used when the target GVC has dedicated load balancing enabled and the Domain is configure for wildcard support. Contact your account manager for details. */ hostRegex?: pulumi.Input; /** * Mirror the traffic to the specified workload(s). Only works for workloads running in the same location as the primary workload(s). */ mirrors?: pulumi.Input[]>; /** * For the linked workload, the port to route traffic to. */ port?: pulumi.Input; /** * The path will match any unmatched path prefixes for the subdomain. */ prefix?: pulumi.Input; /** * Used to match URI paths. Uses the google re2 regex syntax. */ regex?: pulumi.Input; /** * A path prefix can be configured to be replaced when forwarding the request to the Workload. */ replacePrefix?: pulumi.Input; /** * The replica number of a stateful workload to route to. If not provided, traffic will be routed to all replicas. */ replica?: pulumi.Input; /** * The link of the workload to map the prefix to. */ workloadLink?: pulumi.Input; } /** * The set of arguments for constructing a DomainRoute resource. */ export interface DomainRouteArgs { /** * The self link of the domain to add the route to. */ domainLink: pulumi.Input; /** * The port the route corresponds to. Default: 443 */ domainPort?: pulumi.Input; /** * Modify the headers for all http requests for this route. */ headers?: pulumi.Input; /** * This option allows forwarding traffic for different host headers to different workloads. This will only be used when the target GVC has dedicated load balancing enabled and the Domain is configured for wildcard support. Please contact us on Slack or at support@controlplane.com for additional details. */ hostPrefix?: pulumi.Input; /** * A regex to match the host header. This will only be used when the target GVC has dedicated load balancing enabled and the Domain is configure for wildcard support. Contact your account manager for details. */ hostRegex?: pulumi.Input; /** * Mirror the traffic to the specified workload(s). Only works for workloads running in the same location as the primary workload(s). */ mirrors?: pulumi.Input[]>; /** * For the linked workload, the port to route traffic to. */ port?: pulumi.Input; /** * The path will match any unmatched path prefixes for the subdomain. */ prefix?: pulumi.Input; /** * Used to match URI paths. Uses the google re2 regex syntax. */ regex?: pulumi.Input; /** * A path prefix can be configured to be replaced when forwarding the request to the Workload. */ replacePrefix?: pulumi.Input; /** * The replica number of a stateful workload to route to. If not provided, traffic will be routed to all replicas. */ replica?: pulumi.Input; /** * The link of the workload to map the prefix to. */ workloadLink: pulumi.Input; }