@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
76 lines (75 loc) • 2.23 kB
TypeScript
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",
* });
* ```
*/
export declare function getServerGroupServers(args: GetServerGroupServersArgs, opts?: pulumi.InvokeOptions): Promise<GetServerGroupServersResult>;
/**
* A collection of arguments for invoking getServerGroupServers.
*/
export interface GetServerGroupServersArgs {
/**
* 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 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({
* 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 {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The ID of the ServerGroup.
*/
serverGroupId: pulumi.Input<string>;
}