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 string
- The unique name of the resource.
- args AnameRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args AnameRecordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AnameRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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: constellix.AnameRecordRecordFailoverValueArray{
		&constellix.AnameRecordRecordFailoverValueArgs{
			DisableFlag: pulumi.String("string"),
			SortOrder:   pulumi.String("string"),
			Value:       pulumi.String("string"),
			CheckId:     pulumi.Float64(0),
		},
	},
	RecordOption: pulumi.String("string"),
	Roundrobins: constellix.AnameRecordRoundrobinArray{
		&constellix.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"),
})
var anameRecordResource = new AnameRecord("anameRecordResource", AnameRecordArgs.builder()
    .sourceType("string")
    .ttl(0.0)
    .domainId("string")
    .pools(0.0)
    .recordFailoverFailoverType(0.0)
    .name("string")
    .noanswer(false)
    .note("string")
    .anameRecordId("string")
    .recordFailoverDisableFlag("string")
    .gtdRegion(0.0)
    .recordFailoverValues(AnameRecordRecordFailoverValueArgs.builder()
        .disableFlag("string")
        .sortOrder("string")
        .value("string")
        .checkId(0.0)
        .build())
    .recordOption("string")
    .roundrobins(AnameRecordRoundrobinArgs.builder()
        .value("string")
        .disableFlag(false)
        .build())
    .skipLookup(false)
    .geoLocation(Map.of("string", "string"))
    .contactIds(0.0)
    .type("string")
    .build());
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")
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",
});
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
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 string
- SourceType string
- Ttl double
- AnameRecord stringId 
- ContactIds List<double>
- GeoLocation Dictionary<string, string>
- GtdRegion double
- Name string
- Noanswer bool
- Note string
- Pools List<double>
- RecordFailover stringDisable Flag 
- RecordFailover doubleFailover Type 
- RecordFailover List<AnameValues Record Record Failover Value> 
- RecordOption string
- Roundrobins
List<AnameRecord Roundrobin> 
- SkipLookup bool
- Type string
- DomainId string
- SourceType string
- Ttl float64
- AnameRecord stringId 
- ContactIds []float64
- GeoLocation map[string]string
- GtdRegion float64
- Name string
- Noanswer bool
- Note string
- Pools []float64
- RecordFailover stringDisable Flag 
- RecordFailover float64Failover Type 
- RecordFailover []AnameValues Record Record Failover Value Args 
- RecordOption string
- Roundrobins
[]AnameRecord Roundrobin Args 
- SkipLookup bool
- Type string
- domainId String
- sourceType String
- ttl Double
- anameRecord StringId 
- contactIds List<Double>
- geoLocation Map<String,String>
- gtdRegion Double
- name String
- noanswer Boolean
- note String
- pools List<Double>
- recordFailover StringDisable Flag 
- recordFailover DoubleFailover Type 
- recordFailover List<AnameValues Record Record Failover Value> 
- recordOption String
- roundrobins
List<AnameRecord Roundrobin> 
- skipLookup Boolean
- type String
- domainId string
- sourceType string
- ttl number
- anameRecord stringId 
- contactIds number[]
- geoLocation {[key: string]: string}
- gtdRegion number
- name string
- noanswer boolean
- note string
- pools number[]
- recordFailover stringDisable Flag 
- recordFailover numberFailover Type 
- recordFailover AnameValues Record Record Failover Value[] 
- recordOption string
- roundrobins
AnameRecord Roundrobin[] 
- skipLookup boolean
- type string
- domain_id str
- source_type str
- ttl float
- aname_record_ strid 
- contact_ids Sequence[float]
- geo_location Mapping[str, str]
- gtd_region float
- name str
- noanswer bool
- note str
- pools Sequence[float]
- record_failover_ strdisable_ flag 
- record_failover_ floatfailover_ type 
- record_failover_ Sequence[Anamevalues Record Record Failover Value Args] 
- record_option str
- roundrobins
Sequence[AnameRecord Roundrobin Args] 
- skip_lookup bool
- type str
- domainId String
- sourceType String
- ttl Number
- anameRecord StringId 
- contactIds List<Number>
- geoLocation Map<String>
- gtdRegion Number
- name String
- noanswer Boolean
- note String
- pools List<Number>
- recordFailover StringDisable Flag 
- recordFailover NumberFailover Type 
- recordFailover List<Property Map>Values 
- 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) -> AnameRecordfunc 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- AnameRecord stringId 
- ContactIds List<double>
- DomainId string
- GeoLocation Dictionary<string, string>
- GtdRegion double
- Name string
- Noanswer bool
- Note string
- Pools List<double>
- RecordFailover stringDisable Flag 
- RecordFailover doubleFailover Type 
- RecordFailover List<AnameValues Record Record Failover Value> 
- RecordOption string
- Roundrobins
List<AnameRecord Roundrobin> 
- SkipLookup bool
- SourceType string
- Ttl double
- Type string
- AnameRecord stringId 
- ContactIds []float64
- DomainId string
- GeoLocation map[string]string
- GtdRegion float64
- Name string
- Noanswer bool
- Note string
- Pools []float64
- RecordFailover stringDisable Flag 
- RecordFailover float64Failover Type 
- RecordFailover []AnameValues Record Record Failover Value Args 
- RecordOption string
- Roundrobins
[]AnameRecord Roundrobin Args 
- SkipLookup bool
- SourceType string
- Ttl float64
- Type string
- anameRecord StringId 
- contactIds List<Double>
- domainId String
- geoLocation Map<String,String>
- gtdRegion Double
- name String
- noanswer Boolean
- note String
- pools List<Double>
- recordFailover StringDisable Flag 
- recordFailover DoubleFailover Type 
- recordFailover List<AnameValues Record Record Failover Value> 
- recordOption String
- roundrobins
List<AnameRecord Roundrobin> 
- skipLookup Boolean
- sourceType String
- ttl Double
- type String
- anameRecord stringId 
- contactIds number[]
- domainId string
- geoLocation {[key: string]: string}
- gtdRegion number
- name string
- noanswer boolean
- note string
- pools number[]
- recordFailover stringDisable Flag 
- recordFailover numberFailover Type 
- recordFailover AnameValues Record Record Failover Value[] 
- recordOption string
- roundrobins
AnameRecord Roundrobin[] 
- skipLookup boolean
- sourceType string
- ttl number
- type string
- aname_record_ strid 
- contact_ids Sequence[float]
- domain_id str
- geo_location Mapping[str, str]
- gtd_region float
- name str
- noanswer bool
- note str
- pools Sequence[float]
- record_failover_ strdisable_ flag 
- record_failover_ floatfailover_ type 
- record_failover_ Sequence[Anamevalues Record Record Failover Value Args] 
- record_option str
- roundrobins
Sequence[AnameRecord Roundrobin Args] 
- skip_lookup bool
- source_type str
- ttl float
- type str
- anameRecord StringId 
- contactIds List<Number>
- domainId String
- geoLocation Map<String>
- gtdRegion Number
- name String
- noanswer Boolean
- note String
- pools List<Number>
- recordFailover StringDisable Flag 
- recordFailover NumberFailover Type 
- recordFailover List<Property Map>Values 
- recordOption String
- roundrobins List<Property Map>
- skipLookup Boolean
- sourceType String
- ttl Number
- type String
Supporting Types
AnameRecordRecordFailoverValue, AnameRecordRecordFailoverValueArgs          
- DisableFlag string
- SortOrder string
- Value string
- CheckId double
- DisableFlag string
- SortOrder string
- Value string
- CheckId float64
- disableFlag String
- sortOrder String
- value String
- checkId Double
- disableFlag string
- sortOrder string
- value string
- checkId number
- disable_flag str
- sort_order str
- value str
- check_id float
- disableFlag String
- sortOrder String
- value String
- checkId Number
AnameRecordRoundrobin, AnameRecordRoundrobinArgs      
- Value string
- DisableFlag bool
- Value string
- DisableFlag bool
- value String
- disableFlag Boolean
- value string
- disableFlag boolean
- value str
- disable_flag bool
- value String
- disableFlag Boolean
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the constellixTerraform Provider.