@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
86 lines (85 loc) • 2.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to get a list of WAF dedicated instances.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const config = new pulumi.Config();
* const instanceName = config.requireObject("instanceName");
* const test = huaweicloud.Waf.getDedicatedInstances({
* name: instanceName,
* });
* ```
*/
export declare function getDedicatedInstances(args?: GetDedicatedInstancesArgs, opts?: pulumi.InvokeOptions): Promise<GetDedicatedInstancesResult>;
/**
* A collection of arguments for invoking getDedicatedInstances.
*/
export interface GetDedicatedInstancesArgs {
/**
* Specifies the enterprise project ID of WAF dedicated instance.
* For enterprise users, if omitted, default enterprise project will be used.
*/
enterpriseProjectId?: string;
/**
* Specifies the ID of WAF dedicated instance.
*/
id?: string;
/**
* Specifies the name of WAF dedicated instance.
*/
name?: string;
/**
* Specifies the region in which to query the WAF dedicated instance.
* If omitted, the provider-level region will be used.
*/
region?: string;
}
/**
* A collection of values returned by getDedicatedInstances.
*/
export interface GetDedicatedInstancesResult {
readonly enterpriseProjectId?: string;
/**
* The ID of WAF dedicated instance.
*/
readonly id: string;
/**
* The WAF dedicated instances list.
*/
readonly instances: outputs.Waf.GetDedicatedInstancesInstance[];
/**
* The name of WAF dedicated instance.
*/
readonly name?: string;
readonly region: string;
}
export declare function getDedicatedInstancesOutput(args?: GetDedicatedInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDedicatedInstancesResult>;
/**
* A collection of arguments for invoking getDedicatedInstances.
*/
export interface GetDedicatedInstancesOutputArgs {
/**
* Specifies the enterprise project ID of WAF dedicated instance.
* For enterprise users, if omitted, default enterprise project will be used.
*/
enterpriseProjectId?: pulumi.Input<string>;
/**
* Specifies the ID of WAF dedicated instance.
*/
id?: pulumi.Input<string>;
/**
* Specifies the name of WAF dedicated instance.
*/
name?: pulumi.Input<string>;
/**
* Specifies the region in which to query the WAF dedicated instance.
* If omitted, the provider-level region will be used.
*/
region?: pulumi.Input<string>;
}