@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
109 lines (108 loc) • 2.87 kB
TypeScript
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,
* });
* ```
*/
export declare function getRecordSets(args: GetRecordSetsArgs, opts?: pulumi.InvokeOptions): Promise<GetRecordSetsResult>;
/**
* A collection of arguments for invoking getRecordSets.
*/
export interface GetRecordSetsArgs {
/**
* 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 getRecordSets.
*/
export interface GetRecordSetsResult {
/**
* 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.GetRecordSetsRecordSet[];
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,
* });
* ```
*/
export declare function getRecordSetsOutput(args: GetRecordSetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRecordSetsResult>;
/**
* A collection of arguments for invoking getRecordSets.
*/
export interface GetRecordSetsOutputArgs {
/**
* 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>;
}