UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

111 lines (110 loc) 3.08 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of private zone record sets * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.private_zone.getRecordSets({ * zid: 2450000, * }); * ``` */ /** @deprecated volcengine.private_zone.RecordSets has been deprecated in favor of volcengine.private_zone.getRecordSets */ export declare function recordSets(args: RecordSetsArgs, opts?: pulumi.InvokeOptions): Promise<RecordSetsResult>; /** * A collection of arguments for invoking RecordSets. */ export interface RecordSetsArgs { /** * The host of Private Zone Record Set. */ host?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The id of Private Zone Record Set. */ recordSetId?: string; /** * The search mode of query `host`. Valid values: `LIKE`, `EXACT`. Default is `LIKE`. */ searchMode?: string; /** * The zid of Private Zone. */ zid: number; } /** * A collection of values returned by RecordSets. */ export interface RecordSetsResult { /** * The host of the private zone record. */ readonly host?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The id of the private zone record set. */ readonly recordSetId?: string; /** * The collection of query. */ readonly recordSets: outputs.private_zone.RecordSetsRecordSet[]; readonly searchMode?: string; /** * The total count of query. */ readonly totalCount: number; readonly zid: number; } /** * Use this data source to query detailed information of private zone record sets * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.private_zone.getRecordSets({ * zid: 2450000, * }); * ``` */ /** @deprecated volcengine.private_zone.RecordSets has been deprecated in favor of volcengine.private_zone.getRecordSets */ export declare function recordSetsOutput(args: RecordSetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RecordSetsResult>; /** * A collection of arguments for invoking RecordSets. */ export interface RecordSetsOutputArgs { /** * The host of Private Zone Record Set. */ host?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The id of Private Zone Record Set. */ recordSetId?: pulumi.Input<string>; /** * The search mode of query `host`. Valid values: `LIKE`, `EXACT`. Default is `LIKE`. */ searchMode?: pulumi.Input<string>; /** * The zid of Private Zone. */ zid: pulumi.Input<number>; }