@pulumi/auth0 3.48.0-alpha.1783749996 → 3.48.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/action.d.ts +53 -4
- package/action.d.ts.map +1 -1
- package/action.js +30 -1
- package/action.js.map +1 -1
- package/client.d.ts +3 -3
- package/getAction.d.ts +9 -1
- package/getAction.d.ts.map +1 -1
- package/getAction.js.map +1 -1
- package/getClient.d.ts +1 -1
- package/getRateLimitPolicies.d.ts +96 -0
- package/getRateLimitPolicies.d.ts.map +1 -0
- package/getRateLimitPolicies.js +83 -0
- package/getRateLimitPolicies.js.map +1 -0
- package/getRateLimitPolicy.d.ts +88 -0
- package/getRateLimitPolicy.d.ts.map +1 -0
- package/getRateLimitPolicy.js +73 -0
- package/getRateLimitPolicy.js.map +1 -0
- package/index.d.ts +9 -0
- package/index.d.ts.map +1 -1
- package/index.js +14 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/rateLimitPolicy.d.ts +137 -0
- package/rateLimitPolicy.d.ts.map +1 -0
- package/rateLimitPolicy.js +128 -0
- package/rateLimitPolicy.js.map +1 -0
- package/tenant.d.ts +1 -1
- package/tenant.d.ts.map +1 -1
- package/types/input.d.ts +25 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +93 -0
- package/types/output.d.ts.map +1 -1
package/action.d.ts
CHANGED
|
@@ -9,8 +9,9 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* The provider also supports a 1:many variant auth0_trigger_actions.
|
|
10
10
|
* If by any means, a binding is missing is the state file, it can be imported to the state and deleted, before attempting to delete the action.
|
|
11
11
|
*
|
|
12
|
-
* > Values provided in the
|
|
12
|
+
* > Values provided in the `secrets` block are stored in the raw state as plain text.
|
|
13
13
|
* Read more about sensitive data in state.
|
|
14
|
+
* For better security, consider using the `secretsWo` write-only alternative, whose values are never stored in Terraform state.
|
|
14
15
|
*
|
|
15
16
|
* ## Example Usage
|
|
16
17
|
*
|
|
@@ -61,6 +62,30 @@ import * as outputs from "./types/output";
|
|
|
61
62
|
* },
|
|
62
63
|
* ],
|
|
63
64
|
* });
|
|
65
|
+
* const config = new pulumi.Config();
|
|
66
|
+
* // API key passed to the post-login action.
|
|
67
|
+
* const actionApiKey = config.require("actionApiKey");
|
|
68
|
+
* const mySecureAction = new auth0.Action("my_secure_action", {
|
|
69
|
+
* name: std.format({
|
|
70
|
+
* input: "Secure Action %s",
|
|
71
|
+
* args: [std.timestamp({}).result],
|
|
72
|
+
* }).result,
|
|
73
|
+
* runtime: "node22",
|
|
74
|
+
* deploy: true,
|
|
75
|
+
* code: `exports.onExecutePostLogin = async (event, api) => {
|
|
76
|
+
* console.log(event);
|
|
77
|
+
* };
|
|
78
|
+
* `,
|
|
79
|
+
* supportedTriggers: {
|
|
80
|
+
* id: "post-login",
|
|
81
|
+
* version: "v3",
|
|
82
|
+
* },
|
|
83
|
+
* secretsWos: [{
|
|
84
|
+
* name: "API_KEY",
|
|
85
|
+
* value: actionApiKey,
|
|
86
|
+
* }],
|
|
87
|
+
* secretsWoVersion: 1,
|
|
88
|
+
* });
|
|
64
89
|
* ```
|
|
65
90
|
*
|
|
66
91
|
* ## Import
|
|
@@ -117,9 +142,17 @@ export declare class Action extends pulumi.CustomResource {
|
|
|
117
142
|
*/
|
|
118
143
|
readonly runtime: pulumi.Output<string>;
|
|
119
144
|
/**
|
|
120
|
-
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned.
|
|
145
|
+
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned. **Note:** Secret values are persisted in Terraform state as plain text. For better security, consider using `secretsWo` instead, which supports write-only values and ephemeral variables.
|
|
121
146
|
*/
|
|
122
147
|
readonly secrets: pulumi.Output<outputs.ActionSecret[] | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Version number for `secretsWo` changes. Adding, renaming, or removing a `secretsWo` entry is detected automatically, but changing only the **value** of an existing secret is not (write-only values are not tracked in state). Increment this value to push value-only changes to the API.
|
|
150
|
+
*/
|
|
151
|
+
readonly secretsWoVersion: pulumi.Output<number | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* List of secrets for the action (write-only). Secret values are only available during resource creation and update, and are **not** stored in Terraform state. Adding, renaming, or removing an entry is applied automatically; to change only the value of an existing secret, bump the `secretsWoVersion` attribute. To remove all secrets, delete the `secretsWo` blocks together with the `secretsWoVersion` attribute. This is an ordered list, so reordering the blocks is treated as a change. Conflicts with `secrets`.
|
|
154
|
+
*/
|
|
155
|
+
readonly secretsWos: pulumi.Output<outputs.ActionSecretsWo[] | undefined>;
|
|
123
156
|
/**
|
|
124
157
|
* List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported.
|
|
125
158
|
*/
|
|
@@ -166,9 +199,17 @@ export interface ActionState {
|
|
|
166
199
|
*/
|
|
167
200
|
runtime?: pulumi.Input<string | undefined>;
|
|
168
201
|
/**
|
|
169
|
-
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned.
|
|
202
|
+
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned. **Note:** Secret values are persisted in Terraform state as plain text. For better security, consider using `secretsWo` instead, which supports write-only values and ephemeral variables.
|
|
170
203
|
*/
|
|
171
204
|
secrets?: pulumi.Input<pulumi.Input<inputs.ActionSecret>[] | undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* Version number for `secretsWo` changes. Adding, renaming, or removing a `secretsWo` entry is detected automatically, but changing only the **value** of an existing secret is not (write-only values are not tracked in state). Increment this value to push value-only changes to the API.
|
|
207
|
+
*/
|
|
208
|
+
secretsWoVersion?: pulumi.Input<number | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* List of secrets for the action (write-only). Secret values are only available during resource creation and update, and are **not** stored in Terraform state. Adding, renaming, or removing an entry is applied automatically; to change only the value of an existing secret, bump the `secretsWoVersion` attribute. To remove all secrets, delete the `secretsWo` blocks together with the `secretsWoVersion` attribute. This is an ordered list, so reordering the blocks is treated as a change. Conflicts with `secrets`.
|
|
211
|
+
*/
|
|
212
|
+
secretsWos?: pulumi.Input<pulumi.Input<inputs.ActionSecretsWo>[] | undefined>;
|
|
172
213
|
/**
|
|
173
214
|
* List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported.
|
|
174
215
|
*/
|
|
@@ -207,9 +248,17 @@ export interface ActionArgs {
|
|
|
207
248
|
*/
|
|
208
249
|
runtime?: pulumi.Input<string | undefined>;
|
|
209
250
|
/**
|
|
210
|
-
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned.
|
|
251
|
+
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned. **Note:** Secret values are persisted in Terraform state as plain text. For better security, consider using `secretsWo` instead, which supports write-only values and ephemeral variables.
|
|
211
252
|
*/
|
|
212
253
|
secrets?: pulumi.Input<pulumi.Input<inputs.ActionSecret>[] | undefined>;
|
|
254
|
+
/**
|
|
255
|
+
* Version number for `secretsWo` changes. Adding, renaming, or removing a `secretsWo` entry is detected automatically, but changing only the **value** of an existing secret is not (write-only values are not tracked in state). Increment this value to push value-only changes to the API.
|
|
256
|
+
*/
|
|
257
|
+
secretsWoVersion?: pulumi.Input<number | undefined>;
|
|
258
|
+
/**
|
|
259
|
+
* List of secrets for the action (write-only). Secret values are only available during resource creation and update, and are **not** stored in Terraform state. Adding, renaming, or removing an entry is applied automatically; to change only the value of an existing secret, bump the `secretsWoVersion` attribute. To remove all secrets, delete the `secretsWo` blocks together with the `secretsWoVersion` attribute. This is an ordered list, so reordering the blocks is treated as a change. Conflicts with `secrets`.
|
|
260
|
+
*/
|
|
261
|
+
secretsWos?: pulumi.Input<pulumi.Input<inputs.ActionSecretsWo>[] | undefined>;
|
|
213
262
|
/**
|
|
214
263
|
* List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported.
|
|
215
264
|
*/
|
package/action.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM;IAO9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,MAAM;IAOjD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,SAAS,CAAC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AS,CAAC,CAAC;IACjF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9E;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;CACnE"}
|
package/action.js
CHANGED
|
@@ -36,8 +36,9 @@ const utilities = __importStar(require("./utilities"));
|
|
|
36
36
|
* The provider also supports a 1:many variant auth0_trigger_actions.
|
|
37
37
|
* If by any means, a binding is missing is the state file, it can be imported to the state and deleted, before attempting to delete the action.
|
|
38
38
|
*
|
|
39
|
-
* > Values provided in the
|
|
39
|
+
* > Values provided in the `secrets` block are stored in the raw state as plain text.
|
|
40
40
|
* Read more about sensitive data in state.
|
|
41
|
+
* For better security, consider using the `secretsWo` write-only alternative, whose values are never stored in Terraform state.
|
|
41
42
|
*
|
|
42
43
|
* ## Example Usage
|
|
43
44
|
*
|
|
@@ -88,6 +89,30 @@ const utilities = __importStar(require("./utilities"));
|
|
|
88
89
|
* },
|
|
89
90
|
* ],
|
|
90
91
|
* });
|
|
92
|
+
* const config = new pulumi.Config();
|
|
93
|
+
* // API key passed to the post-login action.
|
|
94
|
+
* const actionApiKey = config.require("actionApiKey");
|
|
95
|
+
* const mySecureAction = new auth0.Action("my_secure_action", {
|
|
96
|
+
* name: std.format({
|
|
97
|
+
* input: "Secure Action %s",
|
|
98
|
+
* args: [std.timestamp({}).result],
|
|
99
|
+
* }).result,
|
|
100
|
+
* runtime: "node22",
|
|
101
|
+
* deploy: true,
|
|
102
|
+
* code: `exports.onExecutePostLogin = async (event, api) => {
|
|
103
|
+
* console.log(event);
|
|
104
|
+
* };
|
|
105
|
+
* `,
|
|
106
|
+
* supportedTriggers: {
|
|
107
|
+
* id: "post-login",
|
|
108
|
+
* version: "v3",
|
|
109
|
+
* },
|
|
110
|
+
* secretsWos: [{
|
|
111
|
+
* name: "API_KEY",
|
|
112
|
+
* value: actionApiKey,
|
|
113
|
+
* }],
|
|
114
|
+
* secretsWoVersion: 1,
|
|
115
|
+
* });
|
|
91
116
|
* ```
|
|
92
117
|
*
|
|
93
118
|
* ## Import
|
|
@@ -140,6 +165,8 @@ class Action extends pulumi.CustomResource {
|
|
|
140
165
|
resourceInputs["name"] = state?.name;
|
|
141
166
|
resourceInputs["runtime"] = state?.runtime;
|
|
142
167
|
resourceInputs["secrets"] = state?.secrets;
|
|
168
|
+
resourceInputs["secretsWoVersion"] = state?.secretsWoVersion;
|
|
169
|
+
resourceInputs["secretsWos"] = state?.secretsWos;
|
|
143
170
|
resourceInputs["supportedTriggers"] = state?.supportedTriggers;
|
|
144
171
|
resourceInputs["versionId"] = state?.versionId;
|
|
145
172
|
}
|
|
@@ -158,6 +185,8 @@ class Action extends pulumi.CustomResource {
|
|
|
158
185
|
resourceInputs["name"] = args?.name;
|
|
159
186
|
resourceInputs["runtime"] = args?.runtime;
|
|
160
187
|
resourceInputs["secrets"] = args?.secrets;
|
|
188
|
+
resourceInputs["secretsWoVersion"] = args?.secretsWoVersion;
|
|
189
|
+
resourceInputs["secretsWos"] = args?.secretsWos;
|
|
161
190
|
resourceInputs["supportedTriggers"] = args?.supportedTriggers;
|
|
162
191
|
resourceInputs["versionId"] = undefined /*out*/;
|
|
163
192
|
}
|
package/action.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.js","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"action.js","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;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;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,2BAA2B,CAAC;IAElE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAA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,+CAA+C,CAAC,CAAC;aACpE;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAvHL,wBAwHC"}
|
package/client.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export declare class Client extends pulumi.CustomResource {
|
|
|
135
135
|
*/
|
|
136
136
|
readonly grantTypes: pulumi.Output<string[]>;
|
|
137
137
|
/**
|
|
138
|
-
* Initiate login URI. Must be HTTPS or an empty string.
|
|
138
|
+
* Initiate login URI. Must be HTTPS or an empty string. May contain Auth0 dynamic login URI placeholders such as `{organization.metadata.public_login_host}` or `{custom_domain.metadata.public_app_host}`, which are resolved by Auth0 at request time. See https://auth0.com/docs/get-started/applications/application-settings.
|
|
139
139
|
*/
|
|
140
140
|
readonly initiateLoginUri: pulumi.Output<string | undefined>;
|
|
141
141
|
/**
|
|
@@ -373,7 +373,7 @@ export interface ClientState {
|
|
|
373
373
|
*/
|
|
374
374
|
grantTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
375
375
|
/**
|
|
376
|
-
* Initiate login URI. Must be HTTPS or an empty string.
|
|
376
|
+
* Initiate login URI. Must be HTTPS or an empty string. May contain Auth0 dynamic login URI placeholders such as `{organization.metadata.public_login_host}` or `{custom_domain.metadata.public_app_host}`, which are resolved by Auth0 at request time. See https://auth0.com/docs/get-started/applications/application-settings.
|
|
377
377
|
*/
|
|
378
378
|
initiateLoginUri?: pulumi.Input<string | undefined>;
|
|
379
379
|
/**
|
|
@@ -587,7 +587,7 @@ export interface ClientArgs {
|
|
|
587
587
|
*/
|
|
588
588
|
grantTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
589
589
|
/**
|
|
590
|
-
* Initiate login URI. Must be HTTPS or an empty string.
|
|
590
|
+
* Initiate login URI. Must be HTTPS or an empty string. May contain Auth0 dynamic login URI placeholders such as `{organization.metadata.public_login_host}` or `{custom_domain.metadata.public_app_host}`, which are resolved by Auth0 at request time. See https://auth0.com/docs/get-started/applications/application-settings.
|
|
591
591
|
*/
|
|
592
592
|
initiateLoginUri?: pulumi.Input<string | undefined>;
|
|
593
593
|
/**
|
package/getAction.d.ts
CHANGED
|
@@ -50,9 +50,17 @@ export interface GetActionResult {
|
|
|
50
50
|
*/
|
|
51
51
|
readonly runtime: string;
|
|
52
52
|
/**
|
|
53
|
-
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned.
|
|
53
|
+
* List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned. **Note:** Secret values are persisted in Terraform state as plain text. For better security, consider using `secretsWo` instead, which supports write-only values and ephemeral variables.
|
|
54
54
|
*/
|
|
55
55
|
readonly secrets: outputs.GetActionSecret[];
|
|
56
|
+
/**
|
|
57
|
+
* Version number for `secretsWo` changes. Adding, renaming, or removing a `secretsWo` entry is detected automatically, but changing only the **value** of an existing secret is not (write-only values are not tracked in state). Increment this value to push value-only changes to the API.
|
|
58
|
+
*/
|
|
59
|
+
readonly secretsWoVersion: number;
|
|
60
|
+
/**
|
|
61
|
+
* List of secrets for the action (write-only). Secret values are only available during resource creation and update, and are **not** stored in Terraform state. Adding, renaming, or removing an entry is applied automatically; to change only the value of an existing secret, bump the `secretsWoVersion` attribute. To remove all secrets, delete the `secretsWo` blocks together with the `secretsWoVersion` attribute. This is an ordered list, so reordering the blocks is treated as a change. Conflicts with `secrets`.
|
|
62
|
+
*/
|
|
63
|
+
readonly secretsWos: outputs.GetActionSecretsWo[];
|
|
56
64
|
/**
|
|
57
65
|
* List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported.
|
|
58
66
|
*/
|
package/getAction.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAction.d.ts","sourceRoot":"","sources":["../getAction.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,CAOrG;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;O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,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
package/getAction.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAction.js","sourceRoot":"","sources":["../getAction.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;
|
|
1
|
+
{"version":3,"file":"getAction.js","sourceRoot":"","sources":["../getAction.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAqED;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC"}
|
package/getClient.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ export interface GetClientResult {
|
|
|
154
154
|
*/
|
|
155
155
|
readonly id: string;
|
|
156
156
|
/**
|
|
157
|
-
* Initiate login URI. Must be HTTPS or an empty string.
|
|
157
|
+
* Initiate login URI. Must be HTTPS or an empty string. May contain Auth0 dynamic login URI placeholders such as `{organization.metadata.public_login_host}` or `{custom_domain.metadata.public_app_host}`, which are resolved by Auth0 at request time. See https://auth0.com/docs/get-started/applications/application-settings.
|
|
158
158
|
*/
|
|
159
159
|
readonly initiateLoginUri: string;
|
|
160
160
|
/**
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source to retrieve Rate Limit Policies, optionally filtered by resource, consumer, or consumer selector. (EA only)
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
11
|
+
*
|
|
12
|
+
* const filtered = auth0.getRateLimitPolicies({
|
|
13
|
+
* resource: "oauth_authentication_api",
|
|
14
|
+
* consumer: "client",
|
|
15
|
+
* consumerSelector: "default",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getRateLimitPolicies(args?: GetRateLimitPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetRateLimitPoliciesResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getRateLimitPolicies.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetRateLimitPoliciesArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Filter policies by consumer. Requires `resource` to also be set. (EA only)
|
|
26
|
+
*/
|
|
27
|
+
consumer?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Filter policies by consumer selector. Requires `consumer` to also be set. (EA only)
|
|
30
|
+
*/
|
|
31
|
+
consumerSelector?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Filter policies by resource. (EA only)
|
|
34
|
+
*/
|
|
35
|
+
resource?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getRateLimitPolicies.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetRateLimitPoliciesResult {
|
|
41
|
+
/**
|
|
42
|
+
* Filter policies by consumer. Requires `resource` to also be set. (EA only)
|
|
43
|
+
*/
|
|
44
|
+
readonly consumer?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Filter policies by consumer selector. Requires `consumer` to also be set. (EA only)
|
|
47
|
+
*/
|
|
48
|
+
readonly consumerSelector?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The provider-assigned unique ID for this managed resource.
|
|
51
|
+
*/
|
|
52
|
+
readonly id: string;
|
|
53
|
+
/**
|
|
54
|
+
* List of Rate Limit Policies matching the filter criteria. (EA only)
|
|
55
|
+
*/
|
|
56
|
+
readonly rateLimitPolicies: outputs.GetRateLimitPoliciesRateLimitPolicy[];
|
|
57
|
+
/**
|
|
58
|
+
* Filter policies by resource. (EA only)
|
|
59
|
+
*/
|
|
60
|
+
readonly resource?: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Data source to retrieve Rate Limit Policies, optionally filtered by resource, consumer, or consumer selector. (EA only)
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
70
|
+
*
|
|
71
|
+
* const filtered = auth0.getRateLimitPolicies({
|
|
72
|
+
* resource: "oauth_authentication_api",
|
|
73
|
+
* consumer: "client",
|
|
74
|
+
* consumerSelector: "default",
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare function getRateLimitPoliciesOutput(args?: GetRateLimitPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRateLimitPoliciesResult>;
|
|
79
|
+
/**
|
|
80
|
+
* A collection of arguments for invoking getRateLimitPolicies.
|
|
81
|
+
*/
|
|
82
|
+
export interface GetRateLimitPoliciesOutputArgs {
|
|
83
|
+
/**
|
|
84
|
+
* Filter policies by consumer. Requires `resource` to also be set. (EA only)
|
|
85
|
+
*/
|
|
86
|
+
consumer?: pulumi.Input<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Filter policies by consumer selector. Requires `consumer` to also be set. (EA only)
|
|
89
|
+
*/
|
|
90
|
+
consumerSelector?: pulumi.Input<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* Filter policies by resource. (EA only)
|
|
93
|
+
*/
|
|
94
|
+
resource?: pulumi.Input<string | undefined>;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=getRateLimitPolicies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRateLimitPolicies.d.ts","sourceRoot":"","sources":["../getRateLimitPolicies.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,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AE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/C"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getRateLimitPoliciesOutput = exports.getRateLimitPolicies = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data source to retrieve Rate Limit Policies, optionally filtered by resource, consumer, or consumer selector. (EA only)
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
39
|
+
*
|
|
40
|
+
* const filtered = auth0.getRateLimitPolicies({
|
|
41
|
+
* resource: "oauth_authentication_api",
|
|
42
|
+
* consumer: "client",
|
|
43
|
+
* consumerSelector: "default",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getRateLimitPolicies(args, opts) {
|
|
48
|
+
args = args || {};
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invoke("auth0:index/getRateLimitPolicies:getRateLimitPolicies", {
|
|
51
|
+
"consumer": args.consumer,
|
|
52
|
+
"consumerSelector": args.consumerSelector,
|
|
53
|
+
"resource": args.resource,
|
|
54
|
+
}, opts);
|
|
55
|
+
}
|
|
56
|
+
exports.getRateLimitPolicies = getRateLimitPolicies;
|
|
57
|
+
/**
|
|
58
|
+
* Data source to retrieve Rate Limit Policies, optionally filtered by resource, consumer, or consumer selector. (EA only)
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
65
|
+
*
|
|
66
|
+
* const filtered = auth0.getRateLimitPolicies({
|
|
67
|
+
* resource: "oauth_authentication_api",
|
|
68
|
+
* consumer: "client",
|
|
69
|
+
* consumerSelector: "default",
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
function getRateLimitPoliciesOutput(args, opts) {
|
|
74
|
+
args = args || {};
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
76
|
+
return pulumi.runtime.invokeOutput("auth0:index/getRateLimitPolicies:getRateLimitPolicies", {
|
|
77
|
+
"consumer": args.consumer,
|
|
78
|
+
"consumerSelector": args.consumerSelector,
|
|
79
|
+
"resource": args.resource,
|
|
80
|
+
}, opts);
|
|
81
|
+
}
|
|
82
|
+
exports.getRateLimitPoliciesOutput = getRateLimitPoliciesOutput;
|
|
83
|
+
//# sourceMappingURL=getRateLimitPolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRateLimitPolicies.js","sourceRoot":"","sources":["../getRateLimitPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AA6CD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAAiC;IAC/G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gEAQC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source to retrieve a single Rate Limit Policy by ID. (EA only)
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
11
|
+
*
|
|
12
|
+
* const example = auth0.getRateLimitPolicy({
|
|
13
|
+
* policyId: "rlp_XXXXXXXXXXXXXXXX",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getRateLimitPolicy(args: GetRateLimitPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetRateLimitPolicyResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getRateLimitPolicy.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetRateLimitPolicyArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the Rate Limit Policy. (EA only)
|
|
24
|
+
*/
|
|
25
|
+
policyId: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getRateLimitPolicy.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetRateLimitPolicyResult {
|
|
31
|
+
/**
|
|
32
|
+
* The throttling configuration applied when the rate limit is reached. (EA only)
|
|
33
|
+
*/
|
|
34
|
+
readonly configurations: outputs.GetRateLimitPolicyConfiguration[];
|
|
35
|
+
/**
|
|
36
|
+
* The consumer category the policy applies to. Valid values are: client
|
|
37
|
+
*/
|
|
38
|
+
readonly consumer: string;
|
|
39
|
+
/**
|
|
40
|
+
* Identifier or category within the consumer to which the policy applies. Supported values: `client_id:<client_id>`, `client_id:<cimd_uri>`, `cimdClients`, `thirdPartyClients`, or `default`. (EA only)
|
|
41
|
+
*/
|
|
42
|
+
readonly consumerSelector: string;
|
|
43
|
+
/**
|
|
44
|
+
* The date and time when the rate limit policy was created.
|
|
45
|
+
*/
|
|
46
|
+
readonly createdAt: string;
|
|
47
|
+
/**
|
|
48
|
+
* The provider-assigned unique ID for this managed resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the Rate Limit Policy. (EA only)
|
|
53
|
+
*/
|
|
54
|
+
readonly policyId: string;
|
|
55
|
+
/**
|
|
56
|
+
* The resource the policy applies to. Valid values are: oauth*authentication*api
|
|
57
|
+
*/
|
|
58
|
+
readonly resource: string;
|
|
59
|
+
/**
|
|
60
|
+
* The date and time when the rate limit policy was last updated.
|
|
61
|
+
*/
|
|
62
|
+
readonly updatedAt: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Data source to retrieve a single Rate Limit Policy by ID. (EA only)
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
72
|
+
*
|
|
73
|
+
* const example = auth0.getRateLimitPolicy({
|
|
74
|
+
* policyId: "rlp_XXXXXXXXXXXXXXXX",
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare function getRateLimitPolicyOutput(args: GetRateLimitPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRateLimitPolicyResult>;
|
|
79
|
+
/**
|
|
80
|
+
* A collection of arguments for invoking getRateLimitPolicy.
|
|
81
|
+
*/
|
|
82
|
+
export interface GetRateLimitPolicyOutputArgs {
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Rate Limit Policy. (EA only)
|
|
85
|
+
*/
|
|
86
|
+
policyId: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=getRateLimitPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRateLimitPolicy.d.ts","sourceRoot":"","sources":["../getRateLimitPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAK/H;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC,+BAA+B,EAAE,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAKvJ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getRateLimitPolicyOutput = exports.getRateLimitPolicy = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data source to retrieve a single Rate Limit Policy by ID. (EA only)
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
39
|
+
*
|
|
40
|
+
* const example = auth0.getRateLimitPolicy({
|
|
41
|
+
* policyId: "rlp_XXXXXXXXXXXXXXXX",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getRateLimitPolicy(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invoke("auth0:index/getRateLimitPolicy:getRateLimitPolicy", {
|
|
48
|
+
"policyId": args.policyId,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getRateLimitPolicy = getRateLimitPolicy;
|
|
52
|
+
/**
|
|
53
|
+
* Data source to retrieve a single Rate Limit Policy by ID. (EA only)
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
60
|
+
*
|
|
61
|
+
* const example = auth0.getRateLimitPolicy({
|
|
62
|
+
* policyId: "rlp_XXXXXXXXXXXXXXXX",
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
function getRateLimitPolicyOutput(args, opts) {
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
68
|
+
return pulumi.runtime.invokeOutput("auth0:index/getRateLimitPolicy:getRateLimitPolicy", {
|
|
69
|
+
"policyId": args.policyId,
|
|
70
|
+
}, opts);
|
|
71
|
+
}
|
|
72
|
+
exports.getRateLimitPolicyOutput = getRateLimitPolicyOutput;
|
|
73
|
+
//# sourceMappingURL=getRateLimitPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRateLimitPolicy.js","sourceRoot":"","sources":["../getRateLimitPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AAiDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
|