constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
constellix.getARecordPool
Explore with Pulumi AI
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
Data source for the pools of A records.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as constellix from "@pulumi/constellix";
const prac = constellix.getARecordPool({
name: "firstrecord",
});
import pulumi
import pulumi_constellix as constellix
prac = constellix.get_a_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.LookupARecordPool(ctx, &constellix.LookupARecordPoolArgs{
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.GetARecordPool.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.GetARecordPoolArgs;
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.getARecordPool(GetARecordPoolArgs.builder()
.name("firstrecord")
.build());
}
}
variables:
prac:
fn::invoke:
function: constellix:getARecordPool
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.version
- (Optional) System generated version number.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” valuesvalues.value
- (Optional) IPv4 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 getARecordPool
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 getARecordPool(args: GetARecordPoolArgs, opts?: InvokeOptions): Promise<GetARecordPoolResult>
function getARecordPoolOutput(args: GetARecordPoolOutputArgs, opts?: InvokeOptions): Output<GetARecordPoolResult>
def get_a_record_pool(disable_flag1: 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[GetARecordPoolValue]] = None,
version: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetARecordPoolResult
def get_a_record_pool_output(disable_flag1: 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[GetARecordPoolValueArgs]]]] = None,
version: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetARecordPoolResult]
func LookupARecordPool(ctx *Context, args *LookupARecordPoolArgs, opts ...InvokeOption) (*LookupARecordPoolResult, error)
func LookupARecordPoolOutput(ctx *Context, args *LookupARecordPoolOutputArgs, opts ...InvokeOption) LookupARecordPoolResultOutput
> Note: This function is named LookupARecordPool
in the Go SDK.
public static class GetARecordPool
{
public static Task<GetARecordPoolResult> InvokeAsync(GetARecordPoolArgs args, InvokeOptions? opts = null)
public static Output<GetARecordPoolResult> Invoke(GetARecordPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetARecordPoolResult> getARecordPool(GetARecordPoolArgs args, InvokeOptions options)
public static Output<GetARecordPoolResult> getARecordPool(GetARecordPoolArgs args, InvokeOptions options)
fn::invoke:
function: constellix:index/getARecordPool:getARecordPool
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Pool name should be unique.
- Disable
Flag1 bool - Failed
Flag bool - Id string
- double
- Note string
- Num
Return double - Values
List<Get
ARecord Pool Value> - Version double
- Name string
- Pool name should be unique.
- Disable
Flag1 bool - Failed
Flag bool - Id string
- float64
- Note string
- Num
Return float64 - Values
[]Get
ARecord Pool Value - Version float64
- name String
- Pool name should be unique.
- disable
Flag1 Boolean - failed
Flag Boolean - id String
- Double
- note String
- num
Return Double - values
List<Get
ARecord Pool Value> - version Double
- name string
- Pool name should be unique.
- disable
Flag1 boolean - failed
Flag boolean - id string
- number
- note string
- num
Return number - values
Get
ARecord Pool Value[] - version number
- name str
- Pool name should be unique.
- disable_
flag1 bool - failed_
flag bool - id str
- min_
available_ floatfailover - note str
- num_
return float - values
Sequence[Get
ARecord Pool Value] - version float
- name String
- Pool name should be unique.
- disable
Flag1 Boolean - failed
Flag Boolean - id String
- Number
- note String
- num
Return Number - values List<Property Map>
- version Number
getARecordPool Result
The following output properties are available:
- Disable
Flag1 bool - Failed
Flag bool - Id string
- double
- Name string
- Note string
- Num
Return double - Version double
- Values
List<Get
ARecord Pool Value>
- Disable
Flag1 bool - Failed
Flag bool - Id string
- float64
- Name string
- Note string
- Num
Return float64 - Version float64
- Values
[]Get
ARecord Pool Value
- disable
Flag1 Boolean - failed
Flag Boolean - id String
- Double
- name String
- note String
- num
Return Double - version Double
- values
List<Get
ARecord Pool Value>
- disable
Flag1 boolean - failed
Flag boolean - id string
- number
- name string
- note string
- num
Return number - version number
- values
Get
ARecord Pool Value[]
- disable_
flag1 bool - failed_
flag bool - id str
- min_
available_ floatfailover - name str
- note str
- num_
return float - version float
- values
Sequence[Get
ARecord Pool Value]
- disable
Flag1 Boolean - failed
Flag Boolean - id String
- Number
- name String
- note String
- num
Return Number - version Number
- values List<Property Map>
Supporting Types
GetARecordPoolValue
- Check
Id double - Disable
Flag string - Policy string
- Value string
- Weight double
- Check
Id float64 - Disable
Flag string - Policy string
- Value string
- Weight float64
- check
Id Double - disable
Flag String - policy String
- value String
- weight Double
- check
Id number - disable
Flag string - policy string
- value string
- weight number
- check_
id float - disable_
flag str - policy str
- value str
- weight float
- check
Id Number - disable
Flag String - policy String
- value String
- weight Number
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellix
Terraform Provider.
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix