@pulumiverse/gandi 0.0.9 → 0.0.12
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/domains/dnssecKey.js +22 -22
- package/domains/dnssecKey.js.map +1 -1
- package/domains/domain.d.ts +12 -0
- package/domains/domain.js +24 -22
- package/domains/domain.js.map +1 -1
- package/domains/getDomain.d.ts +0 -12
- package/domains/getDomain.js.map +1 -1
- package/domains/getGlueRecord.d.ts +0 -21
- package/domains/getGlueRecord.js.map +1 -1
- package/domains/glueRecord.js +22 -22
- package/domains/glueRecord.js.map +1 -1
- package/domains/nameservers.d.ts +3 -3
- package/domains/nameservers.js +19 -19
- package/domains/nameservers.js.map +1 -1
- package/email/forwarding.js +22 -22
- package/email/forwarding.js.map +1 -1
- package/email/getMailbox.d.ts +0 -18
- package/email/getMailbox.js.map +1 -1
- package/email/mailbox.js +22 -22
- package/email/mailbox.js.map +1 -1
- package/livedns/domain.js +18 -18
- package/livedns/domain.js.map +1 -1
- package/livedns/getDomain.d.ts +0 -9
- package/livedns/getDomain.js.map +1 -1
- package/livedns/getDomainNameserver.d.ts +0 -12
- package/livedns/getDomainNameserver.js.map +1 -1
- package/livedns/record.js +22 -22
- package/livedns/record.js.map +1 -1
- package/package.json +2 -2
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/simplehosting/instance.js +22 -22
- package/simplehosting/instance.js.map +1 -1
- package/simplehosting/vhost.js +22 -22
- package/simplehosting/vhost.js.map +1 -1
- package/types/input.d.ts +0 -168
- package/types/output.d.ts +0 -168
package/domains/dnssecKey.js
CHANGED
|
@@ -6,6 +6,28 @@ exports.DNSSecKey = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
class DNSSecKey extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing DNSSecKey resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new DNSSecKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of DNSSecKey. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === DNSSecKey.__pulumiType;
|
|
30
|
+
}
|
|
9
31
|
constructor(name, argsOrState, opts) {
|
|
10
32
|
let resourceInputs = {};
|
|
11
33
|
opts = opts || {};
|
|
@@ -38,28 +60,6 @@ class DNSSecKey extends pulumi.CustomResource {
|
|
|
38
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
39
61
|
super(DNSSecKey.__pulumiType, name, resourceInputs, opts);
|
|
40
62
|
}
|
|
41
|
-
/**
|
|
42
|
-
* Get an existing DNSSecKey resource's state with the given name, ID, and optional extra
|
|
43
|
-
* properties used to qualify the lookup.
|
|
44
|
-
*
|
|
45
|
-
* @param name The _unique_ name of the resulting resource.
|
|
46
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
-
* @param state Any extra arguments used during the lookup.
|
|
48
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
-
*/
|
|
50
|
-
static get(name, id, state, opts) {
|
|
51
|
-
return new DNSSecKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Returns true if the given object is an instance of DNSSecKey. This is designed to work even
|
|
55
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
-
*/
|
|
57
|
-
static isInstance(obj) {
|
|
58
|
-
if (obj === undefined || obj === null) {
|
|
59
|
-
return false;
|
|
60
|
-
}
|
|
61
|
-
return obj['__pulumiType'] === DNSSecKey.__pulumiType;
|
|
62
|
-
}
|
|
63
63
|
}
|
|
64
64
|
exports.DNSSecKey = DNSSecKey;
|
|
65
65
|
/** @internal */
|
package/domains/dnssecKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnssecKey.js","sourceRoot":"","sources":["../../domains/dnssecKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"dnssecKey.js","sourceRoot":"","sources":["../../domains/dnssecKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,E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I,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;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,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAnFL,8BAoFC;AAtEG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
package/domains/domain.d.ts
CHANGED
|
@@ -34,6 +34,10 @@ See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
|
|
|
34
34
|
*/
|
|
35
35
|
readonly nameservers: pulumi.Output<string[] | undefined>;
|
|
36
36
|
readonly owner: pulumi.Output<outputs.domains.DomainOwner>;
|
|
37
|
+
/**
|
|
38
|
+
* A list of tags attached to the domain
|
|
39
|
+
*/
|
|
40
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
37
41
|
readonly tech: pulumi.Output<outputs.domains.DomainTech>;
|
|
38
42
|
/**
|
|
39
43
|
* Create a Domain resource with the given unique name, arguments, and options.
|
|
@@ -66,6 +70,10 @@ See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
|
|
|
66
70
|
*/
|
|
67
71
|
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
72
|
owner?: pulumi.Input<inputs.domains.DomainOwner>;
|
|
73
|
+
/**
|
|
74
|
+
* A list of tags attached to the domain
|
|
75
|
+
*/
|
|
76
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
69
77
|
tech?: pulumi.Input<inputs.domains.DomainTech>;
|
|
70
78
|
}
|
|
71
79
|
/**
|
|
@@ -90,5 +98,9 @@ See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
|
|
|
90
98
|
*/
|
|
91
99
|
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
92
100
|
owner: pulumi.Input<inputs.domains.DomainOwner>;
|
|
101
|
+
/**
|
|
102
|
+
* A list of tags attached to the domain
|
|
103
|
+
*/
|
|
104
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
93
105
|
tech?: pulumi.Input<inputs.domains.DomainTech>;
|
|
94
106
|
}
|
package/domains/domain.js
CHANGED
|
@@ -6,6 +6,28 @@ exports.Domain = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
class Domain extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === Domain.__pulumiType;
|
|
30
|
+
}
|
|
9
31
|
constructor(name, argsOrState, opts) {
|
|
10
32
|
let resourceInputs = {};
|
|
11
33
|
opts = opts || {};
|
|
@@ -17,6 +39,7 @@ class Domain extends pulumi.CustomResource {
|
|
|
17
39
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
18
40
|
resourceInputs["nameservers"] = state ? state.nameservers : undefined;
|
|
19
41
|
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
42
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
20
43
|
resourceInputs["tech"] = state ? state.tech : undefined;
|
|
21
44
|
}
|
|
22
45
|
else {
|
|
@@ -30,33 +53,12 @@ class Domain extends pulumi.CustomResource {
|
|
|
30
53
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
31
54
|
resourceInputs["nameservers"] = args ? args.nameservers : undefined;
|
|
32
55
|
resourceInputs["owner"] = args ? args.owner : undefined;
|
|
56
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
33
57
|
resourceInputs["tech"] = args ? args.tech : undefined;
|
|
34
58
|
}
|
|
35
59
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
36
60
|
super(Domain.__pulumiType, name, resourceInputs, opts);
|
|
37
61
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Get an existing Domain 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 Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Returns true if the given object is an instance of Domain. 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'] === Domain.__pulumiType;
|
|
59
|
-
}
|
|
60
62
|
}
|
|
61
63
|
exports.Domain = Domain;
|
|
62
64
|
/** @internal */
|
package/domains/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../domains/domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../domains/domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAkCD,YAAY,IAAY,EAAE,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pulumi.InvokeOptio
|
|
|
4
4
|
* A collection of arguments for invoking getDomain.
|
|
5
5
|
*/
|
|
6
6
|
export interface GetDomainArgs {
|
|
7
|
-
/**
|
|
8
|
-
* The FQDN of the domain
|
|
9
|
-
*/
|
|
10
7
|
name: string;
|
|
11
8
|
}
|
|
12
9
|
/**
|
|
@@ -17,13 +14,7 @@ export interface GetDomainResult {
|
|
|
17
14
|
* The provider-assigned unique ID for this managed resource.
|
|
18
15
|
*/
|
|
19
16
|
readonly id: string;
|
|
20
|
-
/**
|
|
21
|
-
* The FQDN of the domain
|
|
22
|
-
*/
|
|
23
17
|
readonly name: string;
|
|
24
|
-
/**
|
|
25
|
-
* A list of nameservers for the domain
|
|
26
|
-
*/
|
|
27
18
|
readonly nameservers: string[];
|
|
28
19
|
}
|
|
29
20
|
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainResult>;
|
|
@@ -31,8 +22,5 @@ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi
|
|
|
31
22
|
* A collection of arguments for invoking getDomain.
|
|
32
23
|
*/
|
|
33
24
|
export interface GetDomainOutputArgs {
|
|
34
|
-
/**
|
|
35
|
-
* The FQDN of the domain
|
|
36
|
-
*/
|
|
37
25
|
name: pulumi.Input<string>;
|
|
38
26
|
}
|
package/domains/getDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../domains/getDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;
|
|
1
|
+
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../domains/getDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AAqBD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
|
@@ -4,13 +4,7 @@ export declare function getGlueRecord(args: GetGlueRecordArgs, opts?: pulumi.Inv
|
|
|
4
4
|
* A collection of arguments for invoking getGlueRecord.
|
|
5
5
|
*/
|
|
6
6
|
export interface GetGlueRecordArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Host name of the glue record
|
|
9
|
-
*/
|
|
10
7
|
name: string;
|
|
11
|
-
/**
|
|
12
|
-
* Domain name
|
|
13
|
-
*/
|
|
14
8
|
zone: string;
|
|
15
9
|
}
|
|
16
10
|
/**
|
|
@@ -21,17 +15,8 @@ export interface GetGlueRecordResult {
|
|
|
21
15
|
* The provider-assigned unique ID for this managed resource.
|
|
22
16
|
*/
|
|
23
17
|
readonly id: string;
|
|
24
|
-
/**
|
|
25
|
-
* A list of the ip addresses provided for the glue record
|
|
26
|
-
*/
|
|
27
18
|
readonly ips: string[];
|
|
28
|
-
/**
|
|
29
|
-
* Host name of the glue record
|
|
30
|
-
*/
|
|
31
19
|
readonly name: string;
|
|
32
|
-
/**
|
|
33
|
-
* Domain name
|
|
34
|
-
*/
|
|
35
20
|
readonly zone: string;
|
|
36
21
|
}
|
|
37
22
|
export declare function getGlueRecordOutput(args: GetGlueRecordOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGlueRecordResult>;
|
|
@@ -39,12 +24,6 @@ export declare function getGlueRecordOutput(args: GetGlueRecordOutputArgs, opts?
|
|
|
39
24
|
* A collection of arguments for invoking getGlueRecord.
|
|
40
25
|
*/
|
|
41
26
|
export interface GetGlueRecordOutputArgs {
|
|
42
|
-
/**
|
|
43
|
-
* Host name of the glue record
|
|
44
|
-
*/
|
|
45
27
|
name: pulumi.Input<string>;
|
|
46
|
-
/**
|
|
47
|
-
* Domain name
|
|
48
|
-
*/
|
|
49
28
|
zone: pulumi.Input<string>;
|
|
50
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGlueRecord.js","sourceRoot":"","sources":["../../domains/getGlueRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;
|
|
1
|
+
{"version":3,"file":"getGlueRecord.js","sourceRoot":"","sources":["../../domains/getGlueRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AAuBD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/domains/glueRecord.js
CHANGED
|
@@ -6,6 +6,28 @@ exports.GlueRecord = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
class GlueRecord extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing GlueRecord resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new GlueRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of GlueRecord. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === GlueRecord.__pulumiType;
|
|
30
|
+
}
|
|
9
31
|
constructor(name, argsOrState, opts) {
|
|
10
32
|
let resourceInputs = {};
|
|
11
33
|
opts = opts || {};
|
|
@@ -36,28 +58,6 @@ class GlueRecord extends pulumi.CustomResource {
|
|
|
36
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
37
59
|
super(GlueRecord.__pulumiType, name, resourceInputs, opts);
|
|
38
60
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Get an existing GlueRecord resource's state with the given name, ID, and optional extra
|
|
41
|
-
* properties used to qualify the lookup.
|
|
42
|
-
*
|
|
43
|
-
* @param name The _unique_ name of the resulting resource.
|
|
44
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
-
* @param state Any extra arguments used during the lookup.
|
|
46
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
-
*/
|
|
48
|
-
static get(name, id, state, opts) {
|
|
49
|
-
return new GlueRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Returns true if the given object is an instance of GlueRecord. This is designed to work even
|
|
53
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
-
*/
|
|
55
|
-
static isInstance(obj) {
|
|
56
|
-
if (obj === undefined || obj === null) {
|
|
57
|
-
return false;
|
|
58
|
-
}
|
|
59
|
-
return obj['__pulumiType'] === GlueRecord.__pulumiType;
|
|
60
|
-
}
|
|
61
61
|
}
|
|
62
62
|
exports.GlueRecord = GlueRecord;
|
|
63
63
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glueRecord.js","sourceRoot":"","sources":["../../domains/glueRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"glueRecord.js","sourceRoot":"","sources":["../../domains/glueRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzFL,gCA0FC;AA5EG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
package/domains/nameservers.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare class Nameservers extends pulumi.CustomResource {
|
|
|
22
22
|
/**
|
|
23
23
|
* A list of nameservers for the domain
|
|
24
24
|
*/
|
|
25
|
-
readonly
|
|
25
|
+
readonly nameservers: pulumi.Output<string[] | undefined>;
|
|
26
26
|
/**
|
|
27
27
|
* Create a Nameservers resource with the given unique name, arguments, and options.
|
|
28
28
|
*
|
|
@@ -43,7 +43,7 @@ export interface NameserversState {
|
|
|
43
43
|
/**
|
|
44
44
|
* A list of nameservers for the domain
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* The set of arguments for constructing a Nameservers resource.
|
|
@@ -56,5 +56,5 @@ export interface NameserversArgs {
|
|
|
56
56
|
/**
|
|
57
57
|
* A list of nameservers for the domain
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
60
60
|
}
|
package/domains/nameservers.js
CHANGED
|
@@ -6,25 +6,6 @@ exports.Nameservers = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
class Nameservers extends pulumi.CustomResource {
|
|
9
|
-
constructor(name, argsOrState, opts) {
|
|
10
|
-
let resourceInputs = {};
|
|
11
|
-
opts = opts || {};
|
|
12
|
-
if (opts.id) {
|
|
13
|
-
const state = argsOrState;
|
|
14
|
-
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
15
|
-
resourceInputs["servers"] = state ? state.servers : undefined;
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
const args = argsOrState;
|
|
19
|
-
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
20
|
-
throw new Error("Missing required property 'domain'");
|
|
21
|
-
}
|
|
22
|
-
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
23
|
-
resourceInputs["servers"] = args ? args.servers : undefined;
|
|
24
|
-
}
|
|
25
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
-
super(Nameservers.__pulumiType, name, resourceInputs, opts);
|
|
27
|
-
}
|
|
28
9
|
/**
|
|
29
10
|
* Get an existing Nameservers resource's state with the given name, ID, and optional extra
|
|
30
11
|
* properties used to qualify the lookup.
|
|
@@ -47,6 +28,25 @@ class Nameservers extends pulumi.CustomResource {
|
|
|
47
28
|
}
|
|
48
29
|
return obj['__pulumiType'] === Nameservers.__pulumiType;
|
|
49
30
|
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
37
|
+
resourceInputs["nameservers"] = state ? state.nameservers : undefined;
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
const args = argsOrState;
|
|
41
|
+
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'domain'");
|
|
43
|
+
}
|
|
44
|
+
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
45
|
+
resourceInputs["nameservers"] = args ? args.nameservers : undefined;
|
|
46
|
+
}
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
48
|
+
super(Nameservers.__pulumiType, name, resourceInputs, opts);
|
|
49
|
+
}
|
|
50
50
|
}
|
|
51
51
|
exports.Nameservers = Nameservers;
|
|
52
52
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nameservers.js","sourceRoot":"","sources":["../../domains/nameservers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"nameservers.js","sourceRoot":"","sources":["../../domains/nameservers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,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,WAA0C,CAAC;YACxD,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,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA9DL,kCA+DC;AAjDG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
|
package/email/forwarding.js
CHANGED
|
@@ -6,28 +6,6 @@ exports.Forwarding = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
class Forwarding extends pulumi.CustomResource {
|
|
9
|
-
constructor(name, argsOrState, opts) {
|
|
10
|
-
let resourceInputs = {};
|
|
11
|
-
opts = opts || {};
|
|
12
|
-
if (opts.id) {
|
|
13
|
-
const state = argsOrState;
|
|
14
|
-
resourceInputs["destinations"] = state ? state.destinations : undefined;
|
|
15
|
-
resourceInputs["source"] = state ? state.source : undefined;
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
const args = argsOrState;
|
|
19
|
-
if ((!args || args.destinations === undefined) && !opts.urn) {
|
|
20
|
-
throw new Error("Missing required property 'destinations'");
|
|
21
|
-
}
|
|
22
|
-
if ((!args || args.source === undefined) && !opts.urn) {
|
|
23
|
-
throw new Error("Missing required property 'source'");
|
|
24
|
-
}
|
|
25
|
-
resourceInputs["destinations"] = args ? args.destinations : undefined;
|
|
26
|
-
resourceInputs["source"] = args ? args.source : undefined;
|
|
27
|
-
}
|
|
28
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
29
|
-
super(Forwarding.__pulumiType, name, resourceInputs, opts);
|
|
30
|
-
}
|
|
31
9
|
/**
|
|
32
10
|
* Get an existing Forwarding resource's state with the given name, ID, and optional extra
|
|
33
11
|
* properties used to qualify the lookup.
|
|
@@ -50,6 +28,28 @@ class Forwarding extends pulumi.CustomResource {
|
|
|
50
28
|
}
|
|
51
29
|
return obj['__pulumiType'] === Forwarding.__pulumiType;
|
|
52
30
|
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["destinations"] = state ? state.destinations : undefined;
|
|
37
|
+
resourceInputs["source"] = state ? state.source : undefined;
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
const args = argsOrState;
|
|
41
|
+
if ((!args || args.destinations === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'destinations'");
|
|
43
|
+
}
|
|
44
|
+
if ((!args || args.source === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'source'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["destinations"] = args ? args.destinations : undefined;
|
|
48
|
+
resourceInputs["source"] = args ? args.source : undefined;
|
|
49
|
+
}
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
51
|
+
super(Forwarding.__pulumiType, name, resourceInputs, opts);
|
|
52
|
+
}
|
|
53
53
|
}
|
|
54
54
|
exports.Forwarding = Forwarding;
|
|
55
55
|
/** @internal */
|
package/email/forwarding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forwarding.js","sourceRoot":"","sources":["../../email/forwarding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"forwarding.js","sourceRoot":"","sources":["../../email/forwarding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,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are function getMailbox(args: GetMailboxArgs, opts?: pulumi.InvokeOpt
|
|
|
4
4
|
* A collection of arguments for invoking getMailbox.
|
|
5
5
|
*/
|
|
6
6
|
export interface GetMailboxArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Domain name
|
|
9
|
-
*/
|
|
10
7
|
domain: string;
|
|
11
|
-
/**
|
|
12
|
-
* Mailbox ID
|
|
13
|
-
*/
|
|
14
8
|
mailboxId: string;
|
|
15
9
|
}
|
|
16
10
|
/**
|
|
17
11
|
* A collection of values returned by getMailbox.
|
|
18
12
|
*/
|
|
19
13
|
export interface GetMailboxResult {
|
|
20
|
-
/**
|
|
21
|
-
* Domain name
|
|
22
|
-
*/
|
|
23
14
|
readonly domain: string;
|
|
24
15
|
/**
|
|
25
16
|
* The provider-assigned unique ID for this managed resource.
|
|
26
17
|
*/
|
|
27
18
|
readonly id: string;
|
|
28
|
-
/**
|
|
29
|
-
* Mailbox ID
|
|
30
|
-
*/
|
|
31
19
|
readonly mailboxId: string;
|
|
32
20
|
}
|
|
33
21
|
export declare function getMailboxOutput(args: GetMailboxOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMailboxResult>;
|
|
@@ -35,12 +23,6 @@ export declare function getMailboxOutput(args: GetMailboxOutputArgs, opts?: pulu
|
|
|
35
23
|
* A collection of arguments for invoking getMailbox.
|
|
36
24
|
*/
|
|
37
25
|
export interface GetMailboxOutputArgs {
|
|
38
|
-
/**
|
|
39
|
-
* Domain name
|
|
40
|
-
*/
|
|
41
26
|
domain: pulumi.Input<string>;
|
|
42
|
-
/**
|
|
43
|
-
* Mailbox ID
|
|
44
|
-
*/
|
|
45
27
|
mailboxId: pulumi.Input<string>;
|
|
46
28
|
}
|
package/email/getMailbox.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMailbox.js","sourceRoot":"","sources":["../../email/getMailbox.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;
|
|
1
|
+
{"version":3,"file":"getMailbox.js","sourceRoot":"","sources":["../../email/getMailbox.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AAsBD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
package/email/mailbox.js
CHANGED
|
@@ -6,6 +6,28 @@ exports.Mailbox = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
class Mailbox extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Mailbox resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new Mailbox(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Mailbox. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === Mailbox.__pulumiType;
|
|
30
|
+
}
|
|
9
31
|
constructor(name, argsOrState, opts) {
|
|
10
32
|
let resourceInputs = {};
|
|
11
33
|
opts = opts || {};
|
|
@@ -37,28 +59,6 @@ class Mailbox extends pulumi.CustomResource {
|
|
|
37
59
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
60
|
super(Mailbox.__pulumiType, name, resourceInputs, opts);
|
|
39
61
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Get an existing Mailbox resource's state with the given name, ID, and optional extra
|
|
42
|
-
* properties used to qualify the lookup.
|
|
43
|
-
*
|
|
44
|
-
* @param name The _unique_ name of the resulting resource.
|
|
45
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
-
* @param state Any extra arguments used during the lookup.
|
|
47
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
-
*/
|
|
49
|
-
static get(name, id, state, opts) {
|
|
50
|
-
return new Mailbox(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Returns true if the given object is an instance of Mailbox. This is designed to work even
|
|
54
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
-
*/
|
|
56
|
-
static isInstance(obj) {
|
|
57
|
-
if (obj === undefined || obj === null) {
|
|
58
|
-
return false;
|
|
59
|
-
}
|
|
60
|
-
return obj['__pulumiType'] === Mailbox.__pulumiType;
|
|
61
|
-
}
|
|
62
62
|
}
|
|
63
63
|
exports.Mailbox = Mailbox;
|
|
64
64
|
/** @internal */
|
package/email/mailbox.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailbox.js","sourceRoot":"","sources":["../../email/mailbox.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"mailbox.js","sourceRoot":"","sources":["../../email/mailbox.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,O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