@volcengine/pulumi 0.0.44 → 0.0.45

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 (267) hide show
  1. package/iam/accessKey.d.ts +25 -56
  2. package/iam/accessKey.js +9 -20
  3. package/iam/accessKey.js.map +1 -1
  4. package/iam/accessKeyLastUseds.d.ts +86 -0
  5. package/iam/accessKeyLastUseds.js +50 -0
  6. package/iam/accessKeyLastUseds.js.map +1 -0
  7. package/iam/accessKeys.d.ts +4 -13
  8. package/iam/accessKeys.js +2 -3
  9. package/iam/accessKeys.js.map +1 -1
  10. package/iam/accountSummaries.d.ts +64 -0
  11. package/iam/accountSummaries.js +45 -0
  12. package/iam/accountSummaries.js.map +1 -0
  13. package/iam/allowedIpAddress.d.ts +89 -0
  14. package/iam/allowedIpAddress.js +84 -0
  15. package/iam/allowedIpAddress.js.map +1 -0
  16. package/iam/allowedIpAddresses.d.ts +60 -0
  17. package/iam/allowedIpAddresses.js +45 -0
  18. package/iam/allowedIpAddresses.js.map +1 -0
  19. package/iam/callerIdentities.d.ts +64 -0
  20. package/iam/callerIdentities.js +45 -0
  21. package/iam/callerIdentities.js.map +1 -0
  22. package/iam/entitiesPolicies.d.ts +105 -0
  23. package/iam/entitiesPolicies.js +53 -0
  24. package/iam/entitiesPolicies.js.map +1 -0
  25. package/iam/getAccessKeyLastUseds.d.ts +84 -0
  26. package/iam/getAccessKeyLastUseds.js +47 -0
  27. package/iam/getAccessKeyLastUseds.js.map +1 -0
  28. package/iam/getAccessKeys.d.ts +4 -13
  29. package/iam/getAccessKeys.js +2 -3
  30. package/iam/getAccessKeys.js.map +1 -1
  31. package/iam/getAccountSummaries.d.ts +62 -0
  32. package/iam/getAccountSummaries.js +42 -0
  33. package/iam/getAccountSummaries.js.map +1 -0
  34. package/iam/getAllowedIpAddresses.d.ts +58 -0
  35. package/iam/getAllowedIpAddresses.js +42 -0
  36. package/iam/getAllowedIpAddresses.js.map +1 -0
  37. package/iam/getCallerIdentities.d.ts +62 -0
  38. package/iam/getCallerIdentities.js +42 -0
  39. package/iam/getCallerIdentities.js.map +1 -0
  40. package/iam/getEntitiesPolicies.d.ts +103 -0
  41. package/iam/getEntitiesPolicies.js +50 -0
  42. package/iam/getEntitiesPolicies.js.map +1 -0
  43. package/iam/getGroupUsers.d.ts +84 -0
  44. package/iam/getGroupUsers.js +47 -0
  45. package/iam/getGroupUsers.js.map +1 -0
  46. package/iam/getIdentityProviders.d.ts +62 -0
  47. package/iam/getIdentityProviders.js +42 -0
  48. package/iam/getIdentityProviders.js.map +1 -0
  49. package/iam/getLoginProfiles.d.ts +65 -0
  50. package/iam/getLoginProfiles.js +45 -0
  51. package/iam/getLoginProfiles.js.map +1 -0
  52. package/iam/getOauthProviders.d.ts +78 -0
  53. package/iam/getOauthProviders.js +46 -0
  54. package/iam/getOauthProviders.js.map +1 -0
  55. package/iam/getOidcProviders.d.ts +2 -2
  56. package/iam/getOidcProviders.js +2 -2
  57. package/iam/getPolicies.d.ts +9 -63
  58. package/iam/getPolicies.js +5 -21
  59. package/iam/getPolicies.js.map +1 -1
  60. package/iam/getRolePolicyAttachments.d.ts +62 -0
  61. package/iam/getRolePolicyAttachments.js +45 -0
  62. package/iam/getRolePolicyAttachments.js.map +1 -0
  63. package/iam/getRoles.d.ts +6 -48
  64. package/iam/getRoles.js +4 -35
  65. package/iam/getRoles.js.map +1 -1
  66. package/iam/getSamlProviders.d.ts +2 -2
  67. package/iam/getSamlProviders.js +2 -2
  68. package/iam/getSecurityConfigs.d.ts +74 -0
  69. package/iam/getSecurityConfigs.js +46 -0
  70. package/iam/getSecurityConfigs.js.map +1 -0
  71. package/iam/getTags.d.ts +91 -0
  72. package/iam/getTags.js +47 -0
  73. package/iam/getTags.js.map +1 -0
  74. package/iam/getUserGroupAttachments.d.ts +75 -0
  75. package/iam/getUserGroupAttachments.js +46 -0
  76. package/iam/getUserGroupAttachments.js.map +1 -0
  77. package/iam/getUserGroupPolicyAttachments.d.ts +4 -36
  78. package/iam/getUserGroupPolicyAttachments.js +4 -36
  79. package/iam/getUserGroupPolicyAttachments.js.map +1 -1
  80. package/iam/getUserGroups.d.ts +6 -18
  81. package/iam/getUserGroups.js +4 -16
  82. package/iam/getUserGroups.js.map +1 -1
  83. package/iam/getUserPolicyAttachments.d.ts +62 -0
  84. package/iam/getUserPolicyAttachments.js +45 -0
  85. package/iam/getUserPolicyAttachments.js.map +1 -0
  86. package/iam/getUsers.d.ts +9 -30
  87. package/iam/getUsers.js +5 -18
  88. package/iam/getUsers.js.map +1 -1
  89. package/iam/groupUsers.d.ts +86 -0
  90. package/iam/groupUsers.js +50 -0
  91. package/iam/groupUsers.js.map +1 -0
  92. package/iam/identityProviders.d.ts +64 -0
  93. package/iam/identityProviders.js +45 -0
  94. package/iam/identityProviders.js.map +1 -0
  95. package/iam/index.d.ts +105 -0
  96. package/iam/index.js +122 -1
  97. package/iam/index.js.map +1 -1
  98. package/iam/loginProfile.d.ts +135 -11
  99. package/iam/loginProfile.js +35 -9
  100. package/iam/loginProfile.js.map +1 -1
  101. package/iam/loginProfiles.d.ts +67 -0
  102. package/iam/loginProfiles.js +48 -0
  103. package/iam/loginProfiles.js.map +1 -0
  104. package/iam/oauthProvider.d.ts +257 -0
  105. package/iam/oauthProvider.js +146 -0
  106. package/iam/oauthProvider.js.map +1 -0
  107. package/iam/oauthProviders.d.ts +80 -0
  108. package/iam/oauthProviders.js +49 -0
  109. package/iam/oauthProviders.js.map +1 -0
  110. package/iam/oidcProvider.d.ts +5 -11
  111. package/iam/oidcProvider.js +5 -11
  112. package/iam/oidcProvider.js.map +1 -1
  113. package/iam/oidcProviderClient.d.ts +78 -0
  114. package/iam/oidcProviderClient.js +75 -0
  115. package/iam/oidcProviderClient.js.map +1 -0
  116. package/iam/oidcProviderThumbprint.d.ts +78 -0
  117. package/iam/oidcProviderThumbprint.js +75 -0
  118. package/iam/oidcProviderThumbprint.js.map +1 -0
  119. package/iam/oidcProviders.d.ts +2 -2
  120. package/iam/oidcProviders.js +2 -2
  121. package/iam/policies.d.ts +9 -63
  122. package/iam/policies.js +5 -21
  123. package/iam/policies.js.map +1 -1
  124. package/iam/policy.d.ts +26 -2
  125. package/iam/policy.js +8 -2
  126. package/iam/policy.js.map +1 -1
  127. package/iam/policyProject.d.ts +121 -0
  128. package/iam/policyProject.js +97 -0
  129. package/iam/policyProject.js.map +1 -0
  130. package/iam/role.d.ts +41 -7
  131. package/iam/role.js +13 -9
  132. package/iam/role.js.map +1 -1
  133. package/iam/rolePolicyAttachment.d.ts +3 -15
  134. package/iam/rolePolicyAttachment.js +3 -15
  135. package/iam/rolePolicyAttachment.js.map +1 -1
  136. package/iam/rolePolicyAttachments.d.ts +64 -0
  137. package/iam/rolePolicyAttachments.js +48 -0
  138. package/iam/rolePolicyAttachments.js.map +1 -0
  139. package/iam/roles.d.ts +6 -48
  140. package/iam/roles.js +4 -35
  141. package/iam/roles.js.map +1 -1
  142. package/iam/samlProviders.d.ts +2 -2
  143. package/iam/samlProviders.js +2 -2
  144. package/iam/securityConfig.d.ts +107 -0
  145. package/iam/securityConfig.js +82 -0
  146. package/iam/securityConfig.js.map +1 -0
  147. package/iam/securityConfigs.d.ts +76 -0
  148. package/iam/securityConfigs.js +49 -0
  149. package/iam/securityConfigs.js.map +1 -0
  150. package/iam/serviceLinkedRole.d.ts +22 -2
  151. package/iam/serviceLinkedRole.js +10 -2
  152. package/iam/serviceLinkedRole.js.map +1 -1
  153. package/iam/tag.d.ts +106 -0
  154. package/iam/tag.js +91 -0
  155. package/iam/tag.js.map +1 -0
  156. package/iam/tags.d.ts +93 -0
  157. package/iam/tags.js +50 -0
  158. package/iam/tags.js.map +1 -0
  159. package/iam/user.d.ts +24 -4
  160. package/iam/user.js +9 -1
  161. package/iam/user.js.map +1 -1
  162. package/iam/userGroup.d.ts +3 -3
  163. package/iam/userGroup.js +3 -3
  164. package/iam/userGroupAttachment.d.ts +3 -13
  165. package/iam/userGroupAttachment.js +3 -13
  166. package/iam/userGroupAttachment.js.map +1 -1
  167. package/iam/userGroupAttachments.d.ts +77 -0
  168. package/iam/userGroupAttachments.js +49 -0
  169. package/iam/userGroupAttachments.js.map +1 -0
  170. package/iam/userGroupPolicyAttachment.d.ts +3 -13
  171. package/iam/userGroupPolicyAttachment.js +3 -13
  172. package/iam/userGroupPolicyAttachment.js.map +1 -1
  173. package/iam/userGroupPolicyAttachments.d.ts +4 -36
  174. package/iam/userGroupPolicyAttachments.js +4 -36
  175. package/iam/userGroupPolicyAttachments.js.map +1 -1
  176. package/iam/userGroups.d.ts +6 -18
  177. package/iam/userGroups.js +4 -16
  178. package/iam/userGroups.js.map +1 -1
  179. package/iam/userPolicyAttachment.d.ts +3 -12
  180. package/iam/userPolicyAttachment.js +3 -12
  181. package/iam/userPolicyAttachment.js.map +1 -1
  182. package/iam/userPolicyAttachments.d.ts +64 -0
  183. package/iam/userPolicyAttachments.js +48 -0
  184. package/iam/userPolicyAttachments.js.map +1 -0
  185. package/iam/users.d.ts +9 -30
  186. package/iam/users.js +5 -18
  187. package/iam/users.js.map +1 -1
  188. package/package.json +1 -1
  189. package/tls/checkPoints.d.ts +109 -0
  190. package/tls/checkPoints.js +58 -0
  191. package/tls/checkPoints.js.map +1 -0
  192. package/tls/describeTraces.d.ts +4 -4
  193. package/tls/describeTraces.js +4 -4
  194. package/tls/downloadTask.d.ts +13 -9
  195. package/tls/downloadTask.js +13 -9
  196. package/tls/downloadTask.js.map +1 -1
  197. package/tls/downloadTasks.d.ts +4 -6
  198. package/tls/downloadTasks.js +4 -6
  199. package/tls/downloadTasks.js.map +1 -1
  200. package/tls/downloadUrls.d.ts +2 -2
  201. package/tls/downloadUrls.js +2 -2
  202. package/tls/etlTask.d.ts +1 -1
  203. package/tls/etlTask.js +1 -1
  204. package/tls/getCheckPoints.d.ts +107 -0
  205. package/tls/getCheckPoints.js +55 -0
  206. package/tls/getCheckPoints.js.map +1 -0
  207. package/tls/getDescribeTraces.d.ts +4 -4
  208. package/tls/getDescribeTraces.js +4 -4
  209. package/tls/getDownloadTasks.d.ts +4 -6
  210. package/tls/getDownloadTasks.js +4 -6
  211. package/tls/getDownloadTasks.js.map +1 -1
  212. package/tls/getDownloadUrls.d.ts +2 -2
  213. package/tls/getDownloadUrls.js +2 -2
  214. package/tls/getHostGroupRules.d.ts +2 -2
  215. package/tls/getHostGroupRules.js +2 -2
  216. package/tls/getIndexes.d.ts +14 -11
  217. package/tls/getIndexes.js +3 -3
  218. package/tls/getIndexes.js.map +1 -1
  219. package/tls/getLogCursors.d.ts +102 -0
  220. package/tls/getLogCursors.js +52 -0
  221. package/tls/getLogCursors.js.map +1 -0
  222. package/tls/getRuleBoundHostGroups.d.ts +2 -2
  223. package/tls/getRuleBoundHostGroups.js +2 -2
  224. package/tls/getRules.d.ts +8 -8
  225. package/tls/getRules.js +8 -8
  226. package/tls/getSearchTraces.d.ts +10 -4
  227. package/tls/getSearchTraces.js +10 -4
  228. package/tls/getSearchTraces.js.map +1 -1
  229. package/tls/getTags.d.ts +2 -2
  230. package/tls/getTags.js +2 -2
  231. package/tls/hostGroup.d.ts +2 -2
  232. package/tls/hostGroup.js +2 -2
  233. package/tls/hostGroupRules.d.ts +2 -2
  234. package/tls/hostGroupRules.js +2 -2
  235. package/tls/index.d.ts +12 -0
  236. package/tls/index.js +16 -3
  237. package/tls/index.js.map +1 -1
  238. package/tls/index_.d.ts +11 -7
  239. package/tls/index_.js +11 -7
  240. package/tls/index_.js.map +1 -1
  241. package/tls/indexes.d.ts +14 -11
  242. package/tls/indexes.js +3 -3
  243. package/tls/indexes.js.map +1 -1
  244. package/tls/logCursors.d.ts +104 -0
  245. package/tls/logCursors.js +55 -0
  246. package/tls/logCursors.js.map +1 -0
  247. package/tls/project.d.ts +1 -1
  248. package/tls/project.js +1 -1
  249. package/tls/rule.d.ts +10 -10
  250. package/tls/rule.js +10 -10
  251. package/tls/ruleBoundHostGroups.d.ts +2 -2
  252. package/tls/ruleBoundHostGroups.js +2 -2
  253. package/tls/rules.d.ts +8 -8
  254. package/tls/rules.js +8 -8
  255. package/tls/searchTraces.d.ts +10 -4
  256. package/tls/searchTraces.js +10 -4
  257. package/tls/searchTraces.js.map +1 -1
  258. package/tls/shard.d.ts +2 -2
  259. package/tls/shard.js +2 -2
  260. package/tls/shipper.d.ts +1 -1
  261. package/tls/shipper.js +1 -1
  262. package/tls/tags.d.ts +2 -2
  263. package/tls/tags.js +2 -2
  264. package/tls/traceInstance.d.ts +1 -1
  265. package/tls/traceInstance.js +1 -1
  266. package/types/input.d.ts +79 -1
  267. package/types/output.d.ts +1744 -230
@@ -7,16 +7,16 @@ import * as pulumi from "@pulumi/pulumi";
7
7
  * import * as pulumi from "@pulumi/pulumi";
8
8
  * import * as volcengine from "@volcengine/pulumi";
9
9
  *
10
- * const fooUser = new volcengine.iam.User("fooUser", {
11
- * userName: "acc-test-user",
12
- * description: "acc-test",
13
- * displayName: "name",
14
- * });
15
- * const fooLoginProfile = new volcengine.iam.LoginProfile("fooLoginProfile", {
16
- * userName: fooUser.userName,
17
- * password: "93f0cb0614Aab12",
10
+ * const foo = new volcengine.iam.LoginProfile("foo", {
18
11
  * loginAllowed: true,
19
- * passwordResetRequired: false,
12
+ * password: "",
13
+ * passwordResetRequired: true,
14
+ * safeAuthExemptDuration: 1,
15
+ * safeAuthExemptRequired: 1,
16
+ * safeAuthExemptUnit: 1,
17
+ * safeAuthFlag: true,
18
+ * safeAuthType: "phone",
19
+ * userName: "jonny",
20
20
  * });
21
21
  * ```
22
22
  *
@@ -44,18 +44,70 @@ export declare class LoginProfile extends pulumi.CustomResource {
44
44
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
45
  */
46
46
  static isInstance(obj: any): obj is LoginProfile;
47
+ /**
48
+ * The create date.
49
+ */
50
+ readonly createDate: pulumi.Output<string>;
51
+ /**
52
+ * The last login date.
53
+ */
54
+ readonly lastLoginDate: pulumi.Output<string>;
55
+ /**
56
+ * The last login ip.
57
+ */
58
+ readonly lastLoginIp: pulumi.Output<string>;
59
+ /**
60
+ * The last reset password time.
61
+ */
62
+ readonly lastResetPasswordTime: pulumi.Output<number>;
47
63
  /**
48
64
  * The flag of login allowed.
49
65
  */
50
- readonly loginAllowed: pulumi.Output<boolean | undefined>;
66
+ readonly loginAllowed: pulumi.Output<boolean>;
67
+ /**
68
+ * The flag of login locked.
69
+ */
70
+ readonly loginLocked: pulumi.Output<boolean>;
51
71
  /**
52
72
  * The password.
53
73
  */
54
74
  readonly password: pulumi.Output<string>;
75
+ /**
76
+ * The password expire at.
77
+ */
78
+ readonly passwordExpireAt: pulumi.Output<number>;
55
79
  /**
56
80
  * Is required reset password when next time login in.
57
81
  */
58
- readonly passwordResetRequired: pulumi.Output<boolean | undefined>;
82
+ readonly passwordResetRequired: pulumi.Output<boolean>;
83
+ /**
84
+ * The duration of safe auth exempt.
85
+ */
86
+ readonly safeAuthExemptDuration: pulumi.Output<number>;
87
+ /**
88
+ * The flag of safe auth exempt required.
89
+ */
90
+ readonly safeAuthExemptRequired: pulumi.Output<number>;
91
+ /**
92
+ * The unit of safe auth exempt.
93
+ */
94
+ readonly safeAuthExemptUnit: pulumi.Output<number>;
95
+ /**
96
+ * The flag of safe auth.
97
+ */
98
+ readonly safeAuthFlag: pulumi.Output<boolean>;
99
+ /**
100
+ * The type of safe auth.
101
+ */
102
+ readonly safeAuthType: pulumi.Output<string>;
103
+ /**
104
+ * The update date.
105
+ */
106
+ readonly updateDate: pulumi.Output<string>;
107
+ /**
108
+ * The user id.
109
+ */
110
+ readonly userId: pulumi.Output<number>;
59
111
  /**
60
112
  * The user name.
61
113
  */
@@ -73,18 +125,70 @@ export declare class LoginProfile extends pulumi.CustomResource {
73
125
  * Input properties used for looking up and filtering LoginProfile resources.
74
126
  */
75
127
  export interface LoginProfileState {
128
+ /**
129
+ * The create date.
130
+ */
131
+ createDate?: pulumi.Input<string>;
132
+ /**
133
+ * The last login date.
134
+ */
135
+ lastLoginDate?: pulumi.Input<string>;
136
+ /**
137
+ * The last login ip.
138
+ */
139
+ lastLoginIp?: pulumi.Input<string>;
140
+ /**
141
+ * The last reset password time.
142
+ */
143
+ lastResetPasswordTime?: pulumi.Input<number>;
76
144
  /**
77
145
  * The flag of login allowed.
78
146
  */
79
147
  loginAllowed?: pulumi.Input<boolean>;
148
+ /**
149
+ * The flag of login locked.
150
+ */
151
+ loginLocked?: pulumi.Input<boolean>;
80
152
  /**
81
153
  * The password.
82
154
  */
83
155
  password?: pulumi.Input<string>;
156
+ /**
157
+ * The password expire at.
158
+ */
159
+ passwordExpireAt?: pulumi.Input<number>;
84
160
  /**
85
161
  * Is required reset password when next time login in.
86
162
  */
87
163
  passwordResetRequired?: pulumi.Input<boolean>;
164
+ /**
165
+ * The duration of safe auth exempt.
166
+ */
167
+ safeAuthExemptDuration?: pulumi.Input<number>;
168
+ /**
169
+ * The flag of safe auth exempt required.
170
+ */
171
+ safeAuthExemptRequired?: pulumi.Input<number>;
172
+ /**
173
+ * The unit of safe auth exempt.
174
+ */
175
+ safeAuthExemptUnit?: pulumi.Input<number>;
176
+ /**
177
+ * The flag of safe auth.
178
+ */
179
+ safeAuthFlag?: pulumi.Input<boolean>;
180
+ /**
181
+ * The type of safe auth.
182
+ */
183
+ safeAuthType?: pulumi.Input<string>;
184
+ /**
185
+ * The update date.
186
+ */
187
+ updateDate?: pulumi.Input<string>;
188
+ /**
189
+ * The user id.
190
+ */
191
+ userId?: pulumi.Input<number>;
88
192
  /**
89
193
  * The user name.
90
194
  */
@@ -106,6 +210,26 @@ export interface LoginProfileArgs {
106
210
  * Is required reset password when next time login in.
107
211
  */
108
212
  passwordResetRequired?: pulumi.Input<boolean>;
213
+ /**
214
+ * The duration of safe auth exempt.
215
+ */
216
+ safeAuthExemptDuration?: pulumi.Input<number>;
217
+ /**
218
+ * The flag of safe auth exempt required.
219
+ */
220
+ safeAuthExemptRequired?: pulumi.Input<number>;
221
+ /**
222
+ * The unit of safe auth exempt.
223
+ */
224
+ safeAuthExemptUnit?: pulumi.Input<number>;
225
+ /**
226
+ * The flag of safe auth.
227
+ */
228
+ safeAuthFlag?: pulumi.Input<boolean>;
229
+ /**
230
+ * The type of safe auth.
231
+ */
232
+ safeAuthType?: pulumi.Input<string>;
109
233
  /**
110
234
  * The user name.
111
235
  */
@@ -13,16 +13,16 @@ const utilities = require("../utilities");
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as volcengine from "@volcengine/pulumi";
15
15
  *
16
- * const fooUser = new volcengine.iam.User("fooUser", {
17
- * userName: "acc-test-user",
18
- * description: "acc-test",
19
- * displayName: "name",
20
- * });
21
- * const fooLoginProfile = new volcengine.iam.LoginProfile("fooLoginProfile", {
22
- * userName: fooUser.userName,
23
- * password: "93f0cb0614Aab12",
16
+ * const foo = new volcengine.iam.LoginProfile("foo", {
24
17
  * loginAllowed: true,
25
- * passwordResetRequired: false,
18
+ * password: "",
19
+ * passwordResetRequired: true,
20
+ * safeAuthExemptDuration: 1,
21
+ * safeAuthExemptRequired: 1,
22
+ * safeAuthExemptUnit: 1,
23
+ * safeAuthFlag: true,
24
+ * safeAuthType: "phone",
25
+ * userName: "jonny",
26
26
  * });
27
27
  * ```
28
28
  *
@@ -62,9 +62,22 @@ class LoginProfile extends pulumi.CustomResource {
62
62
  opts = opts || {};
63
63
  if (opts.id) {
64
64
  const state = argsOrState;
65
+ resourceInputs["createDate"] = state ? state.createDate : undefined;
66
+ resourceInputs["lastLoginDate"] = state ? state.lastLoginDate : undefined;
67
+ resourceInputs["lastLoginIp"] = state ? state.lastLoginIp : undefined;
68
+ resourceInputs["lastResetPasswordTime"] = state ? state.lastResetPasswordTime : undefined;
65
69
  resourceInputs["loginAllowed"] = state ? state.loginAllowed : undefined;
70
+ resourceInputs["loginLocked"] = state ? state.loginLocked : undefined;
66
71
  resourceInputs["password"] = state ? state.password : undefined;
72
+ resourceInputs["passwordExpireAt"] = state ? state.passwordExpireAt : undefined;
67
73
  resourceInputs["passwordResetRequired"] = state ? state.passwordResetRequired : undefined;
74
+ resourceInputs["safeAuthExemptDuration"] = state ? state.safeAuthExemptDuration : undefined;
75
+ resourceInputs["safeAuthExemptRequired"] = state ? state.safeAuthExemptRequired : undefined;
76
+ resourceInputs["safeAuthExemptUnit"] = state ? state.safeAuthExemptUnit : undefined;
77
+ resourceInputs["safeAuthFlag"] = state ? state.safeAuthFlag : undefined;
78
+ resourceInputs["safeAuthType"] = state ? state.safeAuthType : undefined;
79
+ resourceInputs["updateDate"] = state ? state.updateDate : undefined;
80
+ resourceInputs["userId"] = state ? state.userId : undefined;
68
81
  resourceInputs["userName"] = state ? state.userName : undefined;
69
82
  }
70
83
  else {
@@ -78,7 +91,20 @@ class LoginProfile extends pulumi.CustomResource {
78
91
  resourceInputs["loginAllowed"] = args ? args.loginAllowed : undefined;
79
92
  resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
80
93
  resourceInputs["passwordResetRequired"] = args ? args.passwordResetRequired : undefined;
94
+ resourceInputs["safeAuthExemptDuration"] = args ? args.safeAuthExemptDuration : undefined;
95
+ resourceInputs["safeAuthExemptRequired"] = args ? args.safeAuthExemptRequired : undefined;
96
+ resourceInputs["safeAuthExemptUnit"] = args ? args.safeAuthExemptUnit : undefined;
97
+ resourceInputs["safeAuthFlag"] = args ? args.safeAuthFlag : undefined;
98
+ resourceInputs["safeAuthType"] = args ? args.safeAuthType : undefined;
81
99
  resourceInputs["userName"] = args ? args.userName : undefined;
100
+ resourceInputs["createDate"] = undefined /*out*/;
101
+ resourceInputs["lastLoginDate"] = undefined /*out*/;
102
+ resourceInputs["lastLoginIp"] = undefined /*out*/;
103
+ resourceInputs["lastResetPasswordTime"] = undefined /*out*/;
104
+ resourceInputs["loginLocked"] = undefined /*out*/;
105
+ resourceInputs["passwordExpireAt"] = undefined /*out*/;
106
+ resourceInputs["updateDate"] = undefined /*out*/;
107
+ resourceInputs["userId"] = undefined /*out*/;
82
108
  }
83
109
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
110
  const secretOpts = { additionalSecretOutputs: ["password"] };
@@ -1 +1 @@
1
- {"version":3,"file":"loginProfile.js","sourceRoot":"","sources":["../../iam/loginProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,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C,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7JL,oCA8JC;AAhJG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of iam login profiles
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const default = volcengine.iam.getLoginProfiles({
12
+ * userName: "xx",
13
+ * });
14
+ * ```
15
+ */
16
+ /** @deprecated volcengine.iam.LoginProfiles has been deprecated in favor of volcengine.iam.getLoginProfiles */
17
+ export declare function loginProfiles(args: LoginProfilesArgs, opts?: pulumi.InvokeOptions): Promise<LoginProfilesResult>;
18
+ /**
19
+ * A collection of arguments for invoking LoginProfiles.
20
+ */
21
+ export interface LoginProfilesArgs {
22
+ /**
23
+ * The user name.
24
+ */
25
+ userName: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by LoginProfiles.
29
+ */
30
+ export interface LoginProfilesResult {
31
+ /**
32
+ * The provider-assigned unique ID for this managed resource.
33
+ */
34
+ readonly id: string;
35
+ /**
36
+ * The collection of login profiles.
37
+ */
38
+ readonly loginProfiles: outputs.iam.LoginProfilesLoginProfile[];
39
+ /**
40
+ * The user name.
41
+ */
42
+ readonly userName: string;
43
+ }
44
+ /**
45
+ * Use this data source to query detailed information of iam login profiles
46
+ * ## Example Usage
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as volcengine from "@pulumi/volcengine";
51
+ *
52
+ * const default = volcengine.iam.getLoginProfiles({
53
+ * userName: "xx",
54
+ * });
55
+ * ```
56
+ */
57
+ /** @deprecated volcengine.iam.LoginProfiles has been deprecated in favor of volcengine.iam.getLoginProfiles */
58
+ export declare function loginProfilesOutput(args: LoginProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LoginProfilesResult>;
59
+ /**
60
+ * A collection of arguments for invoking LoginProfiles.
61
+ */
62
+ export interface LoginProfilesOutputArgs {
63
+ /**
64
+ * The user name.
65
+ */
66
+ userName: pulumi.Input<string>;
67
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.loginProfilesOutput = exports.loginProfiles = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of iam login profiles
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const default = volcengine.iam.getLoginProfiles({
17
+ * userName: "xx",
18
+ * });
19
+ * ```
20
+ */
21
+ /** @deprecated volcengine.iam.LoginProfiles has been deprecated in favor of volcengine.iam.getLoginProfiles */
22
+ function loginProfiles(args, opts) {
23
+ pulumi.log.warn("loginProfiles is deprecated: volcengine.iam.LoginProfiles has been deprecated in favor of volcengine.iam.getLoginProfiles");
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("volcengine:iam/loginProfiles:LoginProfiles", {
26
+ "userName": args.userName,
27
+ }, opts);
28
+ }
29
+ exports.loginProfiles = loginProfiles;
30
+ /**
31
+ * Use this data source to query detailed information of iam login profiles
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as volcengine from "@pulumi/volcengine";
37
+ *
38
+ * const default = volcengine.iam.getLoginProfiles({
39
+ * userName: "xx",
40
+ * });
41
+ * ```
42
+ */
43
+ /** @deprecated volcengine.iam.LoginProfiles has been deprecated in favor of volcengine.iam.getLoginProfiles */
44
+ function loginProfilesOutput(args, opts) {
45
+ return pulumi.output(args).apply((a) => loginProfiles(a, opts));
46
+ }
47
+ exports.loginProfilesOutput = loginProfilesOutput;
48
+ //# sourceMappingURL=loginProfiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loginProfiles.js","sourceRoot":"","sources":["../../iam/loginProfiles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,+GAA+G;AAC/G,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2HAA2H,CAAC,CAAA;IAE5I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AA6BD;;;;;;;;;;;;GAYG;AACH,+GAA+G;AAC/G,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -0,0 +1,257 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage iam oauth provider
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.iam.OauthProvider("foo", {
11
+ * authorizeTemplate: "${authEndpoint}?client_id=${clientId}&scope=${scope}&response_type=code&state=12345",
12
+ * authorizeUrl: "https://example.com/authorize_modify",
13
+ * clientId: "test_client_id_modify",
14
+ * clientSecret: "",
15
+ * description: "acc-test-modify",
16
+ * identityMapType: 1,
17
+ * idpIdentityKey: "username_modify",
18
+ * oauthProviderName: "acc-test-oauth",
19
+ * scope: "openid",
20
+ * ssoType: 2,
21
+ * status: 1,
22
+ * tokenUrl: "https://example.com/access_token_modify",
23
+ * userInfoUrl: "https://example.com/user_info_modify",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * IamOAuthProvider can be imported using the id, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import volcengine:iam/oauthProvider:OauthProvider default oidc_provider_name
33
+ * ```
34
+ */
35
+ export declare class OauthProvider extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing OauthProvider resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OauthProviderState, opts?: pulumi.CustomResourceOptions): OauthProvider;
46
+ /**
47
+ * Returns true if the given object is an instance of OauthProvider. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is OauthProvider;
51
+ /**
52
+ * The authorize template of the OAuth provider.
53
+ */
54
+ readonly authorizeTemplate: pulumi.Output<string>;
55
+ /**
56
+ * The authorize url of the OAuth provider.
57
+ */
58
+ readonly authorizeUrl: pulumi.Output<string>;
59
+ /**
60
+ * The client id of the OAuth provider.
61
+ */
62
+ readonly clientId: pulumi.Output<string>;
63
+ /**
64
+ * The client secret of the OAuth provider.
65
+ */
66
+ readonly clientSecret: pulumi.Output<string>;
67
+ /**
68
+ * The create date of the OAuth provider.
69
+ */
70
+ readonly createDate: pulumi.Output<string>;
71
+ /**
72
+ * The description of the OAuth provider.
73
+ */
74
+ readonly description: pulumi.Output<string | undefined>;
75
+ /**
76
+ * The identity map type of the OAuth provider.
77
+ */
78
+ readonly identityMapType: pulumi.Output<number>;
79
+ /**
80
+ * The idp identity key of the OAuth provider.
81
+ */
82
+ readonly idpIdentityKey: pulumi.Output<string>;
83
+ /**
84
+ * The name of the OAuth provider.
85
+ */
86
+ readonly oauthProviderName: pulumi.Output<string>;
87
+ /**
88
+ * The id of the OAuth provider.
89
+ */
90
+ readonly providerId: pulumi.Output<string>;
91
+ /**
92
+ * The scope of the OAuth provider.
93
+ */
94
+ readonly scope: pulumi.Output<string | undefined>;
95
+ /**
96
+ * The SSO type of the OAuth provider.
97
+ */
98
+ readonly ssoType: pulumi.Output<number>;
99
+ /**
100
+ * The status of the OAuth provider.
101
+ */
102
+ readonly status: pulumi.Output<number | undefined>;
103
+ /**
104
+ * The token url of the OAuth provider.
105
+ */
106
+ readonly tokenUrl: pulumi.Output<string>;
107
+ /**
108
+ * The trn of the OAuth provider.
109
+ */
110
+ readonly trn: pulumi.Output<string>;
111
+ /**
112
+ * The update date of the OAuth provider.
113
+ */
114
+ readonly updateDate: pulumi.Output<string>;
115
+ /**
116
+ * The user info url of the OAuth provider.
117
+ */
118
+ readonly userInfoUrl: pulumi.Output<string>;
119
+ /**
120
+ * Create a OauthProvider resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: OauthProviderArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering OauthProvider resources.
130
+ */
131
+ export interface OauthProviderState {
132
+ /**
133
+ * The authorize template of the OAuth provider.
134
+ */
135
+ authorizeTemplate?: pulumi.Input<string>;
136
+ /**
137
+ * The authorize url of the OAuth provider.
138
+ */
139
+ authorizeUrl?: pulumi.Input<string>;
140
+ /**
141
+ * The client id of the OAuth provider.
142
+ */
143
+ clientId?: pulumi.Input<string>;
144
+ /**
145
+ * The client secret of the OAuth provider.
146
+ */
147
+ clientSecret?: pulumi.Input<string>;
148
+ /**
149
+ * The create date of the OAuth provider.
150
+ */
151
+ createDate?: pulumi.Input<string>;
152
+ /**
153
+ * The description of the OAuth provider.
154
+ */
155
+ description?: pulumi.Input<string>;
156
+ /**
157
+ * The identity map type of the OAuth provider.
158
+ */
159
+ identityMapType?: pulumi.Input<number>;
160
+ /**
161
+ * The idp identity key of the OAuth provider.
162
+ */
163
+ idpIdentityKey?: pulumi.Input<string>;
164
+ /**
165
+ * The name of the OAuth provider.
166
+ */
167
+ oauthProviderName?: pulumi.Input<string>;
168
+ /**
169
+ * The id of the OAuth provider.
170
+ */
171
+ providerId?: pulumi.Input<string>;
172
+ /**
173
+ * The scope of the OAuth provider.
174
+ */
175
+ scope?: pulumi.Input<string>;
176
+ /**
177
+ * The SSO type of the OAuth provider.
178
+ */
179
+ ssoType?: pulumi.Input<number>;
180
+ /**
181
+ * The status of the OAuth provider.
182
+ */
183
+ status?: pulumi.Input<number>;
184
+ /**
185
+ * The token url of the OAuth provider.
186
+ */
187
+ tokenUrl?: pulumi.Input<string>;
188
+ /**
189
+ * The trn of the OAuth provider.
190
+ */
191
+ trn?: pulumi.Input<string>;
192
+ /**
193
+ * The update date of the OAuth provider.
194
+ */
195
+ updateDate?: pulumi.Input<string>;
196
+ /**
197
+ * The user info url of the OAuth provider.
198
+ */
199
+ userInfoUrl?: pulumi.Input<string>;
200
+ }
201
+ /**
202
+ * The set of arguments for constructing a OauthProvider resource.
203
+ */
204
+ export interface OauthProviderArgs {
205
+ /**
206
+ * The authorize template of the OAuth provider.
207
+ */
208
+ authorizeTemplate: pulumi.Input<string>;
209
+ /**
210
+ * The authorize url of the OAuth provider.
211
+ */
212
+ authorizeUrl: pulumi.Input<string>;
213
+ /**
214
+ * The client id of the OAuth provider.
215
+ */
216
+ clientId: pulumi.Input<string>;
217
+ /**
218
+ * The client secret of the OAuth provider.
219
+ */
220
+ clientSecret: pulumi.Input<string>;
221
+ /**
222
+ * The description of the OAuth provider.
223
+ */
224
+ description?: pulumi.Input<string>;
225
+ /**
226
+ * The identity map type of the OAuth provider.
227
+ */
228
+ identityMapType: pulumi.Input<number>;
229
+ /**
230
+ * The idp identity key of the OAuth provider.
231
+ */
232
+ idpIdentityKey: pulumi.Input<string>;
233
+ /**
234
+ * The name of the OAuth provider.
235
+ */
236
+ oauthProviderName: pulumi.Input<string>;
237
+ /**
238
+ * The scope of the OAuth provider.
239
+ */
240
+ scope?: pulumi.Input<string>;
241
+ /**
242
+ * The SSO type of the OAuth provider.
243
+ */
244
+ ssoType: pulumi.Input<number>;
245
+ /**
246
+ * The status of the OAuth provider.
247
+ */
248
+ status?: pulumi.Input<number>;
249
+ /**
250
+ * The token url of the OAuth provider.
251
+ */
252
+ tokenUrl: pulumi.Input<string>;
253
+ /**
254
+ * The user info url of the OAuth provider.
255
+ */
256
+ userInfoUrl: pulumi.Input<string>;
257
+ }