Viewing docs for constellix 0.4.6
published on Friday, Mar 7, 2025 by constellix
published on Friday, Mar 7, 2025 by constellix
Viewing docs for constellix 0.4.6
published on Friday, Mar 7, 2025 by constellix
published on Friday, Mar 7, 2025 by constellix
Data source for AAAA record.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as constellix from "@pulumi/constellix";
const firstrecord = constellix.getAaaaRecord({
domainId: constellix_domain.first_domain.id,
name: "firstrecord",
sourceType: "domains",
});
import pulumi
import pulumi_constellix as constellix
firstrecord = constellix.get_aaaa_record(domain_id=constellix_domain["first_domain"]["id"],
name="firstrecord",
source_type="domains")
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.LookupAaaaRecord(ctx, &constellix.LookupAaaaRecordArgs{
DomainId: constellix_domain.First_domain.Id,
Name: "firstrecord",
SourceType: "domains",
}, 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 firstrecord = Constellix.GetAaaaRecord.Invoke(new()
{
DomainId = constellix_domain.First_domain.Id,
Name = "firstrecord",
SourceType = "domains",
});
});
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.GetAaaaRecordArgs;
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 firstrecord = ConstellixFunctions.getAaaaRecord(GetAaaaRecordArgs.builder()
.domainId(constellix_domain.first_domain().id())
.name("firstrecord")
.sourceType("domains")
.build());
}
}
variables:
firstrecord:
fn::invoke:
function: constellix:getAaaaRecord
arguments:
domainId: ${constellix_domain.first_domain.id}
name: firstrecord
sourceType: domains
Using getAaaaRecord
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 getAaaaRecord(args: GetAaaaRecordArgs, opts?: InvokeOptions): Promise<GetAaaaRecordResult>
function getAaaaRecordOutput(args: GetAaaaRecordOutputArgs, opts?: InvokeOptions): Output<GetAaaaRecordResult>def get_aaaa_record(contact_ids: Optional[Sequence[float]] = None,
domain_id: Optional[str] = None,
geo_location: Optional[Mapping[str, str]] = None,
gtd_region: Optional[float] = None,
id: Optional[str] = None,
name: Optional[str] = None,
noanswer: Optional[bool] = None,
note: Optional[str] = None,
pools: Optional[Sequence[float]] = None,
record_failover_disable_flag: Optional[str] = None,
record_failover_failover_type: Optional[str] = None,
record_failover_values: Optional[Sequence[GetAaaaRecordRecordFailoverValue]] = None,
record_option: Optional[str] = None,
roundrobin: Optional[Mapping[str, str]] = None,
roundrobin_failovers: Optional[Sequence[GetAaaaRecordRoundrobinFailover]] = None,
source_type: Optional[str] = None,
ttl: Optional[float] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAaaaRecordResult
def get_aaaa_record_output(contact_ids: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
domain_id: Optional[pulumi.Input[str]] = None,
geo_location: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
gtd_region: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
noanswer: Optional[pulumi.Input[bool]] = None,
note: Optional[pulumi.Input[str]] = None,
pools: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
record_failover_disable_flag: Optional[pulumi.Input[str]] = None,
record_failover_failover_type: Optional[pulumi.Input[str]] = None,
record_failover_values: Optional[pulumi.Input[Sequence[pulumi.Input[GetAaaaRecordRecordFailoverValueArgs]]]] = None,
record_option: Optional[pulumi.Input[str]] = None,
roundrobin: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
roundrobin_failovers: Optional[pulumi.Input[Sequence[pulumi.Input[GetAaaaRecordRoundrobinFailoverArgs]]]] = None,
source_type: Optional[pulumi.Input[str]] = None,
ttl: Optional[pulumi.Input[float]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAaaaRecordResult]func LookupAaaaRecord(ctx *Context, args *LookupAaaaRecordArgs, opts ...InvokeOption) (*LookupAaaaRecordResult, error)
func LookupAaaaRecordOutput(ctx *Context, args *LookupAaaaRecordOutputArgs, opts ...InvokeOption) LookupAaaaRecordResultOutput> Note: This function is named LookupAaaaRecord in the Go SDK.
public static class GetAaaaRecord
{
public static Task<GetAaaaRecordResult> InvokeAsync(GetAaaaRecordArgs args, InvokeOptions? opts = null)
public static Output<GetAaaaRecordResult> Invoke(GetAaaaRecordInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAaaaRecordResult> getAaaaRecord(GetAaaaRecordArgs args, InvokeOptions options)
public static Output<GetAaaaRecordResult> getAaaaRecord(GetAaaaRecordArgs args, InvokeOptions options)
fn::invoke:
function: constellix:index/getAaaaRecord:getAaaaRecord
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain
Id string - Domain id of the AAAA record.
- Name string
- Name of record. Name should be unique.
- Source
Type string - Type of the AAAA record. The values which can be applied are "domains" or "templates".
- Contact
Ids List<double> - Geo
Location Dictionary<string, string> - Gtd
Region double - Id string
- Noanswer bool
- Note string
- Pools List<double>
- Record
Failover stringDisable Flag - Record
Failover stringFailover Type - Record
Failover List<GetValues Aaaa Record Record Failover Value> - Record
Option string - Roundrobin Dictionary<string, string>
- Roundrobin
Failovers List<GetAaaa Record Roundrobin Failover> - Ttl double
- Type string
- Domain
Id string - Domain id of the AAAA record.
- Name string
- Name of record. Name should be unique.
- Source
Type string - Type of the AAAA record. The values which can be applied are "domains" or "templates".
- Contact
Ids []float64 - Geo
Location map[string]string - Gtd
Region float64 - Id string
- Noanswer bool
- Note string
- Pools []float64
- Record
Failover stringDisable Flag - Record
Failover stringFailover Type - Record
Failover []GetValues Aaaa Record Record Failover Value - Record
Option string - Roundrobin map[string]string
- Roundrobin
Failovers []GetAaaa Record Roundrobin Failover - Ttl float64
- Type string
- domain
Id String - Domain id of the AAAA record.
- name String
- Name of record. Name should be unique.
- source
Type String - Type of the AAAA record. The values which can be applied are "domains" or "templates".
- contact
Ids List<Double> - geo
Location Map<String,String> - gtd
Region Double - id String
- noanswer Boolean
- note String
- pools List<Double>
- record
Failover StringDisable Flag - record
Failover StringFailover Type - record
Failover List<GetValues Aaaa Record Record Failover Value> - record
Option String - roundrobin Map<String,String>
- roundrobin
Failovers List<GetAaaa Record Roundrobin Failover> - ttl Double
- type String
- domain
Id string - Domain id of the AAAA record.
- name string
- Name of record. Name should be unique.
- source
Type string - Type of the AAAA record. The values which can be applied are "domains" or "templates".
- contact
Ids number[] - geo
Location {[key: string]: string} - gtd
Region number - id string
- noanswer boolean
- note string
- pools number[]
- record
Failover stringDisable Flag - record
Failover stringFailover Type - record
Failover GetValues Aaaa Record Record Failover Value[] - record
Option string - roundrobin {[key: string]: string}
- roundrobin
Failovers GetAaaa Record Roundrobin Failover[] - ttl number
- type string
- domain_
id str - Domain id of the AAAA record.
- name str
- Name of record. Name should be unique.
- source_
type str - Type of the AAAA record. The values which can be applied are "domains" or "templates".
- contact_
ids Sequence[float] - geo_
location Mapping[str, str] - gtd_
region float - id str
- noanswer bool
- note str
- pools Sequence[float]
- record_
failover_ strdisable_ flag - record_
failover_ strfailover_ type - record_
failover_ Sequence[Getvalues Aaaa Record Record Failover Value] - record_
option str - roundrobin Mapping[str, str]
- roundrobin_
failovers Sequence[GetAaaa Record Roundrobin Failover] - ttl float
- type str
- domain
Id String - Domain id of the AAAA record.
- name String
- Name of record. Name should be unique.
- source
Type String - Type of the AAAA record. The values which can be applied are "domains" or "templates".
- contact
Ids List<Number> - geo
Location Map<String> - gtd
Region Number - id String
- noanswer Boolean
- note String
- pools List<Number>
- record
Failover StringDisable Flag - record
Failover StringFailover Type - record
Failover List<Property Map>Values - record
Option String - roundrobin Map<String>
- roundrobin
Failovers List<Property Map> - ttl Number
- type String
getAaaaRecord Result
The following output properties are available:
- Contact
Ids List<double> - Domain
Id string - Geo
Location Dictionary<string, string> - Gtd
Region double - Id string
- Name string
- Noanswer bool
- Note string
- Pools List<double>
- Record
Failover stringDisable Flag - Record
Failover stringFailover Type - Record
Option string - Roundrobin Dictionary<string, string>
- Source
Type string - Ttl double
- Type string
- Record
Failover List<GetValues Aaaa Record Record Failover Value> - Roundrobin
Failovers List<GetAaaa Record Roundrobin Failover>
- Contact
Ids []float64 - Domain
Id string - Geo
Location map[string]string - Gtd
Region float64 - Id string
- Name string
- Noanswer bool
- Note string
- Pools []float64
- Record
Failover stringDisable Flag - Record
Failover stringFailover Type - Record
Option string - Roundrobin map[string]string
- Source
Type string - Ttl float64
- Type string
- Record
Failover []GetValues Aaaa Record Record Failover Value - Roundrobin
Failovers []GetAaaa Record Roundrobin Failover
- contact
Ids List<Double> - domain
Id String - geo
Location Map<String,String> - gtd
Region Double - id String
- name String
- noanswer Boolean
- note String
- pools List<Double>
- record
Failover StringDisable Flag - record
Failover StringFailover Type - record
Option String - roundrobin Map<String,String>
- source
Type String - ttl Double
- type String
- record
Failover List<GetValues Aaaa Record Record Failover Value> - roundrobin
Failovers List<GetAaaa Record Roundrobin Failover>
- contact
Ids number[] - domain
Id string - geo
Location {[key: string]: string} - gtd
Region number - id string
- name string
- noanswer boolean
- note string
- pools number[]
- record
Failover stringDisable Flag - record
Failover stringFailover Type - record
Option string - roundrobin {[key: string]: string}
- source
Type string - ttl number
- type string
- record
Failover GetValues Aaaa Record Record Failover Value[] - roundrobin
Failovers GetAaaa Record Roundrobin Failover[]
- contact_
ids Sequence[float] - domain_
id str - geo_
location Mapping[str, str] - gtd_
region float - id str
- name str
- noanswer bool
- note str
- pools Sequence[float]
- record_
failover_ strdisable_ flag - record_
failover_ strfailover_ type - record_
option str - roundrobin Mapping[str, str]
- source_
type str - ttl float
- type str
- record_
failover_ Sequence[Getvalues Aaaa Record Record Failover Value] - roundrobin_
failovers Sequence[GetAaaa Record Roundrobin Failover]
- contact
Ids List<Number> - domain
Id String - geo
Location Map<String> - gtd
Region Number - id String
- name String
- noanswer Boolean
- note String
- pools List<Number>
- record
Failover StringDisable Flag - record
Failover StringFailover Type - record
Option String - roundrobin Map<String>
- source
Type String - ttl Number
- type String
- record
Failover List<Property Map>Values - roundrobin
Failovers List<Property Map>
Supporting Types
GetAaaaRecordRecordFailoverValue
- Check
Id double - Disable
Flag string - Sort
Order string - Value string
- Check
Id float64 - Disable
Flag string - Sort
Order string - Value string
- check
Id Double - disable
Flag String - sort
Order String - value String
- check
Id number - disable
Flag string - sort
Order string - value string
- check_
id float - disable_
flag str - sort_
order str - value str
- check
Id Number - disable
Flag String - sort
Order String - value String
GetAaaaRecordRoundrobinFailover
- Disable
Flag string - Sortorder string
- Value string
- Disable
Flag string - Sortorder string
- Value string
- disable
Flag String - sortorder String
- value String
- disable
Flag string - sortorder string
- value string
- disable_
flag str - sortorder str
- value str
- disable
Flag String - sortorder String
- value String
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellixTerraform Provider.
Viewing docs for constellix 0.4.6
published on Friday, Mar 7, 2025 by constellix
published on Friday, Mar 7, 2025 by constellix
