@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
125 lines (124 loc) • 3.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of cfw address books
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cloud_firewall.getCfwAddressBooks({
* groupName: "acc-test",
* groupType: "ip",
* });
* ```
*/
/** @deprecated volcengine.cloud_firewall.CfwAddressBooks has been deprecated in favor of volcengine.cloud_firewall.getCfwAddressBooks */
export declare function cfwAddressBooks(args?: CfwAddressBooksArgs, opts?: pulumi.InvokeOptions): Promise<CfwAddressBooksResult>;
/**
* A collection of arguments for invoking CfwAddressBooks.
*/
export interface CfwAddressBooksArgs {
/**
* The group type of address book. This field support fuzzy query.
*/
address?: string;
/**
* The group type of address book. This field support fuzzy query.
*/
description?: string;
/**
* The group name of address book. This field support fuzzy query.
*/
groupName?: string;
/**
* The group type of address book. Valid values: `ip`, `port`, `domain`.
*/
groupType?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by CfwAddressBooks.
*/
export interface CfwAddressBooksResult {
readonly address?: string;
/**
* The collection of query.
*/
readonly addressBooks: outputs.cloud_firewall.CfwAddressBooksAddressBook[];
/**
* The description of the address book.
*/
readonly description?: string;
/**
* The name of the address book.
*/
readonly groupName?: string;
/**
* The type of the address book.
*/
readonly groupType?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of cfw address books
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cloud_firewall.getCfwAddressBooks({
* groupName: "acc-test",
* groupType: "ip",
* });
* ```
*/
/** @deprecated volcengine.cloud_firewall.CfwAddressBooks has been deprecated in favor of volcengine.cloud_firewall.getCfwAddressBooks */
export declare function cfwAddressBooksOutput(args?: CfwAddressBooksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CfwAddressBooksResult>;
/**
* A collection of arguments for invoking CfwAddressBooks.
*/
export interface CfwAddressBooksOutputArgs {
/**
* The group type of address book. This field support fuzzy query.
*/
address?: pulumi.Input<string>;
/**
* The group type of address book. This field support fuzzy query.
*/
description?: pulumi.Input<string>;
/**
* The group name of address book. This field support fuzzy query.
*/
groupName?: pulumi.Input<string>;
/**
* The group type of address book. Valid values: `ip`, `port`, `domain`.
*/
groupType?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}