@alicloud/eiam20211201 2.5.2 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +45 -0
- package/dist/client.js +132 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetApplicationAdvancedConfigRequest.d.ts +33 -0
- package/dist/models/GetApplicationAdvancedConfigRequest.js +60 -0
- package/dist/models/GetApplicationAdvancedConfigRequest.js.map +1 -0
- package/dist/models/GetApplicationAdvancedConfigResponse.d.ts +19 -0
- package/dist/models/GetApplicationAdvancedConfigResponse.js +69 -0
- package/dist/models/GetApplicationAdvancedConfigResponse.js.map +1 -0
- package/dist/models/GetApplicationAdvancedConfigResponseBody.d.ts +77 -0
- package/dist/models/GetApplicationAdvancedConfigResponseBody.js +113 -0
- package/dist/models/GetApplicationAdvancedConfigResponseBody.js.map +1 -0
- package/dist/models/GetInstanceResponseBody.d.ts +13 -0
- package/dist/models/GetInstanceResponseBody.js +4 -0
- package/dist/models/GetInstanceResponseBody.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +6 -0
- package/dist/models/ListInstancesResponseBody.js +4 -0
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationAdvancedConfigRequest.d.ts +63 -0
- package/dist/models/UpdateApplicationAdvancedConfigRequest.js +89 -0
- package/dist/models/UpdateApplicationAdvancedConfigRequest.js.map +1 -0
- package/dist/models/UpdateApplicationAdvancedConfigResponse.d.ts +19 -0
- package/dist/models/UpdateApplicationAdvancedConfigResponse.js +69 -0
- package/dist/models/UpdateApplicationAdvancedConfigResponse.js.map +1 -0
- package/dist/models/UpdateApplicationAdvancedConfigResponseBody.d.ts +18 -0
- package/dist/models/UpdateApplicationAdvancedConfigResponseBody.js +58 -0
- package/dist/models/UpdateApplicationAdvancedConfigResponseBody.js.map +1 -0
- package/dist/models/UpdateApplicationSsoFormParamsRequest.d.ts +68 -0
- package/dist/models/UpdateApplicationSsoFormParamsRequest.js +86 -0
- package/dist/models/UpdateApplicationSsoFormParamsRequest.js.map +1 -0
- package/dist/models/UpdateApplicationSsoFormParamsResponse.d.ts +19 -0
- package/dist/models/UpdateApplicationSsoFormParamsResponse.js +69 -0
- package/dist/models/UpdateApplicationSsoFormParamsResponse.js.map +1 -0
- package/dist/models/UpdateApplicationSsoFormParamsResponseBody.d.ts +18 -0
- package/dist/models/UpdateApplicationSsoFormParamsResponseBody.js +58 -0
- package/dist/models/UpdateApplicationSsoFormParamsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +45 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +146 -0
- package/src/models/GetApplicationAdvancedConfigRequest.ts +48 -0
- package/src/models/GetApplicationAdvancedConfigResponse.ts +40 -0
- package/src/models/GetApplicationAdvancedConfigResponseBody.ts +127 -0
- package/src/models/GetInstanceResponseBody.ts +17 -0
- package/src/models/ListInstancesResponseBody.ts +10 -0
- package/src/models/UpdateApplicationAdvancedConfigRequest.ts +98 -0
- package/src/models/UpdateApplicationAdvancedConfigResponse.ts +40 -0
- package/src/models/UpdateApplicationAdvancedConfigResponseBody.ts +31 -0
- package/src/models/UpdateApplicationSsoFormParamsRequest.ts +100 -0
- package/src/models/UpdateApplicationSsoFormParamsResponse.ts +40 -0
- package/src/models/UpdateApplicationSsoFormParamsResponseBody.ts +31 -0
- package/src/models/model.ts +13 -0
package/src/client.ts
CHANGED
|
@@ -3957,6 +3957,52 @@ export default class Client extends OpenApi {
|
|
|
3957
3957
|
return await this.getApplicationWithOptions(request, runtime);
|
|
3958
3958
|
}
|
|
3959
3959
|
|
|
3960
|
+
/**
|
|
3961
|
+
* 获取应用高阶配置
|
|
3962
|
+
*
|
|
3963
|
+
* @param request - GetApplicationAdvancedConfigRequest
|
|
3964
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3965
|
+
* @returns GetApplicationAdvancedConfigResponse
|
|
3966
|
+
*/
|
|
3967
|
+
async getApplicationAdvancedConfigWithOptions(request: $_model.GetApplicationAdvancedConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetApplicationAdvancedConfigResponse> {
|
|
3968
|
+
request.validate();
|
|
3969
|
+
let query = { };
|
|
3970
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
3971
|
+
query["ApplicationId"] = request.applicationId;
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3974
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3975
|
+
query["InstanceId"] = request.instanceId;
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3979
|
+
query: OpenApiUtil.query(query),
|
|
3980
|
+
});
|
|
3981
|
+
let params = new $OpenApiUtil.Params({
|
|
3982
|
+
action: "GetApplicationAdvancedConfig",
|
|
3983
|
+
version: "2021-12-01",
|
|
3984
|
+
protocol: "HTTPS",
|
|
3985
|
+
pathname: "/",
|
|
3986
|
+
method: "POST",
|
|
3987
|
+
authType: "AK",
|
|
3988
|
+
style: "RPC",
|
|
3989
|
+
reqBodyType: "formData",
|
|
3990
|
+
bodyType: "json",
|
|
3991
|
+
});
|
|
3992
|
+
return $dara.cast<$_model.GetApplicationAdvancedConfigResponse>(await this.callApi(params, req, runtime), new $_model.GetApplicationAdvancedConfigResponse({}));
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
/**
|
|
3996
|
+
* 获取应用高阶配置
|
|
3997
|
+
*
|
|
3998
|
+
* @param request - GetApplicationAdvancedConfigRequest
|
|
3999
|
+
* @returns GetApplicationAdvancedConfigResponse
|
|
4000
|
+
*/
|
|
4001
|
+
async getApplicationAdvancedConfig(request: $_model.GetApplicationAdvancedConfigRequest): Promise<$_model.GetApplicationAdvancedConfigResponse> {
|
|
4002
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4003
|
+
return await this.getApplicationAdvancedConfigWithOptions(request, runtime);
|
|
4004
|
+
}
|
|
4005
|
+
|
|
3960
4006
|
/**
|
|
3961
4007
|
* 获取应用联邦凭证
|
|
3962
4008
|
*
|
|
@@ -9179,6 +9225,56 @@ export default class Client extends OpenApi {
|
|
|
9179
9225
|
return await this.unlockUserWithOptions(request, runtime);
|
|
9180
9226
|
}
|
|
9181
9227
|
|
|
9228
|
+
/**
|
|
9229
|
+
* 修改应用高阶配置
|
|
9230
|
+
*
|
|
9231
|
+
* @param request - UpdateApplicationAdvancedConfigRequest
|
|
9232
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9233
|
+
* @returns UpdateApplicationAdvancedConfigResponse
|
|
9234
|
+
*/
|
|
9235
|
+
async updateApplicationAdvancedConfigWithOptions(request: $_model.UpdateApplicationAdvancedConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApplicationAdvancedConfigResponse> {
|
|
9236
|
+
request.validate();
|
|
9237
|
+
let query = { };
|
|
9238
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
9239
|
+
query["ApplicationId"] = request.applicationId;
|
|
9240
|
+
}
|
|
9241
|
+
|
|
9242
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9243
|
+
query["InstanceId"] = request.instanceId;
|
|
9244
|
+
}
|
|
9245
|
+
|
|
9246
|
+
if (!$dara.isNull(request.scimServerAdvancedConfig)) {
|
|
9247
|
+
query["ScimServerAdvancedConfig"] = request.scimServerAdvancedConfig;
|
|
9248
|
+
}
|
|
9249
|
+
|
|
9250
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9251
|
+
query: OpenApiUtil.query(query),
|
|
9252
|
+
});
|
|
9253
|
+
let params = new $OpenApiUtil.Params({
|
|
9254
|
+
action: "UpdateApplicationAdvancedConfig",
|
|
9255
|
+
version: "2021-12-01",
|
|
9256
|
+
protocol: "HTTPS",
|
|
9257
|
+
pathname: "/",
|
|
9258
|
+
method: "POST",
|
|
9259
|
+
authType: "AK",
|
|
9260
|
+
style: "RPC",
|
|
9261
|
+
reqBodyType: "formData",
|
|
9262
|
+
bodyType: "json",
|
|
9263
|
+
});
|
|
9264
|
+
return $dara.cast<$_model.UpdateApplicationAdvancedConfigResponse>(await this.callApi(params, req, runtime), new $_model.UpdateApplicationAdvancedConfigResponse({}));
|
|
9265
|
+
}
|
|
9266
|
+
|
|
9267
|
+
/**
|
|
9268
|
+
* 修改应用高阶配置
|
|
9269
|
+
*
|
|
9270
|
+
* @param request - UpdateApplicationAdvancedConfigRequest
|
|
9271
|
+
* @returns UpdateApplicationAdvancedConfigResponse
|
|
9272
|
+
*/
|
|
9273
|
+
async updateApplicationAdvancedConfig(request: $_model.UpdateApplicationAdvancedConfigRequest): Promise<$_model.UpdateApplicationAdvancedConfigResponse> {
|
|
9274
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9275
|
+
return await this.updateApplicationAdvancedConfigWithOptions(request, runtime);
|
|
9276
|
+
}
|
|
9277
|
+
|
|
9182
9278
|
/**
|
|
9183
9279
|
* Modifies the authorization type of an Employee Identity and Access Management (EIAM) application.
|
|
9184
9280
|
*
|
|
@@ -9507,6 +9603,56 @@ export default class Client extends OpenApi {
|
|
|
9507
9603
|
return await this.updateApplicationInfoWithOptions(request, runtime);
|
|
9508
9604
|
}
|
|
9509
9605
|
|
|
9606
|
+
/**
|
|
9607
|
+
* 更新模板应用的SSO参数
|
|
9608
|
+
*
|
|
9609
|
+
* @param request - UpdateApplicationSsoFormParamsRequest
|
|
9610
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9611
|
+
* @returns UpdateApplicationSsoFormParamsResponse
|
|
9612
|
+
*/
|
|
9613
|
+
async updateApplicationSsoFormParamsWithOptions(request: $_model.UpdateApplicationSsoFormParamsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApplicationSsoFormParamsResponse> {
|
|
9614
|
+
request.validate();
|
|
9615
|
+
let query = { };
|
|
9616
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
9617
|
+
query["ApplicationId"] = request.applicationId;
|
|
9618
|
+
}
|
|
9619
|
+
|
|
9620
|
+
if (!$dara.isNull(request.applicationTemplateParams)) {
|
|
9621
|
+
query["ApplicationTemplateParams"] = request.applicationTemplateParams;
|
|
9622
|
+
}
|
|
9623
|
+
|
|
9624
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9625
|
+
query["InstanceId"] = request.instanceId;
|
|
9626
|
+
}
|
|
9627
|
+
|
|
9628
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9629
|
+
query: OpenApiUtil.query(query),
|
|
9630
|
+
});
|
|
9631
|
+
let params = new $OpenApiUtil.Params({
|
|
9632
|
+
action: "UpdateApplicationSsoFormParams",
|
|
9633
|
+
version: "2021-12-01",
|
|
9634
|
+
protocol: "HTTPS",
|
|
9635
|
+
pathname: "/",
|
|
9636
|
+
method: "POST",
|
|
9637
|
+
authType: "AK",
|
|
9638
|
+
style: "RPC",
|
|
9639
|
+
reqBodyType: "formData",
|
|
9640
|
+
bodyType: "json",
|
|
9641
|
+
});
|
|
9642
|
+
return $dara.cast<$_model.UpdateApplicationSsoFormParamsResponse>(await this.callApi(params, req, runtime), new $_model.UpdateApplicationSsoFormParamsResponse({}));
|
|
9643
|
+
}
|
|
9644
|
+
|
|
9645
|
+
/**
|
|
9646
|
+
* 更新模板应用的SSO参数
|
|
9647
|
+
*
|
|
9648
|
+
* @param request - UpdateApplicationSsoFormParamsRequest
|
|
9649
|
+
* @returns UpdateApplicationSsoFormParamsResponse
|
|
9650
|
+
*/
|
|
9651
|
+
async updateApplicationSsoFormParams(request: $_model.UpdateApplicationSsoFormParamsRequest): Promise<$_model.UpdateApplicationSsoFormParamsResponse> {
|
|
9652
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9653
|
+
return await this.updateApplicationSsoFormParamsWithOptions(request, runtime);
|
|
9654
|
+
}
|
|
9655
|
+
|
|
9510
9656
|
/**
|
|
9511
9657
|
* 更新ApplicationToken过期时间
|
|
9512
9658
|
*
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetApplicationAdvancedConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* IDaaS的应用资源ID。
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* app_mkv7rgt4d7i4u7zqtzev2mxxxx
|
|
14
|
+
*/
|
|
15
|
+
applicationId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* IDaaS EIAM实例的ID。
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
24
|
+
*/
|
|
25
|
+
instanceId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
applicationId: 'ApplicationId',
|
|
29
|
+
instanceId: 'InstanceId',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
applicationId: 'string',
|
|
36
|
+
instanceId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetApplicationAdvancedConfigResponseBody } from "./GetApplicationAdvancedConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetApplicationAdvancedConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetApplicationAdvancedConfigResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetApplicationAdvancedConfigResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfigScimServerAdvancedConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 支持的用户自定义字段ID列表。
|
|
9
|
+
*/
|
|
10
|
+
supportedUserCustomFieldIds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* 用户扩展字段的命名空间。
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* urn:ietf:params:scim:schemas:extension:customfield:2.0:User
|
|
17
|
+
*/
|
|
18
|
+
userCustomFieldNamespace?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
supportedUserCustomFieldIds: 'SupportedUserCustomFieldIds',
|
|
22
|
+
userCustomFieldNamespace: 'UserCustomFieldNamespace',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
supportedUserCustomFieldIds: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
userCustomFieldNamespace: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.supportedUserCustomFieldIds)) {
|
|
35
|
+
$dara.Model.validateArray(this.supportedUserCustomFieldIds);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfig extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* IDaaS EIAM 应用Id
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* app_mkv7rgt4d7i4u7zqtzev2mxxxx
|
|
52
|
+
*/
|
|
53
|
+
applicationId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* IDaaS EIAM 实例Id
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
60
|
+
*/
|
|
61
|
+
instanceId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Scim Server 高阶配置
|
|
65
|
+
*/
|
|
66
|
+
scimServerAdvancedConfig?: GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfigScimServerAdvancedConfig;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
applicationId: 'ApplicationId',
|
|
70
|
+
instanceId: 'InstanceId',
|
|
71
|
+
scimServerAdvancedConfig: 'ScimServerAdvancedConfig',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static types(): { [key: string]: any } {
|
|
76
|
+
return {
|
|
77
|
+
applicationId: 'string',
|
|
78
|
+
instanceId: 'string',
|
|
79
|
+
scimServerAdvancedConfig: GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfigScimServerAdvancedConfig,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
validate() {
|
|
84
|
+
if(this.scimServerAdvancedConfig && typeof (this.scimServerAdvancedConfig as any).validate === 'function') {
|
|
85
|
+
(this.scimServerAdvancedConfig as any).validate();
|
|
86
|
+
}
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class GetApplicationAdvancedConfigResponseBody extends $dara.Model {
|
|
96
|
+
applicationAdvancedConfig?: GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfig;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
100
|
+
*/
|
|
101
|
+
requestId?: string;
|
|
102
|
+
static names(): { [key: string]: string } {
|
|
103
|
+
return {
|
|
104
|
+
applicationAdvancedConfig: 'ApplicationAdvancedConfig',
|
|
105
|
+
requestId: 'RequestId',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static types(): { [key: string]: any } {
|
|
110
|
+
return {
|
|
111
|
+
applicationAdvancedConfig: GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfig,
|
|
112
|
+
requestId: 'string',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(this.applicationAdvancedConfig && typeof (this.applicationAdvancedConfig as any).validate === 'function') {
|
|
118
|
+
(this.applicationAdvancedConfig as any).validate();
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -138,6 +138,19 @@ export class GetInstanceResponseBodyInstance extends $dara.Model {
|
|
|
138
138
|
* idaas_abt3pfwojojcq323si6g5xxxxx
|
|
139
139
|
*/
|
|
140
140
|
instanceId?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* sase
|
|
144
|
+
*
|
|
145
|
+
* **if can be null:**
|
|
146
|
+
* false
|
|
147
|
+
*/
|
|
148
|
+
managedServiceCode?: string;
|
|
149
|
+
/**
|
|
150
|
+
* **if can be null:**
|
|
151
|
+
* false
|
|
152
|
+
*/
|
|
153
|
+
serviceManaged?: boolean;
|
|
141
154
|
/**
|
|
142
155
|
* @remarks
|
|
143
156
|
* The status of the instance. Valid values:
|
|
@@ -157,6 +170,8 @@ export class GetInstanceResponseBodyInstance extends $dara.Model {
|
|
|
157
170
|
domainConfig: 'DomainConfig',
|
|
158
171
|
egressAddresses: 'EgressAddresses',
|
|
159
172
|
instanceId: 'InstanceId',
|
|
173
|
+
managedServiceCode: 'ManagedServiceCode',
|
|
174
|
+
serviceManaged: 'ServiceManaged',
|
|
160
175
|
status: 'Status',
|
|
161
176
|
};
|
|
162
177
|
}
|
|
@@ -169,6 +184,8 @@ export class GetInstanceResponseBodyInstance extends $dara.Model {
|
|
|
169
184
|
domainConfig: GetInstanceResponseBodyInstanceDomainConfig,
|
|
170
185
|
egressAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
171
186
|
instanceId: 'string',
|
|
187
|
+
managedServiceCode: 'string',
|
|
188
|
+
serviceManaged: 'boolean',
|
|
172
189
|
status: 'string',
|
|
173
190
|
};
|
|
174
191
|
}
|
|
@@ -72,6 +72,12 @@ export class ListInstancesResponseBodyInstances extends $dara.Model {
|
|
|
72
72
|
* idaas_eypq6ljgyeuwmlw672sulxxxxx
|
|
73
73
|
*/
|
|
74
74
|
instanceId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* sase
|
|
78
|
+
*/
|
|
79
|
+
managedServiceCode?: string;
|
|
80
|
+
serviceManaged?: boolean;
|
|
75
81
|
/**
|
|
76
82
|
* @remarks
|
|
77
83
|
* The status of the instance. Valid values:
|
|
@@ -89,6 +95,8 @@ export class ListInstancesResponseBodyInstances extends $dara.Model {
|
|
|
89
95
|
defaultEndpoint: 'DefaultEndpoint',
|
|
90
96
|
description: 'Description',
|
|
91
97
|
instanceId: 'InstanceId',
|
|
98
|
+
managedServiceCode: 'ManagedServiceCode',
|
|
99
|
+
serviceManaged: 'ServiceManaged',
|
|
92
100
|
status: 'Status',
|
|
93
101
|
};
|
|
94
102
|
}
|
|
@@ -99,6 +107,8 @@ export class ListInstancesResponseBodyInstances extends $dara.Model {
|
|
|
99
107
|
defaultEndpoint: ListInstancesResponseBodyInstancesDefaultEndpoint,
|
|
100
108
|
description: 'string',
|
|
101
109
|
instanceId: 'string',
|
|
110
|
+
managedServiceCode: 'string',
|
|
111
|
+
serviceManaged: 'boolean',
|
|
102
112
|
status: 'string',
|
|
103
113
|
};
|
|
104
114
|
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateApplicationAdvancedConfigRequestScimServerAdvancedConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 支持的用户自定义字段ID列表。
|
|
9
|
+
*/
|
|
10
|
+
supportedUserCustomFieldIds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* 用户扩展字段的命名空间。
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* urn:ietf:params:scim:schemas:extension:customfield:2.0:User
|
|
17
|
+
*/
|
|
18
|
+
userCustomFieldNamespace?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
supportedUserCustomFieldIds: 'SupportedUserCustomFieldIds',
|
|
22
|
+
userCustomFieldNamespace: 'UserCustomFieldNamespace',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
supportedUserCustomFieldIds: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
userCustomFieldNamespace: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.supportedUserCustomFieldIds)) {
|
|
35
|
+
$dara.Model.validateArray(this.supportedUserCustomFieldIds);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class UpdateApplicationAdvancedConfigRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* IDaaS的应用资源ID。
|
|
49
|
+
*
|
|
50
|
+
* This parameter is required.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* app_mkv7rgt4d7i4u7zqtzev2mxxxx
|
|
54
|
+
*/
|
|
55
|
+
applicationId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* IDaaS EIAM实例的ID。
|
|
59
|
+
*
|
|
60
|
+
* This parameter is required.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
64
|
+
*/
|
|
65
|
+
instanceId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* Scim Server 高阶配置
|
|
69
|
+
*/
|
|
70
|
+
scimServerAdvancedConfig?: UpdateApplicationAdvancedConfigRequestScimServerAdvancedConfig;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
applicationId: 'ApplicationId',
|
|
74
|
+
instanceId: 'InstanceId',
|
|
75
|
+
scimServerAdvancedConfig: 'ScimServerAdvancedConfig',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
applicationId: 'string',
|
|
82
|
+
instanceId: 'string',
|
|
83
|
+
scimServerAdvancedConfig: UpdateApplicationAdvancedConfigRequestScimServerAdvancedConfig,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
validate() {
|
|
88
|
+
if(this.scimServerAdvancedConfig && typeof (this.scimServerAdvancedConfig as any).validate === 'function') {
|
|
89
|
+
(this.scimServerAdvancedConfig as any).validate();
|
|
90
|
+
}
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
constructor(map?: { [key: string]: any }) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateApplicationAdvancedConfigResponseBody } from "./UpdateApplicationAdvancedConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateApplicationAdvancedConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateApplicationAdvancedConfigResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateApplicationAdvancedConfigResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateApplicationAdvancedConfigResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|