1. Packages
  2. Glesys Provider
  3. API Docs
  4. DnsdomainRecord
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

glesys.DnsdomainRecord

Explore with Pulumi AI

glesys logo
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

    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:

    Data string
    Record data field. Ex. 127.0.0.1
    Domain string
    Domain name
    Host string
    Record host field. Ex. www
    Type string
    Record type. Must be one of SOA, A, AAAA, CAA, CNAME, MX, NS, TXT, SRV, URL or PTR
    DnsdomainRecordId string
    The ID of this resource.
    Ttl double
    Record TTL field
    Data string
    Record data field. Ex. 127.0.0.1
    Domain string
    Domain name
    Host string
    Record host field. Ex. www
    Type string
    Record type. Must be one of SOA, A, AAAA, CAA, CNAME, MX, NS, TXT, SRV, URL or PTR
    DnsdomainRecordId string
    The ID of this resource.
    Ttl float64
    Record TTL field
    data String
    Record data field. Ex. 127.0.0.1
    domain String
    Domain name
    host String
    Record host field. Ex. www
    type String
    Record type. Must be one of SOA, A, AAAA, CAA, CNAME, MX, NS, TXT, SRV, URL or PTR
    dnsdomainRecordId String
    The ID of this resource.
    ttl Double
    Record TTL field
    data string
    Record data field. Ex. 127.0.0.1
    domain string
    Domain name
    host string
    Record host field. Ex. www
    type string
    Record type. Must be one of SOA, A, AAAA, CAA, CNAME, MX, NS, TXT, SRV, URL or PTR
    dnsdomainRecordId string
    The ID of this resource.
    ttl number
    Record TTL field
    data str
    Record data field. Ex. 127.0.0.1
    domain str
    Domain name
    host str
    Record host field. Ex. www
    type str
    Record type. Must be one of SOA, A, AAAA, CAA, CNAME, MX, NS, TXT, SRV, URL or PTR
    dnsdomain_record_id str
    The ID of this resource.
    ttl float
    Record TTL field
    data String
    Record data field. Ex. 127.0.0.1
    domain String
    Domain name
    host String
    Record host field. Ex. www
    type String
    Record type. Must be one of SOA, A, AAAA, CAA, CNAME, MX, NS, TXT, SRV, URL or PTR
    dnsdomainRecordId String
    The ID of this resource.
    ttl Number
    Record TTL field

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DnsdomainRecord resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Recordid double
    Record internal id
    Id string
    The provider-assigned unique ID for this managed resource.
    Recordid float64
    Record internal id
    id String
    The provider-assigned unique ID for this managed resource.
    recordid Double
    Record internal id
    id string
    The provider-assigned unique ID for this managed resource.
    recordid number
    Record internal id
    id str
    The provider-assigned unique ID for this managed resource.
    recordid float
    Record internal id
    id String
    The provider-assigned unique ID for this managed resource.
    recordid Number
    Record internal id

    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.
    The following state arguments are supported:
    Data string
    Record data field. Ex. 127.0.0.1
    DnsdomainRecordId string
    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 or PTR
    Data string
    Record data field. Ex. 127.0.0.1
    DnsdomainRecordId string
    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 or PTR
    data String
    Record data field. Ex. 127.0.0.1
    dnsdomainRecordId String
    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 or PTR
    data string
    Record data field. Ex. 127.0.0.1
    dnsdomainRecordId string
    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 or PTR
    data str
    Record data field. Ex. 127.0.0.1
    dnsdomain_record_id str
    The ID of this resource.
    domain str
    Domain name
    host str
    Record host field. Ex. www
    recordid float
    Record internal id
    ttl float
    Record TTL field
    type str
    Record type. Must be one of SOA, A, AAAA, CAA, CNAME, MX, NS, TXT, SRV, URL or PTR
    data String
    Record data field. Ex. 127.0.0.1
    dnsdomainRecordId String
    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 or PTR

    Package Details

    Repository
    glesys glesys/terraform-provider-glesys
    License
    Notes
    This Pulumi package is based on the glesys Terraform Provider.
    glesys logo
    glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys