vra 0.13.0 published on Wednesday, May 14, 2025 by vmware
vra.getLoadBalancer
Explore with Pulumi AI
Provides a data source to retrieve a vra.LoadBalancer
.
Using getLoadBalancer
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 getLoadBalancer(args: GetLoadBalancerArgs, opts?: InvokeOptions): Promise<GetLoadBalancerResult>
function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, opts?: InvokeOptions): Output<GetLoadBalancerResult>
def get_load_balancer(id: Optional[str] = None,
nics: Optional[Sequence[GetLoadBalancerNic]] = None,
routes: Optional[Sequence[GetLoadBalancerRoute]] = None,
tags: Optional[Sequence[GetLoadBalancerTag]] = None,
targets: Optional[Sequence[GetLoadBalancerTarget]] = None,
opts: Optional[InvokeOptions] = None) -> GetLoadBalancerResult
def get_load_balancer_output(id: Optional[pulumi.Input[str]] = None,
nics: Optional[pulumi.Input[Sequence[pulumi.Input[GetLoadBalancerNicArgs]]]] = None,
routes: Optional[pulumi.Input[Sequence[pulumi.Input[GetLoadBalancerRouteArgs]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetLoadBalancerTagArgs]]]] = None,
targets: Optional[pulumi.Input[Sequence[pulumi.Input[GetLoadBalancerTargetArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLoadBalancerResult]
func LookupLoadBalancer(ctx *Context, args *LookupLoadBalancerArgs, opts ...InvokeOption) (*LookupLoadBalancerResult, error)
func LookupLoadBalancerOutput(ctx *Context, args *LookupLoadBalancerOutputArgs, opts ...InvokeOption) LookupLoadBalancerResultOutput
> Note: This function is named LookupLoadBalancer
in the Go SDK.
public static class GetLoadBalancer
{
public static Task<GetLoadBalancerResult> InvokeAsync(GetLoadBalancerArgs args, InvokeOptions? opts = null)
public static Output<GetLoadBalancerResult> Invoke(GetLoadBalancerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLoadBalancerResult> getLoadBalancer(GetLoadBalancerArgs args, InvokeOptions options)
public static Output<GetLoadBalancerResult> getLoadBalancer(GetLoadBalancerArgs args, InvokeOptions options)
fn::invoke:
function: vra:index/getLoadBalancer:getLoadBalancer
arguments:
# arguments dictionary
The following arguments are supported:
getLoadBalancer Result
The following output properties are available:
- Address string
- Created
At string - Custom
Properties Dictionary<string, string> - Deployment
Id string - Description string
- External
Id string - External
Region stringId - External
Zone stringId - Id string
- Internet
Facing bool - Links
List<Get
Load Balancer Link> - Name string
- Organization
Id string - Owner string
- Project
Id string - Routes
List<Get
Load Balancer Route> - Updated
At string - Nics
List<Get
Load Balancer Nic> - List<Get
Load Balancer Tag> - Targets
List<Get
Load Balancer Target>
- Address string
- Created
At string - Custom
Properties map[string]string - Deployment
Id string - Description string
- External
Id string - External
Region stringId - External
Zone stringId - Id string
- Internet
Facing bool - Links
[]Get
Load Balancer Link - Name string
- Organization
Id string - Owner string
- Project
Id string - Routes
[]Get
Load Balancer Route - Updated
At string - Nics
[]Get
Load Balancer Nic - []Get
Load Balancer Tag - Targets
[]Get
Load Balancer Target
- address String
- created
At String - custom
Properties Map<String,String> - deployment
Id String - description String
- external
Id String - external
Region StringId - external
Zone StringId - id String
- internet
Facing Boolean - links
List<Get
Load Balancer Link> - name String
- organization
Id String - owner String
- project
Id String - routes
List<Get
Load Balancer Route> - updated
At String - nics
List<Get
Load Balancer Nic> - List<Get
Load Balancer Tag> - targets
List<Get
Load Balancer Target>
- address string
- created
At string - custom
Properties {[key: string]: string} - deployment
Id string - description string
- external
Id string - external
Region stringId - external
Zone stringId - id string
- internet
Facing boolean - links
Get
Load Balancer Link[] - name string
- organization
Id string - owner string
- project
Id string - routes
Get
Load Balancer Route[] - updated
At string - nics
Get
Load Balancer Nic[] - Get
Load Balancer Tag[] - targets
Get
Load Balancer Target[]
- address str
- created_
at str - custom_
properties Mapping[str, str] - deployment_
id str - description str
- external_
id str - external_
region_ strid - external_
zone_ strid - id str
- internet_
facing bool - links
Sequence[Get
Load Balancer Link] - name str
- organization_
id str - owner str
- project_
id str - routes
Sequence[Get
Load Balancer Route] - updated_
at str - nics
Sequence[Get
Load Balancer Nic] - Sequence[Get
Load Balancer Tag] - targets
Sequence[Get
Load Balancer Target]
- address String
- created
At String - custom
Properties Map<String> - deployment
Id String - description String
- external
Id String - external
Region StringId - external
Zone StringId - id String
- internet
Facing Boolean - links List<Property Map>
- name String
- organization
Id String - owner String
- project
Id String - routes List<Property Map>
- updated
At String - nics List<Property Map>
- List<Property Map>
- targets List<Property Map>
Supporting Types
GetLoadBalancerLink
GetLoadBalancerNic
- Network
Id string - Addresses List<string>
- Custom
Properties Dictionary<string, string> - Description string
- Device
Index double - Name string
- Security
Group List<string>Ids
- Network
Id string - Addresses []string
- Custom
Properties map[string]string - Description string
- Device
Index float64 - Name string
- Security
Group []stringIds
- network
Id String - addresses List<String>
- custom
Properties Map<String,String> - description String
- device
Index Double - name String
- security
Group List<String>Ids
- network
Id string - addresses string[]
- custom
Properties {[key: string]: string} - description string
- device
Index number - name string
- security
Group string[]Ids
- network_
id str - addresses Sequence[str]
- custom_
properties Mapping[str, str] - description str
- device_
index float - name str
- security_
group_ Sequence[str]ids
- network
Id String - addresses List<String>
- custom
Properties Map<String> - description String
- device
Index Number - name String
- security
Group List<String>Ids
GetLoadBalancerRoute
- Member
Port string - Member
Protocol string - Port string
- Protocol string
- Health
Check List<GetConfigurations Load Balancer Route Health Check Configuration>
- Member
Port string - Member
Protocol string - Port string
- Protocol string
- Health
Check []GetConfigurations Load Balancer Route Health Check Configuration
- member
Port String - member
Protocol String - port String
- protocol String
- health
Check List<GetConfigurations Load Balancer Route Health Check Configuration>
- member
Port string - member
Protocol string - port string
- protocol string
- health
Check GetConfigurations Load Balancer Route Health Check Configuration[]
- member
Port String - member
Protocol String - port String
- protocol String
- health
Check List<Property Map>Configurations
GetLoadBalancerRouteHealthCheckConfiguration
- Port string
- Protocol string
- Healthy
Threshold double - Interval
Seconds double - Timeout
Seconds double - Unhealthy
Threshold double - Url
Path string
- Port string
- Protocol string
- Healthy
Threshold float64 - Interval
Seconds float64 - Timeout
Seconds float64 - Unhealthy
Threshold float64 - Url
Path string
- port String
- protocol String
- healthy
Threshold Double - interval
Seconds Double - timeout
Seconds Double - unhealthy
Threshold Double - url
Path String
- port string
- protocol string
- healthy
Threshold number - interval
Seconds number - timeout
Seconds number - unhealthy
Threshold number - url
Path string
- port str
- protocol str
- healthy_
threshold float - interval_
seconds float - timeout_
seconds float - unhealthy_
threshold float - url_
path str
- port String
- protocol String
- healthy
Threshold Number - interval
Seconds Number - timeout
Seconds Number - unhealthy
Threshold Number - url
Path String
GetLoadBalancerTag
GetLoadBalancerTarget
- Machine
Id string - Network
Interface stringId
- Machine
Id string - Network
Interface stringId
- machine
Id String - network
Interface StringId
- machine
Id string - network
Interface stringId
- machine_
id str - network_
interface_ strid
- machine
Id String - network
Interface StringId
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vra
Terraform Provider.