UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

98 lines (97 loc) 3.37 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", * }); * ``` */ /** @deprecated volcengine.alb.ServerGroupServers has been deprecated in favor of volcengine.alb.getServerGroupServers */ export declare function serverGroupServers(args: ServerGroupServersArgs, opts?: pulumi.InvokeOptions): Promise<ServerGroupServersResult>; /** * A collection of arguments for invoking ServerGroupServers. */ export interface ServerGroupServersArgs { /** * 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 ServerGroupServers. */ export interface ServerGroupServersResult { /** * 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.ServerGroupServersServer[]; /** * 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", * }); * ``` */ /** @deprecated volcengine.alb.ServerGroupServers has been deprecated in favor of volcengine.alb.getServerGroupServers */ export declare function serverGroupServersOutput(args: ServerGroupServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ServerGroupServersResult>; /** * A collection of arguments for invoking ServerGroupServers. */ export interface ServerGroupServersOutputArgs { /** * 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>; }