Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse
exoscale.getNlbServiceList
Explore with Pulumi AI
Fetch Exoscale Network Load Balancers (NLB) Services.
Corresponding resource: exoscale_nlb.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.exoscale.ExoscaleFunctions;
import com.pulumi.exoscale.inputs.GetNlbServiceListArgs;
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 exampleNlbServices = ExoscaleFunctions.getNlbServiceList(GetNlbServiceListArgs.builder()
.name("my-nlb")
.build());
ctx.export("nlbServicesOutput", exampleNlbServices.applyValue(getNlbServiceListResult -> getNlbServiceListResult.services()));
}
}
variables:
exampleNlbServices:
fn::invoke:
Function: exoscale:getNlbServiceList
Arguments:
name: my-nlb
outputs:
# Outputs
nlbServicesOutput: ${exampleNlbServices.services}
Please refer to the examples directory for complete configuration examples.
Using getNlbServiceList
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 getNlbServiceList(args: GetNlbServiceListArgs, opts?: InvokeOptions): Promise<GetNlbServiceListResult>
function getNlbServiceListOutput(args: GetNlbServiceListOutputArgs, opts?: InvokeOptions): Output<GetNlbServiceListResult>
def get_nlb_service_list(nlb_id: Optional[str] = None,
nlb_name: Optional[str] = None,
timeouts: Optional[GetNlbServiceListTimeouts] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNlbServiceListResult
def get_nlb_service_list_output(nlb_id: Optional[pulumi.Input[str]] = None,
nlb_name: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetNlbServiceListTimeoutsArgs]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNlbServiceListResult]
func GetNlbServiceList(ctx *Context, args *GetNlbServiceListArgs, opts ...InvokeOption) (*GetNlbServiceListResult, error)
func GetNlbServiceListOutput(ctx *Context, args *GetNlbServiceListOutputArgs, opts ...InvokeOption) GetNlbServiceListResultOutput
> Note: This function is named GetNlbServiceList
in the Go SDK.
public static class GetNlbServiceList
{
public static Task<GetNlbServiceListResult> InvokeAsync(GetNlbServiceListArgs args, InvokeOptions? opts = null)
public static Output<GetNlbServiceListResult> Invoke(GetNlbServiceListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNlbServiceListResult> getNlbServiceList(GetNlbServiceListArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: exoscale:index/getNlbServiceList:getNlbServiceList
arguments:
# arguments dictionary
The following arguments are supported:
getNlbServiceList Result
The following output properties are available:
- Id string
- The ID of this resource.
- Services
List<Pulumiverse.
Exoscale. Outputs. Get Nlb Service List Service> - The list of exoscalenlbservice.
- Zone string
- The Exoscale Zone name.
- Nlb
Id string - The NLB ID to match (conflicts with
name
). - Nlb
Name string - The NLB name to match (conflicts with
id
). - Timeouts
Pulumiverse.
Exoscale. Outputs. Get Nlb Service List Timeouts
- Id string
- The ID of this resource.
- Services
[]Get
Nlb Service List Service - The list of exoscalenlbservice.
- Zone string
- The Exoscale Zone name.
- Nlb
Id string - The NLB ID to match (conflicts with
name
). - Nlb
Name string - The NLB name to match (conflicts with
id
). - Timeouts
Get
Nlb Service List Timeouts
- id String
- The ID of this resource.
- services
List<Get
Nlb Service List Service> - The list of exoscalenlbservice.
- zone String
- The Exoscale Zone name.
- nlb
Id String - The NLB ID to match (conflicts with
name
). - nlb
Name String - The NLB name to match (conflicts with
id
). - timeouts
Get
Nlb Service List Timeouts
- id string
- The ID of this resource.
- services
Get
Nlb Service List Service[] - The list of exoscalenlbservice.
- zone string
- The Exoscale Zone name.
- nlb
Id string - The NLB ID to match (conflicts with
name
). - nlb
Name string - The NLB name to match (conflicts with
id
). - timeouts
Get
Nlb Service List Timeouts
- id str
- The ID of this resource.
- services
Sequence[Get
Nlb Service List Service] - The list of exoscalenlbservice.
- zone str
- The Exoscale Zone name.
- nlb_
id str - The NLB ID to match (conflicts with
name
). - nlb_
name str - The NLB name to match (conflicts with
id
). - timeouts
Get
Nlb Service List Timeouts
- id String
- The ID of this resource.
- services List<Property Map>
- The list of exoscalenlbservice.
- zone String
- The Exoscale Zone name.
- nlb
Id String - The NLB ID to match (conflicts with
name
). - nlb
Name String - The NLB name to match (conflicts with
id
). - timeouts Property Map
Supporting Types
GetNlbServiceListService
- Description string
- NLB service description.
- Healthcheck
Pulumiverse.
Exoscale. Inputs. Get Nlb Service List Service Healthcheck - Id string
- NLB service ID.
- Instance
Pool stringId - The exoscaleinstancepool (ID) to forward traffic to.
- Name string
- NLB Service name.
- Port int
- Port exposed on the NLB's public IP.
- Protocol string
- Network traffic protocol.
- State string
- NLB Service State.
- Strategy string
- The strategy (
round-robin
|source-hash
). - Target
Port int - Port on which the network traffic will be forwarded to on the receiving instance.
- Description string
- NLB service description.
- Healthcheck
Get
Nlb Service List Service Healthcheck - Id string
- NLB service ID.
- Instance
Pool stringId - The exoscaleinstancepool (ID) to forward traffic to.
- Name string
- NLB Service name.
- Port int
- Port exposed on the NLB's public IP.
- Protocol string
- Network traffic protocol.
- State string
- NLB Service State.
- Strategy string
- The strategy (
round-robin
|source-hash
). - Target
Port int - Port on which the network traffic will be forwarded to on the receiving instance.
- description String
- NLB service description.
- healthcheck
Get
Nlb Service List Service Healthcheck - id String
- NLB service ID.
- instance
Pool StringId - The exoscaleinstancepool (ID) to forward traffic to.
- name String
- NLB Service name.
- port Integer
- Port exposed on the NLB's public IP.
- protocol String
- Network traffic protocol.
- state String
- NLB Service State.
- strategy String
- The strategy (
round-robin
|source-hash
). - target
Port Integer - Port on which the network traffic will be forwarded to on the receiving instance.
- description string
- NLB service description.
- healthcheck
Get
Nlb Service List Service Healthcheck - id string
- NLB service ID.
- instance
Pool stringId - The exoscaleinstancepool (ID) to forward traffic to.
- name string
- NLB Service name.
- port number
- Port exposed on the NLB's public IP.
- protocol string
- Network traffic protocol.
- state string
- NLB Service State.
- strategy string
- The strategy (
round-robin
|source-hash
). - target
Port number - Port on which the network traffic will be forwarded to on the receiving instance.
- description str
- NLB service description.
- healthcheck
Get
Nlb Service List Service Healthcheck - id str
- NLB service ID.
- instance_
pool_ strid - The exoscaleinstancepool (ID) to forward traffic to.
- name str
- NLB Service name.
- port int
- Port exposed on the NLB's public IP.
- protocol str
- Network traffic protocol.
- state str
- NLB Service State.
- strategy str
- The strategy (
round-robin
|source-hash
). - target_
port int - Port on which the network traffic will be forwarded to on the receiving instance.
- description String
- NLB service description.
- healthcheck Property Map
- id String
- NLB service ID.
- instance
Pool StringId - The exoscaleinstancepool (ID) to forward traffic to.
- name String
- NLB Service name.
- port Number
- Port exposed on the NLB's public IP.
- protocol String
- Network traffic protocol.
- state String
- NLB Service State.
- strategy String
- The strategy (
round-robin
|source-hash
). - target
Port Number - Port on which the network traffic will be forwarded to on the receiving instance.
GetNlbServiceListServiceHealthcheck
GetNlbServiceListTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
Package Details
- Repository
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
exoscale
Terraform Provider.