UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

78 lines (77 loc) 2.44 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({ * 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 { /** * 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 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({ * 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 { /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The ID of the ServerGroup. */ serverGroupId: pulumi.Input<string>; }