@alicloud/gpdb20160503 3.11.1 → 3.12.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 +128 -2
- package/dist/client.js +329 -13
- package/dist/client.js.map +1 -1
- package/dist/models/CheckSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/CheckSaasServiceVersionRequest.js +60 -0
- package/dist/models/CheckSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/CheckSaasServiceVersionResponse.js +69 -0
- package/dist/models/CheckSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.d.ts +45 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js +64 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js.map +1 -0
- package/dist/models/DescribeBranchRequest.d.ts +1 -1
- package/dist/models/DescribeBranchResponseBody.d.ts +7 -6
- package/dist/models/DescribeBranchResponseBody.js +2 -0
- package/dist/models/DescribeBranchResponseBody.js.map +1 -1
- package/dist/models/GetApiEndpointsRequest.d.ts +37 -0
- package/dist/models/GetApiEndpointsRequest.js +62 -0
- package/dist/models/GetApiEndpointsRequest.js.map +1 -0
- package/dist/models/GetApiEndpointsResponse.d.ts +19 -0
- package/dist/models/GetApiEndpointsResponse.js +69 -0
- package/dist/models/GetApiEndpointsResponse.js.map +1 -0
- package/dist/models/GetApiEndpointsResponseBody.d.ts +89 -0
- package/dist/models/GetApiEndpointsResponseBody.js +92 -0
- package/dist/models/GetApiEndpointsResponseBody.js.map +1 -0
- package/dist/models/GrantApiKeyRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyRequest.js +67 -0
- package/dist/models/GrantApiKeyRequest.js.map +1 -0
- package/dist/models/GrantApiKeyResponse.d.ts +19 -0
- package/dist/models/GrantApiKeyResponse.js +69 -0
- package/dist/models/GrantApiKeyResponse.js.map +1 -0
- package/dist/models/GrantApiKeyResponseBody.d.ts +21 -0
- package/dist/models/GrantApiKeyResponseBody.js +58 -0
- package/dist/models/GrantApiKeyResponseBody.js.map +1 -0
- package/dist/models/GrantApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyShrinkRequest.js +64 -0
- package/dist/models/GrantApiKeyShrinkRequest.js.map +1 -0
- package/dist/models/ListBranchesRequest.d.ts +5 -5
- package/dist/models/ListBranchesResponseBody.d.ts +4 -3
- package/dist/models/ListBranchesResponseBody.js +2 -0
- package/dist/models/ListBranchesResponseBody.js.map +1 -1
- package/dist/models/ListSaasServiceRequest.d.ts +1 -1
- package/dist/models/ListSaasServiceResponseBody.d.ts +59 -0
- package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.d.ts +39 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.d.ts +19 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js +69 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.d.ts +37 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js.map +1 -0
- package/dist/models/RevokeApiKeyRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyRequest.js +67 -0
- package/dist/models/RevokeApiKeyRequest.js.map +1 -0
- package/dist/models/RevokeApiKeyResponse.d.ts +19 -0
- package/dist/models/RevokeApiKeyResponse.js +69 -0
- package/dist/models/RevokeApiKeyResponse.js.map +1 -0
- package/dist/models/RevokeApiKeyResponseBody.d.ts +21 -0
- package/dist/models/RevokeApiKeyResponseBody.js +58 -0
- package/dist/models/RevokeApiKeyResponseBody.js.map +1 -0
- package/dist/models/RevokeApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js +64 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js +60 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js +69 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.d.ts +37 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js +62 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +63 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +361 -13
- package/src/models/CheckSaasServiceVersionRequest.ts +46 -0
- package/src/models/CheckSaasServiceVersionResponse.ts +40 -0
- package/src/models/CheckSaasServiceVersionResponseBody.ts +64 -0
- package/src/models/DescribeBranchRequest.ts +1 -1
- package/src/models/DescribeBranchResponseBody.ts +9 -6
- package/src/models/GetApiEndpointsRequest.ts +54 -0
- package/src/models/GetApiEndpointsResponse.ts +40 -0
- package/src/models/GetApiEndpointsResponseBody.ts +127 -0
- package/src/models/GrantApiKeyRequest.ts +70 -0
- package/src/models/GrantApiKeyResponse.ts +40 -0
- package/src/models/GrantApiKeyResponseBody.ts +34 -0
- package/src/models/GrantApiKeyShrinkRequest.ts +67 -0
- package/src/models/ListBranchesRequest.ts +5 -5
- package/src/models/ListBranchesResponseBody.ts +6 -3
- package/src/models/ListSaasServiceRequest.ts +1 -1
- package/src/models/ListSaasServiceResponseBody.ts +59 -0
- package/src/models/ModifySaasServiceDeletionProtectionRequest.ts +56 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponse.ts +40 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponseBody.ts +54 -0
- package/src/models/RevokeApiKeyRequest.ts +70 -0
- package/src/models/RevokeApiKeyResponse.ts +40 -0
- package/src/models/RevokeApiKeyResponseBody.ts +34 -0
- package/src/models/RevokeApiKeyShrinkRequest.ts +67 -0
- package/src/models/UpdateSaasServiceVersionRequest.ts +46 -0
- package/src/models/UpdateSaasServiceVersionResponse.ts +40 -0
- package/src/models/UpdateSaasServiceVersionResponseBody.ts +54 -0
- package/src/models/model.ts +21 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetApiEndpointsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum number of records to return in this query.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 20
|
|
12
|
+
*/
|
|
13
|
+
maxResults?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The pagination token for the next query.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
20
|
+
*/
|
|
21
|
+
nextToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The region ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* cn-hangzhou
|
|
28
|
+
*/
|
|
29
|
+
regionId?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
maxResults: 'MaxResults',
|
|
33
|
+
nextToken: 'NextToken',
|
|
34
|
+
regionId: 'RegionId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
maxResults: 'number',
|
|
41
|
+
nextToken: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetApiEndpointsResponseBody } from "./GetApiEndpointsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetApiEndpointsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetApiEndpointsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetApiEndpointsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetApiEndpointsResponseBodyItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The endpoint.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* https://api-longmemory-cn-beijing.opentrust.net/
|
|
12
|
+
*/
|
|
13
|
+
endpoint?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The region ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-hangzhou
|
|
20
|
+
*/
|
|
21
|
+
regionId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The service type. Valid values:
|
|
25
|
+
*
|
|
26
|
+
* - **memory**
|
|
27
|
+
* - **drama**
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* memory
|
|
31
|
+
*/
|
|
32
|
+
serviceType?: string;
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
endpoint: 'Endpoint',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
serviceType: 'ServiceType',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
endpoint: 'string',
|
|
44
|
+
regionId: 'string',
|
|
45
|
+
serviceType: 'string',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
validate() {
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class GetApiEndpointsResponseBody extends $dara.Model {
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The list of parameters.
|
|
62
|
+
*/
|
|
63
|
+
items?: GetApiEndpointsResponseBodyItems[];
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The maximum number of records to return in this query.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 20
|
|
70
|
+
*/
|
|
71
|
+
maxResults?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The token for the next query during paging. Use this token to start the next query.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
78
|
+
*/
|
|
79
|
+
nextToken?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Id of the request
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
86
|
+
*/
|
|
87
|
+
requestId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The total number of records.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* 2
|
|
94
|
+
*/
|
|
95
|
+
totalRecordCount?: number;
|
|
96
|
+
static names(): { [key: string]: string } {
|
|
97
|
+
return {
|
|
98
|
+
items: 'Items',
|
|
99
|
+
maxResults: 'MaxResults',
|
|
100
|
+
nextToken: 'NextToken',
|
|
101
|
+
requestId: 'RequestId',
|
|
102
|
+
totalRecordCount: 'TotalRecordCount',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
items: { 'type': 'array', 'itemType': GetApiEndpointsResponseBodyItems },
|
|
109
|
+
maxResults: 'number',
|
|
110
|
+
nextToken: 'string',
|
|
111
|
+
requestId: 'string',
|
|
112
|
+
totalRecordCount: 'number',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(Array.isArray(this.items)) {
|
|
118
|
+
$dara.Model.validateArray(this.items);
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GrantApiKeyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the API key.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* api-xxxxxxx
|
|
14
|
+
*/
|
|
15
|
+
keyId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The region ID.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* cn-beijing
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The list of service IDs to authorize.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*/
|
|
30
|
+
serviceIds?: string[];
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The workspace ID.
|
|
34
|
+
*
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ws-*****
|
|
39
|
+
*/
|
|
40
|
+
workspaceId?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
keyId: 'KeyId',
|
|
44
|
+
regionId: 'RegionId',
|
|
45
|
+
serviceIds: 'ServiceIds',
|
|
46
|
+
workspaceId: 'WorkspaceId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
keyId: 'string',
|
|
53
|
+
regionId: 'string',
|
|
54
|
+
serviceIds: { 'type': 'array', 'itemType': 'string' },
|
|
55
|
+
workspaceId: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
validate() {
|
|
60
|
+
if(Array.isArray(this.serviceIds)) {
|
|
61
|
+
$dara.Model.validateArray(this.serviceIds);
|
|
62
|
+
}
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GrantApiKeyResponseBody } from "./GrantApiKeyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GrantApiKeyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GrantApiKeyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GrantApiKeyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GrantApiKeyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
|
|
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
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GrantApiKeyShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the API key.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* api-xxxxxxx
|
|
14
|
+
*/
|
|
15
|
+
keyId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The region ID.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* cn-beijing
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The list of service IDs to authorize.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*/
|
|
30
|
+
serviceIdsShrink?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The workspace ID.
|
|
34
|
+
*
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ws-*****
|
|
39
|
+
*/
|
|
40
|
+
workspaceId?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
keyId: 'KeyId',
|
|
44
|
+
regionId: 'RegionId',
|
|
45
|
+
serviceIdsShrink: 'ServiceIds',
|
|
46
|
+
workspaceId: 'WorkspaceId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
keyId: 'string',
|
|
53
|
+
regionId: 'string',
|
|
54
|
+
serviceIdsShrink: 'string',
|
|
55
|
+
workspaceId: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
validate() {
|
|
60
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListBranchesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The maximum number of records to return in this
|
|
8
|
+
* The maximum number of records to return in this query.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 20
|
|
@@ -13,7 +13,7 @@ export class ListBranchesRequest extends $dara.Model {
|
|
|
13
13
|
maxResults?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The cursor for
|
|
16
|
+
* The cursor for paging query. You do not need to specify this parameter for the first query. For subsequent queries, use the NextToken value returned in the previous response.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -45,7 +45,7 @@ export class ListBranchesRequest extends $dara.Model {
|
|
|
45
45
|
pageSize?: number;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The parent branch ID. This parameter specifies the parent branch for a new branch or a query filter.
|
|
48
|
+
* The parent branch ID. This parameter specifies the parent branch for a new branch or as a query filter condition.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* br-main
|
|
@@ -69,7 +69,7 @@ export class ListBranchesRequest extends $dara.Model {
|
|
|
69
69
|
search?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The
|
|
72
|
+
* The sort field.
|
|
73
73
|
*
|
|
74
74
|
* Valid values:
|
|
75
75
|
* - BranchName: sorts by branch name.
|
|
@@ -84,7 +84,7 @@ export class ListBranchesRequest extends $dara.Model {
|
|
|
84
84
|
sortBy?: string;
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The sort
|
|
87
|
+
* The sort direction.
|
|
88
88
|
*
|
|
89
89
|
* Valid values:
|
|
90
90
|
* - Asc: ascending order.
|
|
@@ -69,6 +69,7 @@ export class ListBranchesResponseBodyBranchesBranch extends $dara.Model {
|
|
|
69
69
|
projectId?: string;
|
|
70
70
|
protected?: boolean;
|
|
71
71
|
serviceType?: string;
|
|
72
|
+
spbProjectId?: string;
|
|
72
73
|
status?: string;
|
|
73
74
|
tags?: ListBranchesResponseBodyBranchesBranchTags;
|
|
74
75
|
static names(): { [key: string]: string } {
|
|
@@ -87,6 +88,7 @@ export class ListBranchesResponseBodyBranchesBranch extends $dara.Model {
|
|
|
87
88
|
projectId: 'ProjectId',
|
|
88
89
|
protected: 'Protected',
|
|
89
90
|
serviceType: 'ServiceType',
|
|
91
|
+
spbProjectId: 'SpbProjectId',
|
|
90
92
|
status: 'Status',
|
|
91
93
|
tags: 'Tags',
|
|
92
94
|
};
|
|
@@ -108,6 +110,7 @@ export class ListBranchesResponseBodyBranchesBranch extends $dara.Model {
|
|
|
108
110
|
projectId: 'string',
|
|
109
111
|
protected: 'boolean',
|
|
110
112
|
serviceType: 'string',
|
|
113
|
+
spbProjectId: 'string',
|
|
111
114
|
status: 'string',
|
|
112
115
|
tags: ListBranchesResponseBodyBranchesBranchTags,
|
|
113
116
|
};
|
|
@@ -155,7 +158,7 @@ export class ListBranchesResponseBody extends $dara.Model {
|
|
|
155
158
|
branches?: ListBranchesResponseBodyBranches;
|
|
156
159
|
/**
|
|
157
160
|
* @remarks
|
|
158
|
-
* The maximum number of records to return in this
|
|
161
|
+
* The maximum number of records to return in this query.
|
|
159
162
|
*
|
|
160
163
|
* @example
|
|
161
164
|
* 20
|
|
@@ -163,7 +166,7 @@ export class ListBranchesResponseBody extends $dara.Model {
|
|
|
163
166
|
maxResults?: number;
|
|
164
167
|
/**
|
|
165
168
|
* @remarks
|
|
166
|
-
* The cursor for
|
|
169
|
+
* The cursor for paging query. You do not need to specify this parameter for the first query. For subsequent queries, use the NextToken value returned in the previous response.
|
|
167
170
|
*
|
|
168
171
|
* @example
|
|
169
172
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -203,7 +206,7 @@ export class ListBranchesResponseBody extends $dara.Model {
|
|
|
203
206
|
requestId?: string;
|
|
204
207
|
/**
|
|
205
208
|
* @remarks
|
|
206
|
-
* The total number of branches that match the query
|
|
209
|
+
* The total number of branches that match the query conditions.
|
|
207
210
|
*
|
|
208
211
|
* @example
|
|
209
212
|
* 20
|
|
@@ -13,7 +13,7 @@ export class ListSaasServiceRequest extends $dara.Model {
|
|
|
13
13
|
maxResults?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The token for the next
|
|
16
|
+
* The paging token for the next query. When you perform a paging query, the next query begins from the specified token.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -3,11 +3,56 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListSaasServiceResponseBodyItemsComponents extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The component ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 0644c5aa-5306-478b-ac39-bb4660cdc9f7
|
|
12
|
+
*/
|
|
6
13
|
componentId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the subcomponent.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* gamestudio
|
|
20
|
+
*/
|
|
7
21
|
componentType?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The creation time.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2021-10-09T04:54:08Z
|
|
28
|
+
*/
|
|
8
29
|
createTime?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The compute resource of the component.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 2
|
|
36
|
+
*/
|
|
9
37
|
cu?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The release protection status.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* true
|
|
44
|
+
*/
|
|
10
45
|
deletionProtection?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The service status. Valid values:
|
|
49
|
+
*
|
|
50
|
+
* - active: Running.
|
|
51
|
+
* - creating: Being created.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* active
|
|
55
|
+
*/
|
|
11
56
|
status?: string;
|
|
12
57
|
static names(): { [key: string]: string } {
|
|
13
58
|
return {
|
|
@@ -41,6 +86,10 @@ export class ListSaasServiceResponseBodyItemsComponents extends $dara.Model {
|
|
|
41
86
|
}
|
|
42
87
|
|
|
43
88
|
export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The list of service subcomponents.
|
|
92
|
+
*/
|
|
44
93
|
components?: ListSaasServiceResponseBodyItemsComponents[];
|
|
45
94
|
/**
|
|
46
95
|
* @remarks
|
|
@@ -58,6 +107,16 @@ export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
|
58
107
|
* 1
|
|
59
108
|
*/
|
|
60
109
|
cu?: number;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* Indicates whether the release protection feature is enabled. Valid values:
|
|
113
|
+
*
|
|
114
|
+
* * **true**: Enabled.
|
|
115
|
+
* * **false**: Disabled.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* True
|
|
119
|
+
*/
|
|
61
120
|
deletionProtection?: boolean;
|
|
62
121
|
/**
|
|
63
122
|
* @remarks
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySaasServiceDeletionProtectionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to enable deletion protection.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* true
|
|
12
|
+
*/
|
|
13
|
+
deletionProtection?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The region ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-hangzhou
|
|
20
|
+
*/
|
|
21
|
+
regionId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The service ID.
|
|
25
|
+
*
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* agdb-xxxxx
|
|
30
|
+
*/
|
|
31
|
+
serviceId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
deletionProtection: 'DeletionProtection',
|
|
35
|
+
regionId: 'RegionId',
|
|
36
|
+
serviceId: 'ServiceId',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
deletionProtection: 'boolean',
|
|
43
|
+
regionId: 'string',
|
|
44
|
+
serviceId: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|