linode.Domain
Explore with Pulumi AI
Provides a Linode Domain resource. This can be used to create, modify, and delete Linode Domains through Linode’s managed DNS service. For more information, see DNS Manager and the Linode APIv4 docs.
Example Usage
The following example shows how one might use this resource to configure a Domain Record attached to a Linode Domain.
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.Domain("foobar", {
type: "master",
domain: "foobar.example",
soaEmail: "example@foobar.example",
tags: [
"foo",
"bar",
],
});
const foobarDomainRecord = new linode.DomainRecord("foobar", {
domainId: foobar.id,
name: "www",
recordType: "CNAME",
target: "foobar.example",
});
import pulumi
import pulumi_linode as linode
foobar = linode.Domain("foobar",
type="master",
domain="foobar.example",
soa_email="example@foobar.example",
tags=[
"foo",
"bar",
])
foobar_domain_record = linode.DomainRecord("foobar",
domain_id=foobar.id,
name="www",
record_type="CNAME",
target="foobar.example")
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foobar, err := linode.NewDomain(ctx, "foobar", &linode.DomainArgs{
Type: pulumi.String("master"),
Domain: pulumi.String("foobar.example"),
SoaEmail: pulumi.String("example@foobar.example"),
Tags: pulumi.StringArray{
pulumi.String("foo"),
pulumi.String("bar"),
},
})
if err != nil {
return err
}
_, err = linode.NewDomainRecord(ctx, "foobar", &linode.DomainRecordArgs{
DomainId: foobar.ID(),
Name: pulumi.String("www"),
RecordType: pulumi.String("CNAME"),
Target: pulumi.String("foobar.example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var foobar = new Linode.Domain("foobar", new()
{
Type = "master",
DomainName = "foobar.example",
SoaEmail = "example@foobar.example",
Tags = new[]
{
"foo",
"bar",
},
});
var foobarDomainRecord = new Linode.DomainRecord("foobar", new()
{
DomainId = foobar.Id,
Name = "www",
RecordType = "CNAME",
Target = "foobar.example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.Domain;
import com.pulumi.linode.DomainArgs;
import com.pulumi.linode.DomainRecord;
import com.pulumi.linode.DomainRecordArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foobar = new Domain("foobar", DomainArgs.builder()
.type("master")
.domain("foobar.example")
.soaEmail("example@foobar.example")
.tags(
"foo",
"bar")
.build());
var foobarDomainRecord = new DomainRecord("foobarDomainRecord", DomainRecordArgs.builder()
.domainId(foobar.id())
.name("www")
.recordType("CNAME")
.target("foobar.example")
.build());
}
}
resources:
foobar:
type: linode:Domain
properties:
type: master
domain: foobar.example
soaEmail: example@foobar.example
tags:
- foo
- bar
foobarDomainRecord:
type: linode:DomainRecord
name: foobar
properties:
domainId: ${foobar.id}
name: www
recordType: CNAME
target: foobar.example
Create Domain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);
@overload
def Domain(resource_name: str,
args: DomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Domain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
type: Optional[str] = None,
refresh_sec: Optional[int] = None,
expire_sec: Optional[int] = None,
group: Optional[str] = None,
master_ips: Optional[Sequence[str]] = None,
axfr_ips: Optional[Sequence[str]] = None,
retry_sec: Optional[int] = None,
soa_email: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
ttl_sec: Optional[int] = None,
description: Optional[str] = None)
func NewDomain(ctx *Context, name string, args DomainArgs, opts ...ResourceOption) (*Domain, error)
public Domain(string name, DomainArgs args, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: linode:Domain
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 DomainArgs
- 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 DomainArgs
- 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 DomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DomainArgs
- 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 domainResource = new Linode.Domain("domainResource", new()
{
DomainName = "string",
Type = "string",
RefreshSec = 0,
ExpireSec = 0,
Group = "string",
MasterIps = new[]
{
"string",
},
AxfrIps = new[]
{
"string",
},
RetrySec = 0,
SoaEmail = "string",
Status = "string",
Tags = new[]
{
"string",
},
TtlSec = 0,
Description = "string",
});
example, err := linode.NewDomain(ctx, "domainResource", &linode.DomainArgs{
Domain: pulumi.String("string"),
Type: pulumi.String("string"),
RefreshSec: pulumi.Int(0),
ExpireSec: pulumi.Int(0),
Group: pulumi.String("string"),
MasterIps: pulumi.StringArray{
pulumi.String("string"),
},
AxfrIps: pulumi.StringArray{
pulumi.String("string"),
},
RetrySec: pulumi.Int(0),
SoaEmail: pulumi.String("string"),
Status: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TtlSec: pulumi.Int(0),
Description: pulumi.String("string"),
})
var domainResource = new Domain("domainResource", DomainArgs.builder()
.domain("string")
.type("string")
.refreshSec(0)
.expireSec(0)
.group("string")
.masterIps("string")
.axfrIps("string")
.retrySec(0)
.soaEmail("string")
.status("string")
.tags("string")
.ttlSec(0)
.description("string")
.build());
domain_resource = linode.Domain("domainResource",
domain="string",
type="string",
refresh_sec=0,
expire_sec=0,
group="string",
master_ips=["string"],
axfr_ips=["string"],
retry_sec=0,
soa_email="string",
status="string",
tags=["string"],
ttl_sec=0,
description="string")
const domainResource = new linode.Domain("domainResource", {
domain: "string",
type: "string",
refreshSec: 0,
expireSec: 0,
group: "string",
masterIps: ["string"],
axfrIps: ["string"],
retrySec: 0,
soaEmail: "string",
status: "string",
tags: ["string"],
ttlSec: 0,
description: "string",
});
type: linode:Domain
properties:
axfrIps:
- string
description: string
domain: string
expireSec: 0
group: string
masterIps:
- string
refreshSec: 0
retrySec: 0
soaEmail: string
status: string
tags:
- string
ttlSec: 0
type: string
Domain 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 Domain resource accepts the following input properties:
- Domain
Name string - The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- Type string
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- Axfr
Ips List<string> - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- Description string
- A description for this Domain. This is for display purposes only.
- Expire
Sec int - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Group string
- The group this Domain belongs to. This is for display purposes only.
- Master
Ips List<string> - The IP addresses representing the master DNS for this Domain.
- Refresh
Sec int - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Retry
Sec int - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Soa
Email string - Start of Authority email address. This is required for master Domains.
- Status string
- Used to control whether this Domain is currently being rendered (defaults to "active").
- List<string>
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- Ttl
Sec int - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Domain string
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- Type string
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- Axfr
Ips []string - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- Description string
- A description for this Domain. This is for display purposes only.
- Expire
Sec int - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Group string
- The group this Domain belongs to. This is for display purposes only.
- Master
Ips []string - The IP addresses representing the master DNS for this Domain.
- Refresh
Sec int - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Retry
Sec int - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Soa
Email string - Start of Authority email address. This is required for master Domains.
- Status string
- Used to control whether this Domain is currently being rendered (defaults to "active").
- []string
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- Ttl
Sec int - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- domain String
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- type String
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr
Ips List<String> - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description String
- A description for this Domain. This is for display purposes only.
- expire
Sec Integer - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group String
- The group this Domain belongs to. This is for display purposes only.
- master
Ips List<String> - The IP addresses representing the master DNS for this Domain.
- refresh
Sec Integer - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry
Sec Integer - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa
Email String - Start of Authority email address. This is required for master Domains.
- status String
- Used to control whether this Domain is currently being rendered (defaults to "active").
- List<String>
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl
Sec Integer - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- domain string
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- type string
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr
Ips string[] - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description string
- A description for this Domain. This is for display purposes only.
- expire
Sec number - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group string
- The group this Domain belongs to. This is for display purposes only.
- master
Ips string[] - The IP addresses representing the master DNS for this Domain.
- refresh
Sec number - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry
Sec number - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa
Email string - Start of Authority email address. This is required for master Domains.
- status string
- Used to control whether this Domain is currently being rendered (defaults to "active").
- string[]
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl
Sec number - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- domain str
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- type str
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr_
ips Sequence[str] - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description str
- A description for this Domain. This is for display purposes only.
- expire_
sec int - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group str
- The group this Domain belongs to. This is for display purposes only.
- master_
ips Sequence[str] - The IP addresses representing the master DNS for this Domain.
- refresh_
sec int - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry_
sec int - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa_
email str - Start of Authority email address. This is required for master Domains.
- status str
- Used to control whether this Domain is currently being rendered (defaults to "active").
- Sequence[str]
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl_
sec int - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- domain String
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- type String
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr
Ips List<String> - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description String
- A description for this Domain. This is for display purposes only.
- expire
Sec Number - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group String
- The group this Domain belongs to. This is for display purposes only.
- master
Ips List<String> - The IP addresses representing the master DNS for this Domain.
- refresh
Sec Number - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry
Sec Number - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa
Email String - Start of Authority email address. This is required for master Domains.
- status String
- Used to control whether this Domain is currently being rendered (defaults to "active").
- List<String>
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl
Sec Number - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain 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 Domain Resource
Get an existing Domain 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?: DomainState, opts?: CustomResourceOptions): Domain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
axfr_ips: Optional[Sequence[str]] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
expire_sec: Optional[int] = None,
group: Optional[str] = None,
master_ips: Optional[Sequence[str]] = None,
refresh_sec: Optional[int] = None,
retry_sec: Optional[int] = None,
soa_email: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
ttl_sec: Optional[int] = None,
type: Optional[str] = None) -> Domain
func GetDomain(ctx *Context, name string, id IDInput, state *DomainState, opts ...ResourceOption) (*Domain, error)
public static Domain Get(string name, Input<string> id, DomainState? state, CustomResourceOptions? opts = null)
public static Domain get(String name, Output<String> id, DomainState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Axfr
Ips List<string> - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- Description string
- A description for this Domain. This is for display purposes only.
- Domain
Name string - The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- Expire
Sec int - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Group string
- The group this Domain belongs to. This is for display purposes only.
- Master
Ips List<string> - The IP addresses representing the master DNS for this Domain.
- Refresh
Sec int - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Retry
Sec int - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Soa
Email string - Start of Authority email address. This is required for master Domains.
- Status string
- Used to control whether this Domain is currently being rendered (defaults to "active").
- List<string>
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- Ttl
Sec int - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Type string
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- Axfr
Ips []string - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- Description string
- A description for this Domain. This is for display purposes only.
- Domain string
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- Expire
Sec int - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Group string
- The group this Domain belongs to. This is for display purposes only.
- Master
Ips []string - The IP addresses representing the master DNS for this Domain.
- Refresh
Sec int - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Retry
Sec int - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Soa
Email string - Start of Authority email address. This is required for master Domains.
- Status string
- Used to control whether this Domain is currently being rendered (defaults to "active").
- []string
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- Ttl
Sec int - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- Type string
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr
Ips List<String> - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description String
- A description for this Domain. This is for display purposes only.
- domain String
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- expire
Sec Integer - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group String
- The group this Domain belongs to. This is for display purposes only.
- master
Ips List<String> - The IP addresses representing the master DNS for this Domain.
- refresh
Sec Integer - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry
Sec Integer - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa
Email String - Start of Authority email address. This is required for master Domains.
- status String
- Used to control whether this Domain is currently being rendered (defaults to "active").
- List<String>
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl
Sec Integer - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- type String
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr
Ips string[] - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description string
- A description for this Domain. This is for display purposes only.
- domain string
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- expire
Sec number - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group string
- The group this Domain belongs to. This is for display purposes only.
- master
Ips string[] - The IP addresses representing the master DNS for this Domain.
- refresh
Sec number - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry
Sec number - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa
Email string - Start of Authority email address. This is required for master Domains.
- status string
- Used to control whether this Domain is currently being rendered (defaults to "active").
- string[]
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl
Sec number - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- type string
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr_
ips Sequence[str] - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description str
- A description for this Domain. This is for display purposes only.
- domain str
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- expire_
sec int - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group str
- The group this Domain belongs to. This is for display purposes only.
- master_
ips Sequence[str] - The IP addresses representing the master DNS for this Domain.
- refresh_
sec int - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry_
sec int - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa_
email str - Start of Authority email address. This is required for master Domains.
- status str
- Used to control whether this Domain is currently being rendered (defaults to "active").
- Sequence[str]
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl_
sec int - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- type str
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
- axfr
Ips List<String> - The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
- description String
- A description for this Domain. This is for display purposes only.
- domain String
- The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
- expire
Sec Number - The amount of time in seconds that may pass before this Domain is no longer authoritative. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- group String
- The group this Domain belongs to. This is for display purposes only.
- master
Ips List<String> - The IP addresses representing the master DNS for this Domain.
- refresh
Sec Number - The amount of time in seconds before this Domain should be refreshed. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- retry
Sec Number - The interval, in seconds, at which a failed refresh should be retried. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- soa
Email String - Start of Authority email address. This is required for master Domains.
- status String
- Used to control whether this Domain is currently being rendered (defaults to "active").
- List<String>
- A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
- ttl
Sec Number - 'Time to Live' - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 0, 30, 120, 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value.
- type String
- If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
Import
Linodes Domains can be imported using the Linode Domain id
, e.g.
$ pulumi import linode:index/domain:Domain foobar 1234567
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.