import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Forwarding rule details * * ## Import * * ```sh * $ pulumi import volcenginecc:privatezone/resolverRule:ResolverRule example "rule_id" * ``` */ export declare class ResolverRule extends pulumi.CustomResource { /** * Get an existing ResolverRule 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?: ResolverRuleState, opts?: pulumi.CustomResourceOptions): ResolverRule; /** * Returns true if the given object is an instance of ResolverRule. 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 ResolverRule; /** * Creation time of the forwarding rule */ readonly createdTime: pulumi.Output; /** * Whether the forwarding rule is enabled. true: enabled. false: disabled */ readonly enable: pulumi.Output; /** * Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND */ readonly endpointId: pulumi.Output; readonly forwardIPs: pulumi.Output; /** * Account ID of the last update to the forwarding rule */ readonly lastOperator: pulumi.Output; /** * Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom */ readonly line: pulumi.Output; /** * Name of the forwarding rule. Supports UTF-8 format */ readonly name: pulumi.Output; /** * Project name associated with the forwarding rule. Default is default */ readonly projectName: pulumi.Output; /** * Forwarding rule ID */ readonly ruleId: pulumi.Output; readonly tags: pulumi.Output; /** * Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server */ readonly type: pulumi.Output; /** * Update time of the forwarding rule */ readonly updatedTime: pulumi.Output; readonly vpCs: pulumi.Output; /** * Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC */ readonly zoneName: pulumi.Output; /** * Create a ResolverRule 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: ResolverRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResolverRule resources. */ export interface ResolverRuleState { /** * Creation time of the forwarding rule */ createdTime?: pulumi.Input; /** * Whether the forwarding rule is enabled. true: enabled. false: disabled */ enable?: pulumi.Input; /** * Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND */ endpointId?: pulumi.Input; forwardIPs?: pulumi.Input[]>; /** * Account ID of the last update to the forwarding rule */ lastOperator?: pulumi.Input; /** * Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom */ line?: pulumi.Input; /** * Name of the forwarding rule. Supports UTF-8 format */ name?: pulumi.Input; /** * Project name associated with the forwarding rule. Default is default */ projectName?: pulumi.Input; /** * Forwarding rule ID */ ruleId?: pulumi.Input; tags?: pulumi.Input[]>; /** * Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server */ type?: pulumi.Input; /** * Update time of the forwarding rule */ updatedTime?: pulumi.Input; vpCs?: pulumi.Input[]>; /** * Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC */ zoneName?: pulumi.Input; } /** * The set of arguments for constructing a ResolverRule resource. */ export interface ResolverRuleArgs { /** * Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND */ endpointId?: pulumi.Input; forwardIPs?: pulumi.Input[]>; /** * Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom */ line?: pulumi.Input; /** * Name of the forwarding rule. Supports UTF-8 format */ name: pulumi.Input; /** * Project name associated with the forwarding rule. Default is default */ projectName?: pulumi.Input; tags?: pulumi.Input[]>; /** * Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server */ type: pulumi.Input; vpCs?: pulumi.Input[]>; /** * Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC */ zoneName?: pulumi.Input; }