@alicloud/eiam20211201 2.19.0 → 2.19.2

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 (103) hide show
  1. package/dist/client.d.ts +40 -36
  2. package/dist/client.js +40 -45
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckInstanceModuleStatusRequest.d.ts +17 -3
  5. package/dist/models/CheckInstanceModuleStatusRequest.js.map +1 -1
  6. package/dist/models/CreateApplicationFederatedCredentialRequest.d.ts +61 -12
  7. package/dist/models/CreateApplicationFederatedCredentialRequest.js.map +1 -1
  8. package/dist/models/CreateApplicationFederatedCredentialResponseBody.d.ts +1 -1
  9. package/dist/models/CreateCloudAccountRequest.d.ts +1 -1
  10. package/dist/models/CreateIdentityProviderRequest.d.ts +165 -142
  11. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  12. package/dist/models/CreateIdentityProviderResponseBody.d.ts +2 -2
  13. package/dist/models/CreateTrustedOriginRequest.d.ts +1 -1
  14. package/dist/models/GetApplicationFederatedCredentialResponseBody.d.ts +79 -12
  15. package/dist/models/GetApplicationFederatedCredentialResponseBody.js.map +1 -1
  16. package/dist/models/GetApplicationSsoConfigResponseBody.d.ts +85 -65
  17. package/dist/models/GetApplicationSsoConfigResponseBody.js +11 -0
  18. package/dist/models/GetApplicationSsoConfigResponseBody.js.map +1 -1
  19. package/dist/models/GetAuthorizationResourceResponseBody.d.ts +2 -2
  20. package/dist/models/GetAuthorizationRuleResponseBody.d.ts +8 -3
  21. package/dist/models/GetAuthorizationRuleResponseBody.js.map +1 -1
  22. package/dist/models/GetBrandRequest.d.ts +2 -2
  23. package/dist/models/GetBrandResponseBody.d.ts +23 -7
  24. package/dist/models/GetBrandResponseBody.js +4 -0
  25. package/dist/models/GetBrandResponseBody.js.map +1 -1
  26. package/dist/models/GetCloudAccountResponseBody.d.ts +38 -6
  27. package/dist/models/GetCloudAccountResponseBody.js.map +1 -1
  28. package/dist/models/GetCloudAccountRoleResponseBody.d.ts +9 -0
  29. package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -1
  30. package/dist/models/GetIdentityProviderResponseBody.d.ts +54 -65
  31. package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
  32. package/dist/models/ListApplicationFederatedCredentialsForProviderRequest.d.ts +3 -3
  33. package/dist/models/ListApplicationFederatedCredentialsForProviderResponseBody.d.ts +85 -15
  34. package/dist/models/ListApplicationFederatedCredentialsForProviderResponseBody.js.map +1 -1
  35. package/dist/models/ListApplicationFederatedCredentialsRequest.d.ts +3 -3
  36. package/dist/models/ListApplicationFederatedCredentialsResponseBody.d.ts +89 -19
  37. package/dist/models/ListApplicationFederatedCredentialsResponseBody.js.map +1 -1
  38. package/dist/models/ListAuthorizationResourcesRequest.d.ts +5 -5
  39. package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +9 -9
  40. package/dist/models/ListAuthorizationRulesRequest.d.ts +2 -2
  41. package/dist/models/ListAuthorizationRulesResponseBody.d.ts +17 -12
  42. package/dist/models/ListAuthorizationRulesResponseBody.js.map +1 -1
  43. package/dist/models/ListBrandsRequest.d.ts +1 -1
  44. package/dist/models/ListBrandsResponseBody.d.ts +16 -0
  45. package/dist/models/ListBrandsResponseBody.js +4 -0
  46. package/dist/models/ListBrandsResponseBody.js.map +1 -1
  47. package/dist/models/ListCloudAccountRolesRequest.d.ts +5 -5
  48. package/dist/models/ListCloudAccountRolesResponseBody.d.ts +28 -19
  49. package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -1
  50. package/dist/models/ListCloudAccountsRequest.d.ts +1 -1
  51. package/dist/models/ListCloudAccountsResponseBody.d.ts +36 -11
  52. package/dist/models/ListCloudAccountsResponseBody.js.map +1 -1
  53. package/dist/models/ListEiamInstancesRequest.d.ts +1 -1
  54. package/dist/models/ListNetworkAccessEndpointsRequest.d.ts +6 -6
  55. package/dist/models/ListNetworkAccessEndpointsResponseBody.d.ts +44 -7
  56. package/dist/models/ListNetworkAccessEndpointsResponseBody.js.map +1 -1
  57. package/dist/models/SetApplicationSsoConfigRequest.d.ts +55 -31
  58. package/dist/models/SetApplicationSsoConfigRequest.js +9 -0
  59. package/dist/models/SetApplicationSsoConfigRequest.js.map +1 -1
  60. package/dist/models/UpdateApplicationFederatedCredentialRequest.d.ts +61 -6
  61. package/dist/models/UpdateApplicationFederatedCredentialRequest.js.map +1 -1
  62. package/dist/models/UpdateIdentityProviderRequest.d.ts +85 -51
  63. package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
  64. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +1 -1
  65. package/package.json +1 -1
  66. package/src/client.ts +40 -45
  67. package/src/models/CheckInstanceModuleStatusRequest.ts +17 -3
  68. package/src/models/CreateApplicationFederatedCredentialRequest.ts +61 -12
  69. package/src/models/CreateApplicationFederatedCredentialResponseBody.ts +1 -1
  70. package/src/models/CreateCloudAccountRequest.ts +1 -1
  71. package/src/models/CreateIdentityProviderRequest.ts +165 -142
  72. package/src/models/CreateIdentityProviderResponseBody.ts +2 -2
  73. package/src/models/CreateTrustedOriginRequest.ts +1 -1
  74. package/src/models/GetApplicationFederatedCredentialResponseBody.ts +79 -12
  75. package/src/models/GetApplicationSsoConfigResponseBody.ts +96 -65
  76. package/src/models/GetAuthorizationResourceResponseBody.ts +2 -2
  77. package/src/models/GetAuthorizationRuleResponseBody.ts +8 -3
  78. package/src/models/GetBrandRequest.ts +2 -2
  79. package/src/models/GetBrandResponseBody.ts +27 -7
  80. package/src/models/GetCloudAccountResponseBody.ts +38 -6
  81. package/src/models/GetCloudAccountRoleResponseBody.ts +9 -0
  82. package/src/models/GetIdentityProviderResponseBody.ts +54 -65
  83. package/src/models/ListApplicationFederatedCredentialsForProviderRequest.ts +3 -3
  84. package/src/models/ListApplicationFederatedCredentialsForProviderResponseBody.ts +85 -15
  85. package/src/models/ListApplicationFederatedCredentialsRequest.ts +3 -3
  86. package/src/models/ListApplicationFederatedCredentialsResponseBody.ts +89 -19
  87. package/src/models/ListAuthorizationResourcesRequest.ts +5 -5
  88. package/src/models/ListAuthorizationResourcesResponseBody.ts +9 -9
  89. package/src/models/ListAuthorizationRulesRequest.ts +2 -2
  90. package/src/models/ListAuthorizationRulesResponseBody.ts +17 -12
  91. package/src/models/ListBrandsRequest.ts +1 -1
  92. package/src/models/ListBrandsResponseBody.ts +20 -0
  93. package/src/models/ListCloudAccountRolesRequest.ts +5 -5
  94. package/src/models/ListCloudAccountRolesResponseBody.ts +28 -19
  95. package/src/models/ListCloudAccountsRequest.ts +1 -1
  96. package/src/models/ListCloudAccountsResponseBody.ts +36 -11
  97. package/src/models/ListEiamInstancesRequest.ts +1 -1
  98. package/src/models/ListNetworkAccessEndpointsRequest.ts +6 -6
  99. package/src/models/ListNetworkAccessEndpointsResponseBody.ts +44 -7
  100. package/src/models/SetApplicationSsoConfigRequest.ts +64 -31
  101. package/src/models/UpdateApplicationFederatedCredentialRequest.ts +61 -6
  102. package/src/models/UpdateIdentityProviderRequest.ts +85 -51
  103. package/src/models/UpdateIdentityProviderResponseBody.ts +1 -1
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateIdentityProviderResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Identity provider ID.
8
+ * The identity provider ID.
9
9
  *
10
10
  * @example
11
11
  * idp_mwpcwnhrimlr2horxXXXX
@@ -13,7 +13,7 @@ export class CreateIdentityProviderResponseBody extends $dara.Model {
13
13
  identityProviderId?: string;
14
14
  /**
15
15
  * @remarks
16
- * Request ID.
16
+ * The request ID.
17
17
  *
18
18
  * @example
19
19
  * 0441BD79-92F3-53AA-8657-F8CE4A2B912A
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateTrustedOriginRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
8
+ * The client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to ensure that the value is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length.
9
9
  *
10
10
  * @example
11
11
  * client-token-example
@@ -43,9 +43,34 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
43
43
  }
44
44
 
45
45
  export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigAzureVmConfig extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The principal ID.
49
+ *
50
+ * @example
51
+ * 5dee234a-1b4c-4ad7-a19f-fxxxxx
52
+ */
46
53
  principalId?: string;
54
+ /**
55
+ * @remarks
56
+ * The Azure resource group name.
57
+ *
58
+ * @example
59
+ * user_default
60
+ */
47
61
  resourceGroupName?: string;
62
+ /**
63
+ * @remarks
64
+ * The subscription ID.
65
+ *
66
+ * @example
67
+ * 4342a1f4-7e5d-4371-97dc-d4f33f4xxxx
68
+ */
48
69
  subscriptionId?: string;
70
+ /**
71
+ * @remarks
72
+ * The list of virtual machine names.
73
+ */
49
74
  vmNames?: string[];
50
75
  static names(): { [key: string]: string } {
51
76
  return {
@@ -80,13 +105,23 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
80
105
  export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGcpVmConfig extends $dara.Model {
81
106
  /**
82
107
  * @remarks
83
- * The list of VM instance IDs. A maximum of 10 instance IDs are supported.
108
+ * The list of VM instance IDs.
84
109
  */
85
110
  instanceIds?: string[];
111
+ /**
112
+ * @remarks
113
+ * The GCP project ID.
114
+ *
115
+ * @example
116
+ * turnkey-axiom-475109-xx
117
+ */
86
118
  projectId?: string;
87
119
  /**
88
120
  * @remarks
89
- * The service account ID that corresponds to the sub claim.
121
+ * The subject corresponding to the service account.
122
+ *
123
+ * @example
124
+ * 123456789
90
125
  */
91
126
  serviceAccountId?: string;
92
127
  static names(): { [key: string]: string } {
@@ -118,6 +153,13 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
118
153
  }
119
154
 
120
155
  export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGenericConfig extends $dara.Model {
156
+ /**
157
+ * @remarks
158
+ * The subject identifier.
159
+ *
160
+ * @example
161
+ * test_subject
162
+ */
121
163
  subject?: string;
122
164
  static names(): { [key: string]: string } {
123
165
  return {
@@ -143,17 +185,26 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
143
185
  export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigKubernetesConfig extends $dara.Model {
144
186
  /**
145
187
  * @remarks
146
- * The Kubernetes namespace.
188
+ * The K8s namespace.
189
+ *
190
+ * @example
191
+ * default
147
192
  */
148
193
  namespace?: string;
149
194
  /**
150
195
  * @remarks
151
196
  * The pod name prefix.
197
+ *
198
+ * @example
199
+ * test-pod
152
200
  */
153
201
  podNamePrefix?: string;
154
202
  /**
155
203
  * @remarks
156
- * The Kubernetes service account name.
204
+ * The K8s service account name.
205
+ *
206
+ * @example
207
+ * default
157
208
  */
158
209
  serviceAccountName?: string;
159
210
  static names(): { [key: string]: string } {
@@ -192,6 +243,10 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
192
243
  * The GCP VM scenario configuration.
193
244
  */
194
245
  gcpVmConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGcpVmConfig;
246
+ /**
247
+ * @remarks
248
+ * The generic scenario configuration.
249
+ */
195
250
  genericConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGenericConfig;
196
251
  /**
197
252
  * @remarks
@@ -200,7 +255,14 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
200
255
  kubernetesConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigKubernetesConfig;
201
256
  /**
202
257
  * @remarks
203
- * The OIDC scenario profile. Valid values: generic, kubernetes, gcp_vm, and azure_vm.
258
+ * The OIDC scenario profile. Different profiles correspond to different configurations. Valid values:
259
+ * - generic
260
+ * - kubernetes
261
+ * - gcp_vm
262
+ * - azure_vm
263
+ *
264
+ * @example
265
+ * kubernetes
204
266
  */
205
267
  profile?: string;
206
268
  static names(): { [key: string]: string } {
@@ -247,7 +309,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
247
309
  export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialPkcs7VerificationConfig extends $dara.Model {
248
310
  /**
249
311
  * @remarks
250
- * The list of allowed instance IDs. A maximum of 10 instance IDs are supported.
312
+ * The list of allowed instance IDs.
251
313
  */
252
314
  instanceIds?: string[];
253
315
  static names(): { [key: string]: string } {
@@ -314,7 +376,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
314
376
  attributeMappings?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialAttributeMappings[];
315
377
  /**
316
378
  * @remarks
317
- * The time when the credential was created.
379
+ * The creation time.
318
380
  *
319
381
  * @example
320
382
  * 1758785994982
@@ -346,7 +408,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
346
408
  instanceId?: string;
347
409
  /**
348
410
  * @remarks
349
- * The time when the credential was last used.
411
+ * The last used time.
350
412
  *
351
413
  * @example
352
414
  * 1758785994982
@@ -354,12 +416,12 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
354
416
  lastUsedTime?: number;
355
417
  /**
356
418
  * @remarks
357
- * The OIDC structured configuration. This parameter applies when the verification mode is structured and the credential type is oidc.
419
+ * The OIDC structured configuration.
358
420
  */
359
421
  oidcVerificationConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfig;
360
422
  /**
361
423
  * @remarks
362
- * The PKCS#7 structured configuration. This parameter applies when the verification mode is structured and the credential type is pkcs7.
424
+ * The PKCS#7 structured configuration.
363
425
  */
364
426
  pkcs7VerificationConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialPkcs7VerificationConfig;
365
427
  /**
@@ -372,7 +434,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
372
434
  status?: string;
373
435
  /**
374
436
  * @remarks
375
- * The time when the credential was last updated.
437
+ * The update time.
376
438
  *
377
439
  * @example
378
440
  * 1758785994982
@@ -388,7 +450,12 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
388
450
  verificationCondition?: string;
389
451
  /**
390
452
  * @remarks
391
- * The verification mode. Valid values: freedom and structured.
453
+ * The verification mode. Valid values:
454
+ * - freedom: Free mode.
455
+ * - structured: Structured mode.
456
+ *
457
+ * @example
458
+ * structured
392
459
  */
393
460
  verificationMode?: string;
394
461
  static names(): { [key: string]: string } {