@alicloud/eiam20211201 2.17.4 → 2.17.6
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/dist/client.d.ts +6 -6
- package/dist/client.js +16 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CheckInstanceModuleStatusRequest.d.ts +2 -0
- package/dist/models/CheckInstanceModuleStatusRequest.js +4 -0
- package/dist/models/CheckInstanceModuleStatusRequest.js.map +1 -1
- package/dist/models/CheckInstanceModuleStatusResponseBody.d.ts +1 -1
- package/dist/models/CreateCredentialProviderRequest.d.ts +43 -14
- package/dist/models/CreateCredentialProviderRequest.js +14 -0
- package/dist/models/CreateCredentialProviderRequest.js.map +1 -1
- package/dist/models/GetCredentialProviderResponseBody.d.ts +51 -15
- package/dist/models/GetCredentialProviderResponseBody.js +16 -0
- package/dist/models/GetCredentialProviderResponseBody.js.map +1 -1
- package/dist/models/GetNetworkAccessEndpointRequest.d.ts +1 -1
- package/dist/models/GetNetworkAccessEndpointResponseBody.d.ts +28 -9
- package/dist/models/GetNetworkAccessEndpointResponseBody.js +44 -1
- package/dist/models/GetNetworkAccessEndpointResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +23 -2
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/ListApplicationsResponseBody.d.ts +2 -2
- package/dist/models/ListCredentialProvidersRequest.d.ts +0 -3
- package/dist/models/ListCredentialProvidersRequest.js.map +1 -1
- package/dist/models/ListCredentialProvidersResponseBody.d.ts +51 -28
- package/dist/models/ListCredentialProvidersResponseBody.js +16 -0
- package/dist/models/ListCredentialProvidersResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +1 -0
- package/dist/models/ListInstancesRequest.js +2 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +4 -1
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/ListNetworkAccessEndpointsRequest.d.ts +13 -17
- package/dist/models/ListNetworkAccessEndpointsRequest.js.map +1 -1
- package/dist/models/ListNetworkAccessEndpointsResponseBody.d.ts +38 -23
- package/dist/models/ListNetworkAccessEndpointsResponseBody.js +44 -1
- package/dist/models/ListNetworkAccessEndpointsResponseBody.js.map +1 -1
- package/dist/models/ListNetworkAccessPathsRequest.d.ts +1 -1
- package/dist/models/ListNetworkAccessPathsResponseBody.d.ts +16 -13
- package/dist/models/ListNetworkAccessPathsResponseBody.js +6 -0
- package/dist/models/ListNetworkAccessPathsResponseBody.js.map +1 -1
- package/dist/models/UpdateCredentialProviderRequest.d.ts +39 -6
- package/dist/models/UpdateCredentialProviderRequest.js +14 -0
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +38 -34
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +19 -6
- package/src/models/CheckInstanceModuleStatusRequest.ts +6 -0
- package/src/models/CheckInstanceModuleStatusResponseBody.ts +1 -1
- package/src/models/CreateCredentialProviderRequest.ts +57 -14
- package/src/models/GetCredentialProviderResponseBody.ts +67 -15
- package/src/models/GetNetworkAccessEndpointRequest.ts +1 -1
- package/src/models/GetNetworkAccessEndpointResponseBody.ts +62 -9
- package/src/models/ListApplicationsRequest.ts +23 -2
- package/src/models/ListApplicationsResponseBody.ts +2 -2
- package/src/models/ListCredentialProvidersRequest.ts +0 -3
- package/src/models/ListCredentialProvidersResponseBody.ts +67 -28
- package/src/models/ListInstancesRequest.ts +3 -0
- package/src/models/ListInstancesResponseBody.ts +4 -1
- package/src/models/ListNetworkAccessEndpointsRequest.ts +14 -18
- package/src/models/ListNetworkAccessEndpointsResponseBody.ts +73 -24
- package/src/models/ListNetworkAccessPathsRequest.ts +1 -1
- package/src/models/ListNetworkAccessPathsResponseBody.ts +22 -13
- package/src/models/UpdateCredentialProviderRequest.ts +53 -6
- package/src/models/model.ts +2 -0
|
@@ -10,7 +10,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
10
10
|
allowedTokenIssuers?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Specifies whether to enable the JWT derived short token capability.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* false
|
|
@@ -18,7 +18,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
18
18
|
derivedShortTokenEnabled?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The validity period of the JWT
|
|
21
|
+
* The validity period of the JWT. Unit: seconds.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 900
|
|
@@ -26,7 +26,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
26
26
|
expiration?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* Specifies whether to enable JWT expiration cleanup.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* true
|
|
@@ -42,7 +42,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
42
42
|
issuer?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The JWKs endpoint
|
|
45
|
+
* The JWKs endpoint address.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* https://example123456.aliyunidaas.com/api/v2/auths_ngz2wj35ixxxdyat55nexxxxxx/oauth2/jwks
|
|
@@ -83,6 +83,16 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export class GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The endpoint address used to guide users through authorization. This parameter is conditionally required: it is required when AuthorizationFlow is set to user_federation and ProviderVendor is set to custom. For preset vendors, this value can be automatically populated through DiscoveryUrl.
|
|
89
|
+
*/
|
|
90
|
+
authorizationEndpoint?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The OAuth authorization flow type. Valid values: m2m: machine-to-machine (2LO, Client Credentials). user_federation: user federation (3LO, Authorization Code).
|
|
94
|
+
*/
|
|
95
|
+
authorizationFlow?: string;
|
|
86
96
|
/**
|
|
87
97
|
* @remarks
|
|
88
98
|
* The client_id in the OAuth protocol.
|
|
@@ -93,9 +103,30 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
93
103
|
clientId?: string;
|
|
94
104
|
/**
|
|
95
105
|
* @remarks
|
|
96
|
-
* The
|
|
106
|
+
* The URL of the discovery document used to automatically obtain OAuth endpoint configurations. This parameter is conditionally optional: it is used when AuthorizationFlow is set to user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
107
|
+
*/
|
|
108
|
+
discoveryUrl?: string;
|
|
109
|
+
issuer?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
113
|
+
*/
|
|
114
|
+
pkceChallengeMethod?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
118
|
+
*/
|
|
119
|
+
pkceEnabled?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The preset vendor or custom configuration. This parameter is optional. Default value: custom.
|
|
123
|
+
*/
|
|
124
|
+
providerVendor?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
97
128
|
*
|
|
98
|
-
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for issuance.
|
|
129
|
+
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for token issuance.
|
|
99
130
|
*
|
|
100
131
|
* >Notice: Multiple scope values are separated by spaces.
|
|
101
132
|
*
|
|
@@ -103,6 +134,11 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
103
134
|
* example:test_01 example:test_02
|
|
104
135
|
*/
|
|
105
136
|
scope?: string;
|
|
137
|
+
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* The redirect URI automatically generated by the system when the credential provider is created. Configure this value as the redirect_uri in the OAuth provider.
|
|
140
|
+
*/
|
|
141
|
+
systemRedirectUri?: string;
|
|
106
142
|
/**
|
|
107
143
|
* @remarks
|
|
108
144
|
* The token endpoint of the OAuth protocol.
|
|
@@ -113,16 +149,32 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
113
149
|
tokenEndpoint?: string;
|
|
114
150
|
static names(): { [key: string]: string } {
|
|
115
151
|
return {
|
|
152
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
153
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
116
154
|
clientId: 'ClientId',
|
|
155
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
156
|
+
issuer: 'Issuer',
|
|
157
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
158
|
+
pkceEnabled: 'PkceEnabled',
|
|
159
|
+
providerVendor: 'ProviderVendor',
|
|
117
160
|
scope: 'Scope',
|
|
161
|
+
systemRedirectUri: 'SystemRedirectUri',
|
|
118
162
|
tokenEndpoint: 'TokenEndpoint',
|
|
119
163
|
};
|
|
120
164
|
}
|
|
121
165
|
|
|
122
166
|
static types(): { [key: string]: any } {
|
|
123
167
|
return {
|
|
168
|
+
authorizationEndpoint: 'string',
|
|
169
|
+
authorizationFlow: 'string',
|
|
124
170
|
clientId: 'string',
|
|
171
|
+
discoveryUrl: 'string',
|
|
172
|
+
issuer: 'string',
|
|
173
|
+
pkceChallengeMethod: 'string',
|
|
174
|
+
pkceEnabled: 'boolean',
|
|
175
|
+
providerVendor: 'string',
|
|
125
176
|
scope: 'string',
|
|
177
|
+
systemRedirectUri: 'string',
|
|
126
178
|
tokenEndpoint: 'string',
|
|
127
179
|
};
|
|
128
180
|
}
|
|
@@ -149,7 +201,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
149
201
|
OAuthProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig;
|
|
150
202
|
/**
|
|
151
203
|
* @remarks
|
|
152
|
-
* The list of credential IDs
|
|
204
|
+
* The list of credential IDs that correspond to the sensitive configurations of the credential provider.
|
|
153
205
|
*
|
|
154
206
|
* > The system securely stores the sensitive configuration information of the credential provider in the form of credentials.
|
|
155
207
|
*/
|
|
@@ -191,7 +243,7 @@ export class GetCredentialProviderResponseBodyCredentialProviderCredentialProvid
|
|
|
191
243
|
export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.Model {
|
|
192
244
|
/**
|
|
193
245
|
* @remarks
|
|
194
|
-
* The
|
|
246
|
+
* The time when the credential provider was created. The value is a UNIX timestamp in milliseconds.
|
|
195
247
|
*
|
|
196
248
|
* @example
|
|
197
249
|
* 1649830225000
|
|
@@ -199,12 +251,12 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
199
251
|
createTime?: number;
|
|
200
252
|
/**
|
|
201
253
|
* @remarks
|
|
202
|
-
* The credential provider
|
|
254
|
+
* The configuration of the credential provider.
|
|
203
255
|
*/
|
|
204
256
|
credentialProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfig;
|
|
205
257
|
/**
|
|
206
258
|
* @remarks
|
|
207
|
-
* The credential provider
|
|
259
|
+
* The creation type of the credential provider. Valid values:
|
|
208
260
|
*
|
|
209
261
|
* - system_init: Created by the system.
|
|
210
262
|
* - user_custom: Created by the user.
|
|
@@ -223,7 +275,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
223
275
|
credentialProviderId?: string;
|
|
224
276
|
/**
|
|
225
277
|
* @remarks
|
|
226
|
-
* The credential provider
|
|
278
|
+
* The business identifier of the credential provider.
|
|
227
279
|
*
|
|
228
280
|
* @example
|
|
229
281
|
* test_example_identifier
|
|
@@ -231,7 +283,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
231
283
|
credentialProviderIdentifier?: string;
|
|
232
284
|
/**
|
|
233
285
|
* @remarks
|
|
234
|
-
* The credential provider
|
|
286
|
+
* The name of the credential provider.
|
|
235
287
|
*
|
|
236
288
|
* @example
|
|
237
289
|
* test_example_name
|
|
@@ -239,7 +291,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
239
291
|
credentialProviderName?: string;
|
|
240
292
|
/**
|
|
241
293
|
* @remarks
|
|
242
|
-
* The credential provider
|
|
294
|
+
* The type of the credential provider. Valid values:
|
|
243
295
|
*
|
|
244
296
|
* - oauth: OAuth credential provider.
|
|
245
297
|
* - jwt: JWT credential provider.
|
|
@@ -266,7 +318,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
266
318
|
instanceId?: string;
|
|
267
319
|
/**
|
|
268
320
|
* @remarks
|
|
269
|
-
* The credential provider
|
|
321
|
+
* The status of the credential provider. Valid values:
|
|
270
322
|
*
|
|
271
323
|
* - enabled: Enabled.
|
|
272
324
|
* - disabled: Disabled.
|
|
@@ -277,7 +329,7 @@ export class GetCredentialProviderResponseBodyCredentialProvider extends $dara.M
|
|
|
277
329
|
status?: string;
|
|
278
330
|
/**
|
|
279
331
|
* @remarks
|
|
280
|
-
* The
|
|
332
|
+
* The time when the credential provider was last updated. The value is a UNIX timestamp in milliseconds.
|
|
281
333
|
*
|
|
282
334
|
* @example
|
|
283
335
|
* 1649830225000
|
|
@@ -2,7 +2,55 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint extends $dara.Model {
|
|
6
|
+
backupEgressPrivateIpAddresses?: string[];
|
|
7
|
+
backupEgressPublicIpAddresses?: string[];
|
|
8
|
+
backupSecurityGroupId?: string;
|
|
9
|
+
backupVSwitchIds?: string[];
|
|
10
|
+
backupVpcId?: string;
|
|
11
|
+
backupVpcRegionId?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
backupEgressPrivateIpAddresses: 'BackupEgressPrivateIpAddresses',
|
|
15
|
+
backupEgressPublicIpAddresses: 'BackupEgressPublicIpAddresses',
|
|
16
|
+
backupSecurityGroupId: 'BackupSecurityGroupId',
|
|
17
|
+
backupVSwitchIds: 'BackupVSwitchIds',
|
|
18
|
+
backupVpcId: 'BackupVpcId',
|
|
19
|
+
backupVpcRegionId: 'BackupVpcRegionId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
backupEgressPrivateIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
26
|
+
backupEgressPublicIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
27
|
+
backupSecurityGroupId: 'string',
|
|
28
|
+
backupVSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
backupVpcId: 'string',
|
|
30
|
+
backupVpcRegionId: 'string',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
validate() {
|
|
35
|
+
if(Array.isArray(this.backupEgressPrivateIpAddresses)) {
|
|
36
|
+
$dara.Model.validateArray(this.backupEgressPrivateIpAddresses);
|
|
37
|
+
}
|
|
38
|
+
if(Array.isArray(this.backupEgressPublicIpAddresses)) {
|
|
39
|
+
$dara.Model.validateArray(this.backupEgressPublicIpAddresses);
|
|
40
|
+
}
|
|
41
|
+
if(Array.isArray(this.backupVSwitchIds)) {
|
|
42
|
+
$dara.Model.validateArray(this.backupVSwitchIds);
|
|
43
|
+
}
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
5
52
|
export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $dara.Model {
|
|
53
|
+
backupVpcEndpoint?: GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint;
|
|
6
54
|
/**
|
|
7
55
|
* @remarks
|
|
8
56
|
* The time when the network access endpoint was created. The value is a UNIX timestamp in milliseconds.
|
|
@@ -13,7 +61,7 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
13
61
|
createTime?: number;
|
|
14
62
|
/**
|
|
15
63
|
* @remarks
|
|
16
|
-
* The private egress IP
|
|
64
|
+
* The private egress IP address range of the dedicated network access endpoint. This parameter is returned only when NetworkEndpointType is set to private.
|
|
17
65
|
*
|
|
18
66
|
* @example
|
|
19
67
|
* 172.168.x.x
|
|
@@ -21,7 +69,7 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
21
69
|
egressPrivateIpAddresses?: string[];
|
|
22
70
|
/**
|
|
23
71
|
* @remarks
|
|
24
|
-
* The public egress IP
|
|
72
|
+
* The public egress IP address range of the shared network access endpoint. This parameter is returned only when NetworkEndpointType is set to shared.
|
|
25
73
|
*
|
|
26
74
|
* @example
|
|
27
75
|
* 203.0.XX.XX/27
|
|
@@ -37,7 +85,7 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
37
85
|
instanceId?: string;
|
|
38
86
|
/**
|
|
39
87
|
* @remarks
|
|
40
|
-
* The dedicated network access endpoint
|
|
88
|
+
* The ID of the dedicated network access endpoint.
|
|
41
89
|
*
|
|
42
90
|
* @example
|
|
43
91
|
* nae_examplexxx
|
|
@@ -55,8 +103,8 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
55
103
|
* @remarks
|
|
56
104
|
* The type of the network access endpoint. Valid values:
|
|
57
105
|
*
|
|
58
|
-
* - shared:
|
|
59
|
-
* - private:
|
|
106
|
+
* - shared: Shared network access endpoint.
|
|
107
|
+
* - private: Dedicated network access endpoint.
|
|
60
108
|
*
|
|
61
109
|
* @example
|
|
62
110
|
* private
|
|
@@ -74,10 +122,10 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
74
122
|
* @remarks
|
|
75
123
|
* The status of the network access endpoint. Valid values:
|
|
76
124
|
*
|
|
77
|
-
* - pending:
|
|
78
|
-
* - creating:
|
|
79
|
-
* - running:
|
|
80
|
-
* - deleting:
|
|
125
|
+
* - pending: Pending initialization.
|
|
126
|
+
* - creating: Being created.
|
|
127
|
+
* - running: Running.
|
|
128
|
+
* - deleting: Being deleted.
|
|
81
129
|
*
|
|
82
130
|
* @example
|
|
83
131
|
* running
|
|
@@ -117,6 +165,7 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
117
165
|
vpcRegionId?: string;
|
|
118
166
|
static names(): { [key: string]: string } {
|
|
119
167
|
return {
|
|
168
|
+
backupVpcEndpoint: 'BackupVpcEndpoint',
|
|
120
169
|
createTime: 'CreateTime',
|
|
121
170
|
egressPrivateIpAddresses: 'EgressPrivateIpAddresses',
|
|
122
171
|
egressPublicIpAddresses: 'EgressPublicIpAddresses',
|
|
@@ -135,6 +184,7 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
135
184
|
|
|
136
185
|
static types(): { [key: string]: any } {
|
|
137
186
|
return {
|
|
187
|
+
backupVpcEndpoint: GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint,
|
|
138
188
|
createTime: 'number',
|
|
139
189
|
egressPrivateIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
140
190
|
egressPublicIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -152,6 +202,9 @@ export class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $
|
|
|
152
202
|
}
|
|
153
203
|
|
|
154
204
|
validate() {
|
|
205
|
+
if(this.backupVpcEndpoint && typeof (this.backupVpcEndpoint as any).validate === 'function') {
|
|
206
|
+
(this.backupVpcEndpoint as any).validate();
|
|
207
|
+
}
|
|
155
208
|
if(Array.isArray(this.egressPrivateIpAddresses)) {
|
|
156
209
|
$dara.Model.validateArray(this.egressPrivateIpAddresses);
|
|
157
210
|
}
|
|
@@ -6,7 +6,7 @@ export class ListApplicationsRequestCustomFields extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The custom field identifier. Valid values:
|
|
9
|
-
* - agent_type:
|
|
9
|
+
* - agent_type: The agent type.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* agent_type
|
|
@@ -76,6 +76,13 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
76
76
|
* Ram Account SSO
|
|
77
77
|
*/
|
|
78
78
|
applicationName?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The application template ID.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* apt_ramuser_xxxx
|
|
85
|
+
*/
|
|
79
86
|
applicationTemplateId?: string;
|
|
80
87
|
/**
|
|
81
88
|
* @remarks
|
|
@@ -110,6 +117,13 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
110
117
|
* enabled
|
|
111
118
|
*/
|
|
112
119
|
m2MClientStatus?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The ServiceCode of the cloud service that manages the application template.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* waf
|
|
126
|
+
*/
|
|
113
127
|
managedServiceCode?: string;
|
|
114
128
|
/**
|
|
115
129
|
* @remarks
|
|
@@ -135,10 +149,17 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
135
149
|
* enabled
|
|
136
150
|
*/
|
|
137
151
|
resourceServerStatus?: string;
|
|
152
|
+
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* Specifies whether the application template is managed by a cloud service.
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* true
|
|
158
|
+
*/
|
|
138
159
|
serviceManaged?: boolean;
|
|
139
160
|
/**
|
|
140
161
|
* @remarks
|
|
141
|
-
* The SSO type filter condition. Multiple types can be separated by commas
|
|
162
|
+
* The SSO type filter condition. Multiple types can be separated by commas. Example: oauth2/m2m,oidc+oauth2/m2m.
|
|
142
163
|
*
|
|
143
164
|
* @example
|
|
144
165
|
* oauth2/m2m
|
|
@@ -110,7 +110,7 @@ export class ListApplicationsResponseBodyApplications extends $dara.Model {
|
|
|
110
110
|
logoUrl?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The ServiceCode of the
|
|
113
|
+
* The ServiceCode of the cloud service that manages the application template.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
116
|
* rpa
|
|
@@ -142,7 +142,7 @@ export class ListApplicationsResponseBodyApplications extends $dara.Model {
|
|
|
142
142
|
resourceServerStatus?: string;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
*
|
|
145
|
+
* Specifies whether the application template is managed by a cloud service.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* true
|
|
@@ -7,9 +7,6 @@ export class ListCredentialProvidersRequestFilter extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The filter condition name. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - CredentialProviderName: the credential provider name.
|
|
11
|
-
* - CredentialProviderIdentifier: the credential provider identifier.
|
|
12
|
-
*
|
|
13
10
|
* @example
|
|
14
11
|
* CredentialProviderName
|
|
15
12
|
*/
|
|
@@ -10,7 +10,7 @@ export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialPro
|
|
|
10
10
|
allowedTokenIssuers?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Specifies whether to enable the JWT-derived short token capability.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* false
|
|
@@ -26,7 +26,7 @@ export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialPro
|
|
|
26
26
|
expiration?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* Specifies whether to enable JWT expiration cleanup.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* true
|
|
@@ -85,24 +85,58 @@ export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialPro
|
|
|
85
85
|
export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The
|
|
88
|
+
* The endpoint URL used to guide users through authorization. Conditionally required: this parameter is required when AuthorizationFlow is set to user_federation and ProviderVendor is set to custom. For preset vendors, this value can be automatically populated through DiscoveryUrl.
|
|
89
|
+
*/
|
|
90
|
+
authorizationEndpoint?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The OAuth authorization flow type. Valid values:
|
|
94
|
+
* - m2m: machine-to-machine (2LO, Client Credentials).
|
|
95
|
+
* - user_federation: user federation (3LO, Authorization Code).
|
|
96
|
+
*/
|
|
97
|
+
authorizationFlow?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The client_id in the OAuth protocol.
|
|
89
101
|
*
|
|
90
102
|
* @example
|
|
91
103
|
* client_id_example_xxx
|
|
92
104
|
*/
|
|
93
105
|
clientId?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The URL of the discovery document used to automatically obtain OAuth endpoint configurations. Conditionally optional: used when AuthorizationFlow is set to user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
109
|
+
*/
|
|
110
|
+
discoveryUrl?: string;
|
|
111
|
+
issuer?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The method used to generate the PKCE code_challenge. Default value: s256.
|
|
115
|
+
*/
|
|
116
|
+
pkceChallengeMethod?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
120
|
+
*/
|
|
121
|
+
pkceEnabled?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The preset vendor or custom configuration. Optional. Default value: custom.
|
|
125
|
+
*/
|
|
126
|
+
providerVendor?: string;
|
|
94
127
|
/**
|
|
95
128
|
* @remarks
|
|
96
129
|
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
97
130
|
*
|
|
98
|
-
* > The Scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the Scope configuration of the credential provider is used for token issuance.
|
|
99
|
-
*
|
|
100
|
-
* >Notice: Multiple Scope values are separated by spaces.
|
|
101
|
-
*
|
|
102
131
|
* @example
|
|
103
132
|
* example:test_01 example:test_02
|
|
104
133
|
*/
|
|
105
134
|
scope?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* The redirect URI automatically generated by the system when the credential provider is created. Configure this value as the redirect_uri in the OAuth provider.
|
|
138
|
+
*/
|
|
139
|
+
systemRedirectUri?: string;
|
|
106
140
|
/**
|
|
107
141
|
* @remarks
|
|
108
142
|
* The token endpoint of the OAuth protocol.
|
|
@@ -113,16 +147,32 @@ export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialPro
|
|
|
113
147
|
tokenEndpoint?: string;
|
|
114
148
|
static names(): { [key: string]: string } {
|
|
115
149
|
return {
|
|
150
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
151
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
116
152
|
clientId: 'ClientId',
|
|
153
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
154
|
+
issuer: 'Issuer',
|
|
155
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
156
|
+
pkceEnabled: 'PkceEnabled',
|
|
157
|
+
providerVendor: 'ProviderVendor',
|
|
117
158
|
scope: 'Scope',
|
|
159
|
+
systemRedirectUri: 'SystemRedirectUri',
|
|
118
160
|
tokenEndpoint: 'TokenEndpoint',
|
|
119
161
|
};
|
|
120
162
|
}
|
|
121
163
|
|
|
122
164
|
static types(): { [key: string]: any } {
|
|
123
165
|
return {
|
|
166
|
+
authorizationEndpoint: 'string',
|
|
167
|
+
authorizationFlow: 'string',
|
|
124
168
|
clientId: 'string',
|
|
169
|
+
discoveryUrl: 'string',
|
|
170
|
+
issuer: 'string',
|
|
171
|
+
pkceChallengeMethod: 'string',
|
|
172
|
+
pkceEnabled: 'boolean',
|
|
173
|
+
providerVendor: 'string',
|
|
125
174
|
scope: 'string',
|
|
175
|
+
systemRedirectUri: 'string',
|
|
126
176
|
tokenEndpoint: 'string',
|
|
127
177
|
};
|
|
128
178
|
}
|
|
@@ -139,19 +189,17 @@ export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialPro
|
|
|
139
189
|
export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfig extends $dara.Model {
|
|
140
190
|
/**
|
|
141
191
|
* @remarks
|
|
142
|
-
* The configuration of the JWT credential provider.
|
|
192
|
+
* The configuration of the JWT-type credential provider.
|
|
143
193
|
*/
|
|
144
194
|
jwtProviderConfig?: ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfigJwtProviderConfig;
|
|
145
195
|
/**
|
|
146
196
|
* @remarks
|
|
147
|
-
* The configuration of the OAuth credential provider.
|
|
197
|
+
* The configuration of the OAuth-type credential provider.
|
|
148
198
|
*/
|
|
149
199
|
OAuthProviderConfig?: ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfigOAuthProviderConfig;
|
|
150
200
|
/**
|
|
151
201
|
* @remarks
|
|
152
|
-
* The list of credential IDs that correspond to the sensitive
|
|
153
|
-
*
|
|
154
|
-
* > The system securely stores the sensitive configuration of the credential provider as credentials.
|
|
202
|
+
* The list of credential IDs that correspond to the sensitive configurations of the credential provider.
|
|
155
203
|
*/
|
|
156
204
|
providerCredentialIds?: string[];
|
|
157
205
|
static names(): { [key: string]: string } {
|
|
@@ -191,7 +239,7 @@ export class ListCredentialProvidersResponseBodyCredentialProvidersCredentialPro
|
|
|
191
239
|
export class ListCredentialProvidersResponseBodyCredentialProviders extends $dara.Model {
|
|
192
240
|
/**
|
|
193
241
|
* @remarks
|
|
194
|
-
* The
|
|
242
|
+
* The time when the credential provider was created. The value is a UNIX timestamp in milliseconds.
|
|
195
243
|
*
|
|
196
244
|
* @example
|
|
197
245
|
* 1649830225000
|
|
@@ -199,16 +247,13 @@ export class ListCredentialProvidersResponseBodyCredentialProviders extends $dar
|
|
|
199
247
|
createTime?: number;
|
|
200
248
|
/**
|
|
201
249
|
* @remarks
|
|
202
|
-
* The credential provider
|
|
250
|
+
* The configuration of the credential provider.
|
|
203
251
|
*/
|
|
204
252
|
credentialProviderConfig?: ListCredentialProvidersResponseBodyCredentialProvidersCredentialProviderConfig;
|
|
205
253
|
/**
|
|
206
254
|
* @remarks
|
|
207
255
|
* The creation type of the credential provider. Valid values:
|
|
208
256
|
*
|
|
209
|
-
* - system_init: Created by the system.
|
|
210
|
-
* - user_custom: Created by the user.
|
|
211
|
-
*
|
|
212
257
|
* @example
|
|
213
258
|
* user_custom
|
|
214
259
|
*/
|
|
@@ -223,7 +268,7 @@ export class ListCredentialProvidersResponseBodyCredentialProviders extends $dar
|
|
|
223
268
|
credentialProviderId?: string;
|
|
224
269
|
/**
|
|
225
270
|
* @remarks
|
|
226
|
-
* The credential provider
|
|
271
|
+
* The business identifier of the credential provider.
|
|
227
272
|
*
|
|
228
273
|
* @example
|
|
229
274
|
* test_example_identifier
|
|
@@ -231,7 +276,7 @@ export class ListCredentialProvidersResponseBodyCredentialProviders extends $dar
|
|
|
231
276
|
credentialProviderIdentifier?: string;
|
|
232
277
|
/**
|
|
233
278
|
* @remarks
|
|
234
|
-
* The credential provider
|
|
279
|
+
* The name of the credential provider.
|
|
235
280
|
*
|
|
236
281
|
* @example
|
|
237
282
|
* test_example_name
|
|
@@ -241,16 +286,13 @@ export class ListCredentialProvidersResponseBodyCredentialProviders extends $dar
|
|
|
241
286
|
* @remarks
|
|
242
287
|
* The credential provider type. Valid values:
|
|
243
288
|
*
|
|
244
|
-
* - oauth: OAuth credential provider.
|
|
245
|
-
* - jwt: JWT credential provider.
|
|
246
|
-
*
|
|
247
289
|
* @example
|
|
248
290
|
* oauth
|
|
249
291
|
*/
|
|
250
292
|
credentialProviderType?: string;
|
|
251
293
|
/**
|
|
252
294
|
* @remarks
|
|
253
|
-
* The description.
|
|
295
|
+
* The description of the credential provider.
|
|
254
296
|
*
|
|
255
297
|
* @example
|
|
256
298
|
* This is an example description
|
|
@@ -268,16 +310,13 @@ export class ListCredentialProvidersResponseBodyCredentialProviders extends $dar
|
|
|
268
310
|
* @remarks
|
|
269
311
|
* The credential provider status. Valid values:
|
|
270
312
|
*
|
|
271
|
-
* - enabled: Enabled.
|
|
272
|
-
* - disabled: Disabled.
|
|
273
|
-
*
|
|
274
313
|
* @example
|
|
275
314
|
* enabled
|
|
276
315
|
*/
|
|
277
316
|
status?: string;
|
|
278
317
|
/**
|
|
279
318
|
* @remarks
|
|
280
|
-
* The
|
|
319
|
+
* The time when the credential provider was last updated. The value is a UNIX timestamp in milliseconds.
|
|
281
320
|
*
|
|
282
321
|
* @example
|
|
283
322
|
* 1649830225000
|
|
@@ -343,7 +382,7 @@ export class ListCredentialProvidersResponseBody extends $dara.Model {
|
|
|
343
382
|
maxResults?: number;
|
|
344
383
|
/**
|
|
345
384
|
* @remarks
|
|
346
|
-
* The pagination token returned
|
|
385
|
+
* The pagination token returned in this call.
|
|
347
386
|
*
|
|
348
387
|
* @example
|
|
349
388
|
* NTxxxexample
|
|
@@ -45,6 +45,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
45
45
|
* 20
|
|
46
46
|
*/
|
|
47
47
|
pageSize?: number;
|
|
48
|
+
serviceManaged?: boolean;
|
|
48
49
|
/**
|
|
49
50
|
* @remarks
|
|
50
51
|
* The instance status. Valid values:
|
|
@@ -62,6 +63,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
62
63
|
instanceIds: 'InstanceIds',
|
|
63
64
|
pageNumber: 'PageNumber',
|
|
64
65
|
pageSize: 'PageSize',
|
|
66
|
+
serviceManaged: 'ServiceManaged',
|
|
65
67
|
status: 'Status',
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -73,6 +75,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
73
75
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
74
76
|
pageNumber: 'number',
|
|
75
77
|
pageSize: 'number',
|
|
78
|
+
serviceManaged: 'boolean',
|
|
76
79
|
status: 'string',
|
|
77
80
|
};
|
|
78
81
|
}
|