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",
});
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"),
})
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());
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:
- Domain
Id This property is required. string - Roundrobins
This property is required. List<CaaRecord Roundrobin> - Source
Type This property is required. string - Ttl
This property is required. double - Caa
Record stringId - Gtd
Region double - Name string
- Noanswer bool
- Note string
- Type string
- Domain
Id This property is required. string - Roundrobins
This property is required. []CaaRecord Roundrobin Args - Source
Type This property is required. string - Ttl
This property is required. float64 - Caa
Record stringId - Gtd
Region float64 - Name string
- Noanswer bool
- Note string
- Type string
- domain
Id This property is required. String - roundrobins
This property is required. List<CaaRecord Roundrobin> - source
Type This property is required. String - ttl
This property is required. Double - caa
Record StringId - gtd
Region Double - name String
- noanswer Boolean
- note String
- type String
- domain
Id This property is required. string - roundrobins
This property is required. CaaRecord Roundrobin[] - source
Type This property is required. string - ttl
This property is required. number - caa
Record stringId - gtd
Region number - name string
- noanswer boolean
- note string
- type string
- domain_
id This property is required. str - roundrobins
This property is required. Sequence[CaaRecord Roundrobin Args] - source_
type This property is required. str - ttl
This property is required. float - caa_
record_ strid - gtd_
region float - name str
- noanswer bool
- note str
- type str
- domain
Id This property is required. String - roundrobins
This property is required. List<Property Map> - source
Type This property is required. String - ttl
This property is required. Number - caa
Record StringId - gtd
Region 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.
- Caa
Record stringId - Domain
Id string - Gtd
Region double - Name string
- Noanswer bool
- Note string
- Roundrobins
List<Caa
Record Roundrobin> - Source
Type string - Ttl double
- Type string
- Caa
Record stringId - Domain
Id string - Gtd
Region float64 - Name string
- Noanswer bool
- Note string
- Roundrobins
[]Caa
Record Roundrobin Args - Source
Type string - Ttl float64
- Type string
- caa
Record StringId - domain
Id String - gtd
Region Double - name String
- noanswer Boolean
- note String
- roundrobins
List<Caa
Record Roundrobin> - source
Type String - ttl Double
- type String
- caa
Record stringId - domain
Id string - gtd
Region number - name string
- noanswer boolean
- note string
- roundrobins
Caa
Record Roundrobin[] - source
Type string - ttl number
- type string
- caa_
record_ strid - domain_
id str - gtd_
region float - name str
- noanswer bool
- note str
- roundrobins
Sequence[Caa
Record Roundrobin Args] - source_
type str - ttl float
- type str
- caa
Record StringId - domain
Id String - gtd
Region Number - name String
- noanswer Boolean
- note String
- roundrobins List<Property Map>
- source
Type String - ttl Number
- type String
Supporting Types
CaaRecordRoundrobin, CaaRecordRoundrobinArgs
- Caa
Provider Id This property is required. double - Data
This property is required. string - Disable
Flag This property is required. string - Flag
This property is required. string - Tag
This property is required. string
- Caa
Provider Id This property is required. float64 - Data
This property is required. string - Disable
Flag This property is required. string - Flag
This property is required. string - Tag
This property is required. string
- caa
Provider Id This property is required. Double - data
This property is required. String - disable
Flag This property is required. String - flag
This property is required. String - tag
This property is required. String
- caa
Provider Id This property is required. number - data
This property is required. string - disable
Flag 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
- caa
Provider Id This property is required. Number - data
This property is required. String - disable
Flag 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.