@pulumiverse/gandi 0.0.14 → 2.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.
- package/README.md +3 -1
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.js +2 -3
- package/config/vars.js.map +1 -1
- package/domains/dnssecKey.js +14 -14
- package/domains/dnssecKey.js.map +1 -1
- package/domains/domain.d.ts +2 -1
- package/domains/domain.js +19 -19
- package/domains/domain.js.map +1 -1
- package/domains/getDomain.d.ts +13 -1
- package/domains/getDomain.js +6 -6
- package/domains/getDomain.js.map +1 -1
- package/domains/getGlueRecord.d.ts +22 -1
- package/domains/getGlueRecord.js +7 -6
- package/domains/getGlueRecord.js.map +1 -1
- package/domains/glueRecord.js +13 -13
- package/domains/glueRecord.js.map +1 -1
- package/domains/index.d.ts +18 -6
- package/domains/index.js +20 -31
- package/domains/index.js.map +1 -1
- package/domains/nameservers.js +7 -7
- package/domains/nameservers.js.map +1 -1
- package/email/forwarding.js +8 -8
- package/email/forwarding.js.map +1 -1
- package/email/getMailbox.d.ts +19 -1
- package/email/getMailbox.js +7 -6
- package/email/getMailbox.js.map +1 -1
- package/email/index.d.ts +9 -3
- package/email/index.js +11 -24
- package/email/index.js.map +1 -1
- package/email/mailbox.js +17 -15
- package/email/mailbox.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/livedns/domain.js +8 -8
- package/livedns/domain.js.map +1 -1
- package/livedns/getDomain.d.ts +10 -1
- package/livedns/getDomain.js +6 -6
- package/livedns/getDomain.js.map +1 -1
- package/livedns/getDomainNameserver.d.ts +13 -1
- package/livedns/getDomainNameserver.js +6 -6
- package/livedns/getDomainNameserver.js.map +1 -1
- package/livedns/index.d.ts +12 -4
- package/livedns/index.js +14 -25
- package/livedns/index.js.map +1 -1
- package/livedns/record.d.ts +0 -9
- package/livedns/record.js +19 -19
- package/livedns/record.js.map +1 -1
- package/package.json +5 -6
- package/provider.d.ts +14 -0
- package/provider.js +16 -7
- package/provider.js.map +1 -1
- package/simplehosting/index.d.ts +6 -2
- package/simplehosting/index.js +8 -23
- package/simplehosting/index.js.map +1 -1
- package/simplehosting/instance.js +16 -16
- package/simplehosting/instance.js.map +1 -1
- package/simplehosting/vhost.js +13 -13
- package/simplehosting/vhost.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +168 -0
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +168 -0
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/utilities.js +36 -2
- package/utilities.js.map +1 -1
- package/package.json.bak +0 -30
- package/scripts/install-pulumi-plugin.js +0 -26
package/types/input.d.ts
CHANGED
|
@@ -1,75 +1,243 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
export declare namespace domains {
|
|
3
3
|
interface DomainAdmin {
|
|
4
|
+
/**
|
|
5
|
+
* City for the contact
|
|
6
|
+
*/
|
|
4
7
|
city: pulumi.Input<string>;
|
|
8
|
+
/**
|
|
9
|
+
* The two letter country code for the contact
|
|
10
|
+
*/
|
|
5
11
|
country: pulumi.Input<string>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
14
|
+
*/
|
|
6
15
|
dataObfuscated?: pulumi.Input<boolean>;
|
|
16
|
+
/**
|
|
17
|
+
* Contact email address
|
|
18
|
+
*/
|
|
7
19
|
email: pulumi.Input<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Extra parameters, needed for some jurisdictions
|
|
22
|
+
*/
|
|
8
23
|
extraParameters?: pulumi.Input<{
|
|
9
24
|
[key: string]: pulumi.Input<string>;
|
|
10
25
|
}>;
|
|
26
|
+
/**
|
|
27
|
+
* Family name of the contact
|
|
28
|
+
*/
|
|
11
29
|
familyName: pulumi.Input<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Given name of the contact
|
|
32
|
+
*/
|
|
12
33
|
givenName: pulumi.Input<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
36
|
+
*/
|
|
13
37
|
mailObfuscated?: pulumi.Input<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* The legal name of the organisation. Required for types other than person
|
|
40
|
+
*/
|
|
14
41
|
organisation?: pulumi.Input<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Phone number for the contact
|
|
44
|
+
*/
|
|
15
45
|
phone: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The state code for the contact
|
|
48
|
+
*/
|
|
16
49
|
state?: pulumi.Input<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Street Address of the contact
|
|
52
|
+
*/
|
|
17
53
|
streetAddr: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
56
|
+
*/
|
|
18
57
|
type: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Postal Code/Zipcode of the contact
|
|
60
|
+
*/
|
|
19
61
|
zip: pulumi.Input<string>;
|
|
20
62
|
}
|
|
21
63
|
interface DomainBilling {
|
|
64
|
+
/**
|
|
65
|
+
* City for the contact
|
|
66
|
+
*/
|
|
22
67
|
city: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The two letter country code for the contact
|
|
70
|
+
*/
|
|
23
71
|
country: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
74
|
+
*/
|
|
24
75
|
dataObfuscated?: pulumi.Input<boolean>;
|
|
76
|
+
/**
|
|
77
|
+
* Contact email address
|
|
78
|
+
*/
|
|
25
79
|
email: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Extra parameters, needed for some jurisdictions
|
|
82
|
+
*/
|
|
26
83
|
extraParameters?: pulumi.Input<{
|
|
27
84
|
[key: string]: pulumi.Input<string>;
|
|
28
85
|
}>;
|
|
86
|
+
/**
|
|
87
|
+
* Family name of the contact
|
|
88
|
+
*/
|
|
29
89
|
familyName: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Given name of the contact
|
|
92
|
+
*/
|
|
30
93
|
givenName: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
96
|
+
*/
|
|
31
97
|
mailObfuscated?: pulumi.Input<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* The legal name of the organisation. Required for types other than person
|
|
100
|
+
*/
|
|
32
101
|
organisation?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Phone number for the contact
|
|
104
|
+
*/
|
|
33
105
|
phone: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The state code for the contact
|
|
108
|
+
*/
|
|
34
109
|
state?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Street Address of the contact
|
|
112
|
+
*/
|
|
35
113
|
streetAddr: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
116
|
+
*/
|
|
36
117
|
type: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Postal Code/Zipcode of the contact
|
|
120
|
+
*/
|
|
37
121
|
zip: pulumi.Input<string>;
|
|
38
122
|
}
|
|
39
123
|
interface DomainOwner {
|
|
124
|
+
/**
|
|
125
|
+
* City for the contact
|
|
126
|
+
*/
|
|
40
127
|
city: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The two letter country code for the contact
|
|
130
|
+
*/
|
|
41
131
|
country: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
134
|
+
*/
|
|
42
135
|
dataObfuscated?: pulumi.Input<boolean>;
|
|
136
|
+
/**
|
|
137
|
+
* Contact email address
|
|
138
|
+
*/
|
|
43
139
|
email: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Extra parameters, needed for some jurisdictions
|
|
142
|
+
*/
|
|
44
143
|
extraParameters?: pulumi.Input<{
|
|
45
144
|
[key: string]: pulumi.Input<string>;
|
|
46
145
|
}>;
|
|
146
|
+
/**
|
|
147
|
+
* Family name of the contact
|
|
148
|
+
*/
|
|
47
149
|
familyName: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Given name of the contact
|
|
152
|
+
*/
|
|
48
153
|
givenName: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
156
|
+
*/
|
|
49
157
|
mailObfuscated?: pulumi.Input<boolean>;
|
|
158
|
+
/**
|
|
159
|
+
* The legal name of the organisation. Required for types other than person
|
|
160
|
+
*/
|
|
50
161
|
organisation?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Phone number for the contact
|
|
164
|
+
*/
|
|
51
165
|
phone: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The state code for the contact
|
|
168
|
+
*/
|
|
52
169
|
state?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Street Address of the contact
|
|
172
|
+
*/
|
|
53
173
|
streetAddr: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
176
|
+
*/
|
|
54
177
|
type: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Postal Code/Zipcode of the contact
|
|
180
|
+
*/
|
|
55
181
|
zip: pulumi.Input<string>;
|
|
56
182
|
}
|
|
57
183
|
interface DomainTech {
|
|
184
|
+
/**
|
|
185
|
+
* City for the contact
|
|
186
|
+
*/
|
|
58
187
|
city: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The two letter country code for the contact
|
|
190
|
+
*/
|
|
59
191
|
country: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
194
|
+
*/
|
|
60
195
|
dataObfuscated?: pulumi.Input<boolean>;
|
|
196
|
+
/**
|
|
197
|
+
* Contact email address
|
|
198
|
+
*/
|
|
61
199
|
email: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Extra parameters, needed for some jurisdictions
|
|
202
|
+
*/
|
|
62
203
|
extraParameters?: pulumi.Input<{
|
|
63
204
|
[key: string]: pulumi.Input<string>;
|
|
64
205
|
}>;
|
|
206
|
+
/**
|
|
207
|
+
* Family name of the contact
|
|
208
|
+
*/
|
|
65
209
|
familyName: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Given name of the contact
|
|
212
|
+
*/
|
|
66
213
|
givenName: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
216
|
+
*/
|
|
67
217
|
mailObfuscated?: pulumi.Input<boolean>;
|
|
218
|
+
/**
|
|
219
|
+
* The legal name of the organisation. Required for types other than person
|
|
220
|
+
*/
|
|
68
221
|
organisation?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Phone number for the contact
|
|
224
|
+
*/
|
|
69
225
|
phone: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* The state code for the contact
|
|
228
|
+
*/
|
|
70
229
|
state?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Street Address of the contact
|
|
232
|
+
*/
|
|
71
233
|
streetAddr: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
236
|
+
*/
|
|
72
237
|
type: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Postal Code/Zipcode of the contact
|
|
240
|
+
*/
|
|
73
241
|
zip: pulumi.Input<string>;
|
|
74
242
|
}
|
|
75
243
|
}
|
package/types/input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
//# sourceMappingURL=input.js.map
|
package/types/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
package/types/output.d.ts
CHANGED
|
@@ -1,74 +1,242 @@
|
|
|
1
1
|
export declare namespace domains {
|
|
2
2
|
interface DomainAdmin {
|
|
3
|
+
/**
|
|
4
|
+
* City for the contact
|
|
5
|
+
*/
|
|
3
6
|
city: string;
|
|
7
|
+
/**
|
|
8
|
+
* The two letter country code for the contact
|
|
9
|
+
*/
|
|
4
10
|
country: string;
|
|
11
|
+
/**
|
|
12
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
13
|
+
*/
|
|
5
14
|
dataObfuscated?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Contact email address
|
|
17
|
+
*/
|
|
6
18
|
email: string;
|
|
19
|
+
/**
|
|
20
|
+
* Extra parameters, needed for some jurisdictions
|
|
21
|
+
*/
|
|
7
22
|
extraParameters?: {
|
|
8
23
|
[key: string]: string;
|
|
9
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Family name of the contact
|
|
27
|
+
*/
|
|
10
28
|
familyName: string;
|
|
29
|
+
/**
|
|
30
|
+
* Given name of the contact
|
|
31
|
+
*/
|
|
11
32
|
givenName: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
35
|
+
*/
|
|
12
36
|
mailObfuscated?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The legal name of the organisation. Required for types other than person
|
|
39
|
+
*/
|
|
13
40
|
organisation?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Phone number for the contact
|
|
43
|
+
*/
|
|
14
44
|
phone: string;
|
|
45
|
+
/**
|
|
46
|
+
* The state code for the contact
|
|
47
|
+
*/
|
|
15
48
|
state?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Street Address of the contact
|
|
51
|
+
*/
|
|
16
52
|
streetAddr: string;
|
|
53
|
+
/**
|
|
54
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
55
|
+
*/
|
|
17
56
|
type: string;
|
|
57
|
+
/**
|
|
58
|
+
* Postal Code/Zipcode of the contact
|
|
59
|
+
*/
|
|
18
60
|
zip: string;
|
|
19
61
|
}
|
|
20
62
|
interface DomainBilling {
|
|
63
|
+
/**
|
|
64
|
+
* City for the contact
|
|
65
|
+
*/
|
|
21
66
|
city: string;
|
|
67
|
+
/**
|
|
68
|
+
* The two letter country code for the contact
|
|
69
|
+
*/
|
|
22
70
|
country: string;
|
|
71
|
+
/**
|
|
72
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
73
|
+
*/
|
|
23
74
|
dataObfuscated?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Contact email address
|
|
77
|
+
*/
|
|
24
78
|
email: string;
|
|
79
|
+
/**
|
|
80
|
+
* Extra parameters, needed for some jurisdictions
|
|
81
|
+
*/
|
|
25
82
|
extraParameters?: {
|
|
26
83
|
[key: string]: string;
|
|
27
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Family name of the contact
|
|
87
|
+
*/
|
|
28
88
|
familyName: string;
|
|
89
|
+
/**
|
|
90
|
+
* Given name of the contact
|
|
91
|
+
*/
|
|
29
92
|
givenName: string;
|
|
93
|
+
/**
|
|
94
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
95
|
+
*/
|
|
30
96
|
mailObfuscated?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* The legal name of the organisation. Required for types other than person
|
|
99
|
+
*/
|
|
31
100
|
organisation?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Phone number for the contact
|
|
103
|
+
*/
|
|
32
104
|
phone: string;
|
|
105
|
+
/**
|
|
106
|
+
* The state code for the contact
|
|
107
|
+
*/
|
|
33
108
|
state?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Street Address of the contact
|
|
111
|
+
*/
|
|
34
112
|
streetAddr: string;
|
|
113
|
+
/**
|
|
114
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
115
|
+
*/
|
|
35
116
|
type: string;
|
|
117
|
+
/**
|
|
118
|
+
* Postal Code/Zipcode of the contact
|
|
119
|
+
*/
|
|
36
120
|
zip: string;
|
|
37
121
|
}
|
|
38
122
|
interface DomainOwner {
|
|
123
|
+
/**
|
|
124
|
+
* City for the contact
|
|
125
|
+
*/
|
|
39
126
|
city: string;
|
|
127
|
+
/**
|
|
128
|
+
* The two letter country code for the contact
|
|
129
|
+
*/
|
|
40
130
|
country: string;
|
|
131
|
+
/**
|
|
132
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
133
|
+
*/
|
|
41
134
|
dataObfuscated?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Contact email address
|
|
137
|
+
*/
|
|
42
138
|
email: string;
|
|
139
|
+
/**
|
|
140
|
+
* Extra parameters, needed for some jurisdictions
|
|
141
|
+
*/
|
|
43
142
|
extraParameters?: {
|
|
44
143
|
[key: string]: string;
|
|
45
144
|
};
|
|
145
|
+
/**
|
|
146
|
+
* Family name of the contact
|
|
147
|
+
*/
|
|
46
148
|
familyName: string;
|
|
149
|
+
/**
|
|
150
|
+
* Given name of the contact
|
|
151
|
+
*/
|
|
47
152
|
givenName: string;
|
|
153
|
+
/**
|
|
154
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
155
|
+
*/
|
|
48
156
|
mailObfuscated?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* The legal name of the organisation. Required for types other than person
|
|
159
|
+
*/
|
|
49
160
|
organisation?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Phone number for the contact
|
|
163
|
+
*/
|
|
50
164
|
phone: string;
|
|
165
|
+
/**
|
|
166
|
+
* The state code for the contact
|
|
167
|
+
*/
|
|
51
168
|
state?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Street Address of the contact
|
|
171
|
+
*/
|
|
52
172
|
streetAddr: string;
|
|
173
|
+
/**
|
|
174
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
175
|
+
*/
|
|
53
176
|
type: string;
|
|
177
|
+
/**
|
|
178
|
+
* Postal Code/Zipcode of the contact
|
|
179
|
+
*/
|
|
54
180
|
zip: string;
|
|
55
181
|
}
|
|
56
182
|
interface DomainTech {
|
|
183
|
+
/**
|
|
184
|
+
* City for the contact
|
|
185
|
+
*/
|
|
57
186
|
city: string;
|
|
187
|
+
/**
|
|
188
|
+
* The two letter country code for the contact
|
|
189
|
+
*/
|
|
58
190
|
country: string;
|
|
191
|
+
/**
|
|
192
|
+
* Whether or not to obfuscate contact data in WHOIS
|
|
193
|
+
*/
|
|
59
194
|
dataObfuscated?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Contact email address
|
|
197
|
+
*/
|
|
60
198
|
email: string;
|
|
199
|
+
/**
|
|
200
|
+
* Extra parameters, needed for some jurisdictions
|
|
201
|
+
*/
|
|
61
202
|
extraParameters?: {
|
|
62
203
|
[key: string]: string;
|
|
63
204
|
};
|
|
205
|
+
/**
|
|
206
|
+
* Family name of the contact
|
|
207
|
+
*/
|
|
64
208
|
familyName: string;
|
|
209
|
+
/**
|
|
210
|
+
* Given name of the contact
|
|
211
|
+
*/
|
|
65
212
|
givenName: string;
|
|
213
|
+
/**
|
|
214
|
+
* Whether or not to obfuscate contact email in WHOIS
|
|
215
|
+
*/
|
|
66
216
|
mailObfuscated?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* The legal name of the organisation. Required for types other than person
|
|
219
|
+
*/
|
|
67
220
|
organisation?: string;
|
|
221
|
+
/**
|
|
222
|
+
* Phone number for the contact
|
|
223
|
+
*/
|
|
68
224
|
phone: string;
|
|
225
|
+
/**
|
|
226
|
+
* The state code for the contact
|
|
227
|
+
*/
|
|
69
228
|
state?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Street Address of the contact
|
|
231
|
+
*/
|
|
70
232
|
streetAddr: string;
|
|
233
|
+
/**
|
|
234
|
+
* One of 'person', 'company', 'association', 'public body', or 'reseller'
|
|
235
|
+
*/
|
|
71
236
|
type: string;
|
|
237
|
+
/**
|
|
238
|
+
* Postal Code/Zipcode of the contact
|
|
239
|
+
*/
|
|
72
240
|
zip: string;
|
|
73
241
|
}
|
|
74
242
|
}
|
package/types/output.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
//# sourceMappingURL=output.js.map
|
package/types/output.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
package/utilities.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
|
+
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
6
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
6
7
|
function getEnv(...vars) {
|
|
7
8
|
for (const v of vars) {
|
|
8
9
|
const value = process.env[v];
|
|
@@ -54,4 +55,37 @@ function resourceOptsDefaults() {
|
|
|
54
55
|
return { version: getVersion(), pluginDownloadURL: "github://api.github.com/pulumiverse" };
|
|
55
56
|
}
|
|
56
57
|
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
58
|
+
/** @internal */
|
|
59
|
+
function lazyLoad(exports, props, loadModule) {
|
|
60
|
+
for (let property of props) {
|
|
61
|
+
Object.defineProperty(exports, property, {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () {
|
|
64
|
+
return loadModule()[property];
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.lazyLoad = lazyLoad;
|
|
70
|
+
/** @internal */
|
|
71
|
+
async function callAsync(tok, props, res, opts) {
|
|
72
|
+
const o = runtime.call(tok, props, res);
|
|
73
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
74
|
+
const isKnown = await o.isKnown;
|
|
75
|
+
const isSecret = await o.isSecret;
|
|
76
|
+
const problem = !isKnown ? "an unknown value"
|
|
77
|
+
: isSecret ? "a secret value"
|
|
78
|
+
: undefined;
|
|
79
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
80
|
+
if (problem) {
|
|
81
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
82
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
83
|
+
}
|
|
84
|
+
// Extract a single property if requested.
|
|
85
|
+
if (opts && opts.property) {
|
|
86
|
+
return value[opts.property];
|
|
87
|
+
}
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
exports.callAsync = callAsync;
|
|
57
91
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":"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"}
|
package/package.json.bak
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pulumiverse/gandi",
|
|
3
|
-
"version": "${VERSION}",
|
|
4
|
-
"description": "A Pulumi package for creating and managing gandi cloud resources.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pulumi",
|
|
7
|
-
"gandi",
|
|
8
|
-
"category/cloud"
|
|
9
|
-
],
|
|
10
|
-
"homepage": "https://www.pulumi.com",
|
|
11
|
-
"repository": "https://github.com/pulumiverse/pulumi-gandi",
|
|
12
|
-
"license": "Apache-2.0",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource gandi ${VERSION}"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@pulumi/pulumi": "^3.0.0"
|
|
19
|
-
},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@types/mime": "^2.0.0",
|
|
22
|
-
"@types/node": "^10.0.0",
|
|
23
|
-
"typescript": "^4.3.5"
|
|
24
|
-
},
|
|
25
|
-
"pulumi": {
|
|
26
|
-
"resource": true,
|
|
27
|
-
"name": "gandi",
|
|
28
|
-
"server": "github://api.github.com/pulumiverse"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var childProcess = require("child_process");
|
|
3
|
-
|
|
4
|
-
var args = process.argv.slice(2);
|
|
5
|
-
|
|
6
|
-
if (args.indexOf("${VERSION}") !== -1) {
|
|
7
|
-
process.exit(0);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
var res = childProcess.spawnSync("pulumi", ["plugin", "install", "--server", "github://api.github.com/pulumiverse"].concat(args), {
|
|
11
|
-
stdio: ["ignore", "inherit", "inherit"]
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
if (res.error && res.error.code === "ENOENT") {
|
|
15
|
-
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
16
|
-
"It looks like `pulumi` is not installed on your system. " +
|
|
17
|
-
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
|
|
18
|
-
"You may try manually installing the plugin by running " +
|
|
19
|
-
"`pulumi plugin install " + args.join(" ") + "`");
|
|
20
|
-
} else if (res.error || res.status !== 0) {
|
|
21
|
-
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
22
|
-
"You may try to manually installing the plugin by running " +
|
|
23
|
-
"`pulumi plugin install " + args.join(" ") + "`");
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
process.exit(0);
|