@pulumi/okta 6.1.0-alpha.1761681155 → 6.1.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.
Files changed (58) hide show
  1. package/app/groupAssignment.d.ts +1 -1
  2. package/app/groupAssignment.js +1 -1
  3. package/customizedSigninPage.d.ts +66 -0
  4. package/customizedSigninPage.js +66 -0
  5. package/customizedSigninPage.js.map +1 -1
  6. package/emailCustomization.d.ts +30 -0
  7. package/emailCustomization.js +30 -0
  8. package/emailCustomization.js.map +1 -1
  9. package/feature.d.ts +12 -0
  10. package/feature.js +12 -0
  11. package/feature.js.map +1 -1
  12. package/getBrand.d.ts +30 -0
  13. package/getBrand.js +30 -0
  14. package/getBrand.js.map +1 -1
  15. package/getEmailCustomization.d.ts +36 -0
  16. package/getEmailCustomization.js +36 -0
  17. package/getEmailCustomization.js.map +1 -1
  18. package/getEmailCustomizations.d.ts +26 -0
  19. package/getEmailCustomizations.js +26 -0
  20. package/getEmailCustomizations.js.map +1 -1
  21. package/getPrincipalEntitlements.d.ts +116 -0
  22. package/getPrincipalEntitlements.js +116 -0
  23. package/getPrincipalEntitlements.js.map +1 -1
  24. package/getRequestV2.d.ts +79 -0
  25. package/getRequestV2.js +28 -0
  26. package/getRequestV2.js.map +1 -1
  27. package/getTemplate.d.ts +26 -0
  28. package/getTemplate.js +26 -0
  29. package/getTemplate.js.map +1 -1
  30. package/getTemplates.d.ts +24 -0
  31. package/getTemplates.js +24 -0
  32. package/getTemplates.js.map +1 -1
  33. package/getTheme.d.ts +26 -0
  34. package/getTheme.js +26 -0
  35. package/getTheme.js.map +1 -1
  36. package/getThemes.d.ts +24 -0
  37. package/getThemes.js +24 -0
  38. package/getThemes.js.map +1 -1
  39. package/inline/hook.d.ts +15 -15
  40. package/inline/hook.js +15 -15
  41. package/package.json +3 -3
  42. package/previewSigninPage.d.ts +66 -0
  43. package/previewSigninPage.js +66 -0
  44. package/previewSigninPage.js.map +1 -1
  45. package/requestCondition.d.ts +17 -0
  46. package/requestCondition.js +17 -0
  47. package/requestCondition.js.map +1 -1
  48. package/requestSettingOrganization.d.ts +17 -0
  49. package/requestSettingOrganization.js +17 -0
  50. package/requestSettingOrganization.js.map +1 -1
  51. package/requestV2.d.ts +39 -12
  52. package/requestV2.js +27 -0
  53. package/requestV2.js.map +1 -1
  54. package/theme.d.ts +23 -0
  55. package/theme.js +23 -0
  56. package/theme.js.map +1 -1
  57. package/types/input.d.ts +7 -7
  58. package/types/output.d.ts +5 -5
@@ -3,6 +3,64 @@ import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
5
  * Get the entitlements for a user and resource after evaluating all grants.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const test = okta.getPrincipalEntitlements({
14
+ * parent: {
15
+ * externalId: "<resource_id>",
16
+ * type: "<resource_type>",
17
+ * },
18
+ * targetPrincipal: {
19
+ * externalId: "<principal_id>",
20
+ * type: "<principal_type>",
21
+ * },
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Required:
26
+ *
27
+ * - `externalId` (String) The Okta user's email address.
28
+ * - `type` (String) The Okta user id.
29
+ *
30
+ * <a id="nestedblock--target_principal"></a>
31
+ * ### Nested Schema for `targetPrincipal`
32
+ * ## Required:
33
+ *
34
+ * - `externalId` (String) The Okta user id.
35
+ * - `type` (String) The type of principal. Enum: `OKTA_USER`.
36
+ *
37
+ * <a id="nestedblock--data"></a>
38
+ * ### Nested Schema for `data`
39
+ * ## Required:
40
+ *
41
+ * - `parent` (Object) Representation of a resource. (see below for nested schema)
42
+ * - `targetPrincipal` (Object) Representation of a principal. (see below for nested schema)
43
+ *
44
+ * ## Optional:
45
+ *
46
+ * - `dataType` (String) The data type of the entitlement property. Enum: `array`, `string`.
47
+ * - `description` (String) The Okta user id.
48
+ * - `externalValue` (String) The type of principal. Enum: `OKTA_USER`.
49
+ * - `id` (String) The unique identifier of the entitlement.
50
+ * - `multiValue` (Boolean) Indicates if the entitlement is multi-valued.
51
+ * - `name` (String) The name of the entitlement.
52
+ * - `parentResourceOrn` (String) The Okta app instance, in ORN format.
53
+ * - `required` (Boolean) Indicates if the entitlement is required.
54
+ * - `targetPrincipalOrn` (String) The Okta user id, in ORN format.
55
+ * - `values` (List of Objects) The values of the entitlement. (see below for nested schema)
56
+ *
57
+ * <a id="nestedblock--values"></a>
58
+ * ### Nested Schema for `values`
59
+ * - `description` (String) The description of the value.
60
+ * - `externalId` (String) The external ID of the value.
61
+ * - `externalValue` (String) The value of an entitlement property value.
62
+ * - `id` (String) The unique identifier of the value.
63
+ * - `name` (String) The name of the value.
6
64
  */
7
65
  export declare function getPrincipalEntitlements(args?: GetPrincipalEntitlementsArgs, opts?: pulumi.InvokeOptions): Promise<GetPrincipalEntitlementsResult>;
8
66
  /**
@@ -42,6 +100,64 @@ export interface GetPrincipalEntitlementsResult {
42
100
  }
43
101
  /**
44
102
  * Get the entitlements for a user and resource after evaluating all grants.
103
+ *
104
+ * ## Example Usage
105
+ *
106
+ * ```typescript
107
+ * import * as pulumi from "@pulumi/pulumi";
108
+ * import * as okta from "@pulumi/okta";
109
+ *
110
+ * const test = okta.getPrincipalEntitlements({
111
+ * parent: {
112
+ * externalId: "<resource_id>",
113
+ * type: "<resource_type>",
114
+ * },
115
+ * targetPrincipal: {
116
+ * externalId: "<principal_id>",
117
+ * type: "<principal_type>",
118
+ * },
119
+ * });
120
+ * ```
121
+ *
122
+ * ## Required:
123
+ *
124
+ * - `externalId` (String) The Okta user's email address.
125
+ * - `type` (String) The Okta user id.
126
+ *
127
+ * <a id="nestedblock--target_principal"></a>
128
+ * ### Nested Schema for `targetPrincipal`
129
+ * ## Required:
130
+ *
131
+ * - `externalId` (String) The Okta user id.
132
+ * - `type` (String) The type of principal. Enum: `OKTA_USER`.
133
+ *
134
+ * <a id="nestedblock--data"></a>
135
+ * ### Nested Schema for `data`
136
+ * ## Required:
137
+ *
138
+ * - `parent` (Object) Representation of a resource. (see below for nested schema)
139
+ * - `targetPrincipal` (Object) Representation of a principal. (see below for nested schema)
140
+ *
141
+ * ## Optional:
142
+ *
143
+ * - `dataType` (String) The data type of the entitlement property. Enum: `array`, `string`.
144
+ * - `description` (String) The Okta user id.
145
+ * - `externalValue` (String) The type of principal. Enum: `OKTA_USER`.
146
+ * - `id` (String) The unique identifier of the entitlement.
147
+ * - `multiValue` (Boolean) Indicates if the entitlement is multi-valued.
148
+ * - `name` (String) The name of the entitlement.
149
+ * - `parentResourceOrn` (String) The Okta app instance, in ORN format.
150
+ * - `required` (Boolean) Indicates if the entitlement is required.
151
+ * - `targetPrincipalOrn` (String) The Okta user id, in ORN format.
152
+ * - `values` (List of Objects) The values of the entitlement. (see below for nested schema)
153
+ *
154
+ * <a id="nestedblock--values"></a>
155
+ * ### Nested Schema for `values`
156
+ * - `description` (String) The description of the value.
157
+ * - `externalId` (String) The external ID of the value.
158
+ * - `externalValue` (String) The value of an entitlement property value.
159
+ * - `id` (String) The unique identifier of the value.
160
+ * - `name` (String) The name of the value.
45
161
  */
46
162
  export declare function getPrincipalEntitlementsOutput(args?: GetPrincipalEntitlementsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrincipalEntitlementsResult>;
47
163
  /**
@@ -7,6 +7,64 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Get the entitlements for a user and resource after evaluating all grants.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const test = okta.getPrincipalEntitlements({
18
+ * parent: {
19
+ * externalId: "<resource_id>",
20
+ * type: "<resource_type>",
21
+ * },
22
+ * targetPrincipal: {
23
+ * externalId: "<principal_id>",
24
+ * type: "<principal_type>",
25
+ * },
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Required:
30
+ *
31
+ * - `externalId` (String) The Okta user's email address.
32
+ * - `type` (String) The Okta user id.
33
+ *
34
+ * <a id="nestedblock--target_principal"></a>
35
+ * ### Nested Schema for `targetPrincipal`
36
+ * ## Required:
37
+ *
38
+ * - `externalId` (String) The Okta user id.
39
+ * - `type` (String) The type of principal. Enum: `OKTA_USER`.
40
+ *
41
+ * <a id="nestedblock--data"></a>
42
+ * ### Nested Schema for `data`
43
+ * ## Required:
44
+ *
45
+ * - `parent` (Object) Representation of a resource. (see below for nested schema)
46
+ * - `targetPrincipal` (Object) Representation of a principal. (see below for nested schema)
47
+ *
48
+ * ## Optional:
49
+ *
50
+ * - `dataType` (String) The data type of the entitlement property. Enum: `array`, `string`.
51
+ * - `description` (String) The Okta user id.
52
+ * - `externalValue` (String) The type of principal. Enum: `OKTA_USER`.
53
+ * - `id` (String) The unique identifier of the entitlement.
54
+ * - `multiValue` (Boolean) Indicates if the entitlement is multi-valued.
55
+ * - `name` (String) The name of the entitlement.
56
+ * - `parentResourceOrn` (String) The Okta app instance, in ORN format.
57
+ * - `required` (Boolean) Indicates if the entitlement is required.
58
+ * - `targetPrincipalOrn` (String) The Okta user id, in ORN format.
59
+ * - `values` (List of Objects) The values of the entitlement. (see below for nested schema)
60
+ *
61
+ * <a id="nestedblock--values"></a>
62
+ * ### Nested Schema for `values`
63
+ * - `description` (String) The description of the value.
64
+ * - `externalId` (String) The external ID of the value.
65
+ * - `externalValue` (String) The value of an entitlement property value.
66
+ * - `id` (String) The unique identifier of the value.
67
+ * - `name` (String) The name of the value.
10
68
  */
11
69
  function getPrincipalEntitlements(args, opts) {
12
70
  args = args || {};
@@ -20,6 +78,64 @@ function getPrincipalEntitlements(args, opts) {
20
78
  exports.getPrincipalEntitlements = getPrincipalEntitlements;
21
79
  /**
22
80
  * Get the entitlements for a user and resource after evaluating all grants.
81
+ *
82
+ * ## Example Usage
83
+ *
84
+ * ```typescript
85
+ * import * as pulumi from "@pulumi/pulumi";
86
+ * import * as okta from "@pulumi/okta";
87
+ *
88
+ * const test = okta.getPrincipalEntitlements({
89
+ * parent: {
90
+ * externalId: "<resource_id>",
91
+ * type: "<resource_type>",
92
+ * },
93
+ * targetPrincipal: {
94
+ * externalId: "<principal_id>",
95
+ * type: "<principal_type>",
96
+ * },
97
+ * });
98
+ * ```
99
+ *
100
+ * ## Required:
101
+ *
102
+ * - `externalId` (String) The Okta user's email address.
103
+ * - `type` (String) The Okta user id.
104
+ *
105
+ * <a id="nestedblock--target_principal"></a>
106
+ * ### Nested Schema for `targetPrincipal`
107
+ * ## Required:
108
+ *
109
+ * - `externalId` (String) The Okta user id.
110
+ * - `type` (String) The type of principal. Enum: `OKTA_USER`.
111
+ *
112
+ * <a id="nestedblock--data"></a>
113
+ * ### Nested Schema for `data`
114
+ * ## Required:
115
+ *
116
+ * - `parent` (Object) Representation of a resource. (see below for nested schema)
117
+ * - `targetPrincipal` (Object) Representation of a principal. (see below for nested schema)
118
+ *
119
+ * ## Optional:
120
+ *
121
+ * - `dataType` (String) The data type of the entitlement property. Enum: `array`, `string`.
122
+ * - `description` (String) The Okta user id.
123
+ * - `externalValue` (String) The type of principal. Enum: `OKTA_USER`.
124
+ * - `id` (String) The unique identifier of the entitlement.
125
+ * - `multiValue` (Boolean) Indicates if the entitlement is multi-valued.
126
+ * - `name` (String) The name of the entitlement.
127
+ * - `parentResourceOrn` (String) The Okta app instance, in ORN format.
128
+ * - `required` (Boolean) Indicates if the entitlement is required.
129
+ * - `targetPrincipalOrn` (String) The Okta user id, in ORN format.
130
+ * - `values` (List of Objects) The values of the entitlement. (see below for nested schema)
131
+ *
132
+ * <a id="nestedblock--values"></a>
133
+ * ### Nested Schema for `values`
134
+ * - `description` (String) The description of the value.
135
+ * - `externalId` (String) The external ID of the value.
136
+ * - `externalValue` (String) The value of an entitlement property value.
137
+ * - `id` (String) The unique identifier of the value.
138
+ * - `name` (String) The name of the value.
23
139
  */
24
140
  function getPrincipalEntitlementsOutput(args, opts) {
25
141
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getPrincipalEntitlements.js","sourceRoot":"","sources":["../getPrincipalEntitlements.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,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,8DAA8D,EAAE;QACzF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC;AAsCD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAAiC;IACvH,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,8DAA8D,EAAE;QAC/F,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wEAQC"}
1
+ {"version":3,"file":"getPrincipalEntitlements.js","sourceRoot":"","sources":["../getPrincipalEntitlements.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,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,8DAA8D,EAAE;QACzF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC;AAsCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAAiC;IACvH,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,8DAA8D,EAAE;QAC/F,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wEAQC"}
package/getRequestV2.d.ts CHANGED
@@ -1,37 +1,116 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
+ /**
5
+ * Retrieves the full representation of a specific request.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const test = okta.getRequestV2({
14
+ * id: "<request_id>",
15
+ * });
16
+ * ```
17
+ */
4
18
  export declare function getRequestV2(args: GetRequestV2Args, opts?: pulumi.InvokeOptions): Promise<GetRequestV2Result>;
5
19
  /**
6
20
  * A collection of arguments for invoking getRequestV2.
7
21
  */
8
22
  export interface GetRequestV2Args {
23
+ /**
24
+ * The ID of the request.
25
+ */
9
26
  id: string;
27
+ /**
28
+ * A representation of a resource that can be requested for access.
29
+ */
10
30
  requested?: inputs.GetRequestV2Requested;
31
+ /**
32
+ * A representation of a principal.
33
+ */
11
34
  requestedBy?: inputs.GetRequestV2RequestedBy;
35
+ /**
36
+ * A representation of a principal.
37
+ */
12
38
  requestedFor?: inputs.GetRequestV2RequestedFor;
13
39
  }
14
40
  /**
15
41
  * A collection of values returned by getRequestV2.
16
42
  */
17
43
  export interface GetRequestV2Result {
44
+ /**
45
+ * The date and time when the request condition was created.
46
+ */
18
47
  readonly created: string;
48
+ /**
49
+ * The id of the user who created the request condition.
50
+ */
19
51
  readonly createdBy: string;
52
+ /**
53
+ * The ID of the request.
54
+ */
20
55
  readonly id: string;
56
+ /**
57
+ * The date and time when the request condition was last updated.
58
+ */
21
59
  readonly lastUpdated: string;
60
+ /**
61
+ * The id of the user who last updated the request condition.
62
+ */
22
63
  readonly lastUpdatedBy: string;
64
+ /**
65
+ * A representation of a resource that can be requested for access.
66
+ */
23
67
  readonly requested?: outputs.GetRequestV2Requested;
68
+ /**
69
+ * A representation of a principal.
70
+ */
24
71
  readonly requestedBy?: outputs.GetRequestV2RequestedBy;
72
+ /**
73
+ * A representation of a principal.
74
+ */
25
75
  readonly requestedFor?: outputs.GetRequestV2RequestedFor;
76
+ /**
77
+ * The status of the request.
78
+ */
26
79
  readonly status: string;
27
80
  }
81
+ /**
82
+ * Retrieves the full representation of a specific request.
83
+ *
84
+ * ## Example Usage
85
+ *
86
+ * ```typescript
87
+ * import * as pulumi from "@pulumi/pulumi";
88
+ * import * as okta from "@pulumi/okta";
89
+ *
90
+ * const test = okta.getRequestV2({
91
+ * id: "<request_id>",
92
+ * });
93
+ * ```
94
+ */
28
95
  export declare function getRequestV2Output(args: GetRequestV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRequestV2Result>;
29
96
  /**
30
97
  * A collection of arguments for invoking getRequestV2.
31
98
  */
32
99
  export interface GetRequestV2OutputArgs {
100
+ /**
101
+ * The ID of the request.
102
+ */
33
103
  id: pulumi.Input<string>;
104
+ /**
105
+ * A representation of a resource that can be requested for access.
106
+ */
34
107
  requested?: pulumi.Input<inputs.GetRequestV2RequestedArgs>;
108
+ /**
109
+ * A representation of a principal.
110
+ */
35
111
  requestedBy?: pulumi.Input<inputs.GetRequestV2RequestedByArgs>;
112
+ /**
113
+ * A representation of a principal.
114
+ */
36
115
  requestedFor?: pulumi.Input<inputs.GetRequestV2RequestedForArgs>;
37
116
  }
package/getRequestV2.js CHANGED
@@ -5,6 +5,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getRequestV2Output = exports.getRequestV2 = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Retrieves the full representation of a specific request.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const test = okta.getRequestV2({
18
+ * id: "<request_id>",
19
+ * });
20
+ * ```
21
+ */
8
22
  function getRequestV2(args, opts) {
9
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
24
  return pulumi.runtime.invoke("okta:index/getRequestV2:getRequestV2", {
@@ -15,6 +29,20 @@ function getRequestV2(args, opts) {
15
29
  }, opts);
16
30
  }
17
31
  exports.getRequestV2 = getRequestV2;
32
+ /**
33
+ * Retrieves the full representation of a specific request.
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as okta from "@pulumi/okta";
40
+ *
41
+ * const test = okta.getRequestV2({
42
+ * id: "<request_id>",
43
+ * });
44
+ * ```
45
+ */
18
46
  function getRequestV2Output(args, opts) {
19
47
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
20
48
  return pulumi.runtime.invokeOutput("okta:index/getRequestV2:getRequestV2", {
@@ -1 +1 @@
1
- {"version":3,"file":"getRequestV2.js","sourceRoot":"","sources":["../getRequestV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AA0BD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC"}
1
+ {"version":3,"file":"getRequestV2.js","sourceRoot":"","sources":["../getRequestV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAiED;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC"}
package/getTemplate.d.ts CHANGED
@@ -1,6 +1,19 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Get a single Email Template for a Brand belonging to an Okta organization.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as okta from "@pulumi/okta";
10
+ *
11
+ * const test = okta.getBrands({});
12
+ * const forgotPassword = test.then(test => okta.getTemplate({
13
+ * brandId: test.brands?.[0]?.id,
14
+ * name: "ForgotPassword",
15
+ * }));
16
+ * ```
4
17
  */
5
18
  export declare function getTemplate(args: GetTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetTemplateResult>;
6
19
  /**
@@ -39,6 +52,19 @@ export interface GetTemplateResult {
39
52
  }
40
53
  /**
41
54
  * Get a single Email Template for a Brand belonging to an Okta organization.
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as okta from "@pulumi/okta";
61
+ *
62
+ * const test = okta.getBrands({});
63
+ * const forgotPassword = test.then(test => okta.getTemplate({
64
+ * brandId: test.brands?.[0]?.id,
65
+ * name: "ForgotPassword",
66
+ * }));
67
+ * ```
42
68
  */
43
69
  export declare function getTemplateOutput(args: GetTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTemplateResult>;
44
70
  /**
package/getTemplate.js CHANGED
@@ -7,6 +7,19 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Get a single Email Template for a Brand belonging to an Okta organization.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const test = okta.getBrands({});
18
+ * const forgotPassword = test.then(test => okta.getTemplate({
19
+ * brandId: test.brands?.[0]?.id,
20
+ * name: "ForgotPassword",
21
+ * }));
22
+ * ```
10
23
  */
11
24
  function getTemplate(args, opts) {
12
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +31,19 @@ function getTemplate(args, opts) {
18
31
  exports.getTemplate = getTemplate;
19
32
  /**
20
33
  * Get a single Email Template for a Brand belonging to an Okta organization.
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as okta from "@pulumi/okta";
40
+ *
41
+ * const test = okta.getBrands({});
42
+ * const forgotPassword = test.then(test => okta.getTemplate({
43
+ * brandId: test.brands?.[0]?.id,
44
+ * name: "ForgotPassword",
45
+ * }));
46
+ * ```
21
47
  */
22
48
  function getTemplateOutput(args, opts) {
23
49
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getTemplate.js","sourceRoot":"","sources":["../getTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAqCD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
1
+ {"version":3,"file":"getTemplate.js","sourceRoot":"","sources":["../getTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAqCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
package/getTemplates.d.ts CHANGED
@@ -2,6 +2,18 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Get the email templates belonging to a brand in an Okta organization.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as okta from "@pulumi/okta";
11
+ *
12
+ * const test = okta.getBrands({});
13
+ * const testGetTemplates = test.then(test => okta.getTemplates({
14
+ * brandId: test.brands?.[0]?.id,
15
+ * }));
16
+ * ```
5
17
  */
6
18
  export declare function getTemplates(args: GetTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<GetTemplatesResult>;
7
19
  /**
@@ -32,6 +44,18 @@ export interface GetTemplatesResult {
32
44
  }
33
45
  /**
34
46
  * Get the email templates belonging to a brand in an Okta organization.
47
+ *
48
+ * ## Example Usage
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as okta from "@pulumi/okta";
53
+ *
54
+ * const test = okta.getBrands({});
55
+ * const testGetTemplates = test.then(test => okta.getTemplates({
56
+ * brandId: test.brands?.[0]?.id,
57
+ * }));
58
+ * ```
35
59
  */
36
60
  export declare function getTemplatesOutput(args: GetTemplatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTemplatesResult>;
37
61
  /**
package/getTemplates.js CHANGED
@@ -7,6 +7,18 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Get the email templates belonging to a brand in an Okta organization.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const test = okta.getBrands({});
18
+ * const testGetTemplates = test.then(test => okta.getTemplates({
19
+ * brandId: test.brands?.[0]?.id,
20
+ * }));
21
+ * ```
10
22
  */
11
23
  function getTemplates(args, opts) {
12
24
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,6 +29,18 @@ function getTemplates(args, opts) {
17
29
  exports.getTemplates = getTemplates;
18
30
  /**
19
31
  * Get the email templates belonging to a brand in an Okta organization.
32
+ *
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as okta from "@pulumi/okta";
38
+ *
39
+ * const test = okta.getBrands({});
40
+ * const testGetTemplates = test.then(test => okta.getTemplates({
41
+ * brandId: test.brands?.[0]?.id,
42
+ * }));
43
+ * ```
20
44
  */
21
45
  function getTemplatesOutput(args, opts) {
22
46
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getTemplates.js","sourceRoot":"","sources":["../getTemplates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AA6BD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
1
+ {"version":3,"file":"getTemplates.js","sourceRoot":"","sources":["../getTemplates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AA6BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
package/getTheme.d.ts CHANGED
@@ -1,6 +1,19 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Get a single Theme of a Brand of an Okta Organization.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as okta from "@pulumi/okta";
10
+ *
11
+ * const test = okta.getBrands({});
12
+ * const testGetTheme = test.then(test => okta.getTheme({
13
+ * brandId: test.brands?.[0]?.id,
14
+ * themeId: testOktaThemes.themes[0].id,
15
+ * }));
16
+ * ```
4
17
  */
5
18
  export declare function getTheme(args: GetThemeArgs, opts?: pulumi.InvokeOptions): Promise<GetThemeResult>;
6
19
  /**
@@ -83,6 +96,19 @@ export interface GetThemeResult {
83
96
  }
84
97
  /**
85
98
  * Get a single Theme of a Brand of an Okta Organization.
99
+ *
100
+ * ## Example Usage
101
+ *
102
+ * ```typescript
103
+ * import * as pulumi from "@pulumi/pulumi";
104
+ * import * as okta from "@pulumi/okta";
105
+ *
106
+ * const test = okta.getBrands({});
107
+ * const testGetTheme = test.then(test => okta.getTheme({
108
+ * brandId: test.brands?.[0]?.id,
109
+ * themeId: testOktaThemes.themes[0].id,
110
+ * }));
111
+ * ```
86
112
  */
87
113
  export declare function getThemeOutput(args: GetThemeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetThemeResult>;
88
114
  /**
package/getTheme.js CHANGED
@@ -7,6 +7,19 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Get a single Theme of a Brand of an Okta Organization.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const test = okta.getBrands({});
18
+ * const testGetTheme = test.then(test => okta.getTheme({
19
+ * brandId: test.brands?.[0]?.id,
20
+ * themeId: testOktaThemes.themes[0].id,
21
+ * }));
22
+ * ```
10
23
  */
11
24
  function getTheme(args, opts) {
12
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +31,19 @@ function getTheme(args, opts) {
18
31
  exports.getTheme = getTheme;
19
32
  /**
20
33
  * Get a single Theme of a Brand of an Okta Organization.
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as okta from "@pulumi/okta";
40
+ *
41
+ * const test = okta.getBrands({});
42
+ * const testGetTheme = test.then(test => okta.getTheme({
43
+ * brandId: test.brands?.[0]?.id,
44
+ * themeId: testOktaThemes.themes[0].id,
45
+ * }));
46
+ * ```
21
47
  */
22
48
  function getThemeOutput(args, opts) {
23
49
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});