@pulumi/mailgun 3.6.0-alpha.1761892108 → 3.6.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/apiKey.d.ts ADDED
@@ -0,0 +1,179 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as mailgun from "@pulumi/mailgun";
8
+ *
9
+ * // Create a new Mailgun API key
10
+ * const someKey = new mailgun.ApiKey("some_key", {
11
+ * role: "basic",
12
+ * kind: "user",
13
+ * description: "Some key",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare class ApiKey extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing ApiKey resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiKeyState, opts?: pulumi.CustomResourceOptions): ApiKey;
28
+ /**
29
+ * Returns true if the given object is an instance of ApiKey. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is ApiKey;
33
+ /**
34
+ * Key description.
35
+ */
36
+ readonly description: pulumi.Output<string | undefined>;
37
+ /**
38
+ * The reason for the key's disablement.
39
+ */
40
+ readonly disabledReason: pulumi.Output<string>;
41
+ /**
42
+ * Web domain to associate with the key, for keys of `domain` kind.
43
+ */
44
+ readonly domainName: pulumi.Output<string | undefined>;
45
+ /**
46
+ * API key user's email address; should be provided for all keys of `web` kind.
47
+ */
48
+ readonly email: pulumi.Output<string | undefined>;
49
+ /**
50
+ * When the key will expire.
51
+ */
52
+ readonly expiresAt: pulumi.Output<number | undefined>;
53
+ /**
54
+ * Whether or not the key is disabled from use.
55
+ */
56
+ readonly isDisabled: pulumi.Output<boolean>;
57
+ /**
58
+ * (Enum:`domain`, `user`, or `web`). API key type. Default: `user`.
59
+ */
60
+ readonly kind: pulumi.Output<string | undefined>;
61
+ /**
62
+ * An email address associated with the key.
63
+ */
64
+ readonly requestor: pulumi.Output<string>;
65
+ /**
66
+ * (Enum: `admin`, `basic`, `sending`, `support`, or `developer`) Key role.
67
+ */
68
+ readonly role: pulumi.Output<string>;
69
+ /**
70
+ * The full API key secret in plain text.
71
+ */
72
+ readonly secret: pulumi.Output<string>;
73
+ /**
74
+ * API key user's string user ID; should be provided for all keys of `web` kind.
75
+ */
76
+ readonly userId: pulumi.Output<string | undefined>;
77
+ /**
78
+ * API key user's name.
79
+ */
80
+ readonly userName: pulumi.Output<string | undefined>;
81
+ /**
82
+ * Create a ApiKey resource with the given unique name, arguments, and options.
83
+ *
84
+ * @param name The _unique_ name of the resource.
85
+ * @param args The arguments to use to populate this resource's properties.
86
+ * @param opts A bag of options that control this resource's behavior.
87
+ */
88
+ constructor(name: string, args: ApiKeyArgs, opts?: pulumi.CustomResourceOptions);
89
+ }
90
+ /**
91
+ * Input properties used for looking up and filtering ApiKey resources.
92
+ */
93
+ export interface ApiKeyState {
94
+ /**
95
+ * Key description.
96
+ */
97
+ description?: pulumi.Input<string>;
98
+ /**
99
+ * The reason for the key's disablement.
100
+ */
101
+ disabledReason?: pulumi.Input<string>;
102
+ /**
103
+ * Web domain to associate with the key, for keys of `domain` kind.
104
+ */
105
+ domainName?: pulumi.Input<string>;
106
+ /**
107
+ * API key user's email address; should be provided for all keys of `web` kind.
108
+ */
109
+ email?: pulumi.Input<string>;
110
+ /**
111
+ * When the key will expire.
112
+ */
113
+ expiresAt?: pulumi.Input<number>;
114
+ /**
115
+ * Whether or not the key is disabled from use.
116
+ */
117
+ isDisabled?: pulumi.Input<boolean>;
118
+ /**
119
+ * (Enum:`domain`, `user`, or `web`). API key type. Default: `user`.
120
+ */
121
+ kind?: pulumi.Input<string>;
122
+ /**
123
+ * An email address associated with the key.
124
+ */
125
+ requestor?: pulumi.Input<string>;
126
+ /**
127
+ * (Enum: `admin`, `basic`, `sending`, `support`, or `developer`) Key role.
128
+ */
129
+ role?: pulumi.Input<string>;
130
+ /**
131
+ * The full API key secret in plain text.
132
+ */
133
+ secret?: pulumi.Input<string>;
134
+ /**
135
+ * API key user's string user ID; should be provided for all keys of `web` kind.
136
+ */
137
+ userId?: pulumi.Input<string>;
138
+ /**
139
+ * API key user's name.
140
+ */
141
+ userName?: pulumi.Input<string>;
142
+ }
143
+ /**
144
+ * The set of arguments for constructing a ApiKey resource.
145
+ */
146
+ export interface ApiKeyArgs {
147
+ /**
148
+ * Key description.
149
+ */
150
+ description?: pulumi.Input<string>;
151
+ /**
152
+ * Web domain to associate with the key, for keys of `domain` kind.
153
+ */
154
+ domainName?: pulumi.Input<string>;
155
+ /**
156
+ * API key user's email address; should be provided for all keys of `web` kind.
157
+ */
158
+ email?: pulumi.Input<string>;
159
+ /**
160
+ * When the key will expire.
161
+ */
162
+ expiresAt?: pulumi.Input<number>;
163
+ /**
164
+ * (Enum:`domain`, `user`, or `web`). API key type. Default: `user`.
165
+ */
166
+ kind?: pulumi.Input<string>;
167
+ /**
168
+ * (Enum: `admin`, `basic`, `sending`, `support`, or `developer`) Key role.
169
+ */
170
+ role: pulumi.Input<string>;
171
+ /**
172
+ * API key user's string user ID; should be provided for all keys of `web` kind.
173
+ */
174
+ userId?: pulumi.Input<string>;
175
+ /**
176
+ * API key user's name.
177
+ */
178
+ userName?: pulumi.Input<string>;
179
+ }
package/apiKey.js ADDED
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.ApiKey = 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 mailgun from "@pulumi/mailgun";
14
+ *
15
+ * // Create a new Mailgun API key
16
+ * const someKey = new mailgun.ApiKey("some_key", {
17
+ * role: "basic",
18
+ * kind: "user",
19
+ * description: "Some key",
20
+ * });
21
+ * ```
22
+ */
23
+ class ApiKey extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing ApiKey resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name, id, state, opts) {
34
+ return new ApiKey(name, state, { ...opts, id: id });
35
+ }
36
+ /**
37
+ * Returns true if the given object is an instance of ApiKey. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj) {
41
+ if (obj === undefined || obj === null) {
42
+ return false;
43
+ }
44
+ return obj['__pulumiType'] === ApiKey.__pulumiType;
45
+ }
46
+ constructor(name, argsOrState, opts) {
47
+ let resourceInputs = {};
48
+ opts = opts || {};
49
+ if (opts.id) {
50
+ const state = argsOrState;
51
+ resourceInputs["description"] = state?.description;
52
+ resourceInputs["disabledReason"] = state?.disabledReason;
53
+ resourceInputs["domainName"] = state?.domainName;
54
+ resourceInputs["email"] = state?.email;
55
+ resourceInputs["expiresAt"] = state?.expiresAt;
56
+ resourceInputs["isDisabled"] = state?.isDisabled;
57
+ resourceInputs["kind"] = state?.kind;
58
+ resourceInputs["requestor"] = state?.requestor;
59
+ resourceInputs["role"] = state?.role;
60
+ resourceInputs["secret"] = state?.secret;
61
+ resourceInputs["userId"] = state?.userId;
62
+ resourceInputs["userName"] = state?.userName;
63
+ }
64
+ else {
65
+ const args = argsOrState;
66
+ if (args?.role === undefined && !opts.urn) {
67
+ throw new Error("Missing required property 'role'");
68
+ }
69
+ resourceInputs["description"] = args?.description;
70
+ resourceInputs["domainName"] = args?.domainName;
71
+ resourceInputs["email"] = args?.email;
72
+ resourceInputs["expiresAt"] = args?.expiresAt;
73
+ resourceInputs["kind"] = args?.kind;
74
+ resourceInputs["role"] = args?.role;
75
+ resourceInputs["userId"] = args?.userId;
76
+ resourceInputs["userName"] = args?.userName;
77
+ resourceInputs["disabledReason"] = undefined /*out*/;
78
+ resourceInputs["isDisabled"] = undefined /*out*/;
79
+ resourceInputs["requestor"] = undefined /*out*/;
80
+ resourceInputs["secret"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ const secretOpts = { additionalSecretOutputs: ["secret"] };
84
+ opts = pulumi.mergeOptions(opts, secretOpts);
85
+ super(ApiKey.__pulumiType, name, resourceInputs, opts);
86
+ }
87
+ }
88
+ exports.ApiKey = ApiKey;
89
+ /** @internal */
90
+ ApiKey.__pulumiType = 'mailgun:index/apiKey:ApiKey';
91
+ //# sourceMappingURL=apiKey.js.map
package/apiKey.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,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types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * Provides a Mailgun App resource. This can be used to
6
- * create and manage applications on Mailgun.
7
- *
8
- * After DNS records are set, domain verification should be triggered manually using [PUT /domains/\<domain\>/verify](https://documentation.mailgun.com/en/latest/api-domains.html#domains)
9
- *
10
- * ## Example Usage
11
- *
12
- * ```typescript
13
- * import * as pulumi from "@pulumi/pulumi";
14
- * import * as mailgun from "@pulumi/mailgun";
15
- *
16
- * // Create a new Mailgun domain
17
- * const _default = new mailgun.Domain("default", {
18
- * name: "test.example.com",
19
- * region: "us",
20
- * spamAction: "disabled",
21
- * smtpPassword: "supersecretpassword1234",
22
- * dkimKeySize: 1024,
23
- * });
24
- * ```
25
- *
26
5
  * ## Import
27
6
  *
28
7
  * Domains can be imported using `region:domain_name` via `import` command. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
package/domain.js CHANGED
@@ -6,27 +6,6 @@ exports.Domain = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Provides a Mailgun App resource. This can be used to
10
- * create and manage applications on Mailgun.
11
- *
12
- * After DNS records are set, domain verification should be triggered manually using [PUT /domains/\<domain\>/verify](https://documentation.mailgun.com/en/latest/api-domains.html#domains)
13
- *
14
- * ## Example Usage
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as mailgun from "@pulumi/mailgun";
19
- *
20
- * // Create a new Mailgun domain
21
- * const _default = new mailgun.Domain("default", {
22
- * name: "test.example.com",
23
- * region: "us",
24
- * spamAction: "disabled",
25
- * smtpPassword: "supersecretpassword1234",
26
- * dkimKeySize: 1024,
27
- * });
28
- * ```
29
- *
30
9
  * ## Import
31
10
  *
32
11
  * Domains can be imported using `region:domain_name` via `import` command. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
package/domain.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[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C,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;QACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAxJL,wBAyJC;AA3IG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
package/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ export { ApiKeyArgs, ApiKeyState } from "./apiKey";
2
+ export type ApiKey = import("./apiKey").ApiKey;
3
+ export declare const ApiKey: typeof import("./apiKey").ApiKey;
1
4
  export { DomainArgs, DomainState } from "./domain";
2
5
  export type Domain = import("./domain").Domain;
3
6
  export declare const Domain: typeof import("./domain").Domain;
package/index.js CHANGED
@@ -16,9 +16,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.types = exports.config = exports.Webhook = exports.Route = exports.getDomainOutput = exports.getDomain = exports.DomainCredential = exports.Domain = void 0;
19
+ exports.types = exports.config = exports.Webhook = exports.Route = exports.getDomainOutput = exports.getDomain = exports.DomainCredential = exports.Domain = exports.ApiKey = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("./utilities");
22
+ exports.ApiKey = null;
23
+ utilities.lazyLoad(exports, ["ApiKey"], () => require("./apiKey"));
22
24
  exports.Domain = null;
23
25
  utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
24
26
  exports.DomainCredential = null;
@@ -41,6 +43,8 @@ const _module = {
41
43
  version: utilities.getVersion(),
42
44
  construct: (name, type, urn) => {
43
45
  switch (type) {
46
+ case "mailgun:index/apiKey:ApiKey":
47
+ return new exports.ApiKey(name, undefined, { urn });
44
48
  case "mailgun:index/domain:Domain":
45
49
  return new exports.Domain(name, undefined, { urn });
46
50
  case "mailgun:index/domainCredential:DomainCredential":
@@ -54,6 +58,7 @@ const _module = {
54
58
  }
55
59
  },
56
60
  };
61
+ pulumi.runtime.registerResourceModule("mailgun", "index/apiKey", _module);
57
62
  pulumi.runtime.registerResourceModule("mailgun", "index/domain", _module);
58
63
  pulumi.runtime.registerResourceModule("mailgun", "index/domainCredential", _module);
59
64
  pulumi.runtime.registerResourceModule("mailgun", "index/route", _module);
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAG1E,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,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AE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,+BAA+B;gBAChC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mailgun",
3
- "version": "3.6.0-alpha.1761892108",
3
+ "version": "3.6.0",
4
4
  "description": "A Pulumi package for creating and managing Mailgun resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "mailgun",
26
- "version": "3.6.0-alpha.1761892108"
26
+ "version": "3.6.0"
27
27
  }
28
28
  }