1. Packages
  2. Constellix Provider
  3. API Docs
  4. getAaaaRecordPool
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix

constellix.getAaaaRecordPool

Explore with Pulumi AI

constellix logo
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix

    Data source for the pools of AAAA records.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as constellix from "@pulumi/constellix";
    
    const prac = constellix.getAaaaRecordPool({
        name: "firstrecord",
    });
    
    import pulumi
    import pulumi_constellix as constellix
    
    prac = constellix.get_aaaa_record_pool(name="firstrecord")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/constellix/constellix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := constellix.LookupAaaaRecordPool(ctx, &constellix.LookupAaaaRecordPoolArgs{
    			Name: "firstrecord",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Constellix = Pulumi.Constellix;
    
    return await Deployment.RunAsync(() => 
    {
        var prac = Constellix.GetAaaaRecordPool.Invoke(new()
        {
            Name = "firstrecord",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.constellix.ConstellixFunctions;
    import com.pulumi.constellix.inputs.GetAaaaRecordPoolArgs;
    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 prac = ConstellixFunctions.getAaaaRecordPool(GetAaaaRecordPoolArgs.builder()
                .name("firstrecord")
                .build());
    
        }
    }
    
    variables:
      prac:
        fn::invoke:
          function: constellix:getAaaaRecordPool
          arguments:
            name: firstrecord
    

    Attribute Reference

    • num_return - (Optional) minimum number of value object to return. Value must be in between 0 and 64.
    • min_available_failover - (Optional)minimum number of Available Failover . Value must be in between 0 and 64.
    • failed_flag - (Optional) failed flag. Default is false.
    • disable_flag - (Optional) Enable or disable pool values. Default is false.
    • values - (Optional) Object Number of IP/Hosts in a pool values cannot be less than the “Num Return” and “Min Available” values
    • values.value - (Optional) IPv6 address.
    • values.weight - (Optional) weight number to sort the priorty. Weight must be in between 1 and 1000000.
    • values.disable_flag - (Optional) Enable or disable pool values. Default is false.
    • values.check_id - (Optional) Sonar check id is Optional when you want to apply the ITO feature on a pool.
    • values.policy - (Optional) “followsonar” for Follow sonar. “alwaysoff” for Always off. “alwayson” for Always on. “offonfailure” for Off on Failure.
    • note - (Optional) Description.

    Using getAaaaRecordPool

    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 getAaaaRecordPool(args: GetAaaaRecordPoolArgs, opts?: InvokeOptions): Promise<GetAaaaRecordPoolResult>
    function getAaaaRecordPoolOutput(args: GetAaaaRecordPoolOutputArgs, opts?: InvokeOptions): Output<GetAaaaRecordPoolResult>
    def get_aaaa_record_pool(disable_flag: Optional[bool] = None,
                             failed_flag: Optional[bool] = None,
                             id: Optional[str] = None,
                             min_available_failover: Optional[float] = None,
                             name: Optional[str] = None,
                             note: Optional[str] = None,
                             num_return: Optional[float] = None,
                             values: Optional[Sequence[GetAaaaRecordPoolValue]] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAaaaRecordPoolResult
    def get_aaaa_record_pool_output(disable_flag: Optional[pulumi.Input[bool]] = None,
                             failed_flag: Optional[pulumi.Input[bool]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             min_available_failover: Optional[pulumi.Input[float]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             note: Optional[pulumi.Input[str]] = None,
                             num_return: Optional[pulumi.Input[float]] = None,
                             values: Optional[pulumi.Input[Sequence[pulumi.Input[GetAaaaRecordPoolValueArgs]]]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAaaaRecordPoolResult]
    func LookupAaaaRecordPool(ctx *Context, args *LookupAaaaRecordPoolArgs, opts ...InvokeOption) (*LookupAaaaRecordPoolResult, error)
    func LookupAaaaRecordPoolOutput(ctx *Context, args *LookupAaaaRecordPoolOutputArgs, opts ...InvokeOption) LookupAaaaRecordPoolResultOutput

    > Note: This function is named LookupAaaaRecordPool in the Go SDK.

    public static class GetAaaaRecordPool 
    {
        public static Task<GetAaaaRecordPoolResult> InvokeAsync(GetAaaaRecordPoolArgs args, InvokeOptions? opts = null)
        public static Output<GetAaaaRecordPoolResult> Invoke(GetAaaaRecordPoolInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAaaaRecordPoolResult> getAaaaRecordPool(GetAaaaRecordPoolArgs args, InvokeOptions options)
    public static Output<GetAaaaRecordPoolResult> getAaaaRecordPool(GetAaaaRecordPoolArgs args, InvokeOptions options)
    
    fn::invoke:
      function: constellix:index/getAaaaRecordPool:getAaaaRecordPool
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    (Required) Pool name should be unique.
    DisableFlag bool
    FailedFlag bool
    Id string
    MinAvailableFailover double
    Note string
    NumReturn double
    Values List<GetAaaaRecordPoolValue>
    Name string
    (Required) Pool name should be unique.
    DisableFlag bool
    FailedFlag bool
    Id string
    MinAvailableFailover float64
    Note string
    NumReturn float64
    Values []GetAaaaRecordPoolValue
    name String
    (Required) Pool name should be unique.
    disableFlag Boolean
    failedFlag Boolean
    id String
    minAvailableFailover Double
    note String
    numReturn Double
    values List<GetAaaaRecordPoolValue>
    name string
    (Required) Pool name should be unique.
    disableFlag boolean
    failedFlag boolean
    id string
    minAvailableFailover number
    note string
    numReturn number
    values GetAaaaRecordPoolValue[]
    name str
    (Required) Pool name should be unique.
    disable_flag bool
    failed_flag bool
    id str
    min_available_failover float
    note str
    num_return float
    values Sequence[GetAaaaRecordPoolValue]
    name String
    (Required) Pool name should be unique.
    disableFlag Boolean
    failedFlag Boolean
    id String
    minAvailableFailover Number
    note String
    numReturn Number
    values List<Property Map>

    getAaaaRecordPool Result

    The following output properties are available:

    DisableFlag bool
    FailedFlag bool
    Id string
    MinAvailableFailover double
    Name string
    (Required) Pool name should be unique.
    Note string
    NumReturn double
    Values List<GetAaaaRecordPoolValue>
    DisableFlag bool
    FailedFlag bool
    Id string
    MinAvailableFailover float64
    Name string
    (Required) Pool name should be unique.
    Note string
    NumReturn float64
    Values []GetAaaaRecordPoolValue
    disableFlag Boolean
    failedFlag Boolean
    id String
    minAvailableFailover Double
    name String
    (Required) Pool name should be unique.
    note String
    numReturn Double
    values List<GetAaaaRecordPoolValue>
    disableFlag boolean
    failedFlag boolean
    id string
    minAvailableFailover number
    name string
    (Required) Pool name should be unique.
    note string
    numReturn number
    values GetAaaaRecordPoolValue[]
    disable_flag bool
    failed_flag bool
    id str
    min_available_failover float
    name str
    (Required) Pool name should be unique.
    note str
    num_return float
    values Sequence[GetAaaaRecordPoolValue]
    disableFlag Boolean
    failedFlag Boolean
    id String
    minAvailableFailover Number
    name String
    (Required) Pool name should be unique.
    note String
    numReturn Number
    values List<Property Map>

    Supporting Types

    GetAaaaRecordPoolValue

    CheckId double
    DisableFlag bool
    Policy string
    Value string
    Weight string
    CheckId float64
    DisableFlag bool
    Policy string
    Value string
    Weight string
    checkId Double
    disableFlag Boolean
    policy String
    value String
    weight String
    checkId number
    disableFlag boolean
    policy string
    value string
    weight string
    checkId Number
    disableFlag Boolean
    policy String
    value String
    weight String

    Package Details

    Repository
    constellix constellix/terraform-provider-constellix
    License
    Notes
    This Pulumi package is based on the constellix Terraform Provider.
    constellix logo
    constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix