@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.
- package/iam/accessKey.d.ts +25 -56
- package/iam/accessKey.js +9 -20
- package/iam/accessKey.js.map +1 -1
- package/iam/accessKeyLastUseds.d.ts +86 -0
- package/iam/accessKeyLastUseds.js +50 -0
- package/iam/accessKeyLastUseds.js.map +1 -0
- package/iam/accessKeys.d.ts +4 -13
- package/iam/accessKeys.js +2 -3
- package/iam/accessKeys.js.map +1 -1
- package/iam/accountSummaries.d.ts +64 -0
- package/iam/accountSummaries.js +45 -0
- package/iam/accountSummaries.js.map +1 -0
- package/iam/allowedIpAddress.d.ts +89 -0
- package/iam/allowedIpAddress.js +84 -0
- package/iam/allowedIpAddress.js.map +1 -0
- package/iam/allowedIpAddresses.d.ts +60 -0
- package/iam/allowedIpAddresses.js +45 -0
- package/iam/allowedIpAddresses.js.map +1 -0
- package/iam/callerIdentities.d.ts +64 -0
- package/iam/callerIdentities.js +45 -0
- package/iam/callerIdentities.js.map +1 -0
- package/iam/entitiesPolicies.d.ts +105 -0
- package/iam/entitiesPolicies.js +53 -0
- package/iam/entitiesPolicies.js.map +1 -0
- package/iam/getAccessKeyLastUseds.d.ts +84 -0
- package/iam/getAccessKeyLastUseds.js +47 -0
- package/iam/getAccessKeyLastUseds.js.map +1 -0
- package/iam/getAccessKeys.d.ts +4 -13
- package/iam/getAccessKeys.js +2 -3
- package/iam/getAccessKeys.js.map +1 -1
- package/iam/getAccountSummaries.d.ts +62 -0
- package/iam/getAccountSummaries.js +42 -0
- package/iam/getAccountSummaries.js.map +1 -0
- package/iam/getAllowedIpAddresses.d.ts +58 -0
- package/iam/getAllowedIpAddresses.js +42 -0
- package/iam/getAllowedIpAddresses.js.map +1 -0
- package/iam/getCallerIdentities.d.ts +62 -0
- package/iam/getCallerIdentities.js +42 -0
- package/iam/getCallerIdentities.js.map +1 -0
- package/iam/getEntitiesPolicies.d.ts +103 -0
- package/iam/getEntitiesPolicies.js +50 -0
- package/iam/getEntitiesPolicies.js.map +1 -0
- package/iam/getGroupUsers.d.ts +84 -0
- package/iam/getGroupUsers.js +47 -0
- package/iam/getGroupUsers.js.map +1 -0
- package/iam/getIdentityProviders.d.ts +62 -0
- package/iam/getIdentityProviders.js +42 -0
- package/iam/getIdentityProviders.js.map +1 -0
- package/iam/getLoginProfiles.d.ts +65 -0
- package/iam/getLoginProfiles.js +45 -0
- package/iam/getLoginProfiles.js.map +1 -0
- package/iam/getOauthProviders.d.ts +78 -0
- package/iam/getOauthProviders.js +46 -0
- package/iam/getOauthProviders.js.map +1 -0
- package/iam/getOidcProviders.d.ts +2 -2
- package/iam/getOidcProviders.js +2 -2
- package/iam/getPolicies.d.ts +9 -63
- package/iam/getPolicies.js +5 -21
- package/iam/getPolicies.js.map +1 -1
- package/iam/getRolePolicyAttachments.d.ts +62 -0
- package/iam/getRolePolicyAttachments.js +45 -0
- package/iam/getRolePolicyAttachments.js.map +1 -0
- package/iam/getRoles.d.ts +6 -48
- package/iam/getRoles.js +4 -35
- package/iam/getRoles.js.map +1 -1
- package/iam/getSamlProviders.d.ts +2 -2
- package/iam/getSamlProviders.js +2 -2
- package/iam/getSecurityConfigs.d.ts +74 -0
- package/iam/getSecurityConfigs.js +46 -0
- package/iam/getSecurityConfigs.js.map +1 -0
- package/iam/getTags.d.ts +91 -0
- package/iam/getTags.js +47 -0
- package/iam/getTags.js.map +1 -0
- package/iam/getUserGroupAttachments.d.ts +75 -0
- package/iam/getUserGroupAttachments.js +46 -0
- package/iam/getUserGroupAttachments.js.map +1 -0
- package/iam/getUserGroupPolicyAttachments.d.ts +4 -36
- package/iam/getUserGroupPolicyAttachments.js +4 -36
- package/iam/getUserGroupPolicyAttachments.js.map +1 -1
- package/iam/getUserGroups.d.ts +6 -18
- package/iam/getUserGroups.js +4 -16
- package/iam/getUserGroups.js.map +1 -1
- package/iam/getUserPolicyAttachments.d.ts +62 -0
- package/iam/getUserPolicyAttachments.js +45 -0
- package/iam/getUserPolicyAttachments.js.map +1 -0
- package/iam/getUsers.d.ts +9 -30
- package/iam/getUsers.js +5 -18
- package/iam/getUsers.js.map +1 -1
- package/iam/groupUsers.d.ts +86 -0
- package/iam/groupUsers.js +50 -0
- package/iam/groupUsers.js.map +1 -0
- package/iam/identityProviders.d.ts +64 -0
- package/iam/identityProviders.js +45 -0
- package/iam/identityProviders.js.map +1 -0
- package/iam/index.d.ts +105 -0
- package/iam/index.js +122 -1
- package/iam/index.js.map +1 -1
- package/iam/loginProfile.d.ts +135 -11
- package/iam/loginProfile.js +35 -9
- package/iam/loginProfile.js.map +1 -1
- package/iam/loginProfiles.d.ts +67 -0
- package/iam/loginProfiles.js +48 -0
- package/iam/loginProfiles.js.map +1 -0
- package/iam/oauthProvider.d.ts +257 -0
- package/iam/oauthProvider.js +146 -0
- package/iam/oauthProvider.js.map +1 -0
- package/iam/oauthProviders.d.ts +80 -0
- package/iam/oauthProviders.js +49 -0
- package/iam/oauthProviders.js.map +1 -0
- package/iam/oidcProvider.d.ts +5 -11
- package/iam/oidcProvider.js +5 -11
- package/iam/oidcProvider.js.map +1 -1
- package/iam/oidcProviderClient.d.ts +78 -0
- package/iam/oidcProviderClient.js +75 -0
- package/iam/oidcProviderClient.js.map +1 -0
- package/iam/oidcProviderThumbprint.d.ts +78 -0
- package/iam/oidcProviderThumbprint.js +75 -0
- package/iam/oidcProviderThumbprint.js.map +1 -0
- package/iam/oidcProviders.d.ts +2 -2
- package/iam/oidcProviders.js +2 -2
- package/iam/policies.d.ts +9 -63
- package/iam/policies.js +5 -21
- package/iam/policies.js.map +1 -1
- package/iam/policy.d.ts +26 -2
- package/iam/policy.js +8 -2
- package/iam/policy.js.map +1 -1
- package/iam/policyProject.d.ts +121 -0
- package/iam/policyProject.js +97 -0
- package/iam/policyProject.js.map +1 -0
- package/iam/role.d.ts +41 -7
- package/iam/role.js +13 -9
- package/iam/role.js.map +1 -1
- package/iam/rolePolicyAttachment.d.ts +3 -15
- package/iam/rolePolicyAttachment.js +3 -15
- package/iam/rolePolicyAttachment.js.map +1 -1
- package/iam/rolePolicyAttachments.d.ts +64 -0
- package/iam/rolePolicyAttachments.js +48 -0
- package/iam/rolePolicyAttachments.js.map +1 -0
- package/iam/roles.d.ts +6 -48
- package/iam/roles.js +4 -35
- package/iam/roles.js.map +1 -1
- package/iam/samlProviders.d.ts +2 -2
- package/iam/samlProviders.js +2 -2
- package/iam/securityConfig.d.ts +107 -0
- package/iam/securityConfig.js +82 -0
- package/iam/securityConfig.js.map +1 -0
- package/iam/securityConfigs.d.ts +76 -0
- package/iam/securityConfigs.js +49 -0
- package/iam/securityConfigs.js.map +1 -0
- package/iam/serviceLinkedRole.d.ts +22 -2
- package/iam/serviceLinkedRole.js +10 -2
- package/iam/serviceLinkedRole.js.map +1 -1
- package/iam/tag.d.ts +106 -0
- package/iam/tag.js +91 -0
- package/iam/tag.js.map +1 -0
- package/iam/tags.d.ts +93 -0
- package/iam/tags.js +50 -0
- package/iam/tags.js.map +1 -0
- package/iam/user.d.ts +24 -4
- package/iam/user.js +9 -1
- package/iam/user.js.map +1 -1
- package/iam/userGroup.d.ts +3 -3
- package/iam/userGroup.js +3 -3
- package/iam/userGroupAttachment.d.ts +3 -13
- package/iam/userGroupAttachment.js +3 -13
- package/iam/userGroupAttachment.js.map +1 -1
- package/iam/userGroupAttachments.d.ts +77 -0
- package/iam/userGroupAttachments.js +49 -0
- package/iam/userGroupAttachments.js.map +1 -0
- package/iam/userGroupPolicyAttachment.d.ts +3 -13
- package/iam/userGroupPolicyAttachment.js +3 -13
- package/iam/userGroupPolicyAttachment.js.map +1 -1
- package/iam/userGroupPolicyAttachments.d.ts +4 -36
- package/iam/userGroupPolicyAttachments.js +4 -36
- package/iam/userGroupPolicyAttachments.js.map +1 -1
- package/iam/userGroups.d.ts +6 -18
- package/iam/userGroups.js +4 -16
- package/iam/userGroups.js.map +1 -1
- package/iam/userPolicyAttachment.d.ts +3 -12
- package/iam/userPolicyAttachment.js +3 -12
- package/iam/userPolicyAttachment.js.map +1 -1
- package/iam/userPolicyAttachments.d.ts +64 -0
- package/iam/userPolicyAttachments.js +48 -0
- package/iam/userPolicyAttachments.js.map +1 -0
- package/iam/users.d.ts +9 -30
- package/iam/users.js +5 -18
- package/iam/users.js.map +1 -1
- package/package.json +1 -1
- package/tls/checkPoints.d.ts +109 -0
- package/tls/checkPoints.js +58 -0
- package/tls/checkPoints.js.map +1 -0
- package/tls/describeTraces.d.ts +4 -4
- package/tls/describeTraces.js +4 -4
- package/tls/downloadTask.d.ts +13 -9
- package/tls/downloadTask.js +13 -9
- package/tls/downloadTask.js.map +1 -1
- package/tls/downloadTasks.d.ts +4 -6
- package/tls/downloadTasks.js +4 -6
- package/tls/downloadTasks.js.map +1 -1
- package/tls/downloadUrls.d.ts +2 -2
- package/tls/downloadUrls.js +2 -2
- package/tls/etlTask.d.ts +1 -1
- package/tls/etlTask.js +1 -1
- package/tls/getCheckPoints.d.ts +107 -0
- package/tls/getCheckPoints.js +55 -0
- package/tls/getCheckPoints.js.map +1 -0
- package/tls/getDescribeTraces.d.ts +4 -4
- package/tls/getDescribeTraces.js +4 -4
- package/tls/getDownloadTasks.d.ts +4 -6
- package/tls/getDownloadTasks.js +4 -6
- package/tls/getDownloadTasks.js.map +1 -1
- package/tls/getDownloadUrls.d.ts +2 -2
- package/tls/getDownloadUrls.js +2 -2
- package/tls/getHostGroupRules.d.ts +2 -2
- package/tls/getHostGroupRules.js +2 -2
- package/tls/getIndexes.d.ts +14 -11
- package/tls/getIndexes.js +3 -3
- package/tls/getIndexes.js.map +1 -1
- package/tls/getLogCursors.d.ts +102 -0
- package/tls/getLogCursors.js +52 -0
- package/tls/getLogCursors.js.map +1 -0
- package/tls/getRuleBoundHostGroups.d.ts +2 -2
- package/tls/getRuleBoundHostGroups.js +2 -2
- package/tls/getRules.d.ts +8 -8
- package/tls/getRules.js +8 -8
- package/tls/getSearchTraces.d.ts +10 -4
- package/tls/getSearchTraces.js +10 -4
- package/tls/getSearchTraces.js.map +1 -1
- package/tls/getTags.d.ts +2 -2
- package/tls/getTags.js +2 -2
- package/tls/hostGroup.d.ts +2 -2
- package/tls/hostGroup.js +2 -2
- package/tls/hostGroupRules.d.ts +2 -2
- package/tls/hostGroupRules.js +2 -2
- package/tls/index.d.ts +12 -0
- package/tls/index.js +16 -3
- package/tls/index.js.map +1 -1
- package/tls/index_.d.ts +11 -7
- package/tls/index_.js +11 -7
- package/tls/index_.js.map +1 -1
- package/tls/indexes.d.ts +14 -11
- package/tls/indexes.js +3 -3
- package/tls/indexes.js.map +1 -1
- package/tls/logCursors.d.ts +104 -0
- package/tls/logCursors.js +55 -0
- package/tls/logCursors.js.map +1 -0
- package/tls/project.d.ts +1 -1
- package/tls/project.js +1 -1
- package/tls/rule.d.ts +10 -10
- package/tls/rule.js +10 -10
- package/tls/ruleBoundHostGroups.d.ts +2 -2
- package/tls/ruleBoundHostGroups.js +2 -2
- package/tls/rules.d.ts +8 -8
- package/tls/rules.js +8 -8
- package/tls/searchTraces.d.ts +10 -4
- package/tls/searchTraces.js +10 -4
- package/tls/searchTraces.js.map +1 -1
- package/tls/shard.d.ts +2 -2
- package/tls/shard.js +2 -2
- package/tls/shipper.d.ts +1 -1
- package/tls/shipper.js +1 -1
- package/tls/tags.d.ts +2 -2
- package/tls/tags.js +2 -2
- package/tls/traceInstance.d.ts +1 -1
- package/tls/traceInstance.js +1 -1
- package/types/input.d.ts +79 -1
- package/types/output.d.ts +1744 -230
package/iam/loginProfile.d.ts
CHANGED
|
@@ -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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
*/
|
package/iam/loginProfile.js
CHANGED
|
@@ -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
|
|
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
|
-
*
|
|
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"] };
|
package/iam/loginProfile.js.map
CHANGED
|
@@ -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;
|
|
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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YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,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
|
+
}
|