outscale 1.2.0 published on Wednesday, Jul 16, 2025 by outscale
outscale.getLoadBalancerVmHealth
Explore with Pulumi AI
outscale 1.2.0 published on Wednesday, Jul 16, 2025 by outscale
Provides information about the health of one or more backend VMs registered with a specific load balancer.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const loadBalancerVmHealth01 = outscale.getLoadBalancerVmHealth({
backendVmIds: [
"i-12345678",
"i-87654321",
],
loadBalancerName: "load_balancer01",
});
import pulumi
import pulumi_outscale as outscale
load_balancer_vm_health01 = outscale.get_load_balancer_vm_health(backend_vm_ids=[
"i-12345678",
"i-87654321",
],
load_balancer_name="load_balancer01")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.GetLoadBalancerVmHealth(ctx, &outscale.GetLoadBalancerVmHealthArgs{
BackendVmIds: []string{
"i-12345678",
"i-87654321",
},
LoadBalancerName: "load_balancer01",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var loadBalancerVmHealth01 = Outscale.GetLoadBalancerVmHealth.Invoke(new()
{
BackendVmIds = new[]
{
"i-12345678",
"i-87654321",
},
LoadBalancerName = "load_balancer01",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetLoadBalancerVmHealthArgs;
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 loadBalancerVmHealth01 = OutscaleFunctions.getLoadBalancerVmHealth(GetLoadBalancerVmHealthArgs.builder()
.backendVmIds(
"i-12345678",
"i-87654321")
.loadBalancerName("load_balancer01")
.build());
}
}
variables:
loadBalancerVmHealth01:
fn::invoke:
function: outscale:getLoadBalancerVmHealth
arguments:
backendVmIds:
- i-12345678
- i-87654321
loadBalancerName: load_balancer01
Using getLoadBalancerVmHealth
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 getLoadBalancerVmHealth(args: GetLoadBalancerVmHealthArgs, opts?: InvokeOptions): Promise<GetLoadBalancerVmHealthResult>
function getLoadBalancerVmHealthOutput(args: GetLoadBalancerVmHealthOutputArgs, opts?: InvokeOptions): Output<GetLoadBalancerVmHealthResult>
def get_load_balancer_vm_health(backend_vm_ids: Optional[Sequence[str]] = None,
filters: Optional[Sequence[GetLoadBalancerVmHealthFilter]] = None,
id: Optional[str] = None,
load_balancer_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLoadBalancerVmHealthResult
def get_load_balancer_vm_health_output(backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetLoadBalancerVmHealthFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
load_balancer_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLoadBalancerVmHealthResult]
func GetLoadBalancerVmHealth(ctx *Context, args *GetLoadBalancerVmHealthArgs, opts ...InvokeOption) (*GetLoadBalancerVmHealthResult, error)
func GetLoadBalancerVmHealthOutput(ctx *Context, args *GetLoadBalancerVmHealthOutputArgs, opts ...InvokeOption) GetLoadBalancerVmHealthResultOutput
> Note: This function is named GetLoadBalancerVmHealth
in the Go SDK.
public static class GetLoadBalancerVmHealth
{
public static Task<GetLoadBalancerVmHealthResult> InvokeAsync(GetLoadBalancerVmHealthArgs args, InvokeOptions? opts = null)
public static Output<GetLoadBalancerVmHealthResult> Invoke(GetLoadBalancerVmHealthInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLoadBalancerVmHealthResult> getLoadBalancerVmHealth(GetLoadBalancerVmHealthArgs args, InvokeOptions options)
public static Output<GetLoadBalancerVmHealthResult> getLoadBalancerVmHealth(GetLoadBalancerVmHealthArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getLoadBalancerVmHealth:getLoadBalancerVmHealth
arguments:
# arguments dictionary
The following arguments are supported:
- Load
Balancer stringName - The name of the load balancer.
- Backend
Vm List<string>Ids - One or more IDs of backend VMs.
- Filters
List<Get
Load Balancer Vm Health Filter> - Id string
- Load
Balancer stringName - The name of the load balancer.
- Backend
Vm []stringIds - One or more IDs of backend VMs.
- Filters
[]Get
Load Balancer Vm Health Filter - Id string
- load
Balancer StringName - The name of the load balancer.
- backend
Vm List<String>Ids - One or more IDs of backend VMs.
- filters
List<Get
Load Balancer Vm Health Filter> - id String
- load
Balancer stringName - The name of the load balancer.
- backend
Vm string[]Ids - One or more IDs of backend VMs.
- filters
Get
Load Balancer Vm Health Filter[] - id string
- load_
balancer_ strname - The name of the load balancer.
- backend_
vm_ Sequence[str]ids - One or more IDs of backend VMs.
- filters
Sequence[Get
Load Balancer Vm Health Filter] - id str
- load
Balancer StringName - The name of the load balancer.
- backend
Vm List<String>Ids - One or more IDs of backend VMs.
- filters List<Property Map>
- id String
getLoadBalancerVmHealth Result
The following output properties are available:
- Backend
Vm List<GetHealths Load Balancer Vm Health Backend Vm Health> - Information about the health of one or more backend VMs.
- Id string
- Load
Balancer stringName - Request
Id string - Backend
Vm List<string>Ids - Filters
List<Get
Load Balancer Vm Health Filter>
- Backend
Vm []GetHealths Load Balancer Vm Health Backend Vm Health - Information about the health of one or more backend VMs.
- Id string
- Load
Balancer stringName - Request
Id string - Backend
Vm []stringIds - Filters
[]Get
Load Balancer Vm Health Filter
- backend
Vm List<GetHealths Load Balancer Vm Health Backend Vm Health> - Information about the health of one or more backend VMs.
- id String
- load
Balancer StringName - request
Id String - backend
Vm List<String>Ids - filters
List<Get
Load Balancer Vm Health Filter>
- backend
Vm GetHealths Load Balancer Vm Health Backend Vm Health[] - Information about the health of one or more backend VMs.
- id string
- load
Balancer stringName - request
Id string - backend
Vm string[]Ids - filters
Get
Load Balancer Vm Health Filter[]
- backend_
vm_ Sequence[Gethealths Load Balancer Vm Health Backend Vm Health] - Information about the health of one or more backend VMs.
- id str
- load_
balancer_ strname - request_
id str - backend_
vm_ Sequence[str]ids - filters
Sequence[Get
Load Balancer Vm Health Filter]
- backend
Vm List<Property Map>Healths - Information about the health of one or more backend VMs.
- id String
- load
Balancer StringName - request
Id String - backend
Vm List<String>Ids - filters List<Property Map>
Supporting Types
GetLoadBalancerVmHealthBackendVmHealth
- Description string
- The description of the state of the backend VM.
- State string
- The state of the backend VM (
InService
|OutOfService
|Unknown
). - State
Reason string - Information about the cause of
OutOfService
VMs. Specifically, whether the cause is Elastic Load Balancing or the VM (ELB
|Instance
|N/A
). - Vm
Id string - The ID of the backend VM.
- Description string
- The description of the state of the backend VM.
- State string
- The state of the backend VM (
InService
|OutOfService
|Unknown
). - State
Reason string - Information about the cause of
OutOfService
VMs. Specifically, whether the cause is Elastic Load Balancing or the VM (ELB
|Instance
|N/A
). - Vm
Id string - The ID of the backend VM.
- description String
- The description of the state of the backend VM.
- state String
- The state of the backend VM (
InService
|OutOfService
|Unknown
). - state
Reason String - Information about the cause of
OutOfService
VMs. Specifically, whether the cause is Elastic Load Balancing or the VM (ELB
|Instance
|N/A
). - vm
Id String - The ID of the backend VM.
- description string
- The description of the state of the backend VM.
- state string
- The state of the backend VM (
InService
|OutOfService
|Unknown
). - state
Reason string - Information about the cause of
OutOfService
VMs. Specifically, whether the cause is Elastic Load Balancing or the VM (ELB
|Instance
|N/A
). - vm
Id string - The ID of the backend VM.
- description str
- The description of the state of the backend VM.
- state str
- The state of the backend VM (
InService
|OutOfService
|Unknown
). - state_
reason str - Information about the cause of
OutOfService
VMs. Specifically, whether the cause is Elastic Load Balancing or the VM (ELB
|Instance
|N/A
). - vm_
id str - The ID of the backend VM.
- description String
- The description of the state of the backend VM.
- state String
- The state of the backend VM (
InService
|OutOfService
|Unknown
). - state
Reason String - Information about the cause of
OutOfService
VMs. Specifically, whether the cause is Elastic Load Balancing or the VM (ELB
|Instance
|N/A
). - vm
Id String - The ID of the backend VM.
GetLoadBalancerVmHealthFilter
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscale
Terraform Provider.
outscale 1.2.0 published on Wednesday, Jul 16, 2025 by outscale