Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.alb.ServerGroupServers
Explore with Pulumi AI
Use this data source to query detailed information of alb server group servers
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Alb.ServerGroupServers.Invoke(new()
{
ServerGroupId = "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := alb.ServerGroupServers(ctx, &alb.ServerGroupServersArgs{
ServerGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.alb.AlbFunctions;
import com.pulumi.volcengine.alb.inputs.ServerGroupServersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = AlbFunctions.ServerGroupServers(ServerGroupServersArgs.builder()
.serverGroupId("rsp-1g7317vrcx3pc2zbhq4c3i6a2")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.alb.server_group_servers(server_group_id="rsp-1g7317vrcx3pc2zbhq4c3i6a2")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.alb.ServerGroupServers({
serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
});
variables:
foo:
fn::invoke:
Function: volcengine:alb:ServerGroupServers
Arguments:
serverGroupId: rsp-1g7317vrcx3pc2zbhq4c3i6a2
Using ServerGroupServers
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function serverGroupServers(args: ServerGroupServersArgs, opts?: InvokeOptions): Promise<ServerGroupServersResult>
function serverGroupServersOutput(args: ServerGroupServersOutputArgs, opts?: InvokeOptions): Output<ServerGroupServersResult>
def server_group_servers(output_file: Optional[str] = None,
server_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ServerGroupServersResult
def server_group_servers_output(output_file: Optional[pulumi.Input[str]] = None,
server_group_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ServerGroupServersResult]
func ServerGroupServers(ctx *Context, args *ServerGroupServersArgs, opts ...InvokeOption) (*ServerGroupServersResult, error)
func ServerGroupServersOutput(ctx *Context, args *ServerGroupServersOutputArgs, opts ...InvokeOption) ServerGroupServersResultOutput
public static class ServerGroupServers
{
public static Task<ServerGroupServersResult> InvokeAsync(ServerGroupServersArgs args, InvokeOptions? opts = null)
public static Output<ServerGroupServersResult> Invoke(ServerGroupServersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ServerGroupServersResult> serverGroupServers(ServerGroupServersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:alb:ServerGroupServers
arguments:
# arguments dictionary
The following arguments are supported:
- Server
Group stringId - The ID of the ServerGroup.
- Output
File string - File name where to save data source results.
- Server
Group stringId - The ID of the ServerGroup.
- Output
File string - File name where to save data source results.
- server
Group StringId - The ID of the ServerGroup.
- output
File String - File name where to save data source results.
- server
Group stringId - The ID of the ServerGroup.
- output
File string - File name where to save data source results.
- server_
group_ strid - The ID of the ServerGroup.
- output_
file str - File name where to save data source results.
- server
Group StringId - The ID of the ServerGroup.
- output
File String - File name where to save data source results.
ServerGroupServers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Group stringId - Servers
List<Server
Group Servers Server> - The server list of ServerGroup.
- Total
Count int - The total count of ServerGroupServer query.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Group stringId - Servers
[]Server
Group Servers Server - The server list of ServerGroup.
- Total
Count int - The total count of ServerGroupServer query.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- server
Group StringId - servers
List<Server
Group Servers Server> - The server list of ServerGroup.
- total
Count Integer - The total count of ServerGroupServer query.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- server
Group stringId - servers
Server
Group Servers Server[] - The server list of ServerGroup.
- total
Count number - The total count of ServerGroupServer query.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- server_
group_ strid - servers
Sequence[Server
Group Servers Server] - The server list of ServerGroup.
- total_
count int - The total count of ServerGroupServer query.
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- server
Group StringId - servers List<Property Map>
- The server list of ServerGroup.
- total
Count Number - The total count of ServerGroupServer query.
- output
File String
Supporting Types
ServerGroupServersServer
- Description string
- The description of the instance.
- Id string
- The server id of instance in ServerGroup.
- Instance
Id string - The ID of ecs instance or the network card bound to ecs instance.
- Ip string
- The private ip of the instance.
- Port int
- The port receiving request.
- Server
Id string - The server id of instance in ServerGroup.
- Type string
- The type of instance. Optional choice contains
ecs
,eni
. - Weight int
- The weight of the instance.
- Description string
- The description of the instance.
- Id string
- The server id of instance in ServerGroup.
- Instance
Id string - The ID of ecs instance or the network card bound to ecs instance.
- Ip string
- The private ip of the instance.
- Port int
- The port receiving request.
- Server
Id string - The server id of instance in ServerGroup.
- Type string
- The type of instance. Optional choice contains
ecs
,eni
. - Weight int
- The weight of the instance.
- description String
- The description of the instance.
- id String
- The server id of instance in ServerGroup.
- instance
Id String - The ID of ecs instance or the network card bound to ecs instance.
- ip String
- The private ip of the instance.
- port Integer
- The port receiving request.
- server
Id String - The server id of instance in ServerGroup.
- type String
- The type of instance. Optional choice contains
ecs
,eni
. - weight Integer
- The weight of the instance.
- description string
- The description of the instance.
- id string
- The server id of instance in ServerGroup.
- instance
Id string - The ID of ecs instance or the network card bound to ecs instance.
- ip string
- The private ip of the instance.
- port number
- The port receiving request.
- server
Id string - The server id of instance in ServerGroup.
- type string
- The type of instance. Optional choice contains
ecs
,eni
. - weight number
- The weight of the instance.
- description str
- The description of the instance.
- id str
- The server id of instance in ServerGroup.
- instance_
id str - The ID of ecs instance or the network card bound to ecs instance.
- ip str
- The private ip of the instance.
- port int
- The port receiving request.
- server_
id str - The server id of instance in ServerGroup.
- type str
- The type of instance. Optional choice contains
ecs
,eni
. - weight int
- The weight of the instance.
- description String
- The description of the instance.
- id String
- The server id of instance in ServerGroup.
- instance
Id String - The ID of ecs instance or the network card bound to ecs instance.
- ip String
- The private ip of the instance.
- port Number
- The port receiving request.
- server
Id String - The server id of instance in ServerGroup.
- type String
- The type of instance. Optional choice contains
ecs
,eni
. - weight Number
- The weight of the instance.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.