constellix.CertRecord
Explore with Pulumi AI
Create CertRecord Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertRecord(name: string, args: CertRecordArgs, opts?: CustomResourceOptions);
@overload
def CertRecord(resource_name: str,
args: CertRecordArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CertRecord(resource_name: str,
opts: Optional[ResourceOptions] = None,
roundrobins: Optional[Sequence[CertRecordRoundrobinArgs]] = None,
domain_id: Optional[str] = None,
ttl: Optional[float] = None,
source_type: Optional[str] = None,
parent: Optional[str] = None,
note: Optional[str] = None,
cert_record_id: Optional[str] = None,
parentid: Optional[float] = None,
noanswer: Optional[bool] = None,
source: Optional[str] = None,
name: Optional[str] = None,
gtd_region: Optional[float] = None,
type: Optional[str] = None)
func NewCertRecord(ctx *Context, name string, args CertRecordArgs, opts ...ResourceOption) (*CertRecord, error)
public CertRecord(string name, CertRecordArgs args, CustomResourceOptions? opts = null)
public CertRecord(String name, CertRecordArgs args)
public CertRecord(String name, CertRecordArgs args, CustomResourceOptions options)
type: constellix:CertRecord
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. CertRecordArgs - 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. CertRecordArgs - 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. CertRecordArgs - 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. CertRecordArgs - 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. CertRecordArgs - 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 certRecordResource = new Constellix.CertRecord("certRecordResource", new()
{
Roundrobins = new[]
{
new Constellix.Inputs.CertRecordRoundrobinArgs
{
Algorithm = 0,
Certificate = "string",
CertificateType = 0,
KeyTag = 0,
DisableFlag = "string",
},
},
DomainId = "string",
Ttl = 0,
SourceType = "string",
Parent = "string",
Note = "string",
CertRecordId = "string",
Parentid = 0,
Noanswer = false,
Source = "string",
Name = "string",
GtdRegion = 0,
Type = "string",
});
example, err := constellix.NewCertRecord(ctx, "certRecordResource", &constellix.CertRecordArgs{
Roundrobins: .CertRecordRoundrobinArray{
&.CertRecordRoundrobinArgs{
Algorithm: pulumi.Float64(0),
Certificate: pulumi.String("string"),
CertificateType: pulumi.Float64(0),
KeyTag: pulumi.Float64(0),
DisableFlag: pulumi.String("string"),
},
},
DomainId: pulumi.String("string"),
Ttl: pulumi.Float64(0),
SourceType: pulumi.String("string"),
Parent: pulumi.String("string"),
Note: pulumi.String("string"),
CertRecordId: pulumi.String("string"),
Parentid: pulumi.Float64(0),
Noanswer: pulumi.Bool(false),
Source: pulumi.String("string"),
Name: pulumi.String("string"),
GtdRegion: pulumi.Float64(0),
Type: pulumi.String("string"),
})
var certRecordResource = new CertRecord("certRecordResource", CertRecordArgs.builder()
.roundrobins(CertRecordRoundrobinArgs.builder()
.algorithm(0)
.certificate("string")
.certificateType(0)
.keyTag(0)
.disableFlag("string")
.build())
.domainId("string")
.ttl(0)
.sourceType("string")
.parent("string")
.note("string")
.certRecordId("string")
.parentid(0)
.noanswer(false)
.source("string")
.name("string")
.gtdRegion(0)
.type("string")
.build());
cert_record_resource = constellix.CertRecord("certRecordResource",
roundrobins=[{
"algorithm": 0,
"certificate": "string",
"certificate_type": 0,
"key_tag": 0,
"disable_flag": "string",
}],
domain_id="string",
ttl=0,
source_type="string",
parent="string",
note="string",
cert_record_id="string",
parentid=0,
noanswer=False,
source="string",
name="string",
gtd_region=0,
type="string")
const certRecordResource = new constellix.CertRecord("certRecordResource", {
roundrobins: [{
algorithm: 0,
certificate: "string",
certificateType: 0,
keyTag: 0,
disableFlag: "string",
}],
domainId: "string",
ttl: 0,
sourceType: "string",
parent: "string",
note: "string",
certRecordId: "string",
parentid: 0,
noanswer: false,
source: "string",
name: "string",
gtdRegion: 0,
type: "string",
});
type: constellix:CertRecord
properties:
certRecordId: string
domainId: string
gtdRegion: 0
name: string
noanswer: false
note: string
parent: string
parentid: 0
roundrobins:
- algorithm: 0
certificate: string
certificateType: 0
disableFlag: string
keyTag: 0
source: string
sourceType: string
ttl: 0
type: string
CertRecord 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 CertRecord resource accepts the following input properties:
- Domain
Id This property is required. string - Roundrobins
This property is required. List<CertRecord Roundrobin> - Source
Type This property is required. string - Ttl
This property is required. double - Cert
Record stringId - The constellix calculated id of the CERT resource.
- Gtd
Region double - Name string
- Noanswer bool
- Note string
- Parent string
- Parentid double
- Source string
- Type string
- Domain
Id This property is required. string - Roundrobins
This property is required. []CertRecord Roundrobin Args - Source
Type This property is required. string - Ttl
This property is required. float64 - Cert
Record stringId - The constellix calculated id of the CERT resource.
- Gtd
Region float64 - Name string
- Noanswer bool
- Note string
- Parent string
- Parentid float64
- Source string
- Type string
- domain
Id This property is required. String - roundrobins
This property is required. List<CertRecord Roundrobin> - source
Type This property is required. String - ttl
This property is required. Double - cert
Record StringId - The constellix calculated id of the CERT resource.
- gtd
Region Double - name String
- noanswer Boolean
- note String
- parent String
- parentid Double
- source String
- type String
- domain
Id This property is required. string - roundrobins
This property is required. CertRecord Roundrobin[] - source
Type This property is required. string - ttl
This property is required. number - cert
Record stringId - The constellix calculated id of the CERT resource.
- gtd
Region number - name string
- noanswer boolean
- note string
- parent string
- parentid number
- source string
- type string
- domain_
id This property is required. str - roundrobins
This property is required. Sequence[CertRecord Roundrobin Args] - source_
type This property is required. str - ttl
This property is required. float - cert_
record_ strid - The constellix calculated id of the CERT resource.
- gtd_
region float - name str
- noanswer bool
- note str
- parent str
- parentid float
- source 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 - cert
Record StringId - The constellix calculated id of the CERT resource.
- gtd
Region Number - name String
- noanswer Boolean
- note String
- parent String
- parentid Number
- source String
- type String
Outputs
All input properties are implicitly available as output properties. Additionally, the CertRecord 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 CertRecord Resource
Get an existing CertRecord 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?: CertRecordState, opts?: CustomResourceOptions): CertRecord
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cert_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,
parent: Optional[str] = None,
parentid: Optional[float] = None,
roundrobins: Optional[Sequence[CertRecordRoundrobinArgs]] = None,
source: Optional[str] = None,
source_type: Optional[str] = None,
ttl: Optional[float] = None,
type: Optional[str] = None) -> CertRecord
func GetCertRecord(ctx *Context, name string, id IDInput, state *CertRecordState, opts ...ResourceOption) (*CertRecord, error)
public static CertRecord Get(string name, Input<string> id, CertRecordState? state, CustomResourceOptions? opts = null)
public static CertRecord get(String name, Output<String> id, CertRecordState state, CustomResourceOptions options)
resources: _: type: constellix:CertRecord 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.
- Cert
Record stringId - The constellix calculated id of the CERT resource.
- Domain
Id string - Gtd
Region double - Name string
- Noanswer bool
- Note string
- Parent string
- Parentid double
- Roundrobins
List<Cert
Record Roundrobin> - Source string
- Source
Type string - Ttl double
- Type string
- Cert
Record stringId - The constellix calculated id of the CERT resource.
- Domain
Id string - Gtd
Region float64 - Name string
- Noanswer bool
- Note string
- Parent string
- Parentid float64
- Roundrobins
[]Cert
Record Roundrobin Args - Source string
- Source
Type string - Ttl float64
- Type string
- cert
Record StringId - The constellix calculated id of the CERT resource.
- domain
Id String - gtd
Region Double - name String
- noanswer Boolean
- note String
- parent String
- parentid Double
- roundrobins
List<Cert
Record Roundrobin> - source String
- source
Type String - ttl Double
- type String
- cert
Record stringId - The constellix calculated id of the CERT resource.
- domain
Id string - gtd
Region number - name string
- noanswer boolean
- note string
- parent string
- parentid number
- roundrobins
Cert
Record Roundrobin[] - source string
- source
Type string - ttl number
- type string
- cert_
record_ strid - The constellix calculated id of the CERT resource.
- domain_
id str - gtd_
region float - name str
- noanswer bool
- note str
- parent str
- parentid float
- roundrobins
Sequence[Cert
Record Roundrobin Args] - source str
- source_
type str - ttl float
- type str
- cert
Record StringId - The constellix calculated id of the CERT resource.
- domain
Id String - gtd
Region Number - name String
- noanswer Boolean
- note String
- parent String
- parentid Number
- roundrobins List<Property Map>
- source String
- source
Type String - ttl Number
- type String
Supporting Types
CertRecordRoundrobin, CertRecordRoundrobinArgs
- Algorithm
This property is required. double - Certificate
This property is required. string - Certificate
Type This property is required. double - Key
Tag This property is required. double - Disable
Flag string
- Algorithm
This property is required. float64 - Certificate
This property is required. string - Certificate
Type This property is required. float64 - Key
Tag This property is required. float64 - Disable
Flag string
- algorithm
This property is required. Double - certificate
This property is required. String - certificate
Type This property is required. Double - key
Tag This property is required. Double - disable
Flag String
- algorithm
This property is required. number - certificate
This property is required. string - certificate
Type This property is required. number - key
Tag This property is required. number - disable
Flag string
- algorithm
This property is required. float - certificate
This property is required. str - certificate_
type This property is required. float - key_
tag This property is required. float - disable_
flag str
- algorithm
This property is required. Number - certificate
This property is required. String - certificate
Type This property is required. Number - key
Tag This property is required. Number - disable
Flag String
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellix
Terraform Provider.