@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
110 lines (109 loc) • 3.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to get the list of ELB IP groups.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const config = new pulumi.Config();
* const ipgroupName = config.requireObject("ipgroupName");
* const test = huaweicloud.DedicatedElb.getIpgroups({
* name: ipgroupName,
* });
* ```
*/
export declare function getIpgroups(args?: GetIpgroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetIpgroupsResult>;
/**
* A collection of arguments for invoking getIpgroups.
*/
export interface GetIpgroupsArgs {
/**
* Specifies the description of the IP address group.
*/
description?: string;
/**
* Specifies the enterprise project ID.
*/
enterpriseProjectId?: string;
/**
* Specifies the IP address of the IP address group.
*/
ipAddress?: string;
/**
* Specifies the ID of the IP address group.
*/
ipgroupId?: string;
/**
* Specifies the name of the IP address group.
*/
name?: string;
/**
* Specifies the region in which to query the data source.
* If omitted, the provider-level region will be used.
*/
region?: string;
}
/**
* A collection of values returned by getIpgroups.
*/
export interface GetIpgroupsResult {
/**
* The description of the IP address group.
*/
readonly description?: string;
/**
* The enterprise project ID.
*/
readonly enterpriseProjectId?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ipAddress?: string;
readonly ipgroupId?: string;
/**
* Lists the IP groups.
* The ipgroups structure is documented below.
*/
readonly ipgroups: outputs.DedicatedElb.GetIpgroupsIpgroup[];
/**
* The name of the IP address group.
*/
readonly name?: string;
readonly region: string;
}
export declare function getIpgroupsOutput(args?: GetIpgroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIpgroupsResult>;
/**
* A collection of arguments for invoking getIpgroups.
*/
export interface GetIpgroupsOutputArgs {
/**
* Specifies the description of the IP address group.
*/
description?: pulumi.Input<string>;
/**
* Specifies the enterprise project ID.
*/
enterpriseProjectId?: pulumi.Input<string>;
/**
* Specifies the IP address of the IP address group.
*/
ipAddress?: pulumi.Input<string>;
/**
* Specifies the ID of the IP address group.
*/
ipgroupId?: pulumi.Input<string>;
/**
* Specifies the name of the IP address group.
*/
name?: pulumi.Input<string>;
/**
* Specifies the region in which to query the data source.
* If omitted, the provider-level region will be used.
*/
region?: pulumi.Input<string>;
}