@alicloud/polardb20170801 9.0.0 → 9.0.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 +2 -2
- package/dist/client.js +2 -2
- package/dist/models/CreateApplicationRequest.d.ts +58 -27
- package/dist/models/CreateApplicationRequest.js +8 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +3 -3
- package/dist/models/CreateApplicationShrinkRequest.d.ts +20 -21
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateBudgetPolicyRequest.d.ts +10 -12
- package/dist/models/CreateBudgetPolicyRequest.js.map +1 -1
- package/dist/models/CreateBudgetPolicyResponseBody.d.ts +3 -3
- package/dist/models/DeleteAgenticDbprojectRequest.d.ts +1 -1
- package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +8 -0
- package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.js +2 -0
- package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +8 -0
- package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.js +2 -0
- package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.js.map +1 -1
- package/dist/models/ModifyAidbclusterModelRequest.d.ts +4 -6
- package/dist/models/ModifyAidbclusterModelRequest.js.map +1 -1
- package/dist/models/ModifyAidbclusterModelResponseBody.d.ts +6 -6
- package/dist/models/ResizeAidbclusterModelRequest.d.ts +3 -3
- package/dist/models/ResizeAidbclusterModelResponseBody.d.ts +3 -3
- package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +8 -0
- package/dist/models/RetrievalKnowledgeBaseResponseBody.js +2 -0
- package/dist/models/RetrievalKnowledgeBaseResponseBody.js.map +1 -1
- package/dist/models/VerifyAgenticDbtenantApiKeyRequest.d.ts +1 -1
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.d.ts +5 -6
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -2
- package/src/models/CreateApplicationRequest.ts +66 -27
- package/src/models/CreateApplicationResponseBody.ts +3 -3
- package/src/models/CreateApplicationShrinkRequest.ts +20 -21
- package/src/models/CreateBudgetPolicyRequest.ts +10 -12
- package/src/models/CreateBudgetPolicyResponseBody.ts +3 -3
- package/src/models/DeleteAgenticDbprojectRequest.ts +1 -1
- package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +10 -0
- package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +10 -0
- package/src/models/ModifyAidbclusterModelRequest.ts +4 -6
- package/src/models/ModifyAidbclusterModelResponseBody.ts +6 -6
- package/src/models/ResizeAidbclusterModelRequest.ts +3 -3
- package/src/models/ResizeAidbclusterModelResponseBody.ts +3 -3
- package/src/models/RetrievalKnowledgeBaseResponseBody.ts +10 -0
- package/src/models/VerifyAgenticDbtenantApiKeyRequest.ts +1 -1
- package/src/models/VerifyAgenticDbtenantApiKeyResponseBody.ts +5 -6
|
@@ -45,7 +45,7 @@ export class CreateApplicationShrinkRequestTag extends $dara.Model {
|
|
|
45
45
|
export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The ID of the existing model operator instance
|
|
48
|
+
* The ID of the associated existing model operator instance. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* pm-xxxxxx
|
|
@@ -70,9 +70,9 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
72
|
* The application type. Valid values:
|
|
73
|
-
* - supabase:
|
|
74
|
-
* - raycluster:
|
|
75
|
-
* - polarclaw:
|
|
73
|
+
* - supabase: Pass this value to create a managed Supabase application.
|
|
74
|
+
* - raycluster: Pass this value to create a managed Ray Cluster application.
|
|
75
|
+
* - polarclaw: Pass this value to create a managed PolarClaw application.
|
|
76
76
|
*
|
|
77
77
|
* This parameter is required.
|
|
78
78
|
*
|
|
@@ -93,7 +93,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
93
93
|
architecture?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The authentication
|
|
96
|
+
* The authentication provider.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* feishu
|
|
@@ -101,7 +101,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
101
101
|
authProvider?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The authentication provider
|
|
104
|
+
* The configuration of the authentication provider.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* xxx
|
|
@@ -109,12 +109,12 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
109
109
|
authProviderConfig?: string;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* Specifies whether
|
|
112
|
+
* Specifies whether to automatically create and attach an EIP.
|
|
113
113
|
*/
|
|
114
114
|
autoAllocatePublicEip?: boolean;
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* Specifies whether
|
|
117
|
+
* Specifies whether the automatic creation of a Polarlakebase cold storage instance is enabled. Valid values:
|
|
118
118
|
* * false (default): Do not automatically create the instance.
|
|
119
119
|
* * true: Automatically create the instance.
|
|
120
120
|
*
|
|
@@ -147,7 +147,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
147
147
|
componentsShrink?: string;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
* The
|
|
150
|
+
* The PolarDB instance ID that the application depends on.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* pc-**************
|
|
@@ -163,12 +163,12 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
163
163
|
description?: string;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* The
|
|
166
|
+
* The list of expected DNAT entries for NAT mapping. Specify this parameter together with VpcNatGatewayId. This parameter can be left empty, which indicates that no DNAT entries are created.
|
|
167
167
|
*/
|
|
168
168
|
dnatEntriesShrink?: string;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The dedicated NAT IP address allocated for DNAT
|
|
171
|
+
* The dedicated NAT IP address allocated for DNAT, which is separate from the SNAT IP address. The IP address must belong to the NAT gateway, be in the available state, and the vSwitch where the gateway resides must belong to a primary CIDR block reachable from the office network. Specify this parameter together with VpcNatGatewayId. Prerequisite: An SNAT entry is bound to the vSwitch where the application resides.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* 10.64.0.10
|
|
@@ -176,7 +176,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
176
176
|
dnatIpAddress?: string;
|
|
177
177
|
/**
|
|
178
178
|
* @remarks
|
|
179
|
-
* Specifies whether to perform a dry run. Default value: false
|
|
179
|
+
* Specifies whether to perform a dry run. Default value: `false`. If you set this parameter to `true`, only parameter and resource validations are performed, and no resources are actually created.
|
|
180
180
|
*
|
|
181
181
|
* @example
|
|
182
182
|
* false
|
|
@@ -223,10 +223,10 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
223
223
|
modelBaseUrl?: string;
|
|
224
224
|
/**
|
|
225
225
|
* @remarks
|
|
226
|
-
* The model
|
|
227
|
-
* * bailian: Model Studio
|
|
228
|
-
* * custom: Custom
|
|
229
|
-
* * maas: PolarDB model
|
|
226
|
+
* The source of the model. Valid values:
|
|
227
|
+
* * bailian: Model Studio model.
|
|
228
|
+
* * custom: Custom model.
|
|
229
|
+
* * maas: PolarDB model operator.
|
|
230
230
|
*
|
|
231
231
|
* @example
|
|
232
232
|
* bailian
|
|
@@ -263,8 +263,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
263
263
|
period?: string;
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The
|
|
267
|
-
*
|
|
266
|
+
* The Polarlakebase cold storage or high-performance instance ID. Default value: empty. If you specify this parameter, the corresponding storage is mounted to the application.
|
|
268
267
|
* Currently, only the following applications are supported:
|
|
269
268
|
* - supabase
|
|
270
269
|
* - raycluster
|
|
@@ -307,7 +306,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
307
306
|
securityGroupId?: string;
|
|
308
307
|
/**
|
|
309
308
|
* @remarks
|
|
310
|
-
* The name of the IP address whitelist group. Default value: default
|
|
309
|
+
* The name of the IP address whitelist group. Default value: `default`.
|
|
311
310
|
*
|
|
312
311
|
* @example
|
|
313
312
|
* default
|
|
@@ -315,7 +314,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
315
314
|
securityIPArrayName?: string;
|
|
316
315
|
/**
|
|
317
316
|
* @remarks
|
|
318
|
-
* The IP address whitelist. If you do not specify this parameter, the default value 127.0.0.1 is used.
|
|
317
|
+
* The IP address whitelist. If you do not specify this parameter, the default value `127.0.0.1` is used.
|
|
319
318
|
*
|
|
320
319
|
* @example
|
|
321
320
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -384,7 +383,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
384
383
|
vpcId?: string;
|
|
385
384
|
/**
|
|
386
385
|
* @remarks
|
|
387
|
-
* The NAT gateway ID
|
|
386
|
+
* The VPC NAT gateway ID for NAT mapping. If you specify this parameter, NAT mapping is enabled when the instance is created. The NAT gateway must be in the same VPC as the application, be of the private network type, and be in the active state.
|
|
388
387
|
*
|
|
389
388
|
* @example
|
|
390
389
|
* ngw-xxx
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateBudgetPolicyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The alert threshold
|
|
8
|
+
* The alert threshold percentage (0 to 100).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 10
|
|
@@ -13,7 +13,7 @@ export class CreateBudgetPolicyRequest extends $dara.Model {
|
|
|
13
13
|
alertThresholdPct?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the dimension object. This parameter is required
|
|
16
|
+
* The ID of the dimension object. This parameter is required when BudgetType is set to ConsumerGroupTotal or Consumer.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* mi-xxxxx
|
|
@@ -21,7 +21,7 @@ export class CreateBudgetPolicyRequest extends $dara.Model {
|
|
|
21
21
|
budgetDimensionRefId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The budget points.
|
|
25
25
|
*
|
|
26
26
|
* This parameter is required.
|
|
27
27
|
*
|
|
@@ -32,22 +32,20 @@ export class CreateBudgetPolicyRequest extends $dara.Model {
|
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
34
|
* The budget type. Valid values:
|
|
35
|
-
*
|
|
36
|
-
* -
|
|
37
|
-
*
|
|
38
|
-
* -
|
|
39
|
-
*
|
|
40
|
-
* - `ConsumerGroupTotal`: consumer group total budget
|
|
35
|
+
* - **GlobalTotal**: Global total budget.
|
|
36
|
+
* - **ConsumerGroupTotal**: Total budget for a consumer group.
|
|
37
|
+
* - **ConsumerGroupMemberDefault**: Default budget for a consumer group member.
|
|
38
|
+
* - **Consumer**: Budget for a single consumer.
|
|
41
39
|
*
|
|
42
40
|
* This parameter is required.
|
|
43
41
|
*
|
|
44
42
|
* @example
|
|
45
|
-
*
|
|
43
|
+
* GlobalTotal
|
|
46
44
|
*/
|
|
47
45
|
budgetType?: string;
|
|
48
46
|
/**
|
|
49
47
|
* @remarks
|
|
50
|
-
* The gateway
|
|
48
|
+
* The gateway instance ID.
|
|
51
49
|
*
|
|
52
50
|
* This parameter is required.
|
|
53
51
|
*
|
|
@@ -65,7 +63,7 @@ export class CreateBudgetPolicyRequest extends $dara.Model {
|
|
|
65
63
|
regionId?: string;
|
|
66
64
|
/**
|
|
67
65
|
* @remarks
|
|
68
|
-
* The day of the month
|
|
66
|
+
* The day of the month when the budget is reset (1 to 28).
|
|
69
67
|
*
|
|
70
68
|
* This parameter is required.
|
|
71
69
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateBudgetPolicyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The budget policy
|
|
8
|
+
* The ID of the budget policy.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 05a5a8603df444a8a605af712ffexxx
|
|
@@ -13,7 +13,7 @@ export class CreateBudgetPolicyResponseBody extends $dara.Model {
|
|
|
13
13
|
budgetPolicyId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The gateway
|
|
16
|
+
* The gateway instance ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* pg-xxxxxxx
|
|
@@ -21,7 +21,7 @@ export class CreateBudgetPolicyResponseBody extends $dara.Model {
|
|
|
21
21
|
gwClusterId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* Id of the request
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
|
|
@@ -155,6 +155,14 @@ export class DescribeKnowledgeBaseAnswerResponseBodySources extends $dara.Model
|
|
|
155
155
|
* 1
|
|
156
156
|
*/
|
|
157
157
|
sourceId?: number;
|
|
158
|
+
/**
|
|
159
|
+
* @remarks
|
|
160
|
+
* The URI of the original document.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* https://example.com/source.pdf
|
|
164
|
+
*/
|
|
165
|
+
sourceUri?: string;
|
|
158
166
|
static names(): { [key: string]: string } {
|
|
159
167
|
return {
|
|
160
168
|
chunkMetadata: 'ChunkMetadata',
|
|
@@ -168,6 +176,7 @@ export class DescribeKnowledgeBaseAnswerResponseBodySources extends $dara.Model
|
|
|
168
176
|
shardIndex: 'ShardIndex',
|
|
169
177
|
similarityScore: 'SimilarityScore',
|
|
170
178
|
sourceId: 'SourceId',
|
|
179
|
+
sourceUri: 'SourceUri',
|
|
171
180
|
};
|
|
172
181
|
}
|
|
173
182
|
|
|
@@ -184,6 +193,7 @@ export class DescribeKnowledgeBaseAnswerResponseBodySources extends $dara.Model
|
|
|
184
193
|
shardIndex: 'number',
|
|
185
194
|
similarityScore: 'number',
|
|
186
195
|
sourceId: 'number',
|
|
196
|
+
sourceUri: 'string',
|
|
187
197
|
};
|
|
188
198
|
}
|
|
189
199
|
|
|
@@ -114,6 +114,14 @@ export class DescribeKnowledgeBaseFileShardsResponseBodyShards extends $dara.Mod
|
|
|
114
114
|
* 1
|
|
115
115
|
*/
|
|
116
116
|
shardIndex?: number;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The URI of the source document.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* https://example.com/source.pdf
|
|
123
|
+
*/
|
|
124
|
+
sourceUri?: string;
|
|
117
125
|
static names(): { [key: string]: string } {
|
|
118
126
|
return {
|
|
119
127
|
captions: 'Captions',
|
|
@@ -123,6 +131,7 @@ export class DescribeKnowledgeBaseFileShardsResponseBodyShards extends $dara.Mod
|
|
|
123
131
|
pageNumbers: 'PageNumbers',
|
|
124
132
|
shardContent: 'ShardContent',
|
|
125
133
|
shardIndex: 'ShardIndex',
|
|
134
|
+
sourceUri: 'SourceUri',
|
|
126
135
|
};
|
|
127
136
|
}
|
|
128
137
|
|
|
@@ -135,6 +144,7 @@ export class DescribeKnowledgeBaseFileShardsResponseBodyShards extends $dara.Mod
|
|
|
135
144
|
pageNumbers: { 'type': 'array', 'itemType': 'string' },
|
|
136
145
|
shardContent: 'string',
|
|
137
146
|
shardIndex: 'number',
|
|
147
|
+
sourceUri: 'string',
|
|
138
148
|
};
|
|
139
149
|
}
|
|
140
150
|
|
|
@@ -15,7 +15,7 @@ export class ModifyAIDBClusterModelRequest extends $dara.Model {
|
|
|
15
15
|
DBClusterId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The new
|
|
18
|
+
* The new customer-facing invocation name. If you do not specify this parameter, the existing invocation name is retained.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* my-flagship-chat
|
|
@@ -23,7 +23,7 @@ export class ModifyAIDBClusterModelRequest extends $dara.Model {
|
|
|
23
23
|
displayModelName?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* Specifies whether to only preview the
|
|
26
|
+
* Specifies whether to only preview the modification.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* true
|
|
@@ -31,7 +31,7 @@ export class ModifyAIDBClusterModelRequest extends $dara.Model {
|
|
|
31
31
|
dryRun?: boolean;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The
|
|
34
|
+
* The target model name. Select a value from the ModelName values returned by DescribeAvailableModels.
|
|
35
35
|
*
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
@@ -51,9 +51,7 @@ export class ModifyAIDBClusterModelRequest extends $dara.Model {
|
|
|
51
51
|
regionId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The restart mode
|
|
55
|
-
* - inPlace
|
|
56
|
-
* - recreate
|
|
54
|
+
* The worker restart mode. Valid values: inPlace and recreate.
|
|
57
55
|
*
|
|
58
56
|
* @example
|
|
59
57
|
* inPlace
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAIDBClusterModelResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Indicates whether the request is a dry
|
|
8
|
+
* Indicates whether the request is a dry run.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -29,7 +29,7 @@ export class ModifyAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
29
29
|
requestId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The parsed target model name.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* Qwen3-32B
|
|
@@ -37,7 +37,7 @@ export class ModifyAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
37
37
|
targetModelName?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The parsed target OSS path.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* /my-model-bucket/models/qwen3
|
|
@@ -53,7 +53,7 @@ export class ModifyAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
53
53
|
taskId?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The number of
|
|
56
|
+
* The total number of modification batches.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 1
|
|
@@ -61,7 +61,7 @@ export class ModifyAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
61
61
|
totalBatches?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The number of affected model
|
|
64
|
+
* The number of affected model service instances.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 2
|
|
@@ -69,7 +69,7 @@ export class ModifyAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
69
69
|
totalMsds?: number;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The
|
|
72
|
+
* The modification warnings returned by the upstream service. The caller must display these warnings.
|
|
73
73
|
*/
|
|
74
74
|
warnings?: string[];
|
|
75
75
|
static names(): { [key: string]: string } {
|
|
@@ -15,7 +15,7 @@ export class ResizeAIDBClusterModelRequest extends $dara.Model {
|
|
|
15
15
|
DBClusterId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* Specifies whether to perform
|
|
18
|
+
* Specifies whether to perform a read-only capacity dry run.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* true
|
|
@@ -23,7 +23,7 @@ export class ResizeAIDBClusterModelRequest extends $dara.Model {
|
|
|
23
23
|
dryRun?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The region ID. Requests are routed
|
|
26
|
+
* The region ID. Requests are routed based on the region to which the instance belongs.
|
|
27
27
|
*
|
|
28
28
|
* This parameter is required.
|
|
29
29
|
*
|
|
@@ -33,7 +33,7 @@ export class ResizeAIDBClusterModelRequest extends $dara.Model {
|
|
|
33
33
|
regionId?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The target total capacity.
|
|
36
|
+
* The target total capacity. The abstract capacity unit is 1000, which equals one L20N equivalent card. The value must be a positive integer.
|
|
37
37
|
*
|
|
38
38
|
* This parameter is required.
|
|
39
39
|
*
|
|
@@ -21,7 +21,7 @@ export class ResizeAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
21
21
|
DBClusterId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Indicates whether the current request
|
|
24
|
+
* Indicates whether the current request performs a capacity dry run only.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* true
|
|
@@ -29,7 +29,7 @@ export class ResizeAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
29
29
|
dryRun?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The capacity that can be directly borrowed from the
|
|
32
|
+
* The capacity that can be directly borrowed from the large pool without reshaping. This parameter is returned only when DryRun is set to true.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 3000
|
|
@@ -37,7 +37,7 @@ export class ResizeAIDBClusterModelResponseBody extends $dara.Model {
|
|
|
37
37
|
poolHitCapacity?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The direct hit ratio of the
|
|
40
|
+
* The direct hit ratio of the large pool. Valid values: 0 to 1. This parameter is returned only when DryRun is set to true.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 0.75
|
|
@@ -146,6 +146,14 @@ export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
|
|
|
146
146
|
* 0.8
|
|
147
147
|
*/
|
|
148
148
|
similarityScore?: number;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* The URI of the source document.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* https://example.com/source.pdf
|
|
155
|
+
*/
|
|
156
|
+
sourceUri?: string;
|
|
149
157
|
static names(): { [key: string]: string } {
|
|
150
158
|
return {
|
|
151
159
|
captions: 'Captions',
|
|
@@ -159,6 +167,7 @@ export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
|
|
|
159
167
|
shardContent: 'ShardContent',
|
|
160
168
|
shardIndex: 'ShardIndex',
|
|
161
169
|
similarityScore: 'SimilarityScore',
|
|
170
|
+
sourceUri: 'SourceUri',
|
|
162
171
|
};
|
|
163
172
|
}
|
|
164
173
|
|
|
@@ -175,6 +184,7 @@ export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
|
|
|
175
184
|
shardContent: 'string',
|
|
176
185
|
shardIndex: 'number',
|
|
177
186
|
similarityScore: 'number',
|
|
187
|
+
sourceUri: 'string',
|
|
178
188
|
};
|
|
179
189
|
}
|
|
180
190
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VerifyAgenticDBTenantApiKeyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The plaintext of the API key to
|
|
8
|
+
* The plaintext of the API key to validate.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VerifyAgenticDBTenantApiKeyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key
|
|
8
|
+
* The ID of the API key. This parameter is empty if the API key is invalid.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ak-71304e39c7e841a1
|
|
@@ -23,7 +23,7 @@ export class VerifyAgenticDBTenantApiKeyResponseBody extends $dara.Model {
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* The expiration time. This parameter is empty if the API key is permanently valid.
|
|
25
25
|
*
|
|
26
|
-
* The time is in ISO 8601 format
|
|
26
|
+
* The time is in ISO 8601 format and uses the UTC time zone (format: YYYY-MM-DDTHH:mm:ssZ).
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 2027-01-01T00:00:00Z
|
|
@@ -31,11 +31,10 @@ export class VerifyAgenticDBTenantApiKeyResponseBody extends $dara.Model {
|
|
|
31
31
|
expireTime?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The reason for
|
|
34
|
+
* The reason for validation failure. Valid values: NotFound, Expired, and Revoked. This parameter is empty if the API key is valid.
|
|
35
35
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* - Revoked: The API key has been revoked.
|
|
36
|
+
* @example
|
|
37
|
+
* NotFound
|
|
39
38
|
*/
|
|
40
39
|
reason?: string;
|
|
41
40
|
/**
|