@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,95 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as dnsimple from "@pulumi/dnsimple";
8
+ *
9
+ * // Create a domain delegation
10
+ * const foobar = new dnsimple.DomainDelegation("foobar", {
11
+ * domain: dnsimple.domain,
12
+ * nameServers: [
13
+ * "ns1.example.org",
14
+ * "ns2.example.com",
15
+ * ],
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * DNSimple domain delegations can be imported using the domain name.
22
+ *
23
+ * **Importing domain delegation for example.com**
24
+ *
25
+ * bash
26
+ *
27
+ * ```sh
28
+ * $ pulumi import dnsimple:index/domainDelegation:DomainDelegation resource_name example.com
29
+ * ```
30
+ */
31
+ export declare class DomainDelegation extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing DomainDelegation resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainDelegationState, opts?: pulumi.CustomResourceOptions): DomainDelegation;
42
+ /**
43
+ * Returns true if the given object is an instance of DomainDelegation. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is DomainDelegation;
47
+ /**
48
+ * The domain name.
49
+ */
50
+ readonly domain: pulumi.Output<string>;
51
+ /**
52
+ * The list of name servers to delegate to.
53
+ *
54
+ * # Attributes Reference
55
+ */
56
+ readonly nameServers: pulumi.Output<string[]>;
57
+ /**
58
+ * Create a DomainDelegation resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args: DomainDelegationArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * Input properties used for looking up and filtering DomainDelegation resources.
68
+ */
69
+ export interface DomainDelegationState {
70
+ /**
71
+ * The domain name.
72
+ */
73
+ domain?: pulumi.Input<string>;
74
+ /**
75
+ * The list of name servers to delegate to.
76
+ *
77
+ * # Attributes Reference
78
+ */
79
+ nameServers?: pulumi.Input<pulumi.Input<string>[]>;
80
+ }
81
+ /**
82
+ * The set of arguments for constructing a DomainDelegation resource.
83
+ */
84
+ export interface DomainDelegationArgs {
85
+ /**
86
+ * The domain name.
87
+ */
88
+ domain: pulumi.Input<string>;
89
+ /**
90
+ * The list of name servers to delegate to.
91
+ *
92
+ * # Attributes Reference
93
+ */
94
+ nameServers: pulumi.Input<pulumi.Input<string>[]>;
95
+ }
@@ -0,0 +1,86 @@
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.DomainDelegation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as dnsimple from "@pulumi/dnsimple";
14
+ *
15
+ * // Create a domain delegation
16
+ * const foobar = new dnsimple.DomainDelegation("foobar", {
17
+ * domain: dnsimple.domain,
18
+ * nameServers: [
19
+ * "ns1.example.org",
20
+ * "ns2.example.com",
21
+ * ],
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * DNSimple domain delegations can be imported using the domain name.
28
+ *
29
+ * **Importing domain delegation for example.com**
30
+ *
31
+ * bash
32
+ *
33
+ * ```sh
34
+ * $ pulumi import dnsimple:index/domainDelegation:DomainDelegation resource_name example.com
35
+ * ```
36
+ */
37
+ class DomainDelegation extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing DomainDelegation resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new DomainDelegation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of DomainDelegation. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === DomainDelegation.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["domain"] = state ? state.domain : undefined;
66
+ resourceInputs["nameServers"] = state ? state.nameServers : undefined;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if ((!args || args.domain === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'domain'");
72
+ }
73
+ if ((!args || args.nameServers === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'nameServers'");
75
+ }
76
+ resourceInputs["domain"] = args ? args.domain : undefined;
77
+ resourceInputs["nameServers"] = args ? args.nameServers : undefined;
78
+ }
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
80
+ super(DomainDelegation.__pulumiType, name, resourceInputs, opts);
81
+ }
82
+ }
83
+ exports.DomainDelegation = DomainDelegation;
84
+ /** @internal */
85
+ DomainDelegation.__pulumiType = 'dnsimple:index/domainDelegation:DomainDelegation';
86
+ //# sourceMappingURL=domainDelegation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainDelegation.js","sourceRoot":"","sources":["../domainDelegation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAqBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;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;;AAnEL,4CAoEC;AAtDG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
package/dsRecord.d.ts ADDED
@@ -0,0 +1,206 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a DNSimple domain delegation signer record resource.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as dnsimple from "@pulumi/dnsimple";
10
+ *
11
+ * const foobar = new dnsimple.DsRecord("foobar", {
12
+ * domain: dnsimple.domain,
13
+ * algorithm: "8",
14
+ * digest: "6CEEA0117A02480216EBF745A7B690F938860074E4AD11AF2AC573007205682B",
15
+ * digestType: "2",
16
+ * keyTag: "12345",
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * DNSimple DS record resources can be imported using their domain ID and numeric record ID.
23
+ *
24
+ * bash
25
+ *
26
+ * ```sh
27
+ * $ pulumi import dnsimple:index/dsRecord:DsRecord resource_name example.com_5678
28
+ * ```
29
+ *
30
+ * The record ID can be found within [DNSimple DNSSEC API](https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
31
+ *
32
+ * bash
33
+ *
34
+ * curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1010/domains/example.com/ds_records | jq
35
+ *
36
+ * {
37
+ *
38
+ * "data": [
39
+ *
40
+ * {
41
+ *
42
+ * "id": 24,
43
+ *
44
+ * "domain_id": 1010,
45
+ *
46
+ * "algorithm": "8",
47
+ *
48
+ * "digest": "C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F",
49
+ *
50
+ * "digest_type": "2",
51
+ *
52
+ * "keytag": "44620",
53
+ *
54
+ * "public_key": null,
55
+ *
56
+ * "created_at": "2017-03-03T13:49:58Z",
57
+ *
58
+ * "updated_at": "2017-03-03T13:49:58Z"
59
+ *
60
+ * }
61
+ *
62
+ * ],
63
+ *
64
+ * "pagination": {
65
+ *
66
+ * "current_page": 1,
67
+ *
68
+ * "per_page": 30,
69
+ *
70
+ * "total_entries": 1,
71
+ *
72
+ * "total_pages": 1
73
+ *
74
+ * }
75
+ *
76
+ * }
77
+ */
78
+ export declare class DsRecord extends pulumi.CustomResource {
79
+ /**
80
+ * Get an existing DsRecord resource's state with the given name, ID, and optional extra
81
+ * properties used to qualify the lookup.
82
+ *
83
+ * @param name The _unique_ name of the resulting resource.
84
+ * @param id The _unique_ provider ID of the resource to lookup.
85
+ * @param state Any extra arguments used during the lookup.
86
+ * @param opts Optional settings to control the behavior of the CustomResource.
87
+ */
88
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DsRecordState, opts?: pulumi.CustomResourceOptions): DsRecord;
89
+ /**
90
+ * Returns true if the given object is an instance of DsRecord. This is designed to work even
91
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
92
+ */
93
+ static isInstance(obj: any): obj is DsRecord;
94
+ /**
95
+ * DNSSEC algorithm number as a string.
96
+ */
97
+ readonly algorithm: pulumi.Output<string>;
98
+ /**
99
+ * The time the DS record was created at.
100
+ */
101
+ readonly createdAt: pulumi.Output<string>;
102
+ /**
103
+ * The hexidecimal representation of the digest of the corresponding DNSKEY record.
104
+ */
105
+ readonly digest: pulumi.Output<string | undefined>;
106
+ /**
107
+ * DNSSEC digest type number as a string.
108
+ */
109
+ readonly digestType: pulumi.Output<string | undefined>;
110
+ /**
111
+ * The domain name or numeric ID to create the delegation signer record for.
112
+ */
113
+ readonly domain: pulumi.Output<string>;
114
+ /**
115
+ * A keytag that references the corresponding DNSKEY record.
116
+ */
117
+ readonly keytag: pulumi.Output<string | undefined>;
118
+ /**
119
+ * A public key that references the corresponding DNSKEY record.
120
+ *
121
+ * # Attributes Reference
122
+ */
123
+ readonly publicKey: pulumi.Output<string | undefined>;
124
+ /**
125
+ * The time the DS record was last updated at.
126
+ */
127
+ readonly updatedAt: pulumi.Output<string>;
128
+ /**
129
+ * Create a DsRecord resource with the given unique name, arguments, and options.
130
+ *
131
+ * @param name The _unique_ name of the resource.
132
+ * @param args The arguments to use to populate this resource's properties.
133
+ * @param opts A bag of options that control this resource's behavior.
134
+ */
135
+ constructor(name: string, args: DsRecordArgs, opts?: pulumi.CustomResourceOptions);
136
+ }
137
+ /**
138
+ * Input properties used for looking up and filtering DsRecord resources.
139
+ */
140
+ export interface DsRecordState {
141
+ /**
142
+ * DNSSEC algorithm number as a string.
143
+ */
144
+ algorithm?: pulumi.Input<string>;
145
+ /**
146
+ * The time the DS record was created at.
147
+ */
148
+ createdAt?: pulumi.Input<string>;
149
+ /**
150
+ * The hexidecimal representation of the digest of the corresponding DNSKEY record.
151
+ */
152
+ digest?: pulumi.Input<string>;
153
+ /**
154
+ * DNSSEC digest type number as a string.
155
+ */
156
+ digestType?: pulumi.Input<string>;
157
+ /**
158
+ * The domain name or numeric ID to create the delegation signer record for.
159
+ */
160
+ domain?: pulumi.Input<string>;
161
+ /**
162
+ * A keytag that references the corresponding DNSKEY record.
163
+ */
164
+ keytag?: pulumi.Input<string>;
165
+ /**
166
+ * A public key that references the corresponding DNSKEY record.
167
+ *
168
+ * # Attributes Reference
169
+ */
170
+ publicKey?: pulumi.Input<string>;
171
+ /**
172
+ * The time the DS record was last updated at.
173
+ */
174
+ updatedAt?: pulumi.Input<string>;
175
+ }
176
+ /**
177
+ * The set of arguments for constructing a DsRecord resource.
178
+ */
179
+ export interface DsRecordArgs {
180
+ /**
181
+ * DNSSEC algorithm number as a string.
182
+ */
183
+ algorithm: pulumi.Input<string>;
184
+ /**
185
+ * The hexidecimal representation of the digest of the corresponding DNSKEY record.
186
+ */
187
+ digest?: pulumi.Input<string>;
188
+ /**
189
+ * DNSSEC digest type number as a string.
190
+ */
191
+ digestType?: pulumi.Input<string>;
192
+ /**
193
+ * The domain name or numeric ID to create the delegation signer record for.
194
+ */
195
+ domain: pulumi.Input<string>;
196
+ /**
197
+ * A keytag that references the corresponding DNSKEY record.
198
+ */
199
+ keytag?: pulumi.Input<string>;
200
+ /**
201
+ * A public key that references the corresponding DNSKEY record.
202
+ *
203
+ * # Attributes Reference
204
+ */
205
+ publicKey?: pulumi.Input<string>;
206
+ }
package/dsRecord.js ADDED
@@ -0,0 +1,145 @@
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.DsRecord = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a DNSimple domain delegation signer record 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 foobar = new dnsimple.DsRecord("foobar", {
18
+ * domain: dnsimple.domain,
19
+ * algorithm: "8",
20
+ * digest: "6CEEA0117A02480216EBF745A7B690F938860074E4AD11AF2AC573007205682B",
21
+ * digestType: "2",
22
+ * keyTag: "12345",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * DNSimple DS record resources can be imported using their domain ID and numeric record ID.
29
+ *
30
+ * bash
31
+ *
32
+ * ```sh
33
+ * $ pulumi import dnsimple:index/dsRecord:DsRecord resource_name example.com_5678
34
+ * ```
35
+ *
36
+ * The record ID can be found within [DNSimple DNSSEC API](https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
37
+ *
38
+ * bash
39
+ *
40
+ * curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1010/domains/example.com/ds_records | jq
41
+ *
42
+ * {
43
+ *
44
+ * "data": [
45
+ *
46
+ * {
47
+ *
48
+ * "id": 24,
49
+ *
50
+ * "domain_id": 1010,
51
+ *
52
+ * "algorithm": "8",
53
+ *
54
+ * "digest": "C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F",
55
+ *
56
+ * "digest_type": "2",
57
+ *
58
+ * "keytag": "44620",
59
+ *
60
+ * "public_key": null,
61
+ *
62
+ * "created_at": "2017-03-03T13:49:58Z",
63
+ *
64
+ * "updated_at": "2017-03-03T13:49:58Z"
65
+ *
66
+ * }
67
+ *
68
+ * ],
69
+ *
70
+ * "pagination": {
71
+ *
72
+ * "current_page": 1,
73
+ *
74
+ * "per_page": 30,
75
+ *
76
+ * "total_entries": 1,
77
+ *
78
+ * "total_pages": 1
79
+ *
80
+ * }
81
+ *
82
+ * }
83
+ */
84
+ class DsRecord extends pulumi.CustomResource {
85
+ /**
86
+ * Get an existing DsRecord resource's state with the given name, ID, and optional extra
87
+ * properties used to qualify the lookup.
88
+ *
89
+ * @param name The _unique_ name of the resulting resource.
90
+ * @param id The _unique_ provider ID of the resource to lookup.
91
+ * @param state Any extra arguments used during the lookup.
92
+ * @param opts Optional settings to control the behavior of the CustomResource.
93
+ */
94
+ static get(name, id, state, opts) {
95
+ return new DsRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
96
+ }
97
+ /**
98
+ * Returns true if the given object is an instance of DsRecord. This is designed to work even
99
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
100
+ */
101
+ static isInstance(obj) {
102
+ if (obj === undefined || obj === null) {
103
+ return false;
104
+ }
105
+ return obj['__pulumiType'] === DsRecord.__pulumiType;
106
+ }
107
+ constructor(name, argsOrState, opts) {
108
+ let resourceInputs = {};
109
+ opts = opts || {};
110
+ if (opts.id) {
111
+ const state = argsOrState;
112
+ resourceInputs["algorithm"] = state ? state.algorithm : undefined;
113
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
114
+ resourceInputs["digest"] = state ? state.digest : undefined;
115
+ resourceInputs["digestType"] = state ? state.digestType : undefined;
116
+ resourceInputs["domain"] = state ? state.domain : undefined;
117
+ resourceInputs["keytag"] = state ? state.keytag : undefined;
118
+ resourceInputs["publicKey"] = state ? state.publicKey : undefined;
119
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
120
+ }
121
+ else {
122
+ const args = argsOrState;
123
+ if ((!args || args.algorithm === undefined) && !opts.urn) {
124
+ throw new Error("Missing required property 'algorithm'");
125
+ }
126
+ if ((!args || args.domain === undefined) && !opts.urn) {
127
+ throw new Error("Missing required property 'domain'");
128
+ }
129
+ resourceInputs["algorithm"] = args ? args.algorithm : undefined;
130
+ resourceInputs["digest"] = args ? args.digest : undefined;
131
+ resourceInputs["digestType"] = args ? args.digestType : undefined;
132
+ resourceInputs["domain"] = args ? args.domain : undefined;
133
+ resourceInputs["keytag"] = args ? args.keytag : undefined;
134
+ resourceInputs["publicKey"] = args ? args.publicKey : undefined;
135
+ resourceInputs["createdAt"] = undefined /*out*/;
136
+ resourceInputs["updatedAt"] = undefined /*out*/;
137
+ }
138
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
139
+ super(DsRecord.__pulumiType, name, resourceInputs, opts);
140
+ }
141
+ }
142
+ exports.DsRecord = DsRecord;
143
+ /** @internal */
144
+ DsRecord.__pulumiType = 'dnsimple:index/dsRecord:DsRecord';
145
+ //# sourceMappingURL=dsRecord.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dsRecord.js","sourceRoot":"","sources":["../dsRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA6CD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,c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C,CAAC;aACzD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAvGL,4BAwGC;AA1FG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
package/emailForward.d.ts CHANGED
@@ -8,7 +8,6 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as dnsimple from "@pulumi/dnsimple";
10
10
  *
11
- * // Add an email forwarding rule to the domain
12
11
  * const foobar = new dnsimple.EmailForward("foobar", {
13
12
  * domain: dnsimpleDomain.name,
14
13
  * aliasName: "sales",
package/emailForward.js CHANGED
@@ -14,7 +14,6 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as dnsimple from "@pulumi/dnsimple";
16
16
  *
17
- * // Add an email forwarding rule to the domain
18
17
  * const foobar = new dnsimple.EmailForward("foobar", {
19
18
  * domain: dnsimpleDomain.name,
20
19
  * aliasName: "sales",
@@ -1 +1 @@
1
- {"version":3,"file":"emailForward.js","sourceRoot":"","sources":["../emailForward.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAA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CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAhFL,oCAiFC;AAnEG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
2
4
  /**
3
5
  * Provides a DNSimple certificate data source.
4
6
  *
@@ -27,6 +29,7 @@ export interface GetCertificateArgs {
27
29
  * The domain of the SSL Certificate
28
30
  */
29
31
  domain: string;
32
+ timeouts?: inputs.GetCertificateTimeouts;
30
33
  }
31
34
  /**
32
35
  * A collection of values returned by getCertificate.
@@ -51,6 +54,7 @@ export interface GetCertificateResult {
51
54
  * The SSL Certificate
52
55
  */
53
56
  readonly serverCertificate: string;
57
+ readonly timeouts?: outputs.GetCertificateTimeouts;
54
58
  }
55
59
  /**
56
60
  * Provides a DNSimple certificate data source.
@@ -80,4 +84,5 @@ export interface GetCertificateOutputArgs {
80
84
  * The domain of the SSL Certificate
81
85
  */
82
86
  domain: pulumi.Input<string>;
87
+ timeouts?: pulumi.Input<inputs.GetCertificateTimeoutsArgs>;
83
88
  }
package/getCertificate.js CHANGED
@@ -25,6 +25,7 @@ function getCertificate(args, opts) {
25
25
  return pulumi.runtime.invoke("dnsimple:index/getCertificate:getCertificate", {
26
26
  "certificateId": args.certificateId,
27
27
  "domain": args.domain,
28
+ "timeouts": args.timeouts,
28
29
  }, opts);
29
30
  }
30
31
  exports.getCertificate = getCertificate;
@@ -1 +1 @@
1
- {"version":3,"file":"getCertificate.js","sourceRoot":"","sources":["../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