@alicloud/eiam20211201 2.17.8 → 2.18.1
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 +19 -4
- package/dist/client.js +55 -4
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAuthorizationResourceRequest.d.ts +42 -2
- package/dist/models/CreateAuthorizationResourceRequest.js +47 -1
- package/dist/models/CreateAuthorizationResourceRequest.js.map +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +8 -0
- package/dist/models/CreateInstanceRequest.js +2 -0
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +1 -1
- package/dist/models/ExecuteInstanceFailoverRequest.d.ts +35 -0
- package/dist/models/ExecuteInstanceFailoverRequest.js +60 -0
- package/dist/models/ExecuteInstanceFailoverRequest.js.map +1 -0
- package/dist/models/ExecuteInstanceFailoverResponse.d.ts +19 -0
- package/dist/models/ExecuteInstanceFailoverResponse.js +69 -0
- package/dist/models/ExecuteInstanceFailoverResponse.js.map +1 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.d.ts +21 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.js +58 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.js.map +1 -0
- package/dist/models/GetAuthorizationResourceResponseBody.d.ts +59 -5
- package/dist/models/GetAuthorizationResourceResponseBody.js +51 -1
- package/dist/models/GetAuthorizationResourceResponseBody.js.map +1 -1
- package/dist/models/ListAuthorizationResourcesRequest.d.ts +7 -7
- package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +60 -5
- package/dist/models/ListAuthorizationResourcesResponseBody.js +51 -1
- package/dist/models/ListAuthorizationResourcesResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +15 -0
- package/dist/models/ListInstancesRequest.js +2 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +4 -4
- package/dist/models/UpdateCredentialProviderRequest.d.ts +45 -12
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +57 -39
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +62 -4
- package/src/models/CreateAuthorizationResourceRequest.ts +70 -2
- package/src/models/CreateInstanceRequest.ts +10 -0
- package/src/models/CreateInstanceResponseBody.ts +1 -1
- package/src/models/ExecuteInstanceFailoverRequest.ts +50 -0
- package/src/models/ExecuteInstanceFailoverResponse.ts +40 -0
- package/src/models/ExecuteInstanceFailoverResponseBody.ts +34 -0
- package/src/models/GetAuthorizationResourceResponseBody.ts +91 -5
- package/src/models/ListAuthorizationResourcesRequest.ts +7 -7
- package/src/models/ListAuthorizationResourcesResponseBody.ts +92 -5
- package/src/models/ListInstancesRequest.ts +17 -0
- package/src/models/ListInstancesResponseBody.ts +4 -4
- package/src/models/UpdateCredentialProviderRequest.ts +45 -12
- package/src/models/model.ts +9 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ExecuteInstanceFailoverResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -2,10 +2,67 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetAuthorizationResourceResponseBodyAuthorizationResourceConditionCredentialCondition extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether same-name identity accounts are supported.
|
|
9
|
+
*/
|
|
10
|
+
allowSameNameIdentity?: boolean;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
allowSameNameIdentity: 'AllowSameNameIdentity',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
allowSameNameIdentity: 'boolean',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class GetAuthorizationResourceResponseBodyAuthorizationResourceCondition extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The credential condition.
|
|
36
|
+
*/
|
|
37
|
+
credentialCondition?: GetAuthorizationResourceResponseBodyAuthorizationResourceConditionCredentialCondition;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
credentialCondition: 'CredentialCondition',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
credentialCondition: GetAuthorizationResourceResponseBodyAuthorizationResourceConditionCredentialCondition,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
if(this.credentialCondition && typeof (this.credentialCondition as any).validate === 'function') {
|
|
52
|
+
(this.credentialCondition as any).validate();
|
|
53
|
+
}
|
|
54
|
+
super.validate();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
constructor(map?: { [key: string]: any }) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
5
62
|
export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $dara.Model {
|
|
6
63
|
/**
|
|
7
64
|
* @remarks
|
|
8
|
-
* The
|
|
65
|
+
* The resource entity ID associated with the authorization resource.
|
|
9
66
|
*
|
|
10
67
|
* @example
|
|
11
68
|
* carole_01kmek49aqxxxx
|
|
@@ -13,8 +70,7 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
13
70
|
authorizationResourceEntityId?: string;
|
|
14
71
|
/**
|
|
15
72
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
*
|
|
73
|
+
* The resource entity type associated with the authorization resource. Valid values:
|
|
18
74
|
* - cloud_account_role: cloud role.
|
|
19
75
|
*
|
|
20
76
|
* @example
|
|
@@ -39,12 +95,25 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
39
95
|
authorizationRuleId?: string;
|
|
40
96
|
/**
|
|
41
97
|
* @remarks
|
|
42
|
-
* The
|
|
98
|
+
* The cloud account ID to which the resource entity associated with the authorization resource belongs.
|
|
43
99
|
*
|
|
44
100
|
* @example
|
|
45
101
|
* ca_01kmegjc11qa1txxxxx
|
|
46
102
|
*/
|
|
47
103
|
cloudAccountId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The condition restriction.
|
|
107
|
+
*/
|
|
108
|
+
condition?: GetAuthorizationResourceResponseBodyAuthorizationResourceCondition;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The creation time.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* 1787023451494
|
|
115
|
+
*/
|
|
116
|
+
createTime?: number;
|
|
48
117
|
/**
|
|
49
118
|
* @remarks
|
|
50
119
|
* The instance ID.
|
|
@@ -53,6 +122,14 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
53
122
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
54
123
|
*/
|
|
55
124
|
instanceId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The update time.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* 1787023451494
|
|
131
|
+
*/
|
|
132
|
+
updateTime?: number;
|
|
56
133
|
static names(): { [key: string]: string } {
|
|
57
134
|
return {
|
|
58
135
|
authorizationResourceEntityId: 'AuthorizationResourceEntityId',
|
|
@@ -60,7 +137,10 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
60
137
|
authorizationResourceId: 'AuthorizationResourceId',
|
|
61
138
|
authorizationRuleId: 'AuthorizationRuleId',
|
|
62
139
|
cloudAccountId: 'CloudAccountId',
|
|
140
|
+
condition: 'Condition',
|
|
141
|
+
createTime: 'CreateTime',
|
|
63
142
|
instanceId: 'InstanceId',
|
|
143
|
+
updateTime: 'UpdateTime',
|
|
64
144
|
};
|
|
65
145
|
}
|
|
66
146
|
|
|
@@ -71,11 +151,17 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
71
151
|
authorizationResourceId: 'string',
|
|
72
152
|
authorizationRuleId: 'string',
|
|
73
153
|
cloudAccountId: 'string',
|
|
154
|
+
condition: GetAuthorizationResourceResponseBodyAuthorizationResourceCondition,
|
|
155
|
+
createTime: 'number',
|
|
74
156
|
instanceId: 'string',
|
|
157
|
+
updateTime: 'number',
|
|
75
158
|
};
|
|
76
159
|
}
|
|
77
160
|
|
|
78
161
|
validate() {
|
|
162
|
+
if(this.condition && typeof (this.condition as any).validate === 'function') {
|
|
163
|
+
(this.condition as any).validate();
|
|
164
|
+
}
|
|
79
165
|
super.validate();
|
|
80
166
|
}
|
|
81
167
|
|
|
@@ -87,7 +173,7 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResource extends $
|
|
|
87
173
|
export class GetAuthorizationResourceResponseBody extends $dara.Model {
|
|
88
174
|
/**
|
|
89
175
|
* @remarks
|
|
90
|
-
* The
|
|
176
|
+
* The authorization resource.
|
|
91
177
|
*/
|
|
92
178
|
authorizationResource?: GetAuthorizationResourceResponseBodyAuthorizationResource;
|
|
93
179
|
/**
|
|
@@ -7,9 +7,9 @@ export class ListAuthorizationResourcesRequestFilter extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The name of the filter field. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - AuthorizationResourceEntityType: the resource entity
|
|
10
|
+
* - AuthorizationResourceEntityType: the type of the resource entity associated with the authorization resource.
|
|
11
11
|
*
|
|
12
|
-
* - AuthorizationResourceEntityId: the resource entity
|
|
12
|
+
* - AuthorizationResourceEntityId: the ID of the resource entity associated with the authorization resource.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* AuthorizationResourceEntityId
|
|
@@ -17,7 +17,7 @@ export class ListAuthorizationResourcesRequestFilter extends $dara.Model {
|
|
|
17
17
|
name?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The
|
|
20
|
+
* The list of filter field values.
|
|
21
21
|
*/
|
|
22
22
|
value?: string[];
|
|
23
23
|
static names(): { [key: string]: string } {
|
|
@@ -74,11 +74,11 @@ export class ListAuthorizationResourcesRequest extends $dara.Model {
|
|
|
74
74
|
instanceId?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The maximum number of
|
|
77
|
+
* The maximum number of records per page.
|
|
78
78
|
*
|
|
79
|
-
* -
|
|
79
|
+
* - If this parameter is not specified, the default value is 20.
|
|
80
80
|
*
|
|
81
|
-
* -
|
|
81
|
+
* - The maximum value is 100.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* 20
|
|
@@ -88,7 +88,7 @@ export class ListAuthorizationResourcesRequest extends $dara.Model {
|
|
|
88
88
|
* @remarks
|
|
89
89
|
* The token that identifies the start position of the next page.
|
|
90
90
|
*
|
|
91
|
-
* - If
|
|
91
|
+
* - If this parameter is not specified, the query starts from the first page.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* NTxxxxxexample
|
|
@@ -2,10 +2,67 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ListAuthorizationResourcesResponseBodyAuthorizationResourcesConditionCredentialCondition extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether same-name identity accounts are supported.
|
|
9
|
+
*/
|
|
10
|
+
allowSameNameIdentity?: boolean;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
allowSameNameIdentity: 'AllowSameNameIdentity',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
allowSameNameIdentity: 'boolean',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class ListAuthorizationResourcesResponseBodyAuthorizationResourcesCondition extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The effective condition when used as a credential.
|
|
36
|
+
*/
|
|
37
|
+
credentialCondition?: ListAuthorizationResourcesResponseBodyAuthorizationResourcesConditionCredentialCondition;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
credentialCondition: 'CredentialCondition',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
credentialCondition: ListAuthorizationResourcesResponseBodyAuthorizationResourcesConditionCredentialCondition,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
if(this.credentialCondition && typeof (this.credentialCondition as any).validate === 'function') {
|
|
52
|
+
(this.credentialCondition as any).validate();
|
|
53
|
+
}
|
|
54
|
+
super.validate();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
constructor(map?: { [key: string]: any }) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
5
62
|
export class ListAuthorizationResourcesResponseBodyAuthorizationResources extends $dara.Model {
|
|
6
63
|
/**
|
|
7
64
|
* @remarks
|
|
8
|
-
* The resource entity
|
|
65
|
+
* The ID of the resource entity associated with the authorization resource.
|
|
9
66
|
*
|
|
10
67
|
* @example
|
|
11
68
|
* carole_01kmek49aqxxxx
|
|
@@ -13,7 +70,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
13
70
|
authorizationResourceEntityId?: string;
|
|
14
71
|
/**
|
|
15
72
|
* @remarks
|
|
16
|
-
* The resource entity
|
|
73
|
+
* The type of the resource entity associated with the authorization resource. Valid values:
|
|
17
74
|
* - cloud_account_role: cloud role.
|
|
18
75
|
*
|
|
19
76
|
* @example
|
|
@@ -44,6 +101,19 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
44
101
|
* ca_01kmegjc11qa1txxxxx
|
|
45
102
|
*/
|
|
46
103
|
cloudAccountId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The effective condition.
|
|
107
|
+
*/
|
|
108
|
+
condition?: ListAuthorizationResourcesResponseBodyAuthorizationResourcesCondition;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The creation time.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* 1787023451494
|
|
115
|
+
*/
|
|
116
|
+
createTime?: number;
|
|
47
117
|
/**
|
|
48
118
|
* @remarks
|
|
49
119
|
* The instance ID.
|
|
@@ -52,6 +122,14 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
52
122
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
53
123
|
*/
|
|
54
124
|
instanceId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The update time.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* 1787023451494
|
|
131
|
+
*/
|
|
132
|
+
updateTime?: number;
|
|
55
133
|
static names(): { [key: string]: string } {
|
|
56
134
|
return {
|
|
57
135
|
authorizationResourceEntityId: 'AuthorizationResourceEntityId',
|
|
@@ -59,7 +137,10 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
59
137
|
authorizationResourceId: 'AuthorizationResourceId',
|
|
60
138
|
authorizationRuleId: 'AuthorizationRuleId',
|
|
61
139
|
cloudAccountId: 'CloudAccountId',
|
|
140
|
+
condition: 'Condition',
|
|
141
|
+
createTime: 'CreateTime',
|
|
62
142
|
instanceId: 'InstanceId',
|
|
143
|
+
updateTime: 'UpdateTime',
|
|
63
144
|
};
|
|
64
145
|
}
|
|
65
146
|
|
|
@@ -70,11 +151,17 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
70
151
|
authorizationResourceId: 'string',
|
|
71
152
|
authorizationRuleId: 'string',
|
|
72
153
|
cloudAccountId: 'string',
|
|
154
|
+
condition: ListAuthorizationResourcesResponseBodyAuthorizationResourcesCondition,
|
|
155
|
+
createTime: 'number',
|
|
73
156
|
instanceId: 'string',
|
|
157
|
+
updateTime: 'number',
|
|
74
158
|
};
|
|
75
159
|
}
|
|
76
160
|
|
|
77
161
|
validate() {
|
|
162
|
+
if(this.condition && typeof (this.condition as any).validate === 'function') {
|
|
163
|
+
(this.condition as any).validate();
|
|
164
|
+
}
|
|
78
165
|
super.validate();
|
|
79
166
|
}
|
|
80
167
|
|
|
@@ -91,7 +178,7 @@ export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
|
91
178
|
authorizationResources?: ListAuthorizationResourcesResponseBodyAuthorizationResources[];
|
|
92
179
|
/**
|
|
93
180
|
* @remarks
|
|
94
|
-
* The number of entries per page in
|
|
181
|
+
* The number of entries per page in a paged query. This parameter is used for paging.
|
|
95
182
|
*
|
|
96
183
|
* @example
|
|
97
184
|
* 20
|
|
@@ -99,7 +186,7 @@ export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
|
99
186
|
maxResults?: number;
|
|
100
187
|
/**
|
|
101
188
|
* @remarks
|
|
102
|
-
* The
|
|
189
|
+
* The token returned for the next page query.
|
|
103
190
|
*
|
|
104
191
|
* @example
|
|
105
192
|
* NTxxxexample
|
|
@@ -115,7 +202,7 @@ export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
|
115
202
|
requestId?: string;
|
|
116
203
|
/**
|
|
117
204
|
* @remarks
|
|
118
|
-
* The total number of entries
|
|
205
|
+
* The total number of entries in the list.
|
|
119
206
|
*
|
|
120
207
|
* @example
|
|
121
208
|
* 100
|
|
@@ -29,6 +29,14 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
29
29
|
* The list of instance IDs.
|
|
30
30
|
*/
|
|
31
31
|
instanceIds?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The service code of the managing cloud service.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* kms
|
|
38
|
+
*/
|
|
39
|
+
managedServiceCode?: string;
|
|
32
40
|
/**
|
|
33
41
|
* @remarks
|
|
34
42
|
* The page number.
|
|
@@ -45,6 +53,13 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
45
53
|
* 20
|
|
46
54
|
*/
|
|
47
55
|
pageSize?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* Indicates whether the instance is managed by a cloud service.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* true
|
|
62
|
+
*/
|
|
48
63
|
serviceManaged?: boolean;
|
|
49
64
|
/**
|
|
50
65
|
* @remarks
|
|
@@ -61,6 +76,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
61
76
|
crossRegionReplication: 'CrossRegionReplication',
|
|
62
77
|
edition: 'Edition',
|
|
63
78
|
instanceIds: 'InstanceIds',
|
|
79
|
+
managedServiceCode: 'ManagedServiceCode',
|
|
64
80
|
pageNumber: 'PageNumber',
|
|
65
81
|
pageSize: 'PageSize',
|
|
66
82
|
serviceManaged: 'ServiceManaged',
|
|
@@ -73,6 +89,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
73
89
|
crossRegionReplication: 'string',
|
|
74
90
|
edition: 'string',
|
|
75
91
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
92
|
+
managedServiceCode: 'string',
|
|
76
93
|
pageNumber: 'number',
|
|
77
94
|
pageSize: 'number',
|
|
78
95
|
serviceManaged: 'boolean',
|
|
@@ -79,7 +79,7 @@ export class ListInstancesResponseBodyInstancesReplicationConfiguration extends
|
|
|
79
79
|
primaryInstanceRegionId?: string;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The
|
|
82
|
+
* The time when the disaster recovery data replication was created. The value is a UNIX timestamp in milliseconds.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* 1778499337000
|
|
@@ -117,7 +117,7 @@ export class ListInstancesResponseBodyInstancesReplicationConfiguration extends
|
|
|
117
117
|
export class ListInstancesResponseBodyInstances extends $dara.Model {
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The instance
|
|
120
|
+
* The time when the instance was created. The value is a UNIX timestamp in milliseconds.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* 1550115455000
|
|
@@ -170,7 +170,7 @@ export class ListInstancesResponseBodyInstances extends $dara.Model {
|
|
|
170
170
|
instanceId?: string;
|
|
171
171
|
/**
|
|
172
172
|
* @remarks
|
|
173
|
-
* The service code of the
|
|
173
|
+
* The service code of the cloud service that manages the instance.
|
|
174
174
|
*
|
|
175
175
|
* @example
|
|
176
176
|
* sase
|
|
@@ -183,7 +183,7 @@ export class ListInstancesResponseBodyInstances extends $dara.Model {
|
|
|
183
183
|
replicationConfiguration?: ListInstancesResponseBodyInstancesReplicationConfiguration;
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
* Indicates whether the instance is managed by
|
|
186
|
+
* Indicates whether the instance is managed by a cloud service.
|
|
187
187
|
*
|
|
188
188
|
* @example
|
|
189
189
|
* true
|
|
@@ -14,7 +14,7 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
14
14
|
allowedTokenIssuers?: string[];
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* Specifies whether
|
|
17
|
+
* Specifies whether the JWT derived short token feature is enabled.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* false
|
|
@@ -30,7 +30,7 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
30
30
|
expiration?: number;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* Specifies whether
|
|
33
|
+
* Specifies whether JWT expiration cleanup is enabled.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* true
|
|
@@ -69,14 +69,20 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
69
69
|
export class UpdateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The
|
|
72
|
+
* The authorization endpoint.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* https://example.com/authorize
|
|
73
76
|
*/
|
|
74
77
|
authorizationEndpoint?: string;
|
|
75
78
|
/**
|
|
76
79
|
* @remarks
|
|
77
80
|
* The OAuth authorization flow type. Valid values:
|
|
78
|
-
* - m2m:
|
|
79
|
-
* - user_federation:
|
|
81
|
+
* - m2m: machine-to-machine.
|
|
82
|
+
* - user_federation: user federation.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* m2m
|
|
80
86
|
*/
|
|
81
87
|
authorizationFlow?: string;
|
|
82
88
|
/**
|
|
@@ -91,34 +97,61 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigOAuthProvide
|
|
|
91
97
|
clientSecret?: string;
|
|
92
98
|
/**
|
|
93
99
|
* @remarks
|
|
94
|
-
* The
|
|
100
|
+
* The auto-discovery URL.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* https://example.com/.well-known/openid-configuration
|
|
95
104
|
*/
|
|
96
105
|
discoveryUrl?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The authorization server identifier URL.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* https://example.com/issuer
|
|
112
|
+
*/
|
|
97
113
|
issuer?: string;
|
|
98
114
|
/**
|
|
99
115
|
* @remarks
|
|
100
|
-
* The PKCE
|
|
116
|
+
* The PKCE challenge method. Valid values:
|
|
117
|
+
* - S256.
|
|
118
|
+
* - plain.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* S256
|
|
101
122
|
*/
|
|
102
123
|
pkceChallengeMethod?: string;
|
|
103
124
|
/**
|
|
104
125
|
* @remarks
|
|
105
|
-
* Specifies whether
|
|
126
|
+
* Specifies whether PKCE is enabled.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* true
|
|
106
130
|
*/
|
|
107
131
|
pkceEnabled?: boolean;
|
|
108
132
|
/**
|
|
109
133
|
* @remarks
|
|
110
|
-
* The
|
|
134
|
+
* The vendor type. Valid values:
|
|
135
|
+
* - custom: custom.
|
|
136
|
+
* - dingtalk: DingTalk.
|
|
137
|
+
* - feishu: Lark.
|
|
138
|
+
* - github: GitHub.
|
|
139
|
+
* - microsoft: Microsoft.
|
|
140
|
+
* - google: Google.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* custom
|
|
111
144
|
*/
|
|
112
145
|
providerVendor?: string;
|
|
113
146
|
/**
|
|
114
147
|
* @remarks
|
|
115
148
|
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
116
149
|
*
|
|
117
|
-
* > The Scope configuration on the
|
|
150
|
+
* > The Scope configuration on the credential provider serves as the fallback value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth Access Token, the Scope configuration on the credential provider is used for issuance.
|
|
118
151
|
*
|
|
119
152
|
* >Notice: Separate multiple Scope values with spaces. To clear the Scope configuration, pass an empty string.
|
|
120
153
|
*
|
|
121
|
-
* Restrictions
|
|
154
|
+
* Restrictions on each individual Scope value:
|
|
122
155
|
* 1. Allowed characters: lowercase letters, digits, and special characters `|/:_-.`
|
|
123
156
|
* 2. Must contain at least one lowercase letter or digit.
|
|
124
157
|
* 3. Must start with a special character `.`, a lowercase letter, or a digit.
|
|
@@ -222,7 +255,7 @@ export class UpdateCredentialProviderRequest extends $dara.Model {
|
|
|
222
255
|
* @remarks
|
|
223
256
|
* The idempotency token that ensures the idempotence of the request.
|
|
224
257
|
*
|
|
225
|
-
* Generate a unique parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters
|
|
258
|
+
* Generate a unique parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters. For more information, see References: [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
226
259
|
*
|
|
227
260
|
* This parameter is required.
|
|
228
261
|
*
|
package/src/models/model.ts
CHANGED
|
@@ -16,6 +16,8 @@ export { CreateApplicationFederatedCredentialRequestOidcVerificationConfigKubern
|
|
|
16
16
|
export { CreateApplicationFederatedCredentialRequestOidcVerificationConfig } from './CreateApplicationFederatedCredentialRequest';
|
|
17
17
|
export { CreateApplicationFederatedCredentialRequestPkcs7VerificationConfig } from './CreateApplicationFederatedCredentialRequest';
|
|
18
18
|
export { CreateApplicationTokenResponseBodyApplicationTokens } from './CreateApplicationTokenResponseBody';
|
|
19
|
+
export { CreateAuthorizationResourceRequestConditionCredentialCondition } from './CreateAuthorizationResourceRequest';
|
|
20
|
+
export { CreateAuthorizationResourceRequestCondition } from './CreateAuthorizationResourceRequest';
|
|
19
21
|
export { CreateConditionalAccessPolicyRequestConditionsConfigApplications } from './CreateConditionalAccessPolicyRequest';
|
|
20
22
|
export { CreateConditionalAccessPolicyRequestConditionsConfigNetworkZones } from './CreateConditionalAccessPolicyRequest';
|
|
21
23
|
export { CreateConditionalAccessPolicyRequestConditionsConfigUsers } from './CreateConditionalAccessPolicyRequest';
|
|
@@ -96,6 +98,8 @@ export { GetApplicationSsoConfigResponseBodyApplicationSsoConfigSamlSsoConfig }
|
|
|
96
98
|
export { GetApplicationSsoConfigResponseBodyApplicationSsoConfig } from './GetApplicationSsoConfigResponseBody';
|
|
97
99
|
export { GetApplicationTemplateResponseBodyApplicationTemplateSaleInfo } from './GetApplicationTemplateResponseBody';
|
|
98
100
|
export { GetApplicationTemplateResponseBodyApplicationTemplate } from './GetApplicationTemplateResponseBody';
|
|
101
|
+
export { GetAuthorizationResourceResponseBodyAuthorizationResourceConditionCredentialCondition } from './GetAuthorizationResourceResponseBody';
|
|
102
|
+
export { GetAuthorizationResourceResponseBodyAuthorizationResourceCondition } from './GetAuthorizationResourceResponseBody';
|
|
99
103
|
export { GetAuthorizationResourceResponseBodyAuthorizationResource } from './GetAuthorizationResourceResponseBody';
|
|
100
104
|
export { GetAuthorizationRuleResponseBodyAuthorizationRule } from './GetAuthorizationRuleResponseBody';
|
|
101
105
|
export { GetAuthorizationServerResponseBodyAuthorizationServerProtocolEndpoint } from './GetAuthorizationServerResponseBody';
|
|
@@ -272,6 +276,8 @@ export { ListApplicationsForOrganizationalUnitResponseBodyApplications } from '.
|
|
|
272
276
|
export { ListApplicationsForUserResponseBodyApplicationsApplicationRoles } from './ListApplicationsForUserResponseBody';
|
|
273
277
|
export { ListApplicationsForUserResponseBodyApplications } from './ListApplicationsForUserResponseBody';
|
|
274
278
|
export { ListAuthorizationResourcesRequestFilter } from './ListAuthorizationResourcesRequest';
|
|
279
|
+
export { ListAuthorizationResourcesResponseBodyAuthorizationResourcesConditionCredentialCondition } from './ListAuthorizationResourcesResponseBody';
|
|
280
|
+
export { ListAuthorizationResourcesResponseBodyAuthorizationResourcesCondition } from './ListAuthorizationResourcesResponseBody';
|
|
275
281
|
export { ListAuthorizationResourcesResponseBodyAuthorizationResources } from './ListAuthorizationResourcesResponseBody';
|
|
276
282
|
export { ListAuthorizationRulesRequestFilter } from './ListAuthorizationRulesRequest';
|
|
277
283
|
export { ListAuthorizationRulesResponseBodyAuthorizationRules } from './ListAuthorizationRulesResponseBody';
|
|
@@ -893,6 +899,9 @@ export { EnableUserResponse } from './EnableUserResponse';
|
|
|
893
899
|
export { ExecIdentityProviderMetadataUrlResolutionRequest } from './ExecIdentityProviderMetadataUrlResolutionRequest';
|
|
894
900
|
export { ExecIdentityProviderMetadataUrlResolutionResponseBody } from './ExecIdentityProviderMetadataUrlResolutionResponseBody';
|
|
895
901
|
export { ExecIdentityProviderMetadataUrlResolutionResponse } from './ExecIdentityProviderMetadataUrlResolutionResponse';
|
|
902
|
+
export { ExecuteInstanceFailoverRequest } from './ExecuteInstanceFailoverRequest';
|
|
903
|
+
export { ExecuteInstanceFailoverResponseBody } from './ExecuteInstanceFailoverResponseBody';
|
|
904
|
+
export { ExecuteInstanceFailoverResponse } from './ExecuteInstanceFailoverResponse';
|
|
896
905
|
export { GenerateDownloadUrlForSynchronizationJobRequest } from './GenerateDownloadUrlForSynchronizationJobRequest';
|
|
897
906
|
export { GenerateDownloadUrlForSynchronizationJobResponseBody } from './GenerateDownloadUrlForSynchronizationJobResponseBody';
|
|
898
907
|
export { GenerateDownloadUrlForSynchronizationJobResponse } from './GenerateDownloadUrlForSynchronizationJobResponse';
|