constellix.NaptrRecord
Explore with Pulumi AI
Create NaptrRecord Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NaptrRecord(name: string, args: NaptrRecordArgs, opts?: CustomResourceOptions);
@overload
def NaptrRecord(resource_name: str,
args: NaptrRecordArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NaptrRecord(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_id: Optional[str] = None,
roundrobins: Optional[Sequence[NaptrRecordRoundrobinArgs]] = None,
source_type: Optional[str] = None,
ttl: Optional[float] = None,
gtd_region: Optional[float] = None,
name: Optional[str] = None,
naptr_record_id: Optional[str] = None,
noanswer: Optional[bool] = None,
note: Optional[str] = None,
type: Optional[str] = None)
func NewNaptrRecord(ctx *Context, name string, args NaptrRecordArgs, opts ...ResourceOption) (*NaptrRecord, error)
public NaptrRecord(string name, NaptrRecordArgs args, CustomResourceOptions? opts = null)
public NaptrRecord(String name, NaptrRecordArgs args)
public NaptrRecord(String name, NaptrRecordArgs args, CustomResourceOptions options)
type: constellix:NaptrRecord
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. NaptrRecordArgs - 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. NaptrRecordArgs - 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. NaptrRecordArgs - 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. NaptrRecordArgs - 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. NaptrRecordArgs - 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 naptrRecordResource = new Constellix.NaptrRecord("naptrRecordResource", new()
{
DomainId = "string",
Roundrobins = new[]
{
new Constellix.Inputs.NaptrRecordRoundrobinArgs
{
DisableFlag = "string",
Flags = "string",
Order = "string",
Preference = "string",
RegularExpression = "string",
Replacement = "string",
Service = "string",
},
},
SourceType = "string",
Ttl = 0,
GtdRegion = 0,
Name = "string",
NaptrRecordId = "string",
Noanswer = false,
Note = "string",
Type = "string",
});
example, err := constellix.NewNaptrRecord(ctx, "naptrRecordResource", &constellix.NaptrRecordArgs{
DomainId: pulumi.String("string"),
Roundrobins: .NaptrRecordRoundrobinArray{
&.NaptrRecordRoundrobinArgs{
DisableFlag: pulumi.String("string"),
Flags: pulumi.String("string"),
Order: pulumi.String("string"),
Preference: pulumi.String("string"),
RegularExpression: pulumi.String("string"),
Replacement: pulumi.String("string"),
Service: pulumi.String("string"),
},
},
SourceType: pulumi.String("string"),
Ttl: pulumi.Float64(0),
GtdRegion: pulumi.Float64(0),
Name: pulumi.String("string"),
NaptrRecordId: pulumi.String("string"),
Noanswer: pulumi.Bool(false),
Note: pulumi.String("string"),
Type: pulumi.String("string"),
})
var naptrRecordResource = new NaptrRecord("naptrRecordResource", NaptrRecordArgs.builder()
.domainId("string")
.roundrobins(NaptrRecordRoundrobinArgs.builder()
.disableFlag("string")
.flags("string")
.order("string")
.preference("string")
.regularExpression("string")
.replacement("string")
.service("string")
.build())
.sourceType("string")
.ttl(0)
.gtdRegion(0)
.name("string")
.naptrRecordId("string")
.noanswer(false)
.note("string")
.type("string")
.build());
naptr_record_resource = constellix.NaptrRecord("naptrRecordResource",
domain_id="string",
roundrobins=[{
"disable_flag": "string",
"flags": "string",
"order": "string",
"preference": "string",
"regular_expression": "string",
"replacement": "string",
"service": "string",
}],
source_type="string",
ttl=0,
gtd_region=0,
name="string",
naptr_record_id="string",
noanswer=False,
note="string",
type="string")
const naptrRecordResource = new constellix.NaptrRecord("naptrRecordResource", {
domainId: "string",
roundrobins: [{
disableFlag: "string",
flags: "string",
order: "string",
preference: "string",
regularExpression: "string",
replacement: "string",
service: "string",
}],
sourceType: "string",
ttl: 0,
gtdRegion: 0,
name: "string",
naptrRecordId: "string",
noanswer: false,
note: "string",
type: "string",
});
type: constellix:NaptrRecord
properties:
domainId: string
gtdRegion: 0
name: string
naptrRecordId: string
noanswer: false
note: string
roundrobins:
- disableFlag: string
flags: string
order: string
preference: string
regularExpression: string
replacement: string
service: string
sourceType: string
ttl: 0
type: string
NaptrRecord 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 NaptrRecord resource accepts the following input properties:
- Domain
Id This property is required. string - Roundrobins
This property is required. List<NaptrRecord Roundrobin> - Source
Type This property is required. string - Ttl
This property is required. double - Gtd
Region double - Name string
- Naptr
Record stringId - The constellix calculated id of the NAPTR resource.
- Noanswer bool
- Note string
- Type string
- Domain
Id This property is required. string - Roundrobins
This property is required. []NaptrRecord Roundrobin Args - Source
Type This property is required. string - Ttl
This property is required. float64 - Gtd
Region float64 - Name string
- Naptr
Record stringId - The constellix calculated id of the NAPTR resource.
- Noanswer bool
- Note string
- Type string
- domain
Id This property is required. String - roundrobins
This property is required. List<NaptrRecord Roundrobin> - source
Type This property is required. String - ttl
This property is required. Double - gtd
Region Double - name String
- naptr
Record StringId - The constellix calculated id of the NAPTR resource.
- noanswer Boolean
- note String
- type String
- domain
Id This property is required. string - roundrobins
This property is required. NaptrRecord Roundrobin[] - source
Type This property is required. string - ttl
This property is required. number - gtd
Region number - name string
- naptr
Record stringId - The constellix calculated id of the NAPTR resource.
- noanswer boolean
- note string
- type string
- domain_
id This property is required. str - roundrobins
This property is required. Sequence[NaptrRecord Roundrobin Args] - source_
type This property is required. str - ttl
This property is required. float - gtd_
region float - name str
- naptr_
record_ strid - The constellix calculated id of the NAPTR resource.
- 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 - gtd
Region Number - name String
- naptr
Record StringId - The constellix calculated id of the NAPTR resource.
- noanswer Boolean
- note String
- type String
Outputs
All input properties are implicitly available as output properties. Additionally, the NaptrRecord 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 NaptrRecord Resource
Get an existing NaptrRecord 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?: NaptrRecordState, opts?: CustomResourceOptions): NaptrRecord
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
domain_id: Optional[str] = None,
gtd_region: Optional[float] = None,
name: Optional[str] = None,
naptr_record_id: Optional[str] = None,
noanswer: Optional[bool] = None,
note: Optional[str] = None,
roundrobins: Optional[Sequence[NaptrRecordRoundrobinArgs]] = None,
source_type: Optional[str] = None,
ttl: Optional[float] = None,
type: Optional[str] = None) -> NaptrRecord
func GetNaptrRecord(ctx *Context, name string, id IDInput, state *NaptrRecordState, opts ...ResourceOption) (*NaptrRecord, error)
public static NaptrRecord Get(string name, Input<string> id, NaptrRecordState? state, CustomResourceOptions? opts = null)
public static NaptrRecord get(String name, Output<String> id, NaptrRecordState state, CustomResourceOptions options)
resources: _: type: constellix:NaptrRecord 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.
- Domain
Id string - Gtd
Region double - Name string
- Naptr
Record stringId - The constellix calculated id of the NAPTR resource.
- Noanswer bool
- Note string
- Roundrobins
List<Naptr
Record Roundrobin> - Source
Type string - Ttl double
- Type string
- Domain
Id string - Gtd
Region float64 - Name string
- Naptr
Record stringId - The constellix calculated id of the NAPTR resource.
- Noanswer bool
- Note string
- Roundrobins
[]Naptr
Record Roundrobin Args - Source
Type string - Ttl float64
- Type string
- domain
Id String - gtd
Region Double - name String
- naptr
Record StringId - The constellix calculated id of the NAPTR resource.
- noanswer Boolean
- note String
- roundrobins
List<Naptr
Record Roundrobin> - source
Type String - ttl Double
- type String
- domain
Id string - gtd
Region number - name string
- naptr
Record stringId - The constellix calculated id of the NAPTR resource.
- noanswer boolean
- note string
- roundrobins
Naptr
Record Roundrobin[] - source
Type string - ttl number
- type string
- domain_
id str - gtd_
region float - name str
- naptr_
record_ strid - The constellix calculated id of the NAPTR resource.
- noanswer bool
- note str
- roundrobins
Sequence[Naptr
Record Roundrobin Args] - source_
type str - ttl float
- type str
- domain
Id String - gtd
Region Number - name String
- naptr
Record StringId - The constellix calculated id of the NAPTR resource.
- noanswer Boolean
- note String
- roundrobins List<Property Map>
- source
Type String - ttl Number
- type String
Supporting Types
NaptrRecordRoundrobin, NaptrRecordRoundrobinArgs
- Disable
Flag This property is required. string - Flags
This property is required. string - Order
This property is required. string - Preference
This property is required. string - Regular
Expression This property is required. string - Replacement
This property is required. string - Service
This property is required. string
- Disable
Flag This property is required. string - Flags
This property is required. string - Order
This property is required. string - Preference
This property is required. string - Regular
Expression This property is required. string - Replacement
This property is required. string - Service
This property is required. string
- disable
Flag This property is required. String - flags
This property is required. String - order
This property is required. String - preference
This property is required. String - regular
Expression This property is required. String - replacement
This property is required. String - service
This property is required. String
- disable
Flag This property is required. string - flags
This property is required. string - order
This property is required. string - preference
This property is required. string - regular
Expression This property is required. string - replacement
This property is required. string - service
This property is required. string
- disable_
flag This property is required. str - flags
This property is required. str - order
This property is required. str - preference
This property is required. str - regular_
expression This property is required. str - replacement
This property is required. str - service
This property is required. str
- disable
Flag This property is required. String - flags
This property is required. String - order
This property is required. String - preference
This property is required. String - regular
Expression This property is required. String - replacement
This property is required. String - service
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.