@alicloud/sae20190506 2.11.0 → 2.11.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 +34 -26
- package/dist/client.js +52 -26
- package/dist/client.js.map +1 -1
- package/dist/models/Container.d.ts +47 -0
- package/dist/models/Container.js.map +1 -1
- package/dist/models/ContainerResources.d.ts +24 -1
- package/dist/models/ContainerResources.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +3 -0
- package/dist/models/CreateApplicationRequest.js +5 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +1 -0
- package/dist/models/CreateApplicationShrinkRequest.js +2 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateWebApplicationInput.d.ts +21 -0
- package/dist/models/CreateWebApplicationInput.js.map +1 -1
- package/dist/models/CreateWebCustomDomainInput.d.ts +32 -0
- package/dist/models/CreateWebCustomDomainInput.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +3 -0
- package/dist/models/DeployApplicationRequest.js +5 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +1 -0
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +3 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +5 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeConfigurationPriceRequest.d.ts +2 -0
- package/dist/models/DescribeConfigurationPriceRequest.js +4 -0
- package/dist/models/DescribeConfigurationPriceRequest.js.map +1 -1
- package/dist/models/DescribeInstanceLogsOutput.d.ts +4 -0
- package/dist/models/DescribeInstanceLogsOutput.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +0 -56
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeWebAppStaticsOutput.d.ts +11 -0
- package/dist/models/DescribeWebAppStaticsOutput.js.map +1 -1
- package/dist/models/DescribeWebStaticsQueryOutput.d.ts +11 -0
- package/dist/models/DescribeWebStaticsQueryOutput.js.map +1 -1
- package/dist/models/HttpgetAction.d.ts +32 -0
- package/dist/models/HttpgetAction.js.map +1 -1
- package/dist/models/Httpheader.d.ts +14 -0
- package/dist/models/Httpheader.js.map +1 -1
- package/dist/models/ListWebApplicationInstancesBody.d.ts +43 -0
- package/dist/models/ListWebApplicationInstancesBody.js.map +1 -1
- package/dist/models/ListWebApplicationRevisionsBody.d.ts +32 -0
- package/dist/models/ListWebApplicationRevisionsBody.js.map +1 -1
- package/dist/models/ListWebApplicationRevisionsOutput.d.ts +11 -0
- package/dist/models/ListWebApplicationRevisionsOutput.js.map +1 -1
- package/dist/models/ListWebApplicationsBody.d.ts +43 -0
- package/dist/models/ListWebApplicationsBody.js.map +1 -1
- package/dist/models/ListWebApplicationsOutput.d.ts +11 -0
- package/dist/models/ListWebApplicationsOutput.js.map +1 -1
- package/dist/models/ListWebCustomDomainBody.d.ts +43 -0
- package/dist/models/ListWebCustomDomainBody.js.map +1 -1
- package/dist/models/ListWebCustomDomainOutput.d.ts +11 -0
- package/dist/models/ListWebCustomDomainOutput.js.map +1 -1
- package/dist/models/ListWebInstancesOutput.d.ts +12 -0
- package/dist/models/ListWebInstancesOutput.js.map +1 -1
- package/dist/models/MetricsCollectConfig.d.ts +16 -0
- package/dist/models/MetricsCollectConfig.js.map +1 -1
- package/dist/models/PathConfig.d.ts +14 -0
- package/dist/models/PathConfig.js.map +1 -1
- package/dist/models/PortProtocol.d.ts +16 -0
- package/dist/models/PortProtocol.js +62 -0
- package/dist/models/PortProtocol.js.map +1 -0
- package/dist/models/ProbeHandler.d.ts +8 -0
- package/dist/models/ProbeHandler.js.map +1 -1
- package/dist/models/PublishWebApplicationRevisionInput.d.ts +19 -0
- package/dist/models/PublishWebApplicationRevisionInput.js.map +1 -1
- package/dist/models/Revision.d.ts +32 -0
- package/dist/models/Revision.js.map +1 -1
- package/dist/models/RevisionConfig.d.ts +18 -0
- package/dist/models/RevisionConfig.js.map +1 -1
- package/dist/models/RouteConfig.d.ts +4 -0
- package/dist/models/RouteConfig.js.map +1 -1
- package/dist/models/SidecarContainerConfig.d.ts +70 -0
- package/dist/models/SidecarContainerConfig.js.map +1 -1
- package/dist/models/SlscollectConfig.d.ts +50 -0
- package/dist/models/SlscollectConfig.js.map +1 -1
- package/dist/models/SlscollectConfigs.d.ts +4 -0
- package/dist/models/SlscollectConfigs.js.map +1 -1
- package/dist/models/StartupProbe.d.ts +32 -0
- package/dist/models/StartupProbe.js.map +1 -1
- package/dist/models/TcpsocketAction.d.ts +14 -0
- package/dist/models/TcpsocketAction.js.map +1 -1
- package/dist/models/UpdateWebApplicationInput.d.ts +7 -0
- package/dist/models/UpdateWebApplicationInput.js.map +1 -1
- package/dist/models/UpdateWebApplicationScalingConfigInput.d.ts +7 -0
- package/dist/models/UpdateWebApplicationScalingConfigInput.js.map +1 -1
- package/dist/models/UpdateWebApplicationTrafficConfigInput.d.ts +18 -0
- package/dist/models/UpdateWebApplicationTrafficConfigInput.js.map +1 -1
- package/dist/models/UpdateWebCustomDomainInput.d.ts +30 -0
- package/dist/models/UpdateWebCustomDomainInput.js.map +1 -1
- package/dist/models/WebAclConfig.d.ts +2 -0
- package/dist/models/WebAclConfig.js.map +1 -1
- package/dist/models/WebAclEntryConfig.d.ts +4 -0
- package/dist/models/WebAclEntryConfig.js.map +1 -1
- package/dist/models/WebApplication.d.ts +71 -0
- package/dist/models/WebApplication.js.map +1 -1
- package/dist/models/WebApplicationBody.d.ts +43 -0
- package/dist/models/WebApplicationBody.js.map +1 -1
- package/dist/models/WebApplicationInstanceLogsBody.d.ts +43 -0
- package/dist/models/WebApplicationInstanceLogsBody.js.map +1 -1
- package/dist/models/WebApplicationResourceStaticsBody.d.ts +43 -0
- package/dist/models/WebApplicationResourceStaticsBody.js.map +1 -1
- package/dist/models/WebApplicationRevisionBody.d.ts +32 -0
- package/dist/models/WebApplicationRevisionBody.js.map +1 -1
- package/dist/models/WebApplicationScalingConfigBody.d.ts +43 -0
- package/dist/models/WebApplicationScalingConfigBody.js.map +1 -1
- package/dist/models/WebApplicationStatus.d.ts +11 -0
- package/dist/models/WebApplicationStatus.js.map +1 -1
- package/dist/models/WebApplicationTrafficConfigBody.d.ts +43 -0
- package/dist/models/WebApplicationTrafficConfigBody.js.map +1 -1
- package/dist/models/WebApplicationWithInstanceCount.d.ts +11 -0
- package/dist/models/WebApplicationWithInstanceCount.js.map +1 -1
- package/dist/models/WebApplicationWithStatus.d.ts +8 -0
- package/dist/models/WebApplicationWithStatus.js.map +1 -1
- package/dist/models/WebCertConfig.d.ts +24 -0
- package/dist/models/WebCertConfig.js.map +1 -1
- package/dist/models/WebCustomDomain.d.ts +41 -0
- package/dist/models/WebCustomDomain.js.map +1 -1
- package/dist/models/WebCustomDomainBody.d.ts +43 -0
- package/dist/models/WebCustomDomainBody.js.map +1 -1
- package/dist/models/WebInstanceInfo.d.ts +21 -1
- package/dist/models/WebInstanceInfo.js.map +1 -1
- package/dist/models/WebLogEntry.d.ts +10 -0
- package/dist/models/WebLogEntry.js.map +1 -1
- package/dist/models/WebNasconfig.d.ts +4 -0
- package/dist/models/WebNasconfig.js.map +1 -1
- package/dist/models/WebNasmountPoint.d.ts +21 -0
- package/dist/models/WebNasmountPoint.js.map +1 -1
- package/dist/models/WebNetworkConfig.d.ts +13 -0
- package/dist/models/WebNetworkConfig.js.map +1 -1
- package/dist/models/WebOssconfig.d.ts +4 -0
- package/dist/models/WebOssconfig.js.map +1 -1
- package/dist/models/WebOssmountPoint.d.ts +28 -0
- package/dist/models/WebOssmountPoint.js.map +1 -1
- package/dist/models/WebScalingConfig.d.ts +10 -0
- package/dist/models/WebScalingConfig.js.map +1 -1
- package/dist/models/WebStaticsInfo.d.ts +28 -0
- package/dist/models/WebStaticsInfo.js.map +1 -1
- package/dist/models/WebTlsconfig.d.ts +18 -0
- package/dist/models/WebTlsconfig.js.map +1 -1
- package/dist/models/WebTrafficConfig.d.ts +23 -0
- package/dist/models/WebTrafficConfig.js.map +1 -1
- package/dist/models/WebVersionStatus.d.ts +15 -0
- package/dist/models/WebVersionStatus.js.map +1 -1
- package/dist/models/WebWafconfig.d.ts +10 -0
- package/dist/models/WebWafconfig.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +13 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +58 -26
- package/src/models/Container.ts +47 -0
- package/src/models/ContainerResources.ts +24 -1
- package/src/models/CreateApplicationRequest.ts +6 -0
- package/src/models/CreateApplicationShrinkRequest.ts +3 -0
- package/src/models/CreateWebApplicationInput.ts +21 -0
- package/src/models/CreateWebCustomDomainInput.ts +32 -0
- package/src/models/DeployApplicationRequest.ts +6 -0
- package/src/models/DeployApplicationShrinkRequest.ts +3 -0
- package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
- package/src/models/DescribeConfigurationPriceRequest.ts +6 -0
- package/src/models/DescribeInstanceLogsOutput.ts +4 -0
- package/src/models/DescribeRegionsResponseBody.ts +0 -56
- package/src/models/DescribeWebAppStaticsOutput.ts +11 -0
- package/src/models/DescribeWebStaticsQueryOutput.ts +11 -0
- package/src/models/HttpgetAction.ts +32 -0
- package/src/models/Httpheader.ts +14 -0
- package/src/models/ListWebApplicationInstancesBody.ts +43 -0
- package/src/models/ListWebApplicationRevisionsBody.ts +32 -0
- package/src/models/ListWebApplicationRevisionsOutput.ts +11 -0
- package/src/models/ListWebApplicationsBody.ts +43 -0
- package/src/models/ListWebApplicationsOutput.ts +11 -0
- package/src/models/ListWebCustomDomainBody.ts +43 -0
- package/src/models/ListWebCustomDomainOutput.ts +11 -0
- package/src/models/ListWebInstancesOutput.ts +12 -0
- package/src/models/MetricsCollectConfig.ts +16 -0
- package/src/models/PathConfig.ts +14 -0
- package/src/models/PortProtocol.ts +33 -0
- package/src/models/ProbeHandler.ts +8 -0
- package/src/models/PublishWebApplicationRevisionInput.ts +19 -0
- package/src/models/Revision.ts +32 -0
- package/src/models/RevisionConfig.ts +18 -0
- package/src/models/RouteConfig.ts +4 -0
- package/src/models/SidecarContainerConfig.ts +70 -0
- package/src/models/SlscollectConfig.ts +50 -0
- package/src/models/SlscollectConfigs.ts +4 -0
- package/src/models/StartupProbe.ts +32 -0
- package/src/models/TcpsocketAction.ts +14 -0
- package/src/models/UpdateWebApplicationInput.ts +7 -0
- package/src/models/UpdateWebApplicationScalingConfigInput.ts +7 -0
- package/src/models/UpdateWebApplicationTrafficConfigInput.ts +18 -0
- package/src/models/UpdateWebCustomDomainInput.ts +30 -0
- package/src/models/WebAclConfig.ts +2 -0
- package/src/models/WebAclEntryConfig.ts +4 -0
- package/src/models/WebApplication.ts +71 -0
- package/src/models/WebApplicationBody.ts +43 -0
- package/src/models/WebApplicationInstanceLogsBody.ts +43 -0
- package/src/models/WebApplicationResourceStaticsBody.ts +43 -0
- package/src/models/WebApplicationRevisionBody.ts +32 -0
- package/src/models/WebApplicationScalingConfigBody.ts +43 -0
- package/src/models/WebApplicationStatus.ts +11 -0
- package/src/models/WebApplicationTrafficConfigBody.ts +43 -0
- package/src/models/WebApplicationWithInstanceCount.ts +11 -0
- package/src/models/WebApplicationWithStatus.ts +8 -0
- package/src/models/WebCertConfig.ts +24 -0
- package/src/models/WebCustomDomain.ts +41 -0
- package/src/models/WebCustomDomainBody.ts +43 -0
- package/src/models/WebInstanceInfo.ts +21 -1
- package/src/models/WebLogEntry.ts +10 -0
- package/src/models/WebNasconfig.ts +4 -0
- package/src/models/WebNasmountPoint.ts +21 -0
- package/src/models/WebNetworkConfig.ts +13 -0
- package/src/models/WebOssconfig.ts +4 -0
- package/src/models/WebOssmountPoint.ts +28 -0
- package/src/models/WebScalingConfig.ts +10 -0
- package/src/models/WebStaticsInfo.ts +28 -0
- package/src/models/WebTlsconfig.ts +18 -0
- package/src/models/WebTrafficConfig.ts +23 -0
- package/src/models/WebVersionStatus.ts +15 -0
- package/src/models/WebWafconfig.ts +10 -0
- package/src/models/model.ts +1 -0
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateWebApplicationScalingConfigInput extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The maximum number of instances.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -13,7 +15,12 @@ export class UpdateWebApplicationScalingConfigInput extends $dara.Model {
|
|
|
13
15
|
maximumInstanceCount?: number;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
18
|
+
* The minimum number of instances.
|
|
19
|
+
*
|
|
16
20
|
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* 1
|
|
17
24
|
*/
|
|
18
25
|
minimumInstanceCount?: number;
|
|
19
26
|
static names(): { [key: string]: string } {
|
|
@@ -5,12 +5,30 @@ import { WebAclConfig } from "./WebAclConfig";
|
|
|
5
5
|
|
|
6
6
|
export class UpdateWebApplicationTrafficConfigInput extends $dara.Model {
|
|
7
7
|
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The authentication type. Valid values: Anonymous (default): does not require authentication. Application: requires authentication.
|
|
10
|
+
*
|
|
8
11
|
* @example
|
|
9
12
|
* Anonymous
|
|
10
13
|
*/
|
|
11
14
|
authType?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* Specifies whether to disable access to the default Internet domain. If you set this parameter to true, a 403 error is returned if you access the default public URL provided by the application. A value of false does not have affect the running of the function.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* true
|
|
21
|
+
*/
|
|
12
22
|
disableURLInternet?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The traffic distribution for the application versions. The sum of traffic percentages for all versions must be equal to 1.
|
|
26
|
+
*/
|
|
13
27
|
revisionsTrafficWeight?: { [key: string]: number };
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The configurations of the access control list (ACL) that consists of IP addresses.
|
|
31
|
+
*/
|
|
14
32
|
webAclConfig?: WebAclConfig;
|
|
15
33
|
static names(): { [key: string]: string } {
|
|
16
34
|
return {
|
|
@@ -7,15 +7,45 @@ import { WebWAFConfig } from "./WebWafconfig";
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export class UpdateWebCustomDomainInput extends $dara.Model {
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* The name of the application to which data is forwarded by the domain name by default.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* demo-app
|
|
16
|
+
*/
|
|
10
17
|
defaultForwardingAppName?: string;
|
|
11
18
|
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The protocol type that is supported by the custom domain name. Valid values:
|
|
21
|
+
*
|
|
22
|
+
* * **HTTP**: Only HTTP is supported.
|
|
23
|
+
* * **HTTPS**: Only HTTPS is supported.
|
|
24
|
+
* * **HTTP,HTTPS**: Both HTTP and HTTPS are supported.
|
|
25
|
+
*
|
|
12
26
|
* @example
|
|
13
27
|
* HTTP
|
|
14
28
|
*/
|
|
15
29
|
protocol?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The route configuration.
|
|
33
|
+
*/
|
|
16
34
|
routeConfig?: RouteConfig;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The information about the HTTPS certificate.
|
|
38
|
+
*/
|
|
17
39
|
webCertConfig?: WebCertConfig;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The Transport Layer Security (TLS) configurations.
|
|
43
|
+
*/
|
|
18
44
|
webTLSConfig?: WebTLSConfig;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The Web Application Firewall (WAF) configurations.
|
|
48
|
+
*/
|
|
19
49
|
webWAFConfig?: WebWAFConfig;
|
|
20
50
|
static names(): { [key: string]: string } {
|
|
21
51
|
return {
|
|
@@ -8,23 +8,94 @@ import { WebTrafficConfig } from "./WebTrafficConfig";
|
|
|
8
8
|
export class WebApplication extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
+
* The application ID.
|
|
12
|
+
*
|
|
11
13
|
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 0099b7be-5f5b-4512-a7fc-56049ef1****
|
|
12
17
|
*/
|
|
13
18
|
applicationId?: string;
|
|
14
19
|
/**
|
|
15
20
|
* @remarks
|
|
21
|
+
* The application name.
|
|
22
|
+
*
|
|
16
23
|
* This parameter is required.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* sae-app
|
|
17
27
|
*/
|
|
18
28
|
applicationName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The time when the application was created.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* 2019-07-11 15:54:49
|
|
35
|
+
*/
|
|
19
36
|
createdTime?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The application description.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* my sae app
|
|
43
|
+
*/
|
|
20
44
|
description?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The public URL for accessing the application.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* https://****.cn-hangzhou.sae.run
|
|
51
|
+
*/
|
|
21
52
|
internetURL?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* The internal URL for accessing the application.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* https://****.cn-hangzhou-vpc.sae.run
|
|
59
|
+
*/
|
|
22
60
|
intranetURL?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The time when the application was last modified.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* 2019-07-11 20:12:58
|
|
67
|
+
*/
|
|
23
68
|
lastModifiedTime?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* The ID of the namespace to which the application belongs.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* cn-beijing:test
|
|
75
|
+
*/
|
|
24
76
|
namespaceId?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @remarks
|
|
79
|
+
* The configurations of the revision version.
|
|
80
|
+
*/
|
|
25
81
|
revisionConfig?: RevisionConfig;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The Virtual Private Cloud (VPC) ID of the application namespace.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* vpc-2ze0i263cnn311nvj****
|
|
88
|
+
*/
|
|
26
89
|
vpcId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The scaling configurations of the application.
|
|
93
|
+
*/
|
|
27
94
|
webScalingConfig?: WebScalingConfig;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The traffic configurations of the application.
|
|
98
|
+
*/
|
|
28
99
|
webTrafficConfig?: WebTrafficConfig;
|
|
29
100
|
static names(): { [key: string]: string } {
|
|
30
101
|
return {
|
|
@@ -4,10 +4,53 @@ import { WebApplication } from "./WebApplication";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Value description:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
7
19
|
code?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The response parameters.
|
|
23
|
+
*/
|
|
8
24
|
data?: WebApplication;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* Additional information about the call result. Value description:
|
|
28
|
+
*
|
|
29
|
+
* * If the request is successful, a success message is returned.
|
|
30
|
+
* * If the request fails, an error code is returned.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* success
|
|
34
|
+
*/
|
|
9
35
|
message?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The request ID.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
42
|
+
*/
|
|
10
43
|
requestId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Indicates whether the request was successful. Valid values:
|
|
47
|
+
*
|
|
48
|
+
* * **true**
|
|
49
|
+
* * **false**
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* true
|
|
53
|
+
*/
|
|
11
54
|
success?: boolean;
|
|
12
55
|
static names(): { [key: string]: string } {
|
|
13
56
|
return {
|
|
@@ -4,10 +4,53 @@ import { DescribeInstanceLogsOutput } from "./DescribeInstanceLogsOutput";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationInstanceLogsBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
7
19
|
code?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The response parameters.
|
|
23
|
+
*/
|
|
8
24
|
data?: DescribeInstanceLogsOutput;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The returned message. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* * If the request was successful, a success message is returned.
|
|
30
|
+
* * If the request failed, an error code is returned.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* success
|
|
34
|
+
*/
|
|
9
35
|
message?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The ID of the request.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
42
|
+
*/
|
|
10
43
|
requestId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Indicates whether the request was successful. Valid values:
|
|
47
|
+
*
|
|
48
|
+
* * **true**: The request was successful.
|
|
49
|
+
* * **false**: The request failed.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* true
|
|
53
|
+
*/
|
|
11
54
|
success?: boolean;
|
|
12
55
|
static names(): { [key: string]: string } {
|
|
13
56
|
return {
|
|
@@ -4,10 +4,53 @@ import { DescribeWebAppStaticsOutput } from "./DescribeWebAppStaticsOutput";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationResourceStaticsBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
7
19
|
code?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The data returned for the operation.
|
|
23
|
+
*/
|
|
8
24
|
data?: DescribeWebAppStaticsOutput;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The message returned for the operation. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* * success is returned when the request succeeds.
|
|
30
|
+
* * An error code is returned if the request failed.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* success
|
|
34
|
+
*/
|
|
9
35
|
message?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The ID of the request.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
42
|
+
*/
|
|
10
43
|
requestId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Indicates whether the call was successful. Valid values:
|
|
47
|
+
*
|
|
48
|
+
* * **true**: The request was successful.
|
|
49
|
+
* * **false**: The request failed.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* true
|
|
53
|
+
*/
|
|
11
54
|
success?: boolean;
|
|
12
55
|
static names(): { [key: string]: string } {
|
|
13
56
|
return {
|
|
@@ -4,10 +4,42 @@ import { Revision } from "./Revision";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationRevisionBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 200
|
|
13
|
+
*/
|
|
7
14
|
code?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The data returned for the operation.
|
|
18
|
+
*/
|
|
8
19
|
data?: Revision;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The message returned for the operation.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* success
|
|
26
|
+
*/
|
|
9
27
|
message?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The ID of the request.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
34
|
+
*/
|
|
10
35
|
requestId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* Indicates whether the call was successful.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* true
|
|
42
|
+
*/
|
|
11
43
|
success?: boolean;
|
|
12
44
|
static names(): { [key: string]: string } {
|
|
13
45
|
return {
|
|
@@ -4,10 +4,53 @@ import { WebScalingConfig } from "./WebScalingConfig";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationScalingConfigBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
7
19
|
code?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The response parameters.
|
|
23
|
+
*/
|
|
8
24
|
data?: WebScalingConfig;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The returned message. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* * If the request was successful, a success message is returned.
|
|
30
|
+
* * If the request failed, an error code is returned.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* success
|
|
34
|
+
*/
|
|
9
35
|
message?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The ID of the request.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
42
|
+
*/
|
|
10
43
|
requestId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Indicates whether the request was successful. Valid values:
|
|
47
|
+
*
|
|
48
|
+
* * **true**: The request was successful.
|
|
49
|
+
* * **false**: The request failed.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* true
|
|
53
|
+
*/
|
|
11
54
|
success?: boolean;
|
|
12
55
|
static names(): { [key: string]: string } {
|
|
13
56
|
return {
|
|
@@ -4,7 +4,18 @@ import { WebScalingConfig } from "./WebScalingConfig";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationStatus extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The number of application instances.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 3
|
|
13
|
+
*/
|
|
7
14
|
instanceCount?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The scaling configurations of the application.
|
|
18
|
+
*/
|
|
8
19
|
webScalingConfig?: WebScalingConfig;
|
|
9
20
|
static names(): { [key: string]: string } {
|
|
10
21
|
return {
|
|
@@ -4,10 +4,53 @@ import { WebTrafficConfig } from "./WebTrafficConfig";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationTrafficConfigBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
7
19
|
code?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The response parameters.
|
|
23
|
+
*/
|
|
8
24
|
data?: WebTrafficConfig;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The returned message. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* * If the request was successful, a success message is returned.
|
|
30
|
+
* * If the request failed, an error code is returned.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* success
|
|
34
|
+
*/
|
|
9
35
|
message?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The ID of the request.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
42
|
+
*/
|
|
10
43
|
requestId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Indicates whether the request was successful. Valid values:
|
|
47
|
+
*
|
|
48
|
+
* * **true**: The request was successful.
|
|
49
|
+
* * **false**: The request failed.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* true
|
|
53
|
+
*/
|
|
11
54
|
success?: boolean;
|
|
12
55
|
static names(): { [key: string]: string } {
|
|
13
56
|
return {
|
|
@@ -4,7 +4,18 @@ import { WebApplication } from "./WebApplication";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class WebApplicationWithInstanceCount extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The number of application instances.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 1
|
|
13
|
+
*/
|
|
7
14
|
instanceCount?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The application information.
|
|
18
|
+
*/
|
|
8
19
|
webApplication?: WebApplication;
|
|
9
20
|
static names(): { [key: string]: string } {
|
|
10
21
|
return {
|
|
@@ -5,7 +5,15 @@ import { WebApplication } from "./WebApplication";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export class WebApplicationWithStatus extends $dara.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* The status of the application.
|
|
11
|
+
*/
|
|
8
12
|
status?: WebApplicationStatus;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The details of the application.
|
|
16
|
+
*/
|
|
9
17
|
webApplication?: WebApplication;
|
|
10
18
|
static names(): { [key: string]: string } {
|
|
11
19
|
return {
|
|
@@ -3,8 +3,32 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class WebCertConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The certificate name.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sae-certname
|
|
12
|
+
*/
|
|
6
13
|
certName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The public key of the certificate.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* -----BEGIN CERTIFICATE-----
|
|
20
|
+
* ……
|
|
21
|
+
* -----END CERTIFICATE-----
|
|
22
|
+
*/
|
|
7
23
|
certificate?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The private key of the certificate.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* -----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEA5SIfpNCBoiDrZhX1H39CHwQMVD0kBNeBTWfP9xkeesvfzbOz ******* POVNFfDf9h7pJtQ5fRZNTYTDs/d+cH62Z3+nS74mNnEfff0nkvne
|
|
30
|
+
* -----END RSA PRIVATE KEY-----
|
|
31
|
+
*/
|
|
8
32
|
privateKey?: string;
|
|
9
33
|
static names(): { [key: string]: string } {
|
|
10
34
|
return {
|
|
@@ -8,36 +8,77 @@ import { WebWAFConfig } from "./WebWafconfig";
|
|
|
8
8
|
|
|
9
9
|
export class WebCustomDomain extends $dara.Model {
|
|
10
10
|
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* The time when the custom domain name was created.
|
|
13
|
+
*
|
|
11
14
|
* @example
|
|
12
15
|
* 2023-03-30T08:02:19Z
|
|
13
16
|
*/
|
|
14
17
|
createdTime?: string;
|
|
15
18
|
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The name of the application that is forwarded by the domain name by default.
|
|
21
|
+
*
|
|
16
22
|
* @example
|
|
17
23
|
* appxxxxx
|
|
18
24
|
*/
|
|
19
25
|
defaultForwardingAppName?: string;
|
|
20
26
|
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The domain name.
|
|
29
|
+
*
|
|
21
30
|
* @example
|
|
22
31
|
* example.com
|
|
23
32
|
*/
|
|
24
33
|
domainName?: string;
|
|
25
34
|
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The time when the custom domain name was last updated.
|
|
37
|
+
*
|
|
26
38
|
* @example
|
|
27
39
|
* 2023-03-30T08:02:19Z
|
|
28
40
|
*/
|
|
29
41
|
lastModifiedTime?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The ID of the namespace to which the domain name belongs.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* cn-chengdu
|
|
48
|
+
*/
|
|
30
49
|
namespaceId?: string;
|
|
31
50
|
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The protocol type that is supported by the custom domain name. HTTP: Only HTTP is supported. HTTPS: Only HTTPS is supported. HTTP, HTTPS: Both HTTP and HTTPS are supported.
|
|
53
|
+
*
|
|
32
54
|
* @example
|
|
33
55
|
* HTTP
|
|
34
56
|
*/
|
|
35
57
|
protocol?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The route configurations.
|
|
61
|
+
*/
|
|
36
62
|
routeConfig?: RouteConfig;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The information about the HTTPS certificate.
|
|
66
|
+
*/
|
|
37
67
|
webCertConfig?: WebCertConfig;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The Transport Layer Security (TLS) configurations.
|
|
71
|
+
*/
|
|
38
72
|
webTLSConfig?: WebTLSConfig;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The WAF configurations.
|
|
76
|
+
*/
|
|
39
77
|
webWAFConfig?: WebWAFConfig;
|
|
40
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The ID of your Alibaba Cloud account
|
|
81
|
+
*
|
|
41
82
|
* @example
|
|
42
83
|
* 123xxxxxx
|
|
43
84
|
*/
|