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

constellix.CaaRecord

Explore with Pulumi AI

Create CaaRecord Resource

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

Constructor syntax

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

@overload
def CaaRecord(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              domain_id: Optional[str] = None,
              roundrobins: Optional[Sequence[CaaRecordRoundrobinArgs]] = None,
              source_type: Optional[str] = None,
              ttl: Optional[float] = None,
              caa_record_id: Optional[str] = None,
              gtd_region: Optional[float] = None,
              name: Optional[str] = None,
              noanswer: Optional[bool] = None,
              note: Optional[str] = None,
              type: Optional[str] = None)
func NewCaaRecord(ctx *Context, name string, args CaaRecordArgs, opts ...ResourceOption) (*CaaRecord, error)
public CaaRecord(string name, CaaRecordArgs args, CustomResourceOptions? opts = null)
public CaaRecord(String name, CaaRecordArgs args)
public CaaRecord(String name, CaaRecordArgs args, CustomResourceOptions options)
type: constellix:CaaRecord
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. CaaRecordArgs
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. CaaRecordArgs
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. CaaRecordArgs
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. CaaRecordArgs
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. CaaRecordArgs
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 caaRecordResource = new Constellix.CaaRecord("caaRecordResource", new()
{
    DomainId = "string",
    Roundrobins = new[]
    {
        new Constellix.Inputs.CaaRecordRoundrobinArgs
        {
            CaaProviderId = 0,
            Data = "string",
            DisableFlag = "string",
            Flag = "string",
            Tag = "string",
        },
    },
    SourceType = "string",
    Ttl = 0,
    CaaRecordId = "string",
    GtdRegion = 0,
    Name = "string",
    Noanswer = false,
    Note = "string",
    Type = "string",
});
Copy
example, err := constellix.NewCaaRecord(ctx, "caaRecordResource", &constellix.CaaRecordArgs{
DomainId: pulumi.String("string"),
Roundrobins: .CaaRecordRoundrobinArray{
&.CaaRecordRoundrobinArgs{
CaaProviderId: pulumi.Float64(0),
Data: pulumi.String("string"),
DisableFlag: pulumi.String("string"),
Flag: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
SourceType: pulumi.String("string"),
Ttl: pulumi.Float64(0),
CaaRecordId: pulumi.String("string"),
GtdRegion: pulumi.Float64(0),
Name: pulumi.String("string"),
Noanswer: pulumi.Bool(false),
Note: pulumi.String("string"),
Type: pulumi.String("string"),
})
Copy
var caaRecordResource = new CaaRecord("caaRecordResource", CaaRecordArgs.builder()
    .domainId("string")
    .roundrobins(CaaRecordRoundrobinArgs.builder()
        .caaProviderId(0)
        .data("string")
        .disableFlag("string")
        .flag("string")
        .tag("string")
        .build())
    .sourceType("string")
    .ttl(0)
    .caaRecordId("string")
    .gtdRegion(0)
    .name("string")
    .noanswer(false)
    .note("string")
    .type("string")
    .build());
Copy
caa_record_resource = constellix.CaaRecord("caaRecordResource",
    domain_id="string",
    roundrobins=[{
        "caa_provider_id": 0,
        "data": "string",
        "disable_flag": "string",
        "flag": "string",
        "tag": "string",
    }],
    source_type="string",
    ttl=0,
    caa_record_id="string",
    gtd_region=0,
    name="string",
    noanswer=False,
    note="string",
    type="string")
Copy
const caaRecordResource = new constellix.CaaRecord("caaRecordResource", {
    domainId: "string",
    roundrobins: [{
        caaProviderId: 0,
        data: "string",
        disableFlag: "string",
        flag: "string",
        tag: "string",
    }],
    sourceType: "string",
    ttl: 0,
    caaRecordId: "string",
    gtdRegion: 0,
    name: "string",
    noanswer: false,
    note: "string",
    type: "string",
});
Copy
type: constellix:CaaRecord
properties:
    caaRecordId: string
    domainId: string
    gtdRegion: 0
    name: string
    noanswer: false
    note: string
    roundrobins:
        - caaProviderId: 0
          data: string
          disableFlag: string
          flag: string
          tag: string
    sourceType: string
    ttl: 0
    type: string
Copy

CaaRecord 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 CaaRecord resource accepts the following input properties:

DomainId This property is required. string
Roundrobins This property is required. List<CaaRecordRoundrobin>
SourceType This property is required. string
Ttl This property is required. double
CaaRecordId string
GtdRegion double
Name string
Noanswer bool
Note string
Type string
DomainId This property is required. string
Roundrobins This property is required. []CaaRecordRoundrobinArgs
SourceType This property is required. string
Ttl This property is required. float64
CaaRecordId string
GtdRegion float64
Name string
Noanswer bool
Note string
Type string
domainId This property is required. String
roundrobins This property is required. List<CaaRecordRoundrobin>
sourceType This property is required. String
ttl This property is required. Double
caaRecordId String
gtdRegion Double
name String
noanswer Boolean
note String
type String
domainId This property is required. string
roundrobins This property is required. CaaRecordRoundrobin[]
sourceType This property is required. string
ttl This property is required. number
caaRecordId string
gtdRegion number
name string
noanswer boolean
note string
type string
domain_id This property is required. str
roundrobins This property is required. Sequence[CaaRecordRoundrobinArgs]
source_type This property is required. str
ttl This property is required. float
caa_record_id str
gtd_region float
name str
noanswer bool
note str
type str
domainId This property is required. String
roundrobins This property is required. List<Property Map>
sourceType This property is required. String
ttl This property is required. Number
caaRecordId String
gtdRegion Number
name String
noanswer Boolean
note String
type String

Outputs

All input properties are implicitly available as output properties. Additionally, the CaaRecord 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 CaaRecord Resource

Get an existing CaaRecord 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?: CaaRecordState, opts?: CustomResourceOptions): CaaRecord
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        caa_record_id: Optional[str] = None,
        domain_id: Optional[str] = None,
        gtd_region: Optional[float] = None,
        name: Optional[str] = None,
        noanswer: Optional[bool] = None,
        note: Optional[str] = None,
        roundrobins: Optional[Sequence[CaaRecordRoundrobinArgs]] = None,
        source_type: Optional[str] = None,
        ttl: Optional[float] = None,
        type: Optional[str] = None) -> CaaRecord
func GetCaaRecord(ctx *Context, name string, id IDInput, state *CaaRecordState, opts ...ResourceOption) (*CaaRecord, error)
public static CaaRecord Get(string name, Input<string> id, CaaRecordState? state, CustomResourceOptions? opts = null)
public static CaaRecord get(String name, Output<String> id, CaaRecordState state, CustomResourceOptions options)
resources:  _:    type: constellix:CaaRecord    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:
caaRecordId String
domainId String
gtdRegion Double
name String
noanswer Boolean
note String
roundrobins List<CaaRecordRoundrobin>
sourceType String
ttl Double
type String
caaRecordId string
domainId string
gtdRegion number
name string
noanswer boolean
note string
roundrobins CaaRecordRoundrobin[]
sourceType string
ttl number
type string
caaRecordId String
domainId String
gtdRegion Number
name String
noanswer Boolean
note String
roundrobins List<Property Map>
sourceType String
ttl Number
type String

Supporting Types

CaaRecordRoundrobin
, CaaRecordRoundrobinArgs

CaaProviderId This property is required. double
Data This property is required. string
DisableFlag This property is required. string
Flag This property is required. string
Tag This property is required. string
CaaProviderId This property is required. float64
Data This property is required. string
DisableFlag This property is required. string
Flag This property is required. string
Tag This property is required. string
caaProviderId This property is required. Double
data This property is required. String
disableFlag This property is required. String
flag This property is required. String
tag This property is required. String
caaProviderId This property is required. number
data This property is required. string
disableFlag This property is required. string
flag This property is required. string
tag This property is required. string
caa_provider_id This property is required. float
data This property is required. str
disable_flag This property is required. str
flag This property is required. str
tag This property is required. str
caaProviderId This property is required. Number
data This property is required. String
disableFlag This property is required. String
flag This property is required. String
tag This property is required. String

Package Details

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