1. Packages
  2. Exoscale
  3. API Docs
  4. getNlbServiceList
Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse

exoscale.getNlbServiceList

Explore with Pulumi AI

exoscale logo
Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse

    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:

    Zone string
    The Exoscale Zone name.
    NlbId string
    The NLB ID to match (conflicts with name).
    NlbName string
    The NLB name to match (conflicts with id).
    Timeouts Pulumiverse.Exoscale.Inputs.GetNlbServiceListTimeouts
    Zone string
    The Exoscale Zone name.
    NlbId string
    The NLB ID to match (conflicts with name).
    NlbName string
    The NLB name to match (conflicts with id).
    Timeouts GetNlbServiceListTimeouts
    zone String
    The Exoscale Zone name.
    nlbId String
    The NLB ID to match (conflicts with name).
    nlbName String
    The NLB name to match (conflicts with id).
    timeouts GetNlbServiceListTimeouts
    zone string
    The Exoscale Zone name.
    nlbId string
    The NLB ID to match (conflicts with name).
    nlbName string
    The NLB name to match (conflicts with id).
    timeouts GetNlbServiceListTimeouts
    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 GetNlbServiceListTimeouts
    zone String
    The Exoscale Zone name.
    nlbId String
    The NLB ID to match (conflicts with name).
    nlbName String
    The NLB name to match (conflicts with id).
    timeouts Property Map

    getNlbServiceList Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Services List<Pulumiverse.Exoscale.Outputs.GetNlbServiceListService>
    The list of exoscalenlbservice.
    Zone string
    The Exoscale Zone name.
    NlbId string
    The NLB ID to match (conflicts with name).
    NlbName string
    The NLB name to match (conflicts with id).
    Timeouts Pulumiverse.Exoscale.Outputs.GetNlbServiceListTimeouts
    Id string
    The ID of this resource.
    Services []GetNlbServiceListService
    The list of exoscalenlbservice.
    Zone string
    The Exoscale Zone name.
    NlbId string
    The NLB ID to match (conflicts with name).
    NlbName string
    The NLB name to match (conflicts with id).
    Timeouts GetNlbServiceListTimeouts
    id String
    The ID of this resource.
    services List<GetNlbServiceListService>
    The list of exoscalenlbservice.
    zone String
    The Exoscale Zone name.
    nlbId String
    The NLB ID to match (conflicts with name).
    nlbName String
    The NLB name to match (conflicts with id).
    timeouts GetNlbServiceListTimeouts
    id string
    The ID of this resource.
    services GetNlbServiceListService[]
    The list of exoscalenlbservice.
    zone string
    The Exoscale Zone name.
    nlbId string
    The NLB ID to match (conflicts with name).
    nlbName string
    The NLB name to match (conflicts with id).
    timeouts GetNlbServiceListTimeouts
    id str
    The ID of this resource.
    services Sequence[GetNlbServiceListService]
    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 GetNlbServiceListTimeouts
    id String
    The ID of this resource.
    services List<Property Map>
    The list of exoscalenlbservice.
    zone String
    The Exoscale Zone name.
    nlbId String
    The NLB ID to match (conflicts with name).
    nlbName String
    The NLB name to match (conflicts with id).
    timeouts Property Map

    Supporting Types

    GetNlbServiceListService

    Description string
    NLB service description.
    Healthcheck Pulumiverse.Exoscale.Inputs.GetNlbServiceListServiceHealthcheck
    Id string
    NLB service ID.
    InstancePoolId string
    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).
    TargetPort int
    Port on which the network traffic will be forwarded to on the receiving instance.
    Description string
    NLB service description.
    Healthcheck GetNlbServiceListServiceHealthcheck
    Id string
    NLB service ID.
    InstancePoolId string
    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).
    TargetPort int
    Port on which the network traffic will be forwarded to on the receiving instance.
    description String
    NLB service description.
    healthcheck GetNlbServiceListServiceHealthcheck
    id String
    NLB service ID.
    instancePoolId String
    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).
    targetPort Integer
    Port on which the network traffic will be forwarded to on the receiving instance.
    description string
    NLB service description.
    healthcheck GetNlbServiceListServiceHealthcheck
    id string
    NLB service ID.
    instancePoolId string
    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).
    targetPort number
    Port on which the network traffic will be forwarded to on the receiving instance.
    description str
    NLB service description.
    healthcheck GetNlbServiceListServiceHealthcheck
    id str
    NLB service ID.
    instance_pool_id str
    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.
    instancePoolId String
    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).
    targetPort Number
    Port on which the network traffic will be forwarded to on the receiving instance.

    GetNlbServiceListServiceHealthcheck

    Interval int
    Mode string
    Port int
    Retries int
    Timeout int
    TlsSni string
    Uri string
    Interval int
    Mode string
    Port int
    Retries int
    Timeout int
    TlsSni string
    Uri string
    interval Integer
    mode String
    port Integer
    retries Integer
    timeout Integer
    tlsSni String
    uri String
    interval number
    mode string
    port number
    retries number
    timeout number
    tlsSni string
    uri string
    interval int
    mode str
    port int
    retries int
    timeout int
    tls_sni str
    uri str
    interval Number
    mode String
    port Number
    retries Number
    timeout Number
    tlsSni String
    uri String

    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.
    exoscale logo
    Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse