@pulumi/dnsimple 3.5.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,256 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides a DNSimple registered domain resource.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as dnsimple from "@pulumi/dnsimple";
12
+ *
13
+ * const aliceMain = new dnsimple.Contact("alice_main", {
14
+ * label: "Alice Appleseed",
15
+ * firstName: "Alice Main",
16
+ * lastName: "Appleseed",
17
+ * organizationName: "Contoso",
18
+ * jobTitle: "Manager",
19
+ * address1: "Level 1, 2 Main St",
20
+ * address2: "Marsfield",
21
+ * city: "San Francisco",
22
+ * stateProvince: "California",
23
+ * postalCode: "90210",
24
+ * country: "US",
25
+ * phone: "+1401239523",
26
+ * fax: "+1849491024",
27
+ * email: "apple@contoso.com",
28
+ * });
29
+ * const appleseedBio = new dnsimple.RegisteredDomain("appleseed_bio", {
30
+ * name: "appleseed.bio",
31
+ * contactId: aliceMain.id,
32
+ * autoRenewEnabled: true,
33
+ * transferLockEnabled: true,
34
+ * whoisPrivacyEnabled: true,
35
+ * dnssecEnabled: false,
36
+ * extendedAttributes: {
37
+ * bio_agree: "I Agree",
38
+ * },
39
+ * });
40
+ * ```
41
+ *
42
+ * ## Import
43
+ *
44
+ * DNSimple registered domains can be imported using their domain name and **optionally** with domain registration ID.
45
+ *
46
+ * **Importing registered domain example.com**
47
+ *
48
+ * bash
49
+ *
50
+ * ```sh
51
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com
52
+ * ```
53
+ *
54
+ * **Importing registered domain example.com with domain registration ID 1234**
55
+ *
56
+ * bash
57
+ *
58
+ * ```sh
59
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com_1234
60
+ * ```
61
+ */
62
+ export declare class RegisteredDomain extends pulumi.CustomResource {
63
+ /**
64
+ * Get an existing RegisteredDomain resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegisteredDomainState, opts?: pulumi.CustomResourceOptions): RegisteredDomain;
73
+ /**
74
+ * Returns true if the given object is an instance of RegisteredDomain. This is designed to work even
75
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
76
+ */
77
+ static isInstance(obj: any): obj is RegisteredDomain;
78
+ readonly accountId: pulumi.Output<number>;
79
+ /**
80
+ * Whether the domain should be set to auto-renew (default: `false`)
81
+ */
82
+ readonly autoRenewEnabled: pulumi.Output<boolean>;
83
+ /**
84
+ * 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](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
85
+ */
86
+ readonly contactId: pulumi.Output<number>;
87
+ /**
88
+ * Whether the domain should have DNSSEC enabled (default: `false`)
89
+ */
90
+ readonly dnssecEnabled: pulumi.Output<boolean>;
91
+ /**
92
+ * The domain registration details. (see below for nested schema)
93
+ *
94
+ * <a id="nestedblock--timeouts"></a>
95
+ */
96
+ readonly domainRegistration: pulumi.Output<outputs.RegisteredDomainDomainRegistration>;
97
+ readonly expiresAt: pulumi.Output<string>;
98
+ /**
99
+ * 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](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extendedAttributes` will also be sent when a registrant change is initiated as part of changing the `contactId`.
100
+ */
101
+ readonly extendedAttributes: pulumi.Output<{
102
+ [key: string]: string;
103
+ } | undefined>;
104
+ /**
105
+ * The domain name to be registered
106
+ */
107
+ readonly name: pulumi.Output<string>;
108
+ /**
109
+ * 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](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
110
+ */
111
+ readonly premiumPrice: pulumi.Output<string | undefined>;
112
+ /**
113
+ * The registrant change details.
114
+ */
115
+ readonly registrantChange: pulumi.Output<outputs.RegisteredDomainRegistrantChange>;
116
+ /**
117
+ * The state of the domain.
118
+ */
119
+ readonly state: pulumi.Output<string>;
120
+ /**
121
+ * (see below for nested schema)
122
+ *
123
+ * # Attributes Reference
124
+ */
125
+ readonly timeouts: pulumi.Output<outputs.RegisteredDomainTimeouts | undefined>;
126
+ /**
127
+ * Whether the domain transfer lock protection is enabled (default: `true`)
128
+ */
129
+ readonly transferLockEnabled: pulumi.Output<boolean>;
130
+ /**
131
+ * The domain name in Unicode format.
132
+ */
133
+ readonly unicodeName: pulumi.Output<string>;
134
+ /**
135
+ * Whether the domain should have WhoIs privacy enabled (default: `false`)
136
+ */
137
+ readonly whoisPrivacyEnabled: pulumi.Output<boolean>;
138
+ /**
139
+ * Create a RegisteredDomain resource with the given unique name, arguments, and options.
140
+ *
141
+ * @param name The _unique_ name of the resource.
142
+ * @param args The arguments to use to populate this resource's properties.
143
+ * @param opts A bag of options that control this resource's behavior.
144
+ */
145
+ constructor(name: string, args: RegisteredDomainArgs, opts?: pulumi.CustomResourceOptions);
146
+ }
147
+ /**
148
+ * Input properties used for looking up and filtering RegisteredDomain resources.
149
+ */
150
+ export interface RegisteredDomainState {
151
+ accountId?: pulumi.Input<number>;
152
+ /**
153
+ * Whether the domain should be set to auto-renew (default: `false`)
154
+ */
155
+ autoRenewEnabled?: pulumi.Input<boolean>;
156
+ /**
157
+ * 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](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
158
+ */
159
+ contactId?: pulumi.Input<number>;
160
+ /**
161
+ * Whether the domain should have DNSSEC enabled (default: `false`)
162
+ */
163
+ dnssecEnabled?: pulumi.Input<boolean>;
164
+ /**
165
+ * The domain registration details. (see below for nested schema)
166
+ *
167
+ * <a id="nestedblock--timeouts"></a>
168
+ */
169
+ domainRegistration?: pulumi.Input<inputs.RegisteredDomainDomainRegistration>;
170
+ expiresAt?: pulumi.Input<string>;
171
+ /**
172
+ * 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](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extendedAttributes` will also be sent when a registrant change is initiated as part of changing the `contactId`.
173
+ */
174
+ extendedAttributes?: pulumi.Input<{
175
+ [key: string]: pulumi.Input<string>;
176
+ }>;
177
+ /**
178
+ * The domain name to be registered
179
+ */
180
+ name?: pulumi.Input<string>;
181
+ /**
182
+ * 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](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
183
+ */
184
+ premiumPrice?: pulumi.Input<string>;
185
+ /**
186
+ * The registrant change details.
187
+ */
188
+ registrantChange?: pulumi.Input<inputs.RegisteredDomainRegistrantChange>;
189
+ /**
190
+ * The state of the domain.
191
+ */
192
+ state?: pulumi.Input<string>;
193
+ /**
194
+ * (see below for nested schema)
195
+ *
196
+ * # Attributes Reference
197
+ */
198
+ timeouts?: pulumi.Input<inputs.RegisteredDomainTimeouts>;
199
+ /**
200
+ * Whether the domain transfer lock protection is enabled (default: `true`)
201
+ */
202
+ transferLockEnabled?: pulumi.Input<boolean>;
203
+ /**
204
+ * The domain name in Unicode format.
205
+ */
206
+ unicodeName?: pulumi.Input<string>;
207
+ /**
208
+ * Whether the domain should have WhoIs privacy enabled (default: `false`)
209
+ */
210
+ whoisPrivacyEnabled?: pulumi.Input<boolean>;
211
+ }
212
+ /**
213
+ * The set of arguments for constructing a RegisteredDomain resource.
214
+ */
215
+ export interface RegisteredDomainArgs {
216
+ /**
217
+ * Whether the domain should be set to auto-renew (default: `false`)
218
+ */
219
+ autoRenewEnabled?: pulumi.Input<boolean>;
220
+ /**
221
+ * 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](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
222
+ */
223
+ contactId: pulumi.Input<number>;
224
+ /**
225
+ * Whether the domain should have DNSSEC enabled (default: `false`)
226
+ */
227
+ dnssecEnabled?: pulumi.Input<boolean>;
228
+ /**
229
+ * 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](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extendedAttributes` will also be sent when a registrant change is initiated as part of changing the `contactId`.
230
+ */
231
+ extendedAttributes?: pulumi.Input<{
232
+ [key: string]: pulumi.Input<string>;
233
+ }>;
234
+ /**
235
+ * The domain name to be registered
236
+ */
237
+ name: pulumi.Input<string>;
238
+ /**
239
+ * 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](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
240
+ */
241
+ premiumPrice?: pulumi.Input<string>;
242
+ /**
243
+ * (see below for nested schema)
244
+ *
245
+ * # Attributes Reference
246
+ */
247
+ timeouts?: pulumi.Input<inputs.RegisteredDomainTimeouts>;
248
+ /**
249
+ * Whether the domain transfer lock protection is enabled (default: `true`)
250
+ */
251
+ transferLockEnabled?: pulumi.Input<boolean>;
252
+ /**
253
+ * Whether the domain should have WhoIs privacy enabled (default: `false`)
254
+ */
255
+ whoisPrivacyEnabled?: pulumi.Input<boolean>;
256
+ }
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RegisteredDomain = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a DNSimple registered domain resource.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as dnsimple from "@pulumi/dnsimple";
16
+ *
17
+ * const aliceMain = new dnsimple.Contact("alice_main", {
18
+ * label: "Alice Appleseed",
19
+ * firstName: "Alice Main",
20
+ * lastName: "Appleseed",
21
+ * organizationName: "Contoso",
22
+ * jobTitle: "Manager",
23
+ * address1: "Level 1, 2 Main St",
24
+ * address2: "Marsfield",
25
+ * city: "San Francisco",
26
+ * stateProvince: "California",
27
+ * postalCode: "90210",
28
+ * country: "US",
29
+ * phone: "+1401239523",
30
+ * fax: "+1849491024",
31
+ * email: "apple@contoso.com",
32
+ * });
33
+ * const appleseedBio = new dnsimple.RegisteredDomain("appleseed_bio", {
34
+ * name: "appleseed.bio",
35
+ * contactId: aliceMain.id,
36
+ * autoRenewEnabled: true,
37
+ * transferLockEnabled: true,
38
+ * whoisPrivacyEnabled: true,
39
+ * dnssecEnabled: false,
40
+ * extendedAttributes: {
41
+ * bio_agree: "I Agree",
42
+ * },
43
+ * });
44
+ * ```
45
+ *
46
+ * ## Import
47
+ *
48
+ * DNSimple registered domains can be imported using their domain name and **optionally** with domain registration ID.
49
+ *
50
+ * **Importing registered domain example.com**
51
+ *
52
+ * bash
53
+ *
54
+ * ```sh
55
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com
56
+ * ```
57
+ *
58
+ * **Importing registered domain example.com with domain registration ID 1234**
59
+ *
60
+ * bash
61
+ *
62
+ * ```sh
63
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com_1234
64
+ * ```
65
+ */
66
+ class RegisteredDomain extends pulumi.CustomResource {
67
+ /**
68
+ * Get an existing RegisteredDomain resource's state with the given name, ID, and optional extra
69
+ * properties used to qualify the lookup.
70
+ *
71
+ * @param name The _unique_ name of the resulting resource.
72
+ * @param id The _unique_ provider ID of the resource to lookup.
73
+ * @param state Any extra arguments used during the lookup.
74
+ * @param opts Optional settings to control the behavior of the CustomResource.
75
+ */
76
+ static get(name, id, state, opts) {
77
+ return new RegisteredDomain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
78
+ }
79
+ /**
80
+ * Returns true if the given object is an instance of RegisteredDomain. This is designed to work even
81
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
82
+ */
83
+ static isInstance(obj) {
84
+ if (obj === undefined || obj === null) {
85
+ return false;
86
+ }
87
+ return obj['__pulumiType'] === RegisteredDomain.__pulumiType;
88
+ }
89
+ constructor(name, argsOrState, opts) {
90
+ let resourceInputs = {};
91
+ opts = opts || {};
92
+ if (opts.id) {
93
+ const state = argsOrState;
94
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
95
+ resourceInputs["autoRenewEnabled"] = state ? state.autoRenewEnabled : undefined;
96
+ resourceInputs["contactId"] = state ? state.contactId : undefined;
97
+ resourceInputs["dnssecEnabled"] = state ? state.dnssecEnabled : undefined;
98
+ resourceInputs["domainRegistration"] = state ? state.domainRegistration : undefined;
99
+ resourceInputs["expiresAt"] = state ? state.expiresAt : undefined;
100
+ resourceInputs["extendedAttributes"] = state ? state.extendedAttributes : undefined;
101
+ resourceInputs["name"] = state ? state.name : undefined;
102
+ resourceInputs["premiumPrice"] = state ? state.premiumPrice : undefined;
103
+ resourceInputs["registrantChange"] = state ? state.registrantChange : undefined;
104
+ resourceInputs["state"] = state ? state.state : undefined;
105
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
106
+ resourceInputs["transferLockEnabled"] = state ? state.transferLockEnabled : undefined;
107
+ resourceInputs["unicodeName"] = state ? state.unicodeName : undefined;
108
+ resourceInputs["whoisPrivacyEnabled"] = state ? state.whoisPrivacyEnabled : undefined;
109
+ }
110
+ else {
111
+ const args = argsOrState;
112
+ if ((!args || args.contactId === undefined) && !opts.urn) {
113
+ throw new Error("Missing required property 'contactId'");
114
+ }
115
+ if ((!args || args.name === undefined) && !opts.urn) {
116
+ throw new Error("Missing required property 'name'");
117
+ }
118
+ resourceInputs["autoRenewEnabled"] = args ? args.autoRenewEnabled : undefined;
119
+ resourceInputs["contactId"] = args ? args.contactId : undefined;
120
+ resourceInputs["dnssecEnabled"] = args ? args.dnssecEnabled : undefined;
121
+ resourceInputs["extendedAttributes"] = args ? args.extendedAttributes : undefined;
122
+ resourceInputs["name"] = args ? args.name : undefined;
123
+ resourceInputs["premiumPrice"] = args ? args.premiumPrice : undefined;
124
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
125
+ resourceInputs["transferLockEnabled"] = args ? args.transferLockEnabled : undefined;
126
+ resourceInputs["whoisPrivacyEnabled"] = args ? args.whoisPrivacyEnabled : undefined;
127
+ resourceInputs["accountId"] = undefined /*out*/;
128
+ resourceInputs["domainRegistration"] = undefined /*out*/;
129
+ resourceInputs["expiresAt"] = undefined /*out*/;
130
+ resourceInputs["registrantChange"] = undefined /*out*/;
131
+ resourceInputs["state"] = undefined /*out*/;
132
+ resourceInputs["unicodeName"] = undefined /*out*/;
133
+ }
134
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
135
+ super(RegisteredDomain.__pulumiType, name, resourceInputs, opts);
136
+ }
137
+ }
138
+ exports.RegisteredDomain = RegisteredDomain;
139
+ /** @internal */
140
+ RegisteredDomain.__pulumiType = 'dnsimple:index/registeredDomain:RegisteredDomain';
141
+ //# sourceMappingURL=registeredDomain.js.map
@@ -0,0 +1 @@
1
+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,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7IL,4CA8IC;AAhIG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAK7B,sBAAK;AAJT,iCAAiC;AAK7B,sBAAK;AAJT,mCAAmC;AAK/B,wBAAM"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAK7B,sBAAK;AAJT,iCAAiC;AAK7B,sBAAK;AAJT,mCAAmC;AAK/B,wBAAM"}
package/types/input.d.ts CHANGED
@@ -1 +1,77 @@
1
- export {};
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export interface GetCertificateTimeouts {
3
+ /**
4
+ * (String) - The timeout for the read operation e.g. `5m`
5
+ */
6
+ read?: string;
7
+ }
8
+ export interface GetCertificateTimeoutsArgs {
9
+ /**
10
+ * (String) - The timeout for the read operation e.g. `5m`
11
+ */
12
+ read?: pulumi.Input<string>;
13
+ }
14
+ export interface RegisteredDomainDomainRegistration {
15
+ /**
16
+ * The ID of this resource.
17
+ */
18
+ id?: pulumi.Input<number>;
19
+ /**
20
+ * The registration period in years.
21
+ */
22
+ period?: pulumi.Input<number>;
23
+ /**
24
+ * The state of the domain.
25
+ */
26
+ state?: pulumi.Input<string>;
27
+ }
28
+ export interface RegisteredDomainRegistrantChange {
29
+ /**
30
+ * DNSimple Account ID to which the registrant change belongs to
31
+ */
32
+ accountId?: pulumi.Input<number>;
33
+ /**
34
+ * 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](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
35
+ */
36
+ contactId?: pulumi.Input<number>;
37
+ /**
38
+ * DNSimple domain ID for which the registrant change is being performed
39
+ */
40
+ domainId?: pulumi.Input<string>;
41
+ /**
42
+ * 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](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extendedAttributes` will also be sent when a registrant change is initiated as part of changing the `contactId`.
43
+ */
44
+ extendedAttributes?: pulumi.Input<{
45
+ [key: string]: pulumi.Input<string>;
46
+ }>;
47
+ /**
48
+ * The ID of this resource.
49
+ */
50
+ id?: pulumi.Input<number>;
51
+ /**
52
+ * Date when the registrant change lock was lifted for the domain
53
+ */
54
+ irtLockLiftedBy?: pulumi.Input<string>;
55
+ /**
56
+ * True if the registrant change will result in a registry owner change
57
+ */
58
+ registryOwnerChange?: pulumi.Input<boolean>;
59
+ /**
60
+ * The state of the domain.
61
+ */
62
+ state?: pulumi.Input<string>;
63
+ }
64
+ export interface RegisteredDomainTimeouts {
65
+ /**
66
+ * Create timeout.
67
+ */
68
+ create?: pulumi.Input<string>;
69
+ /**
70
+ * Delete timeout (currently unused).
71
+ */
72
+ delete?: pulumi.Input<string>;
73
+ /**
74
+ * Update timeout.
75
+ */
76
+ update?: pulumi.Input<string>;
77
+ }
package/types/output.d.ts CHANGED
@@ -1 +1,82 @@
1
- export {};
1
+ import * as outputs from "../types/output";
2
+ export interface GetCertificateTimeouts {
3
+ /**
4
+ * (String) - The timeout for the read operation e.g. `5m`
5
+ */
6
+ read?: string;
7
+ }
8
+ export interface GetRegistrantChangeCheckExtendedAttribute {
9
+ description: string;
10
+ name: string;
11
+ options: outputs.GetRegistrantChangeCheckExtendedAttributeOption[];
12
+ required: boolean;
13
+ }
14
+ export interface GetRegistrantChangeCheckExtendedAttributeOption {
15
+ description: string;
16
+ title: string;
17
+ value: string;
18
+ }
19
+ export interface RegisteredDomainDomainRegistration {
20
+ /**
21
+ * The ID of this resource.
22
+ */
23
+ id: number;
24
+ /**
25
+ * The registration period in years.
26
+ */
27
+ period: number;
28
+ /**
29
+ * The state of the domain.
30
+ */
31
+ state: string;
32
+ }
33
+ export interface RegisteredDomainRegistrantChange {
34
+ /**
35
+ * DNSimple Account ID to which the registrant change belongs to
36
+ */
37
+ accountId: number;
38
+ /**
39
+ * 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](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
40
+ */
41
+ contactId: number;
42
+ /**
43
+ * DNSimple domain ID for which the registrant change is being performed
44
+ */
45
+ domainId: string;
46
+ /**
47
+ * 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](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extendedAttributes` will also be sent when a registrant change is initiated as part of changing the `contactId`.
48
+ */
49
+ extendedAttributes: {
50
+ [key: string]: string;
51
+ };
52
+ /**
53
+ * The ID of this resource.
54
+ */
55
+ id: number;
56
+ /**
57
+ * Date when the registrant change lock was lifted for the domain
58
+ */
59
+ irtLockLiftedBy: string;
60
+ /**
61
+ * True if the registrant change will result in a registry owner change
62
+ */
63
+ registryOwnerChange: boolean;
64
+ /**
65
+ * The state of the domain.
66
+ */
67
+ state: string;
68
+ }
69
+ export interface RegisteredDomainTimeouts {
70
+ /**
71
+ * Create timeout.
72
+ */
73
+ create?: string;
74
+ /**
75
+ * Delete timeout (currently unused).
76
+ */
77
+ delete?: string;
78
+ /**
79
+ * Update timeout.
80
+ */
81
+ update?: string;
82
+ }