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 string
- The unique name of the resource.
- args CaaRecordArgs
- 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 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 string
- The unique name of the resource.
- args CaaRecordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CaaRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := constellix.NewCaaRecord(ctx, "caaRecordResource", &constellix.CaaRecordArgs{
	DomainId: pulumi.String("string"),
	Roundrobins: constellix.CaaRecordRoundrobinArray{
		&constellix.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"),
})
var caaRecordResource = new CaaRecord("caaRecordResource", CaaRecordArgs.builder()
    .domainId("string")
    .roundrobins(CaaRecordRoundrobinArgs.builder()
        .caaProviderId(0.0)
        .data("string")
        .disableFlag("string")
        .flag("string")
        .tag("string")
        .build())
    .sourceType("string")
    .ttl(0.0)
    .caaRecordId("string")
    .gtdRegion(0.0)
    .name("string")
    .noanswer(false)
    .note("string")
    .type("string")
    .build());
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")
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",
});
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
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 string
- Roundrobins
List<CaaRecord Roundrobin> 
- SourceType string
- Ttl double
- CaaRecord stringId 
- GtdRegion double
- Name string
- Noanswer bool
- Note string
- Type string
- DomainId string
- Roundrobins
[]CaaRecord Roundrobin Args 
- SourceType string
- Ttl float64
- CaaRecord stringId 
- GtdRegion float64
- Name string
- Noanswer bool
- Note string
- Type string
- domainId String
- roundrobins
List<CaaRecord Roundrobin> 
- sourceType String
- ttl Double
- caaRecord StringId 
- gtdRegion Double
- name String
- noanswer Boolean
- note String
- type String
- domainId string
- roundrobins
CaaRecord Roundrobin[] 
- sourceType string
- ttl number
- caaRecord stringId 
- gtdRegion number
- name string
- noanswer boolean
- note string
- type string
- domain_id str
- roundrobins
Sequence[CaaRecord Roundrobin Args] 
- source_type str
- ttl float
- caa_record_ strid 
- gtd_region float
- name str
- noanswer bool
- note str
- type str
- domainId String
- roundrobins List<Property Map>
- sourceType String
- ttl Number
- caaRecord StringId 
- 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) -> CaaRecordfunc 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
- 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.
- CaaRecord stringId 
- DomainId string
- GtdRegion double
- Name string
- Noanswer bool
- Note string
- Roundrobins
List<CaaRecord Roundrobin> 
- SourceType string
- Ttl double
- Type string
- CaaRecord stringId 
- DomainId string
- GtdRegion float64
- Name string
- Noanswer bool
- Note string
- Roundrobins
[]CaaRecord Roundrobin Args 
- SourceType string
- Ttl float64
- Type string
- caaRecord StringId 
- domainId String
- gtdRegion Double
- name String
- noanswer Boolean
- note String
- roundrobins
List<CaaRecord Roundrobin> 
- sourceType String
- ttl Double
- type String
- caaRecord stringId 
- domainId string
- gtdRegion number
- name string
- noanswer boolean
- note string
- roundrobins
CaaRecord Roundrobin[] 
- sourceType string
- ttl number
- type string
- caa_record_ strid 
- domain_id str
- gtd_region float
- name str
- noanswer bool
- note str
- roundrobins
Sequence[CaaRecord Roundrobin Args] 
- source_type str
- ttl float
- type str
- caaRecord StringId 
- domainId String
- gtdRegion Number
- name String
- noanswer Boolean
- note String
- roundrobins List<Property Map>
- sourceType String
- ttl Number
- type String
Supporting Types
CaaRecordRoundrobin, CaaRecordRoundrobinArgs      
- CaaProvider doubleId 
- Data string
- DisableFlag string
- Flag string
- Tag string
- CaaProvider float64Id 
- Data string
- DisableFlag string
- Flag string
- Tag string
- caaProvider DoubleId 
- data String
- disableFlag String
- flag String
- tag String
- caaProvider numberId 
- data string
- disableFlag string
- flag string
- tag string
- caa_provider_ floatid 
- data str
- disable_flag str
- flag str
- tag str
- caaProvider NumberId 
- data String
- disableFlag String
- flag String
- tag String
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the constellixTerraform Provider.