dnsimple.RegisteredDomain
Explore with Pulumi AI
Provides a DNSimple registered domain resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dnsimple from "@pulumi/dnsimple";
const aliceMain = new dnsimple.Contact("alice_main", {
label: "Alice Appleseed",
firstName: "Alice Main",
lastName: "Appleseed",
organizationName: "Contoso",
jobTitle: "Manager",
address1: "Level 1, 2 Main St",
address2: "Marsfield",
city: "San Francisco",
stateProvince: "California",
postalCode: "90210",
country: "US",
phone: "+1401239523",
fax: "+1849491024",
email: "apple@contoso.com",
});
const appleseedBio = new dnsimple.RegisteredDomain("appleseed_bio", {
name: "appleseed.bio",
contactId: aliceMain.id,
autoRenewEnabled: true,
transferLockEnabled: true,
whoisPrivacyEnabled: true,
dnssecEnabled: false,
extendedAttributes: {
bio_agree: "I Agree",
},
});
import pulumi
import pulumi_dnsimple as dnsimple
alice_main = dnsimple.Contact("alice_main",
label="Alice Appleseed",
first_name="Alice Main",
last_name="Appleseed",
organization_name="Contoso",
job_title="Manager",
address1="Level 1, 2 Main St",
address2="Marsfield",
city="San Francisco",
state_province="California",
postal_code="90210",
country="US",
phone="+1401239523",
fax="+1849491024",
email="apple@contoso.com")
appleseed_bio = dnsimple.RegisteredDomain("appleseed_bio",
name="appleseed.bio",
contact_id=alice_main.id,
auto_renew_enabled=True,
transfer_lock_enabled=True,
whois_privacy_enabled=True,
dnssec_enabled=False,
extended_attributes={
"bio_agree": "I Agree",
})
package main
import (
"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
aliceMain, err := dnsimple.NewContact(ctx, "alice_main", &dnsimple.ContactArgs{
Label: pulumi.String("Alice Appleseed"),
FirstName: pulumi.String("Alice Main"),
LastName: pulumi.String("Appleseed"),
OrganizationName: pulumi.String("Contoso"),
JobTitle: pulumi.String("Manager"),
Address1: pulumi.String("Level 1, 2 Main St"),
Address2: pulumi.String("Marsfield"),
City: pulumi.String("San Francisco"),
StateProvince: pulumi.String("California"),
PostalCode: pulumi.String("90210"),
Country: pulumi.String("US"),
Phone: pulumi.String("+1401239523"),
Fax: pulumi.String("+1849491024"),
Email: pulumi.String("apple@contoso.com"),
})
if err != nil {
return err
}
_, err = dnsimple.NewRegisteredDomain(ctx, "appleseed_bio", &dnsimple.RegisteredDomainArgs{
Name: pulumi.String("appleseed.bio"),
ContactId: aliceMain.ID(),
AutoRenewEnabled: pulumi.Bool(true),
TransferLockEnabled: pulumi.Bool(true),
WhoisPrivacyEnabled: pulumi.Bool(true),
DnssecEnabled: pulumi.Bool(false),
ExtendedAttributes: pulumi.StringMap{
"bio_agree": pulumi.String("I Agree"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DNSimple = Pulumi.DNSimple;
return await Deployment.RunAsync(() =>
{
var aliceMain = new DNSimple.Contact("alice_main", new()
{
Label = "Alice Appleseed",
FirstName = "Alice Main",
LastName = "Appleseed",
OrganizationName = "Contoso",
JobTitle = "Manager",
Address1 = "Level 1, 2 Main St",
Address2 = "Marsfield",
City = "San Francisco",
StateProvince = "California",
PostalCode = "90210",
Country = "US",
Phone = "+1401239523",
Fax = "+1849491024",
Email = "apple@contoso.com",
});
var appleseedBio = new DNSimple.RegisteredDomain("appleseed_bio", new()
{
Name = "appleseed.bio",
ContactId = aliceMain.Id,
AutoRenewEnabled = true,
TransferLockEnabled = true,
WhoisPrivacyEnabled = true,
DnssecEnabled = false,
ExtendedAttributes =
{
{ "bio_agree", "I Agree" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dnsimple.Contact;
import com.pulumi.dnsimple.ContactArgs;
import com.pulumi.dnsimple.RegisteredDomain;
import com.pulumi.dnsimple.RegisteredDomainArgs;
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 aliceMain = new Contact("aliceMain", ContactArgs.builder()
.label("Alice Appleseed")
.firstName("Alice Main")
.lastName("Appleseed")
.organizationName("Contoso")
.jobTitle("Manager")
.address1("Level 1, 2 Main St")
.address2("Marsfield")
.city("San Francisco")
.stateProvince("California")
.postalCode("90210")
.country("US")
.phone("+1401239523")
.fax("+1849491024")
.email("apple@contoso.com")
.build());
var appleseedBio = new RegisteredDomain("appleseedBio", RegisteredDomainArgs.builder()
.name("appleseed.bio")
.contactId(aliceMain.id())
.autoRenewEnabled(true)
.transferLockEnabled(true)
.whoisPrivacyEnabled(true)
.dnssecEnabled(false)
.extendedAttributes(Map.of("bio_agree", "I Agree"))
.build());
}
}
resources:
aliceMain:
type: dnsimple:Contact
name: alice_main
properties:
label: Alice Appleseed
firstName: Alice Main
lastName: Appleseed
organizationName: Contoso
jobTitle: Manager
address1: Level 1, 2 Main St
address2: Marsfield
city: San Francisco
stateProvince: California
postalCode: '90210'
country: US
phone: '+1401239523'
fax: '+1849491024'
email: apple@contoso.com
appleseedBio:
type: dnsimple:RegisteredDomain
name: appleseed_bio
properties:
name: appleseed.bio
contactId: ${aliceMain.id}
autoRenewEnabled: true
transferLockEnabled: true
whoisPrivacyEnabled: true
dnssecEnabled: false
extendedAttributes:
bio_agree: I Agree
Create RegisteredDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegisteredDomain(name: string, args: RegisteredDomainArgs, opts?: CustomResourceOptions);
@overload
def RegisteredDomain(resource_name: str,
args: RegisteredDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RegisteredDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
contact_id: Optional[int] = None,
name: Optional[str] = None,
auto_renew_enabled: Optional[bool] = None,
dnssec_enabled: Optional[bool] = None,
extended_attributes: Optional[Mapping[str, str]] = None,
premium_price: Optional[str] = None,
timeouts: Optional[RegisteredDomainTimeoutsArgs] = None,
transfer_lock_enabled: Optional[bool] = None,
whois_privacy_enabled: Optional[bool] = None)
func NewRegisteredDomain(ctx *Context, name string, args RegisteredDomainArgs, opts ...ResourceOption) (*RegisteredDomain, error)
public RegisteredDomain(string name, RegisteredDomainArgs args, CustomResourceOptions? opts = null)
public RegisteredDomain(String name, RegisteredDomainArgs args)
public RegisteredDomain(String name, RegisteredDomainArgs args, CustomResourceOptions options)
type: dnsimple:RegisteredDomain
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 RegisteredDomainArgs
- 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 RegisteredDomainArgs
- 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 RegisteredDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegisteredDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegisteredDomainArgs
- 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 registeredDomainResource = new DNSimple.RegisteredDomain("registeredDomainResource", new()
{
ContactId = 0,
Name = "string",
AutoRenewEnabled = false,
DnssecEnabled = false,
ExtendedAttributes =
{
{ "string", "string" },
},
PremiumPrice = "string",
Timeouts = new DNSimple.Inputs.RegisteredDomainTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
TransferLockEnabled = false,
WhoisPrivacyEnabled = false,
});
example, err := dnsimple.NewRegisteredDomain(ctx, "registeredDomainResource", &dnsimple.RegisteredDomainArgs{
ContactId: pulumi.Int(0),
Name: pulumi.String("string"),
AutoRenewEnabled: pulumi.Bool(false),
DnssecEnabled: pulumi.Bool(false),
ExtendedAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
PremiumPrice: pulumi.String("string"),
Timeouts: &dnsimple.RegisteredDomainTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
TransferLockEnabled: pulumi.Bool(false),
WhoisPrivacyEnabled: pulumi.Bool(false),
})
var registeredDomainResource = new RegisteredDomain("registeredDomainResource", RegisteredDomainArgs.builder()
.contactId(0)
.name("string")
.autoRenewEnabled(false)
.dnssecEnabled(false)
.extendedAttributes(Map.of("string", "string"))
.premiumPrice("string")
.timeouts(RegisteredDomainTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.transferLockEnabled(false)
.whoisPrivacyEnabled(false)
.build());
registered_domain_resource = dnsimple.RegisteredDomain("registeredDomainResource",
contact_id=0,
name="string",
auto_renew_enabled=False,
dnssec_enabled=False,
extended_attributes={
"string": "string",
},
premium_price="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
transfer_lock_enabled=False,
whois_privacy_enabled=False)
const registeredDomainResource = new dnsimple.RegisteredDomain("registeredDomainResource", {
contactId: 0,
name: "string",
autoRenewEnabled: false,
dnssecEnabled: false,
extendedAttributes: {
string: "string",
},
premiumPrice: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
transferLockEnabled: false,
whoisPrivacyEnabled: false,
});
type: dnsimple:RegisteredDomain
properties:
autoRenewEnabled: false
contactId: 0
dnssecEnabled: false
extendedAttributes:
string: string
name: string
premiumPrice: string
timeouts:
create: string
delete: string
update: string
transferLockEnabled: false
whoisPrivacyEnabled: false
RegisteredDomain 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 RegisteredDomain resource accepts the following input properties:
- Contact
Id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- Name string
- The domain name to be registered
- Auto
Renew boolEnabled - Whether the domain should be set to auto-renew (default:
false
) - Dnssec
Enabled bool - Whether the domain should have DNSSEC enabled (default:
false
) - Extended
Attributes Dictionary<string, string> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - string
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- Timeouts
Pulumi.
DNSimple. Inputs. Registered Domain Timeouts - (see below for nested schema)
Attributes Reference
- Transfer
Lock boolEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - Whois
Privacy boolEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- Contact
Id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- Name string
- The domain name to be registered
- Auto
Renew boolEnabled - Whether the domain should be set to auto-renew (default:
false
) - Dnssec
Enabled bool - Whether the domain should have DNSSEC enabled (default:
false
) - Extended
Attributes map[string]string - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - string
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- Timeouts
Registered
Domain Timeouts Args - (see below for nested schema)
Attributes Reference
- Transfer
Lock boolEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - Whois
Privacy boolEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- contact
Id Integer - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- name String
- The domain name to be registered
- auto
Renew BooleanEnabled - Whether the domain should be set to auto-renew (default:
false
) - dnssec
Enabled Boolean - Whether the domain should have DNSSEC enabled (default:
false
) - extended
Attributes Map<String,String> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - String
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- timeouts
Registered
Domain Timeouts - (see below for nested schema)
Attributes Reference
- transfer
Lock BooleanEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - whois
Privacy BooleanEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- contact
Id number - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- name string
- The domain name to be registered
- auto
Renew booleanEnabled - Whether the domain should be set to auto-renew (default:
false
) - dnssec
Enabled boolean - Whether the domain should have DNSSEC enabled (default:
false
) - extended
Attributes {[key: string]: string} - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - string
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- timeouts
Registered
Domain Timeouts - (see below for nested schema)
Attributes Reference
- transfer
Lock booleanEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - whois
Privacy booleanEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- contact_
id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- name str
- The domain name to be registered
- auto_
renew_ boolenabled - Whether the domain should be set to auto-renew (default:
false
) - dnssec_
enabled bool - Whether the domain should have DNSSEC enabled (default:
false
) - extended_
attributes Mapping[str, str] - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - str
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- timeouts
Registered
Domain Timeouts Args - (see below for nested schema)
Attributes Reference
- transfer_
lock_ boolenabled - Whether the domain transfer lock protection is enabled (default:
true
) - whois_
privacy_ boolenabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- contact
Id Number - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- name String
- The domain name to be registered
- auto
Renew BooleanEnabled - Whether the domain should be set to auto-renew (default:
false
) - dnssec
Enabled Boolean - Whether the domain should have DNSSEC enabled (default:
false
) - extended
Attributes Map<String> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - String
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- timeouts Property Map
- (see below for nested schema)
Attributes Reference
- transfer
Lock BooleanEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - whois
Privacy BooleanEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
Outputs
All input properties are implicitly available as output properties. Additionally, the RegisteredDomain resource produces the following output properties:
- Account
Id int - Domain
Registration Pulumi.DNSimple. Outputs. Registered Domain Domain Registration The domain registration details. (see below for nested schema)
- Expires
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Registrant
Change Pulumi.DNSimple. Outputs. Registered Domain Registrant Change - The registrant change details.
- State string
- The state of the domain.
- Unicode
Name string - The domain name in Unicode format.
- Account
Id int - Domain
Registration RegisteredDomain Domain Registration The domain registration details. (see below for nested schema)
- Expires
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Registrant
Change RegisteredDomain Registrant Change - The registrant change details.
- State string
- The state of the domain.
- Unicode
Name string - The domain name in Unicode format.
- account
Id Integer - domain
Registration RegisteredDomain Domain Registration The domain registration details. (see below for nested schema)
- expires
At String - id String
- The provider-assigned unique ID for this managed resource.
- registrant
Change RegisteredDomain Registrant Change - The registrant change details.
- state String
- The state of the domain.
- unicode
Name String - The domain name in Unicode format.
- account
Id number - domain
Registration RegisteredDomain Domain Registration The domain registration details. (see below for nested schema)
- expires
At string - id string
- The provider-assigned unique ID for this managed resource.
- registrant
Change RegisteredDomain Registrant Change - The registrant change details.
- state string
- The state of the domain.
- unicode
Name string - The domain name in Unicode format.
- account_
id int - domain_
registration RegisteredDomain Domain Registration The domain registration details. (see below for nested schema)
- expires_
at str - id str
- The provider-assigned unique ID for this managed resource.
- registrant_
change RegisteredDomain Registrant Change - The registrant change details.
- state str
- The state of the domain.
- unicode_
name str - The domain name in Unicode format.
- account
Id Number - domain
Registration Property Map The domain registration details. (see below for nested schema)
- expires
At String - id String
- The provider-assigned unique ID for this managed resource.
- registrant
Change Property Map - The registrant change details.
- state String
- The state of the domain.
- unicode
Name String - The domain name in Unicode format.
Look up Existing RegisteredDomain Resource
Get an existing RegisteredDomain 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?: RegisteredDomainState, opts?: CustomResourceOptions): RegisteredDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
auto_renew_enabled: Optional[bool] = None,
contact_id: Optional[int] = None,
dnssec_enabled: Optional[bool] = None,
domain_registration: Optional[RegisteredDomainDomainRegistrationArgs] = None,
expires_at: Optional[str] = None,
extended_attributes: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
premium_price: Optional[str] = None,
registrant_change: Optional[RegisteredDomainRegistrantChangeArgs] = None,
state: Optional[str] = None,
timeouts: Optional[RegisteredDomainTimeoutsArgs] = None,
transfer_lock_enabled: Optional[bool] = None,
unicode_name: Optional[str] = None,
whois_privacy_enabled: Optional[bool] = None) -> RegisteredDomain
func GetRegisteredDomain(ctx *Context, name string, id IDInput, state *RegisteredDomainState, opts ...ResourceOption) (*RegisteredDomain, error)
public static RegisteredDomain Get(string name, Input<string> id, RegisteredDomainState? state, CustomResourceOptions? opts = null)
public static RegisteredDomain get(String name, Output<String> id, RegisteredDomainState state, CustomResourceOptions options)
resources: _: type: dnsimple:RegisteredDomain 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.
- Account
Id int - Auto
Renew boolEnabled - Whether the domain should be set to auto-renew (default:
false
) - Contact
Id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- Dnssec
Enabled bool - Whether the domain should have DNSSEC enabled (default:
false
) - Domain
Registration Pulumi.DNSimple. Inputs. Registered Domain Domain Registration The domain registration details. (see below for nested schema)
- Expires
At string - Extended
Attributes Dictionary<string, string> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - Name string
- The domain name to be registered
- string
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- Registrant
Change Pulumi.DNSimple. Inputs. Registered Domain Registrant Change - The registrant change details.
- State string
- The state of the domain.
- Timeouts
Pulumi.
DNSimple. Inputs. Registered Domain Timeouts - (see below for nested schema)
Attributes Reference
- Transfer
Lock boolEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - Unicode
Name string - The domain name in Unicode format.
- Whois
Privacy boolEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- Account
Id int - Auto
Renew boolEnabled - Whether the domain should be set to auto-renew (default:
false
) - Contact
Id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- Dnssec
Enabled bool - Whether the domain should have DNSSEC enabled (default:
false
) - Domain
Registration RegisteredDomain Domain Registration Args The domain registration details. (see below for nested schema)
- Expires
At string - Extended
Attributes map[string]string - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - Name string
- The domain name to be registered
- string
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- Registrant
Change RegisteredDomain Registrant Change Args - The registrant change details.
- State string
- The state of the domain.
- Timeouts
Registered
Domain Timeouts Args - (see below for nested schema)
Attributes Reference
- Transfer
Lock boolEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - Unicode
Name string - The domain name in Unicode format.
- Whois
Privacy boolEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- account
Id Integer - auto
Renew BooleanEnabled - Whether the domain should be set to auto-renew (default:
false
) - contact
Id Integer - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- dnssec
Enabled Boolean - Whether the domain should have DNSSEC enabled (default:
false
) - domain
Registration RegisteredDomain Domain Registration The domain registration details. (see below for nested schema)
- expires
At String - extended
Attributes Map<String,String> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - name String
- The domain name to be registered
- String
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- registrant
Change RegisteredDomain Registrant Change - The registrant change details.
- state String
- The state of the domain.
- timeouts
Registered
Domain Timeouts - (see below for nested schema)
Attributes Reference
- transfer
Lock BooleanEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - unicode
Name String - The domain name in Unicode format.
- whois
Privacy BooleanEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- account
Id number - auto
Renew booleanEnabled - Whether the domain should be set to auto-renew (default:
false
) - contact
Id number - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- dnssec
Enabled boolean - Whether the domain should have DNSSEC enabled (default:
false
) - domain
Registration RegisteredDomain Domain Registration The domain registration details. (see below for nested schema)
- expires
At string - extended
Attributes {[key: string]: string} - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - name string
- The domain name to be registered
- string
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- registrant
Change RegisteredDomain Registrant Change - The registrant change details.
- state string
- The state of the domain.
- timeouts
Registered
Domain Timeouts - (see below for nested schema)
Attributes Reference
- transfer
Lock booleanEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - unicode
Name string - The domain name in Unicode format.
- whois
Privacy booleanEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- account_
id int - auto_
renew_ boolenabled - Whether the domain should be set to auto-renew (default:
false
) - contact_
id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- dnssec_
enabled bool - Whether the domain should have DNSSEC enabled (default:
false
) - domain_
registration RegisteredDomain Domain Registration Args The domain registration details. (see below for nested schema)
- expires_
at str - extended_
attributes Mapping[str, str] - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - name str
- The domain name to be registered
- str
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- registrant_
change RegisteredDomain Registrant Change Args - The registrant change details.
- state str
- The state of the domain.
- timeouts
Registered
Domain Timeouts Args - (see below for nested schema)
Attributes Reference
- transfer_
lock_ boolenabled - Whether the domain transfer lock protection is enabled (default:
true
) - unicode_
name str - The domain name in Unicode format.
- whois_
privacy_ boolenabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
- account
Id Number - auto
Renew BooleanEnabled - Whether the domain should be set to auto-renew (default:
false
) - contact
Id Number - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- dnssec
Enabled Boolean - Whether the domain should have DNSSEC enabled (default:
false
) - domain
Registration Property Map The domain registration details. (see below for nested schema)
- expires
At String - extended
Attributes Map<String> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - name String
- The domain name to be registered
- String
- The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our Check domain API to check if a domain is premium. And Retrieve domain prices API to retrieve the premium price for a domain.
- registrant
Change Property Map - The registrant change details.
- state String
- The state of the domain.
- timeouts Property Map
- (see below for nested schema)
Attributes Reference
- transfer
Lock BooleanEnabled - Whether the domain transfer lock protection is enabled (default:
true
) - unicode
Name String - The domain name in Unicode format.
- whois
Privacy BooleanEnabled - Whether the domain should have WhoIs privacy enabled (default:
false
)
Supporting Types
RegisteredDomainDomainRegistration, RegisteredDomainDomainRegistrationArgs
RegisteredDomainRegistrantChange, RegisteredDomainRegistrantChangeArgs
- Account
Id int - DNSimple Account ID to which the registrant change belongs to
- Contact
Id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- Domain
Id string - DNSimple domain ID for which the registrant change is being performed
- Extended
Attributes Dictionary<string, string> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - Id int
- The ID of this resource.
- Irt
Lock stringLifted By - Date when the registrant change lock was lifted for the domain
- Registry
Owner boolChange - True if the registrant change will result in a registry owner change
- State string
- The state of the domain.
- Account
Id int - DNSimple Account ID to which the registrant change belongs to
- Contact
Id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- Domain
Id string - DNSimple domain ID for which the registrant change is being performed
- Extended
Attributes map[string]string - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - Id int
- The ID of this resource.
- Irt
Lock stringLifted By - Date when the registrant change lock was lifted for the domain
- Registry
Owner boolChange - True if the registrant change will result in a registry owner change
- State string
- The state of the domain.
- account
Id Integer - DNSimple Account ID to which the registrant change belongs to
- contact
Id Integer - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- domain
Id String - DNSimple domain ID for which the registrant change is being performed
- extended
Attributes Map<String,String> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - id Integer
- The ID of this resource.
- irt
Lock StringLifted By - Date when the registrant change lock was lifted for the domain
- registry
Owner BooleanChange - True if the registrant change will result in a registry owner change
- state String
- The state of the domain.
- account
Id number - DNSimple Account ID to which the registrant change belongs to
- contact
Id number - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- domain
Id string - DNSimple domain ID for which the registrant change is being performed
- extended
Attributes {[key: string]: string} - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - id number
- The ID of this resource.
- irt
Lock stringLifted By - Date when the registrant change lock was lifted for the domain
- registry
Owner booleanChange - True if the registrant change will result in a registry owner change
- state string
- The state of the domain.
- account_
id int - DNSimple Account ID to which the registrant change belongs to
- contact_
id int - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- domain_
id str - DNSimple domain ID for which the registrant change is being performed
- extended_
attributes Mapping[str, str] - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - id int
- The ID of this resource.
- irt_
lock_ strlifted_ by - Date when the registrant change lock was lifted for the domain
- registry_
owner_ boolchange - True if the registrant change will result in a registry owner change
- state str
- The state of the domain.
- account
Id Number - DNSimple Account ID to which the registrant change belongs to
- contact
Id Number - The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a 60-day lock.
- domain
Id String - DNSimple domain ID for which the registrant change is being performed
- extended
Attributes Map<String> - A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our Lists the TLD Extended Attributes API. The values provided in the
extended_attributes
will also be sent when a registrant change is initiated as part of changing thecontact_id
. - id Number
- The ID of this resource.
- irt
Lock StringLifted By - Date when the registrant change lock was lifted for the domain
- registry
Owner BooleanChange - True if the registrant change will result in a registry owner change
- state String
- The state of the domain.
RegisteredDomainTimeouts, RegisteredDomainTimeoutsArgs
Import
DNSimple registered domains can be imported using their domain name and optionally with domain registration ID.
Importing registered domain example.com
bash
$ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com
Importing registered domain example.com with domain registration ID 1234
bash
$ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com_1234
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- DNSimple pulumi/pulumi-dnsimple
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dnsimple
Terraform Provider.