UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

130 lines (129 loc) 3.75 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of private zone resolver rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.private_zone.getResolverRules({}); * ``` */ export declare function getResolverRules(args?: GetResolverRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverRulesResult>; /** * A collection of arguments for invoking getResolverRules. */ export interface GetResolverRulesArgs { /** * ID of the exit terminal node. */ endpointId?: number; /** * The name of the rule. */ name?: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The project name of the private zone resolver rule. */ projectName?: string; /** * List of tag filters. */ tagFilters?: inputs.private_zone.GetResolverRulesTagFilter[]; /** * The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded. */ zoneName?: string; } /** * A collection of values returned by getResolverRules. */ export interface GetResolverRulesResult { /** * The endpoint ID of the rule. */ readonly endpointId?: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the rule. */ readonly name?: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The project name of the rule. */ readonly projectName?: string; /** * The collection of query. */ readonly rules: outputs.private_zone.GetResolverRulesRule[]; readonly tagFilters?: outputs.private_zone.GetResolverRulesTagFilter[]; /** * The total count of query. */ readonly totalCount: number; /** * The zone name of the rule. */ readonly zoneName?: string; } /** * Use this data source to query detailed information of private zone resolver rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.private_zone.getResolverRules({}); * ``` */ export declare function getResolverRulesOutput(args?: GetResolverRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResolverRulesResult>; /** * A collection of arguments for invoking getResolverRules. */ export interface GetResolverRulesOutputArgs { /** * ID of the exit terminal node. */ endpointId?: pulumi.Input<number>; /** * The name of the rule. */ name?: pulumi.Input<string>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The project name of the private zone resolver rule. */ projectName?: pulumi.Input<string>; /** * List of tag filters. */ tagFilters?: pulumi.Input<pulumi.Input<inputs.private_zone.GetResolverRulesTagFilterArgs>[]>; /** * The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded. */ zoneName?: pulumi.Input<string>; }