GetBackendServers

This data source provides the server load balancer backend servers related to a server load balancer..

NOTE: Available in 1.53.0+

Using GetBackendServers

function getBackendServers(args: GetBackendServersArgs, opts?: InvokeOptions): Promise<GetBackendServersResult>
function  get_backend_servers(ids=None, load_balancer_id=None, output_file=None, opts=None)
func GetBackendServers(ctx *Context, args *GetBackendServersArgs, opts ...InvokeOption) (*GetBackendServersResult, error)
public static class GetBackendServers {
    public static Task<GetBackendServersResult> InvokeAsync(GetBackendServersArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

LoadBalancerId string

ID of the SLB with attachments.

Ids List<string>

List of attached ECS instance IDs.

OutputFile string
LoadBalancerId string

ID of the SLB with attachments.

Ids []string

List of attached ECS instance IDs.

OutputFile string
loadBalancerId string

ID of the SLB with attachments.

ids string[]

List of attached ECS instance IDs.

outputFile string
load_balancer_id str

ID of the SLB with attachments.

ids List[str]

List of attached ECS instance IDs.

output_file str

GetBackendServers Result

The following output properties are available:

BackendServers List<Pulumi.AliCloud.Slb.Outputs.GetBackendServersBackendServer>
Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
LoadBalancerId string
OutputFile string
BackendServers []GetBackendServersBackendServer
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
LoadBalancerId string
OutputFile string
backendServers GetBackendServersBackendServer[]
id string

The provider-assigned unique ID for this managed resource.

ids string[]
loadBalancerId string
outputFile string
backend_servers List[GetBackendServersBackendServer]
id str

The provider-assigned unique ID for this managed resource.

ids List[str]
load_balancer_id str
output_file str

Supporting Types

GetBackendServersBackendServer

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Id string

backend server ID.

ServerType string

Type of the backend server.

Weight int

Weight associated to the ECS instance.

Id string

backend server ID.

ServerType string

Type of the backend server.

Weight int

Weight associated to the ECS instance.

id string

backend server ID.

serverType string

Type of the backend server.

weight number

Weight associated to the ECS instance.

id str

backend server ID.

server_type str

Type of the backend server.

weight float

Weight associated to the ECS instance.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.