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

constellix.AnameRecord

Explore with Pulumi AI

Create AnameRecord Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AnameRecord(name: string, args: AnameRecordArgs, opts?: CustomResourceOptions);
@overload
def AnameRecord(resource_name: str,
                args: AnameRecordArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def AnameRecord(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                source_type: Optional[str] = None,
                ttl: Optional[float] = None,
                domain_id: Optional[str] = None,
                pools: Optional[Sequence[float]] = None,
                record_failover_failover_type: Optional[float] = None,
                name: Optional[str] = None,
                noanswer: Optional[bool] = None,
                note: Optional[str] = None,
                aname_record_id: Optional[str] = None,
                record_failover_disable_flag: Optional[str] = None,
                gtd_region: Optional[float] = None,
                record_failover_values: Optional[Sequence[AnameRecordRecordFailoverValueArgs]] = None,
                record_option: Optional[str] = None,
                roundrobins: Optional[Sequence[AnameRecordRoundrobinArgs]] = None,
                skip_lookup: Optional[bool] = None,
                geo_location: Optional[Mapping[str, str]] = None,
                contact_ids: Optional[Sequence[float]] = None,
                type: Optional[str] = None)
func NewAnameRecord(ctx *Context, name string, args AnameRecordArgs, opts ...ResourceOption) (*AnameRecord, error)
public AnameRecord(string name, AnameRecordArgs args, CustomResourceOptions? opts = null)
public AnameRecord(String name, AnameRecordArgs args)
public AnameRecord(String name, AnameRecordArgs args, CustomResourceOptions options)
type: constellix:AnameRecord
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AnameRecordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AnameRecordArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AnameRecordArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AnameRecordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AnameRecordArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var anameRecordResource = new Constellix.AnameRecord("anameRecordResource", new()
{
    SourceType = "string",
    Ttl = 0,
    DomainId = "string",
    Pools = new[]
    {
        0,
    },
    RecordFailoverFailoverType = 0,
    Name = "string",
    Noanswer = false,
    Note = "string",
    AnameRecordId = "string",
    RecordFailoverDisableFlag = "string",
    GtdRegion = 0,
    RecordFailoverValues = new[]
    {
        new Constellix.Inputs.AnameRecordRecordFailoverValueArgs
        {
            DisableFlag = "string",
            SortOrder = "string",
            Value = "string",
            CheckId = 0,
        },
    },
    RecordOption = "string",
    Roundrobins = new[]
    {
        new Constellix.Inputs.AnameRecordRoundrobinArgs
        {
            Value = "string",
            DisableFlag = false,
        },
    },
    SkipLookup = false,
    GeoLocation = 
    {
        { "string", "string" },
    },
    ContactIds = new[]
    {
        0,
    },
    Type = "string",
});
Copy
example, err := constellix.NewAnameRecord(ctx, "anameRecordResource", &constellix.AnameRecordArgs{
SourceType: pulumi.String("string"),
Ttl: pulumi.Float64(0),
DomainId: pulumi.String("string"),
Pools: pulumi.Float64Array{
pulumi.Float64(0),
},
RecordFailoverFailoverType: pulumi.Float64(0),
Name: pulumi.String("string"),
Noanswer: pulumi.Bool(false),
Note: pulumi.String("string"),
AnameRecordId: pulumi.String("string"),
RecordFailoverDisableFlag: pulumi.String("string"),
GtdRegion: pulumi.Float64(0),
RecordFailoverValues: .AnameRecordRecordFailoverValueArray{
&.AnameRecordRecordFailoverValueArgs{
DisableFlag: pulumi.String("string"),
SortOrder: pulumi.String("string"),
Value: pulumi.String("string"),
CheckId: pulumi.Float64(0),
},
},
RecordOption: pulumi.String("string"),
Roundrobins: .AnameRecordRoundrobinArray{
&.AnameRecordRoundrobinArgs{
Value: pulumi.String("string"),
DisableFlag: pulumi.Bool(false),
},
},
SkipLookup: pulumi.Bool(false),
GeoLocation: pulumi.StringMap{
"string": pulumi.String("string"),
},
ContactIds: pulumi.Float64Array{
pulumi.Float64(0),
},
Type: pulumi.String("string"),
})
Copy
var anameRecordResource = new AnameRecord("anameRecordResource", AnameRecordArgs.builder()
    .sourceType("string")
    .ttl(0)
    .domainId("string")
    .pools(0)
    .recordFailoverFailoverType(0)
    .name("string")
    .noanswer(false)
    .note("string")
    .anameRecordId("string")
    .recordFailoverDisableFlag("string")
    .gtdRegion(0)
    .recordFailoverValues(AnameRecordRecordFailoverValueArgs.builder()
        .disableFlag("string")
        .sortOrder("string")
        .value("string")
        .checkId(0)
        .build())
    .recordOption("string")
    .roundrobins(AnameRecordRoundrobinArgs.builder()
        .value("string")
        .disableFlag(false)
        .build())
    .skipLookup(false)
    .geoLocation(Map.of("string", "string"))
    .contactIds(0)
    .type("string")
    .build());
Copy
aname_record_resource = constellix.AnameRecord("anameRecordResource",
    source_type="string",
    ttl=0,
    domain_id="string",
    pools=[0],
    record_failover_failover_type=0,
    name="string",
    noanswer=False,
    note="string",
    aname_record_id="string",
    record_failover_disable_flag="string",
    gtd_region=0,
    record_failover_values=[{
        "disable_flag": "string",
        "sort_order": "string",
        "value": "string",
        "check_id": 0,
    }],
    record_option="string",
    roundrobins=[{
        "value": "string",
        "disable_flag": False,
    }],
    skip_lookup=False,
    geo_location={
        "string": "string",
    },
    contact_ids=[0],
    type="string")
Copy
const anameRecordResource = new constellix.AnameRecord("anameRecordResource", {
    sourceType: "string",
    ttl: 0,
    domainId: "string",
    pools: [0],
    recordFailoverFailoverType: 0,
    name: "string",
    noanswer: false,
    note: "string",
    anameRecordId: "string",
    recordFailoverDisableFlag: "string",
    gtdRegion: 0,
    recordFailoverValues: [{
        disableFlag: "string",
        sortOrder: "string",
        value: "string",
        checkId: 0,
    }],
    recordOption: "string",
    roundrobins: [{
        value: "string",
        disableFlag: false,
    }],
    skipLookup: false,
    geoLocation: {
        string: "string",
    },
    contactIds: [0],
    type: "string",
});
Copy
type: constellix:AnameRecord
properties:
    anameRecordId: string
    contactIds:
        - 0
    domainId: string
    geoLocation:
        string: string
    gtdRegion: 0
    name: string
    noanswer: false
    note: string
    pools:
        - 0
    recordFailoverDisableFlag: string
    recordFailoverFailoverType: 0
    recordFailoverValues:
        - checkId: 0
          disableFlag: string
          sortOrder: string
          value: string
    recordOption: string
    roundrobins:
        - disableFlag: false
          value: string
    skipLookup: false
    sourceType: string
    ttl: 0
    type: string
Copy

AnameRecord Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AnameRecord resource accepts the following input properties:

DomainId This property is required. string
SourceType This property is required. string
Ttl This property is required. double
AnameRecordId string
ContactIds List<double>
GeoLocation Dictionary<string, string>
GtdRegion double
Name string
Noanswer bool
Note string
Pools List<double>
RecordFailoverDisableFlag string
RecordFailoverFailoverType double
RecordFailoverValues List<AnameRecordRecordFailoverValue>
RecordOption string
Roundrobins List<AnameRecordRoundrobin>
SkipLookup bool
Type string
DomainId This property is required. string
SourceType This property is required. string
Ttl This property is required. float64
AnameRecordId string
ContactIds []float64
GeoLocation map[string]string
GtdRegion float64
Name string
Noanswer bool
Note string
Pools []float64
RecordFailoverDisableFlag string
RecordFailoverFailoverType float64
RecordFailoverValues []AnameRecordRecordFailoverValueArgs
RecordOption string
Roundrobins []AnameRecordRoundrobinArgs
SkipLookup bool
Type string
domainId This property is required. String
sourceType This property is required. String
ttl This property is required. Double
anameRecordId String
contactIds List<Double>
geoLocation Map<String,String>
gtdRegion Double
name String
noanswer Boolean
note String
pools List<Double>
recordFailoverDisableFlag String
recordFailoverFailoverType Double
recordFailoverValues List<AnameRecordRecordFailoverValue>
recordOption String
roundrobins List<AnameRecordRoundrobin>
skipLookup Boolean
type String
domainId This property is required. string
sourceType This property is required. string
ttl This property is required. number
anameRecordId string
contactIds number[]
geoLocation {[key: string]: string}
gtdRegion number
name string
noanswer boolean
note string
pools number[]
recordFailoverDisableFlag string
recordFailoverFailoverType number
recordFailoverValues AnameRecordRecordFailoverValue[]
recordOption string
roundrobins AnameRecordRoundrobin[]
skipLookup boolean
type string
domain_id This property is required. str
source_type This property is required. str
ttl This property is required. float
aname_record_id str
contact_ids Sequence[float]
geo_location Mapping[str, str]
gtd_region float
name str
noanswer bool
note str
pools Sequence[float]
record_failover_disable_flag str
record_failover_failover_type float
record_failover_values Sequence[AnameRecordRecordFailoverValueArgs]
record_option str
roundrobins Sequence[AnameRecordRoundrobinArgs]
skip_lookup bool
type str
domainId This property is required. String
sourceType This property is required. String
ttl This property is required. Number
anameRecordId String
contactIds List<Number>
geoLocation Map<String>
gtdRegion Number
name String
noanswer Boolean
note String
pools List<Number>
recordFailoverDisableFlag String
recordFailoverFailoverType Number
recordFailoverValues List<Property Map>
recordOption String
roundrobins List<Property Map>
skipLookup Boolean
type String

Outputs

All input properties are implicitly available as output properties. Additionally, the AnameRecord resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing AnameRecord Resource

Get an existing AnameRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AnameRecordState, opts?: CustomResourceOptions): AnameRecord
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aname_record_id: Optional[str] = None,
        contact_ids: Optional[Sequence[float]] = None,
        domain_id: Optional[str] = None,
        geo_location: Optional[Mapping[str, str]] = None,
        gtd_region: Optional[float] = 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[float] = None,
        record_failover_values: Optional[Sequence[AnameRecordRecordFailoverValueArgs]] = None,
        record_option: Optional[str] = None,
        roundrobins: Optional[Sequence[AnameRecordRoundrobinArgs]] = None,
        skip_lookup: Optional[bool] = None,
        source_type: Optional[str] = None,
        ttl: Optional[float] = None,
        type: Optional[str] = None) -> AnameRecord
func GetAnameRecord(ctx *Context, name string, id IDInput, state *AnameRecordState, opts ...ResourceOption) (*AnameRecord, error)
public static AnameRecord Get(string name, Input<string> id, AnameRecordState? state, CustomResourceOptions? opts = null)
public static AnameRecord get(String name, Output<String> id, AnameRecordState state, CustomResourceOptions options)
resources:  _:    type: constellix:AnameRecord    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:

Supporting Types

AnameRecordRecordFailoverValue
, AnameRecordRecordFailoverValueArgs

DisableFlag This property is required. string
SortOrder This property is required. string
Value This property is required. string
CheckId double
DisableFlag This property is required. string
SortOrder This property is required. string
Value This property is required. string
CheckId float64
disableFlag This property is required. String
sortOrder This property is required. String
value This property is required. String
checkId Double
disableFlag This property is required. string
sortOrder This property is required. string
value This property is required. string
checkId number
disable_flag This property is required. str
sort_order This property is required. str
value This property is required. str
check_id float
disableFlag This property is required. String
sortOrder This property is required. String
value This property is required. String
checkId Number

AnameRecordRoundrobin
, AnameRecordRoundrobinArgs

Value This property is required. string
DisableFlag bool
Value This property is required. string
DisableFlag bool
value This property is required. String
disableFlag Boolean
value This property is required. string
disableFlag boolean
value This property is required. str
disable_flag bool
value This property is required. String
disableFlag Boolean

Package Details

Repository
constellix constellix/terraform-provider-constellix
License
Notes
This Pulumi package is based on the constellix Terraform Provider.