constellix.ARecord
Explore with Pulumi AI
Create ARecord Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ARecord(name: string, args: ARecordArgs, opts?: CustomResourceOptions);@overload
def ARecord(resource_name: str,
            args: ARecordArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def ARecord(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[str] = None,
            name: Optional[str] = None,
            noanswer: Optional[bool] = None,
            note: Optional[str] = None,
            a_record_id: Optional[str] = None,
            record_failover_disable_flag: Optional[str] = None,
            gtd_region: Optional[float] = None,
            record_failover_values: Optional[Sequence[ARecordRecordFailoverValueArgs]] = None,
            record_option: Optional[str] = None,
            roundrobin_failovers: Optional[Sequence[ARecordRoundrobinFailoverArgs]] = None,
            roundrobins: Optional[Sequence[ARecordRoundrobinArgs]] = None,
            geo_location: Optional[Mapping[str, str]] = None,
            contact_ids: Optional[Sequence[float]] = None,
            type: Optional[str] = None)func NewARecord(ctx *Context, name string, args ARecordArgs, opts ...ResourceOption) (*ARecord, error)public ARecord(string name, ARecordArgs args, CustomResourceOptions? opts = null)
public ARecord(String name, ARecordArgs args)
public ARecord(String name, ARecordArgs args, CustomResourceOptions options)
type: constellix:ARecord
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 ARecordArgs
- 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 ARecordArgs
- 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 ARecordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ARecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ARecordArgs
- 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 arecordResource = new Constellix.ARecord("arecordResource", new()
{
    SourceType = "string",
    Ttl = 0,
    DomainId = "string",
    Pools = new[]
    {
        0,
    },
    RecordFailoverFailoverType = "string",
    Name = "string",
    Noanswer = false,
    Note = "string",
    ARecordId = "string",
    RecordFailoverDisableFlag = "string",
    GtdRegion = 0,
    RecordFailoverValues = new[]
    {
        new Constellix.Inputs.ARecordRecordFailoverValueArgs
        {
            DisableFlag = "string",
            SortOrder = "string",
            Value = "string",
            CheckId = 0,
        },
    },
    RecordOption = "string",
    RoundrobinFailovers = new[]
    {
        new Constellix.Inputs.ARecordRoundrobinFailoverArgs
        {
            SortOrder = "string",
            Value = "string",
            DisableFlag = "string",
        },
    },
    Roundrobins = new[]
    {
        new Constellix.Inputs.ARecordRoundrobinArgs
        {
            DisableFlag = "string",
            Value = "string",
        },
    },
    GeoLocation = 
    {
        { "string", "string" },
    },
    ContactIds = new[]
    {
        0,
    },
    Type = "string",
});
example, err := constellix.NewARecord(ctx, "arecordResource", &constellix.ARecordArgs{
	SourceType: pulumi.String("string"),
	Ttl:        pulumi.Float64(0),
	DomainId:   pulumi.String("string"),
	Pools: pulumi.Float64Array{
		pulumi.Float64(0),
	},
	RecordFailoverFailoverType: pulumi.String("string"),
	Name:                       pulumi.String("string"),
	Noanswer:                   pulumi.Bool(false),
	Note:                       pulumi.String("string"),
	ARecordId:                  pulumi.String("string"),
	RecordFailoverDisableFlag:  pulumi.String("string"),
	GtdRegion:                  pulumi.Float64(0),
	RecordFailoverValues: constellix.ARecordRecordFailoverValueArray{
		&constellix.ARecordRecordFailoverValueArgs{
			DisableFlag: pulumi.String("string"),
			SortOrder:   pulumi.String("string"),
			Value:       pulumi.String("string"),
			CheckId:     pulumi.Float64(0),
		},
	},
	RecordOption: pulumi.String("string"),
	RoundrobinFailovers: constellix.ARecordRoundrobinFailoverArray{
		&constellix.ARecordRoundrobinFailoverArgs{
			SortOrder:   pulumi.String("string"),
			Value:       pulumi.String("string"),
			DisableFlag: pulumi.String("string"),
		},
	},
	Roundrobins: constellix.ARecordRoundrobinArray{
		&constellix.ARecordRoundrobinArgs{
			DisableFlag: pulumi.String("string"),
			Value:       pulumi.String("string"),
		},
	},
	GeoLocation: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ContactIds: pulumi.Float64Array{
		pulumi.Float64(0),
	},
	Type: pulumi.String("string"),
})
var arecordResource = new ARecord("arecordResource", ARecordArgs.builder()
    .sourceType("string")
    .ttl(0.0)
    .domainId("string")
    .pools(0.0)
    .recordFailoverFailoverType("string")
    .name("string")
    .noanswer(false)
    .note("string")
    .aRecordId("string")
    .recordFailoverDisableFlag("string")
    .gtdRegion(0.0)
    .recordFailoverValues(ARecordRecordFailoverValueArgs.builder()
        .disableFlag("string")
        .sortOrder("string")
        .value("string")
        .checkId(0.0)
        .build())
    .recordOption("string")
    .roundrobinFailovers(ARecordRoundrobinFailoverArgs.builder()
        .sortOrder("string")
        .value("string")
        .disableFlag("string")
        .build())
    .roundrobins(ARecordRoundrobinArgs.builder()
        .disableFlag("string")
        .value("string")
        .build())
    .geoLocation(Map.of("string", "string"))
    .contactIds(0.0)
    .type("string")
    .build());
arecord_resource = constellix.ARecord("arecordResource",
    source_type="string",
    ttl=0,
    domain_id="string",
    pools=[0],
    record_failover_failover_type="string",
    name="string",
    noanswer=False,
    note="string",
    a_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",
    roundrobin_failovers=[{
        "sort_order": "string",
        "value": "string",
        "disable_flag": "string",
    }],
    roundrobins=[{
        "disable_flag": "string",
        "value": "string",
    }],
    geo_location={
        "string": "string",
    },
    contact_ids=[0],
    type="string")
const arecordResource = new constellix.ARecord("arecordResource", {
    sourceType: "string",
    ttl: 0,
    domainId: "string",
    pools: [0],
    recordFailoverFailoverType: "string",
    name: "string",
    noanswer: false,
    note: "string",
    aRecordId: "string",
    recordFailoverDisableFlag: "string",
    gtdRegion: 0,
    recordFailoverValues: [{
        disableFlag: "string",
        sortOrder: "string",
        value: "string",
        checkId: 0,
    }],
    recordOption: "string",
    roundrobinFailovers: [{
        sortOrder: "string",
        value: "string",
        disableFlag: "string",
    }],
    roundrobins: [{
        disableFlag: "string",
        value: "string",
    }],
    geoLocation: {
        string: "string",
    },
    contactIds: [0],
    type: "string",
});
type: constellix:ARecord
properties:
    aRecordId: string
    contactIds:
        - 0
    domainId: string
    geoLocation:
        string: string
    gtdRegion: 0
    name: string
    noanswer: false
    note: string
    pools:
        - 0
    recordFailoverDisableFlag: string
    recordFailoverFailoverType: string
    recordFailoverValues:
        - checkId: 0
          disableFlag: string
          sortOrder: string
          value: string
    recordOption: string
    roundrobinFailovers:
        - disableFlag: string
          sortOrder: string
          value: string
    roundrobins:
        - disableFlag: string
          value: string
    sourceType: string
    ttl: 0
    type: string
ARecord 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 ARecord resource accepts the following input properties:
- DomainId string
- SourceType string
- Ttl double
- ARecordId string
- The constellix calculated id of the A resource.
- ContactIds List<double>
- GeoLocation Dictionary<string, string>
- GtdRegion double
- Name string
- Noanswer bool
- Note string
- Pools List<double>
- RecordFailover stringDisable Flag 
- RecordFailover stringFailover Type 
- RecordFailover List<ARecordValues Record Failover Value> 
- RecordOption string
- RoundrobinFailovers List<ARecordRoundrobin Failover> 
- Roundrobins
List<ARecordRoundrobin> 
- Type string
- DomainId string
- SourceType string
- Ttl float64
- ARecordId string
- The constellix calculated id of the A resource.
- ContactIds []float64
- GeoLocation map[string]string
- GtdRegion float64
- Name string
- Noanswer bool
- Note string
- Pools []float64
- RecordFailover stringDisable Flag 
- RecordFailover stringFailover Type 
- RecordFailover []ARecordValues Record Failover Value Args 
- RecordOption string
- RoundrobinFailovers []ARecordRoundrobin Failover Args 
- Roundrobins
[]ARecordRoundrobin Args 
- Type string
- domainId String
- sourceType String
- ttl Double
- aRecord StringId 
- The constellix calculated id of the A resource.
- contactIds List<Double>
- geoLocation Map<String,String>
- gtdRegion Double
- name String
- noanswer Boolean
- note String
- pools List<Double>
- recordFailover StringDisable Flag 
- recordFailover StringFailover Type 
- recordFailover List<ARecordValues Record Failover Value> 
- recordOption String
- roundrobinFailovers List<ARecordRoundrobin Failover> 
- roundrobins
List<ARecordRoundrobin> 
- type String
- domainId string
- sourceType string
- ttl number
- aRecord stringId 
- The constellix calculated id of the A resource.
- contactIds number[]
- geoLocation {[key: string]: string}
- gtdRegion number
- name string
- noanswer boolean
- note string
- pools number[]
- recordFailover stringDisable Flag 
- recordFailover stringFailover Type 
- recordFailover ARecordValues Record Failover Value[] 
- recordOption string
- roundrobinFailovers ARecordRoundrobin Failover[] 
- roundrobins
ARecordRoundrobin[] 
- type string
- domain_id str
- source_type str
- ttl float
- a_record_ strid 
- The constellix calculated id of the A resource.
- 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_ strfailover_ type 
- record_failover_ Sequence[ARecordvalues Record Failover Value Args] 
- record_option str
- roundrobin_failovers Sequence[ARecordRoundrobin Failover Args] 
- roundrobins
Sequence[ARecordRoundrobin Args] 
- type str
- domainId String
- sourceType String
- ttl Number
- aRecord StringId 
- The constellix calculated id of the A resource.
- contactIds List<Number>
- geoLocation Map<String>
- gtdRegion Number
- name String
- noanswer Boolean
- note String
- pools List<Number>
- recordFailover StringDisable Flag 
- recordFailover StringFailover Type 
- recordFailover List<Property Map>Values 
- recordOption String
- roundrobinFailovers List<Property Map>
- roundrobins List<Property Map>
- type String
Outputs
All input properties are implicitly available as output properties. Additionally, the ARecord 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 ARecord Resource
Get an existing ARecord 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?: ARecordState, opts?: CustomResourceOptions): ARecord@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        a_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[str] = None,
        record_failover_values: Optional[Sequence[ARecordRecordFailoverValueArgs]] = None,
        record_option: Optional[str] = None,
        roundrobin_failovers: Optional[Sequence[ARecordRoundrobinFailoverArgs]] = None,
        roundrobins: Optional[Sequence[ARecordRoundrobinArgs]] = None,
        source_type: Optional[str] = None,
        ttl: Optional[float] = None,
        type: Optional[str] = None) -> ARecordfunc GetARecord(ctx *Context, name string, id IDInput, state *ARecordState, opts ...ResourceOption) (*ARecord, error)public static ARecord Get(string name, Input<string> id, ARecordState? state, CustomResourceOptions? opts = null)public static ARecord get(String name, Output<String> id, ARecordState state, CustomResourceOptions options)resources:  _:    type: constellix:ARecord    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.
- ARecordId string
- The constellix calculated id of the A resource.
- ContactIds List<double>
- DomainId string
- GeoLocation Dictionary<string, string>
- GtdRegion double
- Name string
- Noanswer bool
- Note string
- Pools List<double>
- RecordFailover stringDisable Flag 
- RecordFailover stringFailover Type 
- RecordFailover List<ARecordValues Record Failover Value> 
- RecordOption string
- RoundrobinFailovers List<ARecordRoundrobin Failover> 
- Roundrobins
List<ARecordRoundrobin> 
- SourceType string
- Ttl double
- Type string
- ARecordId string
- The constellix calculated id of the A resource.
- ContactIds []float64
- DomainId string
- GeoLocation map[string]string
- GtdRegion float64
- Name string
- Noanswer bool
- Note string
- Pools []float64
- RecordFailover stringDisable Flag 
- RecordFailover stringFailover Type 
- RecordFailover []ARecordValues Record Failover Value Args 
- RecordOption string
- RoundrobinFailovers []ARecordRoundrobin Failover Args 
- Roundrobins
[]ARecordRoundrobin Args 
- SourceType string
- Ttl float64
- Type string
- aRecord StringId 
- The constellix calculated id of the A resource.
- contactIds List<Double>
- domainId String
- geoLocation Map<String,String>
- gtdRegion Double
- name String
- noanswer Boolean
- note String
- pools List<Double>
- recordFailover StringDisable Flag 
- recordFailover StringFailover Type 
- recordFailover List<ARecordValues Record Failover Value> 
- recordOption String
- roundrobinFailovers List<ARecordRoundrobin Failover> 
- roundrobins
List<ARecordRoundrobin> 
- sourceType String
- ttl Double
- type String
- aRecord stringId 
- The constellix calculated id of the A resource.
- contactIds number[]
- domainId string
- geoLocation {[key: string]: string}
- gtdRegion number
- name string
- noanswer boolean
- note string
- pools number[]
- recordFailover stringDisable Flag 
- recordFailover stringFailover Type 
- recordFailover ARecordValues Record Failover Value[] 
- recordOption string
- roundrobinFailovers ARecordRoundrobin Failover[] 
- roundrobins
ARecordRoundrobin[] 
- sourceType string
- ttl number
- type string
- a_record_ strid 
- The constellix calculated id of the A resource.
- 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_ strfailover_ type 
- record_failover_ Sequence[ARecordvalues Record Failover Value Args] 
- record_option str
- roundrobin_failovers Sequence[ARecordRoundrobin Failover Args] 
- roundrobins
Sequence[ARecordRoundrobin Args] 
- source_type str
- ttl float
- type str
- aRecord StringId 
- The constellix calculated id of the A resource.
- contactIds List<Number>
- domainId String
- geoLocation Map<String>
- gtdRegion Number
- name String
- noanswer Boolean
- note String
- pools List<Number>
- recordFailover StringDisable Flag 
- recordFailover StringFailover Type 
- recordFailover List<Property Map>Values 
- recordOption String
- roundrobinFailovers List<Property Map>
- roundrobins List<Property Map>
- sourceType String
- ttl Number
- type String
Supporting Types
ARecordRecordFailoverValue, ARecordRecordFailoverValueArgs        
- 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
ARecordRoundrobin, ARecordRoundrobinArgs    
- DisableFlag string
- Value string
- DisableFlag string
- Value string
- disableFlag String
- value String
- disableFlag string
- value string
- disable_flag str
- value str
- disableFlag String
- value String
ARecordRoundrobinFailover, ARecordRoundrobinFailoverArgs      
- SortOrder string
- Value string
- DisableFlag string
- SortOrder string
- Value string
- DisableFlag string
- sortOrder String
- value String
- disableFlag String
- sortOrder string
- value string
- disableFlag string
- sort_order str
- value str
- disable_flag str
- sortOrder String
- value String
- disableFlag String
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the constellixTerraform Provider.