@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
195 lines (194 loc) • 5.38 kB
TypeScript
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 zones
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.private_zone.getPrivateZones({
* lineMode: 3,
* recursionMode: true,
* searchMode: "EXACT",
* zid: 770000,
* zoneName: "volces.com",
* });
* ```
*/
/** @deprecated volcengine.private_zone.PrivateZones has been deprecated in favor of volcengine.private_zone.getPrivateZones */
export declare function privateZones(args?: PrivateZonesArgs, opts?: pulumi.InvokeOptions): Promise<PrivateZonesResult>;
/**
* A collection of arguments for invoking PrivateZones.
*/
export interface PrivateZonesArgs {
/**
* The keyword of zone name.
*/
keyWord?: string;
/**
* The line mode of Private Zone, specified whether the intelligent mode and the load balance function is enabled.
*/
lineMode?: number;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The project name of the private zone.
*/
projectName?: string;
/**
* Whether the recursion mode of Private Zone is enabled.
*/
recursionMode?: boolean;
/**
* The region of Private Zone.
*/
region?: string;
/**
* The search mode of query. Valid values: `LIKE`, `EXACT`. Default is `LIKE`.
*/
searchMode?: string;
/**
* List of tag filters.
*/
tagFilters?: inputs.private_zone.PrivateZonesTagFilter[];
/**
* The vpc id associated to Private Zone.
*/
vpcId?: string;
/**
* The zid of Private Zone.
*/
zid?: number;
/**
* The name of Private Zone.
*/
zoneName?: string;
}
/**
* A collection of values returned by PrivateZones.
*/
export interface PrivateZonesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly keyWord?: string;
/**
* The line mode of the private zone, specified whether the intelligent mode and the load balance function is enabled.
*/
readonly lineMode?: number;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The collection of query.
*/
readonly privateZones: outputs.private_zone.PrivateZonesPrivateZone[];
/**
* The project name of the private zone.
*/
readonly projectName?: string;
/**
* Whether the recursion mode of the private zone is enabled.
*/
readonly recursionMode?: boolean;
/**
* The region of the private zone.
*/
readonly region?: string;
readonly searchMode?: string;
readonly tagFilters?: outputs.private_zone.PrivateZonesTagFilter[];
/**
* The total count of query.
*/
readonly totalCount: number;
readonly vpcId?: string;
/**
* The id of the private zone.
*/
readonly zid?: number;
/**
* The id of the private zone.
*/
readonly zoneName?: string;
}
/**
* Use this data source to query detailed information of private zones
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.private_zone.getPrivateZones({
* lineMode: 3,
* recursionMode: true,
* searchMode: "EXACT",
* zid: 770000,
* zoneName: "volces.com",
* });
* ```
*/
/** @deprecated volcengine.private_zone.PrivateZones has been deprecated in favor of volcengine.private_zone.getPrivateZones */
export declare function privateZonesOutput(args?: PrivateZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PrivateZonesResult>;
/**
* A collection of arguments for invoking PrivateZones.
*/
export interface PrivateZonesOutputArgs {
/**
* The keyword of zone name.
*/
keyWord?: pulumi.Input<string>;
/**
* The line mode of Private Zone, specified whether the intelligent mode and the load balance function is enabled.
*/
lineMode?: pulumi.Input<number>;
/**
* 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.
*/
projectName?: pulumi.Input<string>;
/**
* Whether the recursion mode of Private Zone is enabled.
*/
recursionMode?: pulumi.Input<boolean>;
/**
* The region of Private Zone.
*/
region?: pulumi.Input<string>;
/**
* The search mode of query. Valid values: `LIKE`, `EXACT`. Default is `LIKE`.
*/
searchMode?: pulumi.Input<string>;
/**
* List of tag filters.
*/
tagFilters?: pulumi.Input<pulumi.Input<inputs.private_zone.PrivateZonesTagFilterArgs>[]>;
/**
* The vpc id associated to Private Zone.
*/
vpcId?: pulumi.Input<string>;
/**
* The zid of Private Zone.
*/
zid?: pulumi.Input<number>;
/**
* The name of Private Zone.
*/
zoneName?: pulumi.Input<string>;
}