@alicloud/gpdb20160503 3.2.2 → 3.3.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 +15 -0
- package/dist/client.js +45 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +34 -0
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js +62 -0
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponse.d.ts +19 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponse.js +69 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponse.js.map +1 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponseBody.d.ts +18 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponseBody.js +58 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +9 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +50 -0
- package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +51 -0
- package/src/models/ModifySupabaseAutoScalePolicyResponse.ts +40 -0
- package/src/models/ModifySupabaseAutoScalePolicyResponseBody.ts +31 -0
- package/src/models/model.ts +3 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* false
|
|
12
|
+
*/
|
|
13
|
+
autoScale?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* sbp-tyarplz****
|
|
20
|
+
*/
|
|
21
|
+
projectId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* cn-beijing
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
autoScale: 'AutoScale',
|
|
30
|
+
projectId: 'ProjectId',
|
|
31
|
+
regionId: 'RegionId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
autoScale: 'boolean',
|
|
38
|
+
projectId: 'string',
|
|
39
|
+
regionId: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifySupabaseAutoScalePolicyResponseBody } from "./ModifySupabaseAutoScalePolicyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifySupabaseAutoScalePolicyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifySupabaseAutoScalePolicyResponseBody;
|
|
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: ModifySupabaseAutoScalePolicyResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySupabaseAutoScalePolicyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 07F6177E-6DE4-408A-BB4F-0723301340F3
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -903,6 +903,9 @@ export { ModifyStreamingJobRequest } from './ModifyStreamingJobRequest';
|
|
|
903
903
|
export { ModifyStreamingJobShrinkRequest } from './ModifyStreamingJobShrinkRequest';
|
|
904
904
|
export { ModifyStreamingJobResponseBody } from './ModifyStreamingJobResponseBody';
|
|
905
905
|
export { ModifyStreamingJobResponse } from './ModifyStreamingJobResponse';
|
|
906
|
+
export { ModifySupabaseAutoScalePolicyRequest } from './ModifySupabaseAutoScalePolicyRequest';
|
|
907
|
+
export { ModifySupabaseAutoScalePolicyResponseBody } from './ModifySupabaseAutoScalePolicyResponseBody';
|
|
908
|
+
export { ModifySupabaseAutoScalePolicyResponse } from './ModifySupabaseAutoScalePolicyResponse';
|
|
906
909
|
export { ModifySupabaseProjectSecurityIpsRequest } from './ModifySupabaseProjectSecurityIpsRequest';
|
|
907
910
|
export { ModifySupabaseProjectSecurityIpsResponseBody } from './ModifySupabaseProjectSecurityIpsResponseBody';
|
|
908
911
|
export { ModifySupabaseProjectSecurityIpsResponse } from './ModifySupabaseProjectSecurityIpsResponse';
|