UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

96 lines (95 loc) 3.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of alb server group servers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getServerGroupServers({ * instanceIds: ["i-yecutyh340qc6io*****"], * serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2", * }); * ``` */ export declare function getServerGroupServers(args: GetServerGroupServersArgs, opts?: pulumi.InvokeOptions): Promise<GetServerGroupServersResult>; /** * A collection of arguments for invoking getServerGroupServers. */ export interface GetServerGroupServersArgs { /** * A list of instance IDs. When the backend server is ECS, the parameter value is the ID of the ECS. When the backend server is a secondary network interface card, the parameter value is the ID of the secondary network interface card. */ instanceIds?: string[]; /** * A list of private IP addresses. */ ips?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * The ID of the ServerGroup. */ serverGroupId: string; } /** * A collection of values returned by getServerGroupServers. */ export interface GetServerGroupServersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceIds?: string[]; readonly ips?: string[]; readonly outputFile?: string; readonly serverGroupId: string; /** * The server list of ServerGroup. */ readonly servers: outputs.alb.GetServerGroupServersServer[]; /** * The total count of ServerGroupServer query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of alb server group servers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getServerGroupServers({ * instanceIds: ["i-yecutyh340qc6io*****"], * serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2", * }); * ``` */ export declare function getServerGroupServersOutput(args: GetServerGroupServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServerGroupServersResult>; /** * A collection of arguments for invoking getServerGroupServers. */ export interface GetServerGroupServersOutputArgs { /** * A list of instance IDs. When the backend server is ECS, the parameter value is the ID of the ECS. When the backend server is a secondary network interface card, the parameter value is the ID of the secondary network interface card. */ instanceIds?: pulumi.Input<pulumi.Input<string>[]>; /** * A list of private IP addresses. */ ips?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The ID of the ServerGroup. */ serverGroupId: pulumi.Input<string>; }