@alicloud/eiam20211201 2.18.0 → 2.18.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.
- package/dist/client.d.ts +10 -10
- package/dist/client.js +19 -10
- 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 +4 -2
- package/dist/models/ExecuteInstanceFailoverRequest.js.map +1 -1
- package/dist/models/ExecuteInstanceFailoverResponseBody.d.ts +3 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.js.map +1 -1
- 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/GetInstanceLicenseResponseBody.d.ts +26 -21
- package/dist/models/GetInstanceLicenseResponseBody.js +2 -0
- package/dist/models/GetInstanceLicenseResponseBody.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/model.d.ts +6 -0
- package/dist/models/model.js +51 -39
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -10
- 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 +4 -2
- package/src/models/ExecuteInstanceFailoverResponseBody.ts +3 -0
- package/src/models/GetAuthorizationResourceResponseBody.ts +91 -5
- package/src/models/GetInstanceLicenseResponseBody.ts +28 -21
- 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/model.ts +6 -0
|
@@ -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
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The conditional access license status.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* enabled
|
|
@@ -13,7 +13,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
13
13
|
conditionalAccessPolicyLicenseStatus?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The M2M license status.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* enabled
|
|
@@ -21,7 +21,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
21
21
|
m2mApplicationLicenseStatus?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The quota
|
|
24
|
+
* The M2M application quota of the license.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2
|
|
@@ -29,7 +29,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
29
29
|
m2mApplicationQuota?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The machine identity status.
|
|
32
|
+
* The machine identity license status.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* enabled
|
|
@@ -37,7 +37,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
37
37
|
mimApplicationLicenseStatus?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The quota
|
|
40
|
+
* The network access endpoint quota of the license.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 1
|
|
@@ -45,7 +45,12 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
45
45
|
networkAccessEndpointQuota?: number;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The PAM privileged management license status. Valid values: enabled and disabled.
|
|
49
|
+
*/
|
|
50
|
+
pamLicenseStatus?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The number of prepaid active accounts.
|
|
49
54
|
*
|
|
50
55
|
* @example
|
|
51
56
|
* 100
|
|
@@ -53,7 +58,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
53
58
|
prepaidActiveUserNumber?: number;
|
|
54
59
|
/**
|
|
55
60
|
* @remarks
|
|
56
|
-
* The user quota
|
|
61
|
+
* The user quota of the license.
|
|
57
62
|
*
|
|
58
63
|
* @example
|
|
59
64
|
* 100
|
|
@@ -66,6 +71,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
66
71
|
m2mApplicationQuota: 'M2mApplicationQuota',
|
|
67
72
|
mimApplicationLicenseStatus: 'MimApplicationLicenseStatus',
|
|
68
73
|
networkAccessEndpointQuota: 'NetworkAccessEndpointQuota',
|
|
74
|
+
pamLicenseStatus: 'PamLicenseStatus',
|
|
69
75
|
prepaidActiveUserNumber: 'PrepaidActiveUserNumber',
|
|
70
76
|
userQuota: 'UserQuota',
|
|
71
77
|
};
|
|
@@ -78,6 +84,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
78
84
|
m2mApplicationQuota: 'number',
|
|
79
85
|
mimApplicationLicenseStatus: 'string',
|
|
80
86
|
networkAccessEndpointQuota: 'number',
|
|
87
|
+
pamLicenseStatus: 'string',
|
|
81
88
|
prepaidActiveUserNumber: 'number',
|
|
82
89
|
userQuota: 'number',
|
|
83
90
|
};
|
|
@@ -95,7 +102,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
95
102
|
export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
96
103
|
/**
|
|
97
104
|
* @remarks
|
|
98
|
-
* The license
|
|
105
|
+
* The edition of the license.
|
|
99
106
|
*
|
|
100
107
|
* @example
|
|
101
108
|
* free
|
|
@@ -103,7 +110,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
103
110
|
edition?: string;
|
|
104
111
|
/**
|
|
105
112
|
* @remarks
|
|
106
|
-
* The
|
|
113
|
+
* The end date of the license validity period, in timestamp format.
|
|
107
114
|
*
|
|
108
115
|
* @example
|
|
109
116
|
* 1723996800000
|
|
@@ -111,12 +118,12 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
111
118
|
endTime?: number;
|
|
112
119
|
/**
|
|
113
120
|
* @remarks
|
|
114
|
-
* The
|
|
121
|
+
* The detailed license information of the instance.
|
|
115
122
|
*/
|
|
116
123
|
instanceLicenseDetail?: GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail;
|
|
117
124
|
/**
|
|
118
125
|
* @remarks
|
|
119
|
-
* The billing
|
|
126
|
+
* The billing type of the license.
|
|
120
127
|
*
|
|
121
128
|
* @example
|
|
122
129
|
* prepay
|
|
@@ -124,7 +131,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
124
131
|
licenseChargeType?: string;
|
|
125
132
|
/**
|
|
126
133
|
* @remarks
|
|
127
|
-
* The detailed
|
|
134
|
+
* The detailed license configuration in JSON string format.
|
|
128
135
|
*
|
|
129
136
|
* @example
|
|
130
137
|
* {"modules":[{"features":[{"name":"urn:alibaba:idaas:license:module:ud:customField","status":"enabled"}]……{"name":"urn:alibaba:idaas:license:tag:enterprise","status":"enabled"}],"version":"1.0"}
|
|
@@ -132,7 +139,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
132
139
|
licenseConfigJson?: string;
|
|
133
140
|
/**
|
|
134
141
|
* @remarks
|
|
135
|
-
* The
|
|
142
|
+
* The creation time of the license, in timestamp format.
|
|
136
143
|
*
|
|
137
144
|
* @example
|
|
138
145
|
* 1720509699000
|
|
@@ -140,7 +147,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
140
147
|
licenseCreateTime?: number;
|
|
141
148
|
/**
|
|
142
149
|
* @remarks
|
|
143
|
-
* The unique identifier
|
|
150
|
+
* The unique identifier of the license.
|
|
144
151
|
*
|
|
145
152
|
* @example
|
|
146
153
|
* license_1234xxxx
|
|
@@ -148,7 +155,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
148
155
|
licenseId?: string;
|
|
149
156
|
/**
|
|
150
157
|
* @remarks
|
|
151
|
-
* The license
|
|
158
|
+
* The status of the license.
|
|
152
159
|
*
|
|
153
160
|
* @example
|
|
154
161
|
* valid
|
|
@@ -156,7 +163,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
156
163
|
licenseStatus?: string;
|
|
157
164
|
/**
|
|
158
165
|
* @remarks
|
|
159
|
-
* The channel
|
|
166
|
+
* The purchase channel of the license.
|
|
160
167
|
*
|
|
161
168
|
* @example
|
|
162
169
|
* alibaba_cloud
|
|
@@ -164,7 +171,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
164
171
|
purchaseChannel?: string;
|
|
165
172
|
/**
|
|
166
173
|
* @remarks
|
|
167
|
-
* The unique identifier of the external
|
|
174
|
+
* The unique identifier of the external product associated with the license.
|
|
168
175
|
*
|
|
169
176
|
* @example
|
|
170
177
|
* eiam-cn-xxxxx
|
|
@@ -172,7 +179,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
172
179
|
purchaseInstanceId?: string;
|
|
173
180
|
/**
|
|
174
181
|
* @remarks
|
|
175
|
-
* The
|
|
182
|
+
* The start date of the license validity period, in timestamp format.
|
|
176
183
|
*
|
|
177
184
|
* @example
|
|
178
185
|
* 1720509699000
|
|
@@ -180,7 +187,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
180
187
|
startTime?: number;
|
|
181
188
|
/**
|
|
182
189
|
* @remarks
|
|
183
|
-
* The user quota
|
|
190
|
+
* The user quota of the license.
|
|
184
191
|
*
|
|
185
192
|
* @example
|
|
186
193
|
* 100
|
|
@@ -235,12 +242,12 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
235
242
|
export class GetInstanceLicenseResponseBody extends $dara.Model {
|
|
236
243
|
/**
|
|
237
244
|
* @remarks
|
|
238
|
-
* The
|
|
245
|
+
* The response result.
|
|
239
246
|
*/
|
|
240
247
|
license?: GetInstanceLicenseResponseBodyLicense;
|
|
241
248
|
/**
|
|
242
249
|
* @remarks
|
|
243
|
-
* The ID
|
|
250
|
+
* The request ID.
|
|
244
251
|
*
|
|
245
252
|
* @example
|
|
246
253
|
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
@@ -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
|
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';
|