@alicloud/esa20240910 2.29.2 → 2.30.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 +32 -2
- package/dist/client.js +114 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateRoutineCodeDeploymentRequest.d.ts +61 -0
- package/dist/models/CreateRoutineCodeDeploymentRequest.js +88 -0
- package/dist/models/CreateRoutineCodeDeploymentRequest.js.map +1 -0
- package/dist/models/CreateRoutineCodeDeploymentResponse.d.ts +19 -0
- package/dist/models/CreateRoutineCodeDeploymentResponse.js +69 -0
- package/dist/models/CreateRoutineCodeDeploymentResponse.js.map +1 -0
- package/dist/models/CreateRoutineCodeDeploymentResponseBody.d.ts +31 -0
- package/dist/models/CreateRoutineCodeDeploymentResponseBody.js +88 -0
- package/dist/models/CreateRoutineCodeDeploymentResponseBody.js.map +1 -0
- package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.d.ts +39 -0
- package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.js +64 -0
- package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.js.map +1 -0
- package/dist/models/CreateRoutineRequest.d.ts +1 -0
- package/dist/models/CreateRoutineRequest.js +2 -0
- package/dist/models/CreateRoutineRequest.js.map +1 -1
- package/dist/models/CreateRoutineWithAssetsCodeVersionRequest.d.ts +35 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionRequest.js +88 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionRequest.js.map +1 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionResponse.d.ts +19 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionResponse.js +69 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionResponse.js.map +1 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionResponseBody.d.ts +35 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionResponseBody.js +96 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionResponseBody.js.map +1 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.d.ts +22 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.js +66 -0
- package/dist/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.js.map +1 -0
- package/dist/models/GetRoutineResponseBody.d.ts +34 -0
- package/dist/models/GetRoutineResponseBody.js +61 -1
- package/dist/models/GetRoutineResponseBody.js.map +1 -1
- package/dist/models/ListRoutineCodeVersionsResponseBody.d.ts +17 -0
- package/dist/models/ListRoutineCodeVersionsResponseBody.js +31 -1
- package/dist/models/ListRoutineCodeVersionsResponseBody.js.map +1 -1
- package/dist/models/ListUserRoutinesResponseBody.d.ts +2 -0
- package/dist/models/ListUserRoutinesResponseBody.js +4 -0
- package/dist/models/ListUserRoutinesResponseBody.js.map +1 -1
- package/dist/models/UpdateCrossBorderOptimizationRequest.d.ts +7 -0
- package/dist/models/UpdateCrossBorderOptimizationRequest.js.map +1 -1
- package/dist/models/UpdateCrossBorderOptimizationResponseBody.d.ts +3 -0
- package/dist/models/UpdateCrossBorderOptimizationResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +62 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +130 -2
- package/src/models/CreateRoutineCodeDeploymentRequest.ts +95 -0
- package/src/models/CreateRoutineCodeDeploymentResponse.ts +40 -0
- package/src/models/CreateRoutineCodeDeploymentResponseBody.ts +65 -0
- package/src/models/CreateRoutineCodeDeploymentShrinkRequest.ts +58 -0
- package/src/models/CreateRoutineRequest.ts +3 -0
- package/src/models/CreateRoutineWithAssetsCodeVersionRequest.ts +69 -0
- package/src/models/CreateRoutineWithAssetsCodeVersionResponse.ts +40 -0
- package/src/models/CreateRoutineWithAssetsCodeVersionResponseBody.ts +77 -0
- package/src/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.ts +43 -0
- package/src/models/GetRoutineResponseBody.ts +76 -0
- package/src/models/ListRoutineCodeVersionsResponseBody.ts +38 -0
- package/src/models/ListUserRoutinesResponseBody.ts +6 -0
- package/src/models/UpdateCrossBorderOptimizationRequest.ts +7 -0
- package/src/models/UpdateCrossBorderOptimizationResponseBody.ts +3 -0
- package/src/models/model.ts +15 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateRoutineCodeDeploymentShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
codeVersionsShrink?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* production
|
|
17
|
+
*/
|
|
18
|
+
env?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* percentage
|
|
30
|
+
*/
|
|
31
|
+
strategy?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
codeVersionsShrink: 'CodeVersions',
|
|
35
|
+
env: 'Env',
|
|
36
|
+
name: 'Name',
|
|
37
|
+
strategy: 'Strategy',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
codeVersionsShrink: 'string',
|
|
44
|
+
env: 'string',
|
|
45
|
+
name: 'string',
|
|
46
|
+
strategy: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -11,6 +11,7 @@ export class CreateRoutineRequest extends $dara.Model {
|
|
|
11
11
|
* the description of this routine
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
|
+
hasAssets?: boolean;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
17
|
* The routine name, which must be unique in the same account.
|
|
@@ -24,6 +25,7 @@ export class CreateRoutineRequest extends $dara.Model {
|
|
|
24
25
|
static names(): { [key: string]: string } {
|
|
25
26
|
return {
|
|
26
27
|
description: 'Description',
|
|
28
|
+
hasAssets: 'HasAssets',
|
|
27
29
|
name: 'Name',
|
|
28
30
|
};
|
|
29
31
|
}
|
|
@@ -31,6 +33,7 @@ export class CreateRoutineRequest extends $dara.Model {
|
|
|
31
33
|
static types(): { [key: string]: any } {
|
|
32
34
|
return {
|
|
33
35
|
description: 'string',
|
|
36
|
+
hasAssets: 'boolean',
|
|
34
37
|
name: 'string',
|
|
35
38
|
};
|
|
36
39
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateRoutineWithAssetsCodeVersionRequestConfOptions extends $dara.Model {
|
|
6
|
+
notFoundStrategy?: string;
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
notFoundStrategy: 'NotFoundStrategy',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
notFoundStrategy: 'string',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
super.validate();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
constructor(map?: { [key: string]: any }) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class CreateRoutineWithAssetsCodeVersionRequest extends $dara.Model {
|
|
29
|
+
buildId?: number;
|
|
30
|
+
codeDescription?: string;
|
|
31
|
+
confOptions?: CreateRoutineWithAssetsCodeVersionRequestConfOptions;
|
|
32
|
+
extraInfo?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*/
|
|
37
|
+
name?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
buildId: 'BuildId',
|
|
41
|
+
codeDescription: 'CodeDescription',
|
|
42
|
+
confOptions: 'ConfOptions',
|
|
43
|
+
extraInfo: 'ExtraInfo',
|
|
44
|
+
name: 'Name',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
buildId: 'number',
|
|
51
|
+
codeDescription: 'string',
|
|
52
|
+
confOptions: CreateRoutineWithAssetsCodeVersionRequestConfOptions,
|
|
53
|
+
extraInfo: 'string',
|
|
54
|
+
name: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
if(this.confOptions && typeof (this.confOptions as any).validate === 'function') {
|
|
60
|
+
(this.confOptions as any).validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateRoutineWithAssetsCodeVersionResponseBody } from "./CreateRoutineWithAssetsCodeVersionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateRoutineWithAssetsCodeVersionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateRoutineWithAssetsCodeVersionResponseBody;
|
|
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: CreateRoutineWithAssetsCodeVersionResponseBody,
|
|
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,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateRoutineWithAssetsCodeVersionResponseBodyOssPostConfig extends $dara.Model {
|
|
6
|
+
key?: string;
|
|
7
|
+
OSSAccessKeyId?: string;
|
|
8
|
+
policy?: string;
|
|
9
|
+
signature?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
XOssSecurityToken?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
key: 'Key',
|
|
15
|
+
OSSAccessKeyId: 'OSSAccessKeyId',
|
|
16
|
+
policy: 'Policy',
|
|
17
|
+
signature: 'Signature',
|
|
18
|
+
url: 'Url',
|
|
19
|
+
XOssSecurityToken: 'XOssSecurityToken',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
OSSAccessKeyId: 'string',
|
|
27
|
+
policy: 'string',
|
|
28
|
+
signature: 'string',
|
|
29
|
+
url: 'string',
|
|
30
|
+
XOssSecurityToken: 'string',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
validate() {
|
|
35
|
+
super.validate();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
constructor(map?: { [key: string]: any }) {
|
|
39
|
+
super(map);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export class CreateRoutineWithAssetsCodeVersionResponseBody extends $dara.Model {
|
|
44
|
+
codeVersion?: string;
|
|
45
|
+
ossPostConfig?: CreateRoutineWithAssetsCodeVersionResponseBodyOssPostConfig;
|
|
46
|
+
requestId?: string;
|
|
47
|
+
status?: string;
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
codeVersion: 'CodeVersion',
|
|
51
|
+
ossPostConfig: 'OssPostConfig',
|
|
52
|
+
requestId: 'RequestId',
|
|
53
|
+
status: 'Status',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static types(): { [key: string]: any } {
|
|
58
|
+
return {
|
|
59
|
+
codeVersion: 'string',
|
|
60
|
+
ossPostConfig: CreateRoutineWithAssetsCodeVersionResponseBodyOssPostConfig,
|
|
61
|
+
requestId: 'string',
|
|
62
|
+
status: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
if(this.ossPostConfig && typeof (this.ossPostConfig as any).validate === 'function') {
|
|
68
|
+
(this.ossPostConfig as any).validate();
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateRoutineWithAssetsCodeVersionShrinkRequest extends $dara.Model {
|
|
6
|
+
buildId?: number;
|
|
7
|
+
codeDescription?: string;
|
|
8
|
+
confOptionsShrink?: string;
|
|
9
|
+
extraInfo?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* This parameter is required.
|
|
13
|
+
*/
|
|
14
|
+
name?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
buildId: 'BuildId',
|
|
18
|
+
codeDescription: 'CodeDescription',
|
|
19
|
+
confOptionsShrink: 'ConfOptions',
|
|
20
|
+
extraInfo: 'ExtraInfo',
|
|
21
|
+
name: 'Name',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
buildId: 'number',
|
|
28
|
+
codeDescription: 'string',
|
|
29
|
+
confOptionsShrink: 'string',
|
|
30
|
+
extraInfo: 'string',
|
|
31
|
+
name: 'string',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
validate() {
|
|
36
|
+
super.validate();
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
constructor(map?: { [key: string]: any }) {
|
|
40
|
+
super(map);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -2,6 +2,73 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetRoutineResponseBodyEnvsCodeDeployCodeVersions extends $dara.Model {
|
|
6
|
+
codeVersion?: string;
|
|
7
|
+
createTime?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
percentage?: number;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
codeVersion: 'CodeVersion',
|
|
13
|
+
createTime: 'CreateTime',
|
|
14
|
+
description: 'Description',
|
|
15
|
+
percentage: 'Percentage',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
codeVersion: 'string',
|
|
22
|
+
createTime: 'string',
|
|
23
|
+
description: 'string',
|
|
24
|
+
percentage: 'number',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export class GetRoutineResponseBodyEnvsCodeDeploy extends $dara.Model {
|
|
38
|
+
codeVersions?: GetRoutineResponseBodyEnvsCodeDeployCodeVersions[];
|
|
39
|
+
creationTime?: string;
|
|
40
|
+
deployId?: string;
|
|
41
|
+
strategy?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
codeVersions: 'CodeVersions',
|
|
45
|
+
creationTime: 'CreationTime',
|
|
46
|
+
deployId: 'DeployId',
|
|
47
|
+
strategy: 'Strategy',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static types(): { [key: string]: any } {
|
|
52
|
+
return {
|
|
53
|
+
codeVersions: { 'type': 'array', 'itemType': GetRoutineResponseBodyEnvsCodeDeployCodeVersions },
|
|
54
|
+
creationTime: 'string',
|
|
55
|
+
deployId: 'string',
|
|
56
|
+
strategy: 'string',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
if(Array.isArray(this.codeVersions)) {
|
|
62
|
+
$dara.Model.validateArray(this.codeVersions);
|
|
63
|
+
}
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
5
72
|
export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
6
73
|
/**
|
|
7
74
|
* @remarks
|
|
@@ -16,6 +83,7 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
|
16
83
|
* 1710120201067577628
|
|
17
84
|
*/
|
|
18
85
|
canaryCodeVersion?: string;
|
|
86
|
+
codeDeploy?: GetRoutineResponseBodyEnvsCodeDeploy;
|
|
19
87
|
/**
|
|
20
88
|
* @remarks
|
|
21
89
|
* The version number of the code in the environment.
|
|
@@ -36,6 +104,7 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
|
36
104
|
return {
|
|
37
105
|
canaryAreaList: 'CanaryAreaList',
|
|
38
106
|
canaryCodeVersion: 'CanaryCodeVersion',
|
|
107
|
+
codeDeploy: 'CodeDeploy',
|
|
39
108
|
codeVersion: 'CodeVersion',
|
|
40
109
|
env: 'Env',
|
|
41
110
|
};
|
|
@@ -45,6 +114,7 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
|
45
114
|
return {
|
|
46
115
|
canaryAreaList: { 'type': 'array', 'itemType': 'string' },
|
|
47
116
|
canaryCodeVersion: 'string',
|
|
117
|
+
codeDeploy: GetRoutineResponseBodyEnvsCodeDeploy,
|
|
48
118
|
codeVersion: 'string',
|
|
49
119
|
env: 'string',
|
|
50
120
|
};
|
|
@@ -54,6 +124,9 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
|
54
124
|
if(Array.isArray(this.canaryAreaList)) {
|
|
55
125
|
$dara.Model.validateArray(this.canaryAreaList);
|
|
56
126
|
}
|
|
127
|
+
if(this.codeDeploy && typeof (this.codeDeploy as any).validate === 'function') {
|
|
128
|
+
(this.codeDeploy as any).validate();
|
|
129
|
+
}
|
|
57
130
|
super.validate();
|
|
58
131
|
}
|
|
59
132
|
|
|
@@ -92,6 +165,7 @@ export class GetRoutineResponseBody extends $dara.Model {
|
|
|
92
165
|
* The information about the environments.
|
|
93
166
|
*/
|
|
94
167
|
envs?: GetRoutineResponseBodyEnvs[];
|
|
168
|
+
hasAssets?: boolean;
|
|
95
169
|
/**
|
|
96
170
|
* @remarks
|
|
97
171
|
* The request ID.
|
|
@@ -106,6 +180,7 @@ export class GetRoutineResponseBody extends $dara.Model {
|
|
|
106
180
|
defaultRelatedRecord: 'DefaultRelatedRecord',
|
|
107
181
|
description: 'Description',
|
|
108
182
|
envs: 'Envs',
|
|
183
|
+
hasAssets: 'HasAssets',
|
|
109
184
|
requestId: 'RequestId',
|
|
110
185
|
};
|
|
111
186
|
}
|
|
@@ -116,6 +191,7 @@ export class GetRoutineResponseBody extends $dara.Model {
|
|
|
116
191
|
defaultRelatedRecord: 'string',
|
|
117
192
|
description: 'string',
|
|
118
193
|
envs: { 'type': 'array', 'itemType': GetRoutineResponseBodyEnvs },
|
|
194
|
+
hasAssets: 'boolean',
|
|
119
195
|
requestId: 'string',
|
|
120
196
|
};
|
|
121
197
|
}
|
|
@@ -2,27 +2,65 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ListRoutineCodeVersionsResponseBodyCodeVersionsConfOptions extends $dara.Model {
|
|
6
|
+
notFoundStrategy?: string;
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
notFoundStrategy: 'NotFoundStrategy',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
notFoundStrategy: 'string',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
super.validate();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
constructor(map?: { [key: string]: any }) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
5
28
|
export class ListRoutineCodeVersionsResponseBodyCodeVersions extends $dara.Model {
|
|
29
|
+
buildId?: number;
|
|
6
30
|
codeDescription?: string;
|
|
7
31
|
codeVersion?: string;
|
|
32
|
+
confOptions?: ListRoutineCodeVersionsResponseBodyCodeVersionsConfOptions;
|
|
8
33
|
createTime?: string;
|
|
34
|
+
extraInfo?: string;
|
|
35
|
+
status?: string;
|
|
9
36
|
static names(): { [key: string]: string } {
|
|
10
37
|
return {
|
|
38
|
+
buildId: 'BuildId',
|
|
11
39
|
codeDescription: 'CodeDescription',
|
|
12
40
|
codeVersion: 'CodeVersion',
|
|
41
|
+
confOptions: 'ConfOptions',
|
|
13
42
|
createTime: 'CreateTime',
|
|
43
|
+
extraInfo: 'ExtraInfo',
|
|
44
|
+
status: 'Status',
|
|
14
45
|
};
|
|
15
46
|
}
|
|
16
47
|
|
|
17
48
|
static types(): { [key: string]: any } {
|
|
18
49
|
return {
|
|
50
|
+
buildId: 'number',
|
|
19
51
|
codeDescription: 'string',
|
|
20
52
|
codeVersion: 'string',
|
|
53
|
+
confOptions: ListRoutineCodeVersionsResponseBodyCodeVersionsConfOptions,
|
|
21
54
|
createTime: 'string',
|
|
55
|
+
extraInfo: 'string',
|
|
56
|
+
status: 'string',
|
|
22
57
|
};
|
|
23
58
|
}
|
|
24
59
|
|
|
25
60
|
validate() {
|
|
61
|
+
if(this.confOptions && typeof (this.confOptions as any).validate === 'function') {
|
|
62
|
+
(this.confOptions as any).validate();
|
|
63
|
+
}
|
|
26
64
|
super.validate();
|
|
27
65
|
}
|
|
28
66
|
|
|
@@ -4,12 +4,16 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListUserRoutinesResponseBodyRoutines extends $dara.Model {
|
|
6
6
|
createTime?: string;
|
|
7
|
+
defaultRelatedRecord?: string;
|
|
7
8
|
description?: string;
|
|
9
|
+
hasAssets?: boolean;
|
|
8
10
|
routineName?: string;
|
|
9
11
|
static names(): { [key: string]: string } {
|
|
10
12
|
return {
|
|
11
13
|
createTime: 'CreateTime',
|
|
14
|
+
defaultRelatedRecord: 'DefaultRelatedRecord',
|
|
12
15
|
description: 'Description',
|
|
16
|
+
hasAssets: 'HasAssets',
|
|
13
17
|
routineName: 'RoutineName',
|
|
14
18
|
};
|
|
15
19
|
}
|
|
@@ -17,7 +21,9 @@ export class ListUserRoutinesResponseBodyRoutines extends $dara.Model {
|
|
|
17
21
|
static types(): { [key: string]: any } {
|
|
18
22
|
return {
|
|
19
23
|
createTime: 'string',
|
|
24
|
+
defaultRelatedRecord: 'string',
|
|
20
25
|
description: 'string',
|
|
26
|
+
hasAssets: 'boolean',
|
|
21
27
|
routineName: 'string',
|
|
22
28
|
};
|
|
23
29
|
}
|
|
@@ -5,6 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateCrossBorderOptimizationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* Whether to enable Chinese mainland network access optimization. By default, it is disabled. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * on
|
|
11
|
+
* * off
|
|
12
|
+
*
|
|
8
13
|
* This parameter is required.
|
|
9
14
|
*
|
|
10
15
|
* @example
|
|
@@ -13,6 +18,8 @@ export class UpdateCrossBorderOptimizationRequest extends $dara.Model {
|
|
|
13
18
|
enable?: string;
|
|
14
19
|
/**
|
|
15
20
|
* @remarks
|
|
21
|
+
* The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
|
|
22
|
+
*
|
|
16
23
|
* This parameter is required.
|
|
17
24
|
*
|
|
18
25
|
* @example
|
package/src/models/model.ts
CHANGED
|
@@ -58,6 +58,10 @@ export { CreateOriginPoolRequestOriginsAuthConf } from './CreateOriginPoolReques
|
|
|
58
58
|
export { CreateOriginPoolRequestOrigins } from './CreateOriginPoolRequest';
|
|
59
59
|
export { CreateRecordRequestAuthConf } from './CreateRecordRequest';
|
|
60
60
|
export { CreateRecordRequestData } from './CreateRecordRequest';
|
|
61
|
+
export { CreateRoutineCodeDeploymentRequestCodeVersions } from './CreateRoutineCodeDeploymentRequest';
|
|
62
|
+
export { CreateRoutineCodeDeploymentResponseBodyCodeVersions } from './CreateRoutineCodeDeploymentResponseBody';
|
|
63
|
+
export { CreateRoutineWithAssetsCodeVersionRequestConfOptions } from './CreateRoutineWithAssetsCodeVersionRequest';
|
|
64
|
+
export { CreateRoutineWithAssetsCodeVersionResponseBodyOssPostConfig } from './CreateRoutineWithAssetsCodeVersionResponseBody';
|
|
61
65
|
export { CreateScheduledPreloadExecutionsRequestExecutions } from './CreateScheduledPreloadExecutionsRequest';
|
|
62
66
|
export { CreateScheduledPreloadExecutionsResponseBodyFailedExecutions } from './CreateScheduledPreloadExecutionsResponseBody';
|
|
63
67
|
export { CreateScheduledPreloadExecutionsResponseBodySuccessExecutions } from './CreateScheduledPreloadExecutionsResponseBody';
|
|
@@ -133,6 +137,8 @@ export { GetOriginProtectionResponseBodyLatestIPWhitelist } from './GetOriginPro
|
|
|
133
137
|
export { GetRecordResponseBodyRecordModelAuthConf } from './GetRecordResponseBody';
|
|
134
138
|
export { GetRecordResponseBodyRecordModelData } from './GetRecordResponseBody';
|
|
135
139
|
export { GetRecordResponseBodyRecordModel } from './GetRecordResponseBody';
|
|
140
|
+
export { GetRoutineResponseBodyEnvsCodeDeployCodeVersions } from './GetRoutineResponseBody';
|
|
141
|
+
export { GetRoutineResponseBodyEnvsCodeDeploy } from './GetRoutineResponseBody';
|
|
136
142
|
export { GetRoutineResponseBodyEnvs } from './GetRoutineResponseBody';
|
|
137
143
|
export { GetRoutineUserInfoResponseBodyRoutines } from './GetRoutineUserInfoResponseBody';
|
|
138
144
|
export { GetSiteResponseBodySiteModel } from './GetSiteResponseBody';
|
|
@@ -209,6 +215,7 @@ export { ListRecordsResponseBodyRecordsData } from './ListRecordsResponseBody';
|
|
|
209
215
|
export { ListRecordsResponseBodyRecords } from './ListRecordsResponseBody';
|
|
210
216
|
export { ListRedirectRulesResponseBodyConfigs } from './ListRedirectRulesResponseBody';
|
|
211
217
|
export { ListRewriteUrlRulesResponseBodyConfigs } from './ListRewriteUrlRulesResponseBody';
|
|
218
|
+
export { ListRoutineCodeVersionsResponseBodyCodeVersionsConfOptions } from './ListRoutineCodeVersionsResponseBody';
|
|
212
219
|
export { ListRoutineCodeVersionsResponseBodyCodeVersions } from './ListRoutineCodeVersionsResponseBody';
|
|
213
220
|
export { ListRoutineRelatedRecordsResponseBodyRelatedRecords } from './ListRoutineRelatedRecordsResponseBody';
|
|
214
221
|
export { ListRoutineRoutesResponseBodyConfigs } from './ListRoutineRoutesResponseBody';
|
|
@@ -410,12 +417,20 @@ export { CreateRewriteUrlRuleResponse } from './CreateRewriteUrlRuleResponse';
|
|
|
410
417
|
export { CreateRoutineRequest } from './CreateRoutineRequest';
|
|
411
418
|
export { CreateRoutineResponseBody } from './CreateRoutineResponseBody';
|
|
412
419
|
export { CreateRoutineResponse } from './CreateRoutineResponse';
|
|
420
|
+
export { CreateRoutineCodeDeploymentRequest } from './CreateRoutineCodeDeploymentRequest';
|
|
421
|
+
export { CreateRoutineCodeDeploymentShrinkRequest } from './CreateRoutineCodeDeploymentShrinkRequest';
|
|
422
|
+
export { CreateRoutineCodeDeploymentResponseBody } from './CreateRoutineCodeDeploymentResponseBody';
|
|
423
|
+
export { CreateRoutineCodeDeploymentResponse } from './CreateRoutineCodeDeploymentResponse';
|
|
413
424
|
export { CreateRoutineRelatedRecordRequest } from './CreateRoutineRelatedRecordRequest';
|
|
414
425
|
export { CreateRoutineRelatedRecordResponseBody } from './CreateRoutineRelatedRecordResponseBody';
|
|
415
426
|
export { CreateRoutineRelatedRecordResponse } from './CreateRoutineRelatedRecordResponse';
|
|
416
427
|
export { CreateRoutineRouteRequest } from './CreateRoutineRouteRequest';
|
|
417
428
|
export { CreateRoutineRouteResponseBody } from './CreateRoutineRouteResponseBody';
|
|
418
429
|
export { CreateRoutineRouteResponse } from './CreateRoutineRouteResponse';
|
|
430
|
+
export { CreateRoutineWithAssetsCodeVersionRequest } from './CreateRoutineWithAssetsCodeVersionRequest';
|
|
431
|
+
export { CreateRoutineWithAssetsCodeVersionShrinkRequest } from './CreateRoutineWithAssetsCodeVersionShrinkRequest';
|
|
432
|
+
export { CreateRoutineWithAssetsCodeVersionResponseBody } from './CreateRoutineWithAssetsCodeVersionResponseBody';
|
|
433
|
+
export { CreateRoutineWithAssetsCodeVersionResponse } from './CreateRoutineWithAssetsCodeVersionResponse';
|
|
419
434
|
export { CreateScheduledPreloadExecutionsRequest } from './CreateScheduledPreloadExecutionsRequest';
|
|
420
435
|
export { CreateScheduledPreloadExecutionsShrinkRequest } from './CreateScheduledPreloadExecutionsShrinkRequest';
|
|
421
436
|
export { CreateScheduledPreloadExecutionsResponseBody } from './CreateScheduledPreloadExecutionsResponseBody';
|