glesys.DnsdomainRecord
Explore with Pulumi AI
Import
Domain import.
$ pulumi import glesys:index/dnsdomainRecord:DnsdomainRecord examplerecord example.com,<recordid>
Create DnsdomainRecord Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DnsdomainRecord(name: string, args: DnsdomainRecordArgs, opts?: CustomResourceOptions);
@overload
def DnsdomainRecord(resource_name: str,
args: DnsdomainRecordArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DnsdomainRecord(resource_name: str,
opts: Optional[ResourceOptions] = None,
data: Optional[str] = None,
domain: Optional[str] = None,
host: Optional[str] = None,
type: Optional[str] = None,
dnsdomain_record_id: Optional[str] = None,
ttl: Optional[float] = None)
func NewDnsdomainRecord(ctx *Context, name string, args DnsdomainRecordArgs, opts ...ResourceOption) (*DnsdomainRecord, error)
public DnsdomainRecord(string name, DnsdomainRecordArgs args, CustomResourceOptions? opts = null)
public DnsdomainRecord(String name, DnsdomainRecordArgs args)
public DnsdomainRecord(String name, DnsdomainRecordArgs args, CustomResourceOptions options)
type: glesys:DnsdomainRecord
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 DnsdomainRecordArgs
- 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 DnsdomainRecordArgs
- 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 DnsdomainRecordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsdomainRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnsdomainRecordArgs
- 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 dnsdomainRecordResource = new Glesys.DnsdomainRecord("dnsdomainRecordResource", new()
{
Data = "string",
Domain = "string",
Host = "string",
Type = "string",
DnsdomainRecordId = "string",
Ttl = 0,
});
example, err := glesys.NewDnsdomainRecord(ctx, "dnsdomainRecordResource", &glesys.DnsdomainRecordArgs{
Data: pulumi.String("string"),
Domain: pulumi.String("string"),
Host: pulumi.String("string"),
Type: pulumi.String("string"),
DnsdomainRecordId: pulumi.String("string"),
Ttl: pulumi.Float64(0),
})
var dnsdomainRecordResource = new DnsdomainRecord("dnsdomainRecordResource", DnsdomainRecordArgs.builder()
.data("string")
.domain("string")
.host("string")
.type("string")
.dnsdomainRecordId("string")
.ttl(0)
.build());
dnsdomain_record_resource = glesys.DnsdomainRecord("dnsdomainRecordResource",
data="string",
domain="string",
host="string",
type="string",
dnsdomain_record_id="string",
ttl=0)
const dnsdomainRecordResource = new glesys.DnsdomainRecord("dnsdomainRecordResource", {
data: "string",
domain: "string",
host: "string",
type: "string",
dnsdomainRecordId: "string",
ttl: 0,
});
type: glesys:DnsdomainRecord
properties:
data: string
dnsdomainRecordId: string
domain: string
host: string
ttl: 0
type: string
DnsdomainRecord 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 DnsdomainRecord resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsdomainRecord resource produces the following output properties:
Look up Existing DnsdomainRecord Resource
Get an existing DnsdomainRecord 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?: DnsdomainRecordState, opts?: CustomResourceOptions): DnsdomainRecord
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
data: Optional[str] = None,
dnsdomain_record_id: Optional[str] = None,
domain: Optional[str] = None,
host: Optional[str] = None,
recordid: Optional[float] = None,
ttl: Optional[float] = None,
type: Optional[str] = None) -> DnsdomainRecord
func GetDnsdomainRecord(ctx *Context, name string, id IDInput, state *DnsdomainRecordState, opts ...ResourceOption) (*DnsdomainRecord, error)
public static DnsdomainRecord Get(string name, Input<string> id, DnsdomainRecordState? state, CustomResourceOptions? opts = null)
public static DnsdomainRecord get(String name, Output<String> id, DnsdomainRecordState state, CustomResourceOptions options)
resources: _: type: glesys:DnsdomainRecord 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.
- Data string
- Record data field. Ex.
127.0.0.1
- Dnsdomain
Record stringId - The ID of this resource.
- Domain string
- Domain name
- Host string
- Record host field. Ex.
www
- Recordid double
- Record internal id
- Ttl double
- Record TTL field
- Type string
- Record type. Must be one of
SOA
,A
,AAAA
,CAA
,CNAME
,MX
,NS
,TXT
,SRV
,URL
orPTR
- Data string
- Record data field. Ex.
127.0.0.1
- Dnsdomain
Record stringId - The ID of this resource.
- Domain string
- Domain name
- Host string
- Record host field. Ex.
www
- Recordid float64
- Record internal id
- Ttl float64
- Record TTL field
- Type string
- Record type. Must be one of
SOA
,A
,AAAA
,CAA
,CNAME
,MX
,NS
,TXT
,SRV
,URL
orPTR
- data String
- Record data field. Ex.
127.0.0.1
- dnsdomain
Record StringId - The ID of this resource.
- domain String
- Domain name
- host String
- Record host field. Ex.
www
- recordid Double
- Record internal id
- ttl Double
- Record TTL field
- type String
- Record type. Must be one of
SOA
,A
,AAAA
,CAA
,CNAME
,MX
,NS
,TXT
,SRV
,URL
orPTR
- data string
- Record data field. Ex.
127.0.0.1
- dnsdomain
Record stringId - The ID of this resource.
- domain string
- Domain name
- host string
- Record host field. Ex.
www
- recordid number
- Record internal id
- ttl number
- Record TTL field
- type string
- Record type. Must be one of
SOA
,A
,AAAA
,CAA
,CNAME
,MX
,NS
,TXT
,SRV
,URL
orPTR
- data String
- Record data field. Ex.
127.0.0.1
- dnsdomain
Record StringId - The ID of this resource.
- domain String
- Domain name
- host String
- Record host field. Ex.
www
- recordid Number
- Record internal id
- ttl Number
- Record TTL field
- type String
- Record type. Must be one of
SOA
,A
,AAAA
,CAA
,CNAME
,MX
,NS
,TXT
,SRV
,URL
orPTR
Package Details
- Repository
- glesys glesys/terraform-provider-glesys
- License
- Notes
- This Pulumi package is based on the
glesys
Terraform Provider.