import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustNetworkHostnameRoute = new cloudflare.ZeroTrustNetworkHostnameRoute("example_zero_trust_network_hostname_route", { * accountId: "699d98642c564d2e855e9661899b7252", * comment: "example comment", * hostname: "office-1.local", * tunnelId: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zeroTrustNetworkHostnameRoute:ZeroTrustNetworkHostnameRoute example '/' * ``` */ export declare class ZeroTrustNetworkHostnameRoute extends pulumi.CustomResource { /** * Get an existing ZeroTrustNetworkHostnameRoute 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?: ZeroTrustNetworkHostnameRouteState, opts?: pulumi.CustomResourceOptions): ZeroTrustNetworkHostnameRoute; /** * Returns true if the given object is an instance of ZeroTrustNetworkHostnameRoute. 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 ZeroTrustNetworkHostnameRoute; /** * Cloudflare account ID */ readonly accountId: pulumi.Output; /** * An optional description of the hostname route. */ readonly comment: pulumi.Output; /** * Timestamp of when the resource was created. */ readonly createdAt: pulumi.Output; /** * Timestamp of when the resource was deleted. If `null`, the resource has not been deleted. */ readonly deletedAt: pulumi.Output; /** * The hostname of the route. */ readonly hostname: pulumi.Output; /** * UUID of the tunnel. */ readonly tunnelId: pulumi.Output; /** * A user-friendly name for a tunnel. */ readonly tunnelName: pulumi.Output; /** * Create a ZeroTrustNetworkHostnameRoute 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: ZeroTrustNetworkHostnameRouteArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZeroTrustNetworkHostnameRoute resources. */ export interface ZeroTrustNetworkHostnameRouteState { /** * Cloudflare account ID */ accountId?: pulumi.Input; /** * An optional description of the hostname route. */ comment?: pulumi.Input; /** * Timestamp of when the resource was created. */ createdAt?: pulumi.Input; /** * Timestamp of when the resource was deleted. If `null`, the resource has not been deleted. */ deletedAt?: pulumi.Input; /** * The hostname of the route. */ hostname?: pulumi.Input; /** * UUID of the tunnel. */ tunnelId?: pulumi.Input; /** * A user-friendly name for a tunnel. */ tunnelName?: pulumi.Input; } /** * The set of arguments for constructing a ZeroTrustNetworkHostnameRoute resource. */ export interface ZeroTrustNetworkHostnameRouteArgs { /** * Cloudflare account ID */ accountId: pulumi.Input; /** * An optional description of the hostname route. */ comment?: pulumi.Input; /** * The hostname of the route. */ hostname?: pulumi.Input; /** * UUID of the tunnel. */ tunnelId?: pulumi.Input; }