@alicloud/eiam20211201 2.17.7 → 2.18.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 +21 -6
- package/dist/client.js +55 -10
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAuthorizationRuleRequest.d.ts +11 -2
- package/dist/models/CreateAuthorizationRuleRequest.js +2 -0
- package/dist/models/CreateAuthorizationRuleRequest.js.map +1 -1
- package/dist/models/ExecuteInstanceFailoverRequest.d.ts +33 -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 +18 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.js +58 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.js.map +1 -0
- package/dist/models/GetAuthorizationRuleRequest.d.ts +2 -2
- package/dist/models/GetAuthorizationRuleResponseBody.d.ts +30 -35
- package/dist/models/GetAuthorizationRuleResponseBody.js +2 -0
- package/dist/models/GetAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetCloudAccountResponseBody.d.ts +47 -0
- package/dist/models/GetCloudAccountResponseBody.js +38 -1
- package/dist/models/GetCloudAccountResponseBody.js.map +1 -1
- package/dist/models/GetCloudAccountRoleResponseBody.d.ts +4 -3
- package/dist/models/GetCloudAccountRoleResponseBody.js +2 -0
- package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -1
- package/dist/models/ListAuthorizationRulesRequest.d.ts +9 -10
- package/dist/models/ListAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/ListAuthorizationRulesResponseBody.d.ts +30 -35
- package/dist/models/ListAuthorizationRulesResponseBody.js +2 -0
- package/dist/models/ListAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountRolesResponseBody.d.ts +17 -16
- package/dist/models/ListCloudAccountRolesResponseBody.js +2 -0
- package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountsRequest.d.ts +7 -7
- package/dist/models/ListCloudAccountsResponseBody.d.ts +55 -9
- package/dist/models/ListCloudAccountsResponseBody.js +36 -1
- package/dist/models/ListCloudAccountsResponseBody.js.map +1 -1
- package/dist/models/RemoveGroupFromAuthorizationRuleRequest.d.ts +1 -1
- package/dist/models/UpdateCredentialProviderRequest.d.ts +45 -12
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +45 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +60 -10
- package/src/models/CreateAuthorizationRuleRequest.ts +13 -2
- package/src/models/ExecuteInstanceFailoverRequest.ts +48 -0
- package/src/models/ExecuteInstanceFailoverResponse.ts +40 -0
- package/src/models/ExecuteInstanceFailoverResponseBody.ts +31 -0
- package/src/models/GetAuthorizationRuleRequest.ts +2 -2
- package/src/models/GetAuthorizationRuleResponseBody.ts +32 -35
- package/src/models/GetCloudAccountResponseBody.ts +75 -0
- package/src/models/GetCloudAccountRoleResponseBody.ts +6 -3
- package/src/models/ListAuthorizationRulesRequest.ts +9 -10
- package/src/models/ListAuthorizationRulesResponseBody.ts +32 -35
- package/src/models/ListCloudAccountRolesResponseBody.ts +19 -16
- package/src/models/ListCloudAccountsRequest.ts +7 -7
- package/src/models/ListCloudAccountsResponseBody.ts +81 -9
- package/src/models/RemoveGroupFromAuthorizationRuleRequest.ts +1 -1
- package/src/models/UpdateCredentialProviderRequest.ts +45 -12
- package/src/models/model.ts +5 -0
|
@@ -2,7 +2,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateAuthorizationRuleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The authorization resource scope. Valid values:
|
|
6
|
+
*
|
|
6
7
|
* - global: all resources under the project.
|
|
7
8
|
* - custom: specified resources under the project.
|
|
8
9
|
*
|
|
@@ -22,7 +23,15 @@ export declare class CreateAuthorizationRuleRequest extends $dara.Model {
|
|
|
22
23
|
authorizationRuleName?: string;
|
|
23
24
|
/**
|
|
24
25
|
* @remarks
|
|
25
|
-
* The
|
|
26
|
+
* The scenario label of the authorization rule. The label can be up to 64 characters in length.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* privileged_cloud_account
|
|
30
|
+
*/
|
|
31
|
+
authorizationRuleScenarioLabel?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* Ensures the idempotence of the request. Generate a parameter value from your client to ensure that the value is unique across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. For more information, see References [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
26
35
|
*
|
|
27
36
|
* This parameter is required.
|
|
28
37
|
*
|
|
@@ -41,6 +41,7 @@ class CreateAuthorizationRuleRequest extends $dara.Model {
|
|
|
41
41
|
return {
|
|
42
42
|
authorizationResourceScope: 'AuthorizationResourceScope',
|
|
43
43
|
authorizationRuleName: 'AuthorizationRuleName',
|
|
44
|
+
authorizationRuleScenarioLabel: 'AuthorizationRuleScenarioLabel',
|
|
44
45
|
clientToken: 'ClientToken',
|
|
45
46
|
description: 'Description',
|
|
46
47
|
instanceId: 'InstanceId',
|
|
@@ -51,6 +52,7 @@ class CreateAuthorizationRuleRequest extends $dara.Model {
|
|
|
51
52
|
return {
|
|
52
53
|
authorizationResourceScope: 'string',
|
|
53
54
|
authorizationRuleName: 'string',
|
|
55
|
+
authorizationRuleScenarioLabel: 'string',
|
|
54
56
|
clientToken: 'string',
|
|
55
57
|
description: 'string',
|
|
56
58
|
instanceId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAuthorizationRuleRequest.js","sourceRoot":"","sources":["../../src/models/CreateAuthorizationRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateAuthorizationRuleRequest.js","sourceRoot":"","sources":["../../src/models/CreateAuthorizationRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAoE7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,0BAA0B,EAAE,4BAA4B;YACxD,qBAAqB,EAAE,uBAAuB;YAC9C,8BAA8B,EAAE,gCAAgC;YAChE,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,0BAA0B,EAAE,QAAQ;YACpC,qBAAqB,EAAE,QAAQ;YAC/B,8BAA8B,EAAE,QAAQ;YACxC,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnGD,wEAmGC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ExecuteInstanceFailoverRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* 故障转移状态
|
|
6
|
+
*
|
|
7
|
+
* This parameter is required.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* active
|
|
11
|
+
*/
|
|
12
|
+
instanceFailoverStatus?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* IDaaS 的副本实例 ID
|
|
16
|
+
*
|
|
17
|
+
* This parameter is required.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* idaas_xxx
|
|
21
|
+
*/
|
|
22
|
+
instanceId?: string;
|
|
23
|
+
static names(): {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
static types(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
validate(): void;
|
|
30
|
+
constructor(map?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ExecuteInstanceFailoverRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ExecuteInstanceFailoverRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
instanceFailoverStatus: 'InstanceFailoverStatus',
|
|
43
|
+
instanceId: 'InstanceId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
instanceFailoverStatus: 'string',
|
|
49
|
+
instanceId: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ExecuteInstanceFailoverRequest = ExecuteInstanceFailoverRequest;
|
|
60
|
+
//# sourceMappingURL=ExecuteInstanceFailoverRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecuteInstanceFailoverRequest.js","sourceRoot":"","sources":["../../src/models/ExecuteInstanceFailoverRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAqB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,sBAAsB,EAAE,wBAAwB;YAChD,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,sBAAsB,EAAE,QAAQ;YAChC,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1CD,wEA0CC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { ExecuteInstanceFailoverResponseBody } from "./ExecuteInstanceFailoverResponseBody";
|
|
3
|
+
export declare class ExecuteInstanceFailoverResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: ExecuteInstanceFailoverResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ExecuteInstanceFailoverResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const ExecuteInstanceFailoverResponseBody_1 = require("./ExecuteInstanceFailoverResponseBody");
|
|
40
|
+
class ExecuteInstanceFailoverResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: ExecuteInstanceFailoverResponseBody_1.ExecuteInstanceFailoverResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.ExecuteInstanceFailoverResponse = ExecuteInstanceFailoverResponse;
|
|
69
|
+
//# sourceMappingURL=ExecuteInstanceFailoverResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecuteInstanceFailoverResponse.js","sourceRoot":"","sources":["../../src/models/ExecuteInstanceFailoverResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yEAAmC;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0EAiCC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ExecuteInstanceFailoverResponseBody extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
6
|
+
*/
|
|
7
|
+
requestId?: string;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ExecuteInstanceFailoverResponseBody = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ExecuteInstanceFailoverResponseBody extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
requestId: 'RequestId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static types() {
|
|
46
|
+
return {
|
|
47
|
+
requestId: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
constructor(map) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.ExecuteInstanceFailoverResponseBody = ExecuteInstanceFailoverResponseBody;
|
|
58
|
+
//# sourceMappingURL=ExecuteInstanceFailoverResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecuteInstanceFailoverResponseBody.js","sourceRoot":"","sources":["../../src/models/ExecuteInstanceFailoverResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAMlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzBD,kFAyBC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetAuthorizationRuleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* The authorization rule ID.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class GetAuthorizationRuleRequest extends $dara.Model {
|
|
|
12
12
|
authorizationRuleId?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* The instance ID.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -2,11 +2,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* -
|
|
8
|
-
*
|
|
9
|
-
* - custom: Resources within the specified project scope
|
|
5
|
+
* The authorization resource scope. Valid values:
|
|
6
|
+
* - global: All resources under the project.
|
|
7
|
+
* - custom: Specified resources within the project scope.
|
|
10
8
|
*
|
|
11
9
|
* @example
|
|
12
10
|
* global
|
|
@@ -14,11 +12,9 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
14
12
|
authorizationResourceScope?: string;
|
|
15
13
|
/**
|
|
16
14
|
* @remarks
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* -
|
|
20
|
-
*
|
|
21
|
-
* - user_custom: User created
|
|
15
|
+
* The creation type of the authorization rule. Valid values:
|
|
16
|
+
* - system_init: Created by the system.
|
|
17
|
+
* - user_custom: Created by the user.
|
|
22
18
|
*
|
|
23
19
|
* @example
|
|
24
20
|
* user_custom
|
|
@@ -26,7 +22,7 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
26
22
|
authorizationRuleCreationType?: string;
|
|
27
23
|
/**
|
|
28
24
|
* @remarks
|
|
29
|
-
*
|
|
25
|
+
* The authorization rule ID.
|
|
30
26
|
*
|
|
31
27
|
* @example
|
|
32
28
|
* arrule_01kf143ug06fg7m9f43u7vahxxxx
|
|
@@ -34,7 +30,7 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
34
30
|
authorizationRuleId?: string;
|
|
35
31
|
/**
|
|
36
32
|
* @remarks
|
|
37
|
-
*
|
|
33
|
+
* The authorization rule name.
|
|
38
34
|
*
|
|
39
35
|
* @example
|
|
40
36
|
* test-name
|
|
@@ -42,7 +38,12 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
42
38
|
authorizationRuleName?: string;
|
|
43
39
|
/**
|
|
44
40
|
* @remarks
|
|
45
|
-
*
|
|
41
|
+
* The scenario label of the authorization rule.
|
|
42
|
+
*/
|
|
43
|
+
authorizationRuleScenarioLabel?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The subject ID associated with the authorization rule.
|
|
46
47
|
*
|
|
47
48
|
* @example
|
|
48
49
|
* user_d6sbsuumeta4h66ec3il7yxxxx
|
|
@@ -50,11 +51,9 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
50
51
|
authorizationRuleSubjectId?: string;
|
|
51
52
|
/**
|
|
52
53
|
* @remarks
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* -
|
|
56
|
-
*
|
|
57
|
-
* - exclusive: Exclusive type
|
|
54
|
+
* The subject scope of the authorization rule. Valid values:
|
|
55
|
+
* - shared: Shared type, which supports all subjects, including accounts and applications.
|
|
56
|
+
* - exclusive: Exclusive type.
|
|
58
57
|
*
|
|
59
58
|
* @example
|
|
60
59
|
* shared
|
|
@@ -62,11 +61,9 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
62
61
|
authorizationRuleSubjectScope?: string;
|
|
63
62
|
/**
|
|
64
63
|
* @remarks
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* -
|
|
68
|
-
*
|
|
69
|
-
* - user: Account
|
|
64
|
+
* The subject type associated with the authorization rule. This parameter is valid only when the authorization rule subject scope is exclusive. Valid values:
|
|
65
|
+
* - application: Application.
|
|
66
|
+
* - user: Account.
|
|
70
67
|
*
|
|
71
68
|
* @example
|
|
72
69
|
* user
|
|
@@ -74,7 +71,7 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
74
71
|
authorizationRuleSubjectType?: string;
|
|
75
72
|
/**
|
|
76
73
|
* @remarks
|
|
77
|
-
*
|
|
74
|
+
* The creation time, in UNIX timestamp format, measured in milliseconds.
|
|
78
75
|
*
|
|
79
76
|
* @example
|
|
80
77
|
* 1652085686179
|
|
@@ -82,7 +79,7 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
82
79
|
createTime?: number;
|
|
83
80
|
/**
|
|
84
81
|
* @remarks
|
|
85
|
-
*
|
|
82
|
+
* The description of the authorization rule.
|
|
86
83
|
*
|
|
87
84
|
* @example
|
|
88
85
|
* this is a test
|
|
@@ -90,7 +87,7 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
90
87
|
description?: string;
|
|
91
88
|
/**
|
|
92
89
|
* @remarks
|
|
93
|
-
*
|
|
90
|
+
* The instance ID.
|
|
94
91
|
*
|
|
95
92
|
* @example
|
|
96
93
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
@@ -98,7 +95,7 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
98
95
|
instanceId?: string;
|
|
99
96
|
/**
|
|
100
97
|
* @remarks
|
|
101
|
-
*
|
|
98
|
+
* The project ID associated with the authorization rule.
|
|
102
99
|
*
|
|
103
100
|
* @example
|
|
104
101
|
* iprj_system_default
|
|
@@ -106,11 +103,9 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
106
103
|
projectId?: string;
|
|
107
104
|
/**
|
|
108
105
|
* @remarks
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* -
|
|
112
|
-
*
|
|
113
|
-
* - disabled: Disabled
|
|
106
|
+
* The authorization rule status. Valid values:
|
|
107
|
+
* - enabled: Enabled.
|
|
108
|
+
* - disabled: Disabled.
|
|
114
109
|
*
|
|
115
110
|
* @example
|
|
116
111
|
* enabled
|
|
@@ -118,7 +113,7 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
118
113
|
status?: string;
|
|
119
114
|
/**
|
|
120
115
|
* @remarks
|
|
121
|
-
*
|
|
116
|
+
* The last update time, in UNIX timestamp format, measured in milliseconds.
|
|
122
117
|
*
|
|
123
118
|
* @example
|
|
124
119
|
* 1652085686179
|
|
@@ -138,12 +133,12 @@ export declare class GetAuthorizationRuleResponseBodyAuthorizationRule extends $
|
|
|
138
133
|
export declare class GetAuthorizationRuleResponseBody extends $dara.Model {
|
|
139
134
|
/**
|
|
140
135
|
* @remarks
|
|
141
|
-
*
|
|
136
|
+
* The authorization rule object.
|
|
142
137
|
*/
|
|
143
138
|
authorizationRule?: GetAuthorizationRuleResponseBodyAuthorizationRule;
|
|
144
139
|
/**
|
|
145
140
|
* @remarks
|
|
146
|
-
*
|
|
141
|
+
* The request ID.
|
|
147
142
|
*
|
|
148
143
|
* @example
|
|
149
144
|
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
@@ -43,6 +43,7 @@ class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Model {
|
|
|
43
43
|
authorizationRuleCreationType: 'AuthorizationRuleCreationType',
|
|
44
44
|
authorizationRuleId: 'AuthorizationRuleId',
|
|
45
45
|
authorizationRuleName: 'AuthorizationRuleName',
|
|
46
|
+
authorizationRuleScenarioLabel: 'AuthorizationRuleScenarioLabel',
|
|
46
47
|
authorizationRuleSubjectId: 'AuthorizationRuleSubjectId',
|
|
47
48
|
authorizationRuleSubjectScope: 'AuthorizationRuleSubjectScope',
|
|
48
49
|
authorizationRuleSubjectType: 'AuthorizationRuleSubjectType',
|
|
@@ -60,6 +61,7 @@ class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Model {
|
|
|
60
61
|
authorizationRuleCreationType: 'string',
|
|
61
62
|
authorizationRuleId: 'string',
|
|
62
63
|
authorizationRuleName: 'string',
|
|
64
|
+
authorizationRuleScenarioLabel: 'string',
|
|
63
65
|
authorizationRuleSubjectId: 'string',
|
|
64
66
|
authorizationRuleSubjectScope: 'string',
|
|
65
67
|
authorizationRuleSubjectType: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAuthorizationRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/GetAuthorizationRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetAuthorizationRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/GetAuthorizationRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;IAwHhF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,0BAA0B,EAAE,4BAA4B;YACxD,6BAA6B,EAAE,+BAA+B;YAC9D,mBAAmB,EAAE,qBAAqB;YAC1C,qBAAqB,EAAE,uBAAuB;YAC9C,8BAA8B,EAAE,gCAAgC;YAChE,0BAA0B,EAAE,4BAA4B;YACxD,6BAA6B,EAAE,+BAA+B;YAC9D,4BAA4B,EAAE,8BAA8B;YAC5D,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,0BAA0B,EAAE,QAAQ;YACpC,6BAA6B,EAAE,QAAQ;YACvC,mBAAmB,EAAE,QAAQ;YAC7B,qBAAqB,EAAE,QAAQ;YAC/B,8BAA8B,EAAE,QAAQ;YACxC,0BAA0B,EAAE,QAAQ;YACpC,6BAA6B,EAAE,QAAQ;YACvC,4BAA4B,EAAE,QAAQ;YACtC,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArKD,8GAqKC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAc/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,mBAAmB;YACtC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,iDAAiD;YACpE,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,iBAAiB,IAAI,OAAQ,IAAI,CAAC,iBAAyB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3F,IAAI,CAAC,iBAAyB,CAAC,QAAQ,EAAE,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,4EAsCC"}
|
|
@@ -107,6 +107,28 @@ export declare class GetCloudAccountResponseBodyCloudAccountCloudAccountProvider
|
|
|
107
107
|
[key: string]: any;
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
+
export declare class GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError extends $dara.Model {
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The failure error code.
|
|
114
|
+
*/
|
|
115
|
+
errorCode?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The failure message.
|
|
119
|
+
*/
|
|
120
|
+
errorMessage?: string;
|
|
121
|
+
static names(): {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
static types(): {
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
};
|
|
127
|
+
validate(): void;
|
|
128
|
+
constructor(map?: {
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
});
|
|
131
|
+
}
|
|
110
132
|
export declare class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
111
133
|
/**
|
|
112
134
|
* @remarks
|
|
@@ -161,6 +183,11 @@ export declare class GetCloudAccountResponseBodyCloudAccount extends $dara.Model
|
|
|
161
183
|
* idaas-eiam-oidc-provider
|
|
162
184
|
*/
|
|
163
185
|
cloudAccountProviderName?: string;
|
|
186
|
+
cloudAccountRoleCreationType?: string;
|
|
187
|
+
/**
|
|
188
|
+
* @remarks
|
|
189
|
+
* The cloud account site.
|
|
190
|
+
*/
|
|
164
191
|
cloudAccountSite?: string;
|
|
165
192
|
/**
|
|
166
193
|
* @remarks
|
|
@@ -196,6 +223,26 @@ export declare class GetCloudAccountResponseBodyCloudAccount extends $dara.Model
|
|
|
196
223
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
197
224
|
*/
|
|
198
225
|
instanceId?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* The list of associated privilege application IDs.
|
|
229
|
+
*/
|
|
230
|
+
privilegeApplicationIds?: string[];
|
|
231
|
+
/**
|
|
232
|
+
* @remarks
|
|
233
|
+
* The reason for the privilege hosting or removal failure.
|
|
234
|
+
*/
|
|
235
|
+
privilegeHostingError?: GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError;
|
|
236
|
+
/**
|
|
237
|
+
* @remarks
|
|
238
|
+
* The privilege hosting state, which indicates whether the privilege capability is available.
|
|
239
|
+
*/
|
|
240
|
+
privilegeHostingState?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* The privilege switch status, which indicates whether the privilege capability is enabled.
|
|
244
|
+
*/
|
|
245
|
+
privilegeStatus?: string;
|
|
199
246
|
/**
|
|
200
247
|
* @remarks
|
|
201
248
|
* The last update time. The value is a UNIX timestamp in milliseconds.
|