@alicloud/vpc20160428 6.9.1 → 6.10.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 +76 -12
- package/dist/client.js +229 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateNatIpResponseBody.d.ts +35 -0
- package/dist/models/CreateNatIpResponseBody.js +29 -1
- package/dist/models/CreateNatIpResponseBody.js.map +1 -1
- package/dist/models/CreateSslVpnServerRequest.d.ts +20 -17
- package/dist/models/CreateSslVpnServerRequest.js.map +1 -1
- package/dist/models/DeleteExpressConnectRequest.d.ts +58 -0
- package/dist/models/DeleteExpressConnectRequest.js +72 -0
- package/dist/models/DeleteExpressConnectRequest.js.map +1 -0
- package/dist/models/DeleteExpressConnectResponse.d.ts +19 -0
- package/dist/models/DeleteExpressConnectResponse.js +69 -0
- package/dist/models/DeleteExpressConnectResponse.js.map +1 -0
- package/dist/models/DeleteExpressConnectResponseBody.d.ts +21 -0
- package/dist/models/DeleteExpressConnectResponseBody.js +58 -0
- package/dist/models/DeleteExpressConnectResponseBody.js.map +1 -0
- package/dist/models/DeleteVswitchRequest.d.ts +6 -0
- package/dist/models/DeleteVswitchRequest.js.map +1 -1
- package/dist/models/DescribeGrantRulesToEcrRequest.d.ts +94 -0
- package/dist/models/DescribeGrantRulesToEcrRequest.js +92 -0
- package/dist/models/DescribeGrantRulesToEcrRequest.js.map +1 -0
- package/dist/models/DescribeGrantRulesToEcrResponse.d.ts +19 -0
- package/dist/models/DescribeGrantRulesToEcrResponse.js +69 -0
- package/dist/models/DescribeGrantRulesToEcrResponse.js.map +1 -0
- package/dist/models/DescribeGrantRulesToEcrResponseBody.d.ts +94 -0
- package/dist/models/DescribeGrantRulesToEcrResponseBody.js +94 -0
- package/dist/models/DescribeGrantRulesToEcrResponseBody.js.map +1 -0
- package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.d.ts +61 -0
- package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.js.map +1 -1
- package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.d.ts +61 -0
- package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcAttributeResponseBody.d.ts +7 -0
- package/dist/models/DescribeVpcAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +45 -0
- package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -1
- package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +40 -0
- package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -1
- package/dist/models/GetDhcpOptionsSetResponseBody.d.ts +8 -0
- package/dist/models/GetDhcpOptionsSetResponseBody.js.map +1 -1
- package/dist/models/ListBusinessRegionsRequest.d.ts +24 -0
- package/dist/models/ListBusinessRegionsRequest.js +58 -0
- package/dist/models/ListBusinessRegionsRequest.js.map +1 -0
- package/dist/models/ListBusinessRegionsResponse.d.ts +19 -0
- package/dist/models/ListBusinessRegionsResponse.js +69 -0
- package/dist/models/ListBusinessRegionsResponse.js.map +1 -0
- package/dist/models/ListBusinessRegionsResponseBody.d.ts +59 -0
- package/dist/models/ListBusinessRegionsResponseBody.js +86 -0
- package/dist/models/ListBusinessRegionsResponseBody.js.map +1 -0
- package/dist/models/ListDhcpOptionsSetsRequest.d.ts +2 -0
- package/dist/models/ListDhcpOptionsSetsRequest.js.map +1 -1
- package/dist/models/ListDhcpOptionsSetsResponseBody.d.ts +12 -4
- package/dist/models/ListDhcpOptionsSetsResponseBody.js.map +1 -1
- package/dist/models/ListNatIpsRequest.d.ts +5 -0
- package/dist/models/ListNatIpsRequest.js +2 -0
- package/dist/models/ListNatIpsRequest.js.map +1 -1
- package/dist/models/ListPhysicalConnectionFeaturesRequest.d.ts +51 -0
- package/dist/models/ListPhysicalConnectionFeaturesRequest.js +70 -0
- package/dist/models/ListPhysicalConnectionFeaturesRequest.js.map +1 -0
- package/dist/models/ListPhysicalConnectionFeaturesResponse.d.ts +19 -0
- package/dist/models/ListPhysicalConnectionFeaturesResponse.js +69 -0
- package/dist/models/ListPhysicalConnectionFeaturesResponse.js.map +1 -0
- package/dist/models/ListPhysicalConnectionFeaturesResponseBody.d.ts +66 -0
- package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js +84 -0
- package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js.map +1 -0
- package/dist/models/ListTrafficMirrorFiltersResponseBody.d.ts +14 -0
- package/dist/models/ListTrafficMirrorFiltersResponseBody.js.map +1 -1
- package/dist/models/ListVpcGatewayEndpointsRequest.d.ts +8 -1
- package/dist/models/ListVpcGatewayEndpointsRequest.js.map +1 -1
- package/dist/models/ModifyFlowLogAttributeRequest.d.ts +6 -0
- package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
- package/dist/models/ModifyVpcPrefixListRequest.d.ts +1 -1
- package/dist/models/OpenPublicIpAddressPoolServiceRequest.d.ts +10 -0
- package/dist/models/OpenPublicIpAddressPoolServiceRequest.js.map +1 -1
- package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.d.ts +9 -0
- package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +70 -36
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +260 -12
- package/src/models/CreateNatIpResponseBody.ts +54 -0
- package/src/models/CreateSslVpnServerRequest.ts +20 -17
- package/src/models/DeleteExpressConnectRequest.ts +85 -0
- package/src/models/DeleteExpressConnectResponse.ts +40 -0
- package/src/models/DeleteExpressConnectResponseBody.ts +34 -0
- package/src/models/DeleteVswitchRequest.ts +6 -0
- package/src/models/DescribeGrantRulesToEcrRequest.ts +132 -0
- package/src/models/DescribeGrantRulesToEcrResponse.ts +40 -0
- package/src/models/DescribeGrantRulesToEcrResponseBody.ts +134 -0
- package/src/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.ts +61 -0
- package/src/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.ts +61 -0
- package/src/models/DescribeVpcAttributeResponseBody.ts +7 -0
- package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +45 -0
- package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +40 -0
- package/src/models/GetDhcpOptionsSetResponseBody.ts +10 -2
- package/src/models/ListBusinessRegionsRequest.ts +37 -0
- package/src/models/ListBusinessRegionsResponse.ts +40 -0
- package/src/models/ListBusinessRegionsResponseBody.ts +91 -0
- package/src/models/ListDhcpOptionsSetsRequest.ts +8 -6
- package/src/models/ListDhcpOptionsSetsResponseBody.ts +12 -4
- package/src/models/ListNatIpsRequest.ts +7 -0
- package/src/models/ListPhysicalConnectionFeaturesRequest.ts +76 -0
- package/src/models/ListPhysicalConnectionFeaturesResponse.ts +40 -0
- package/src/models/ListPhysicalConnectionFeaturesResponseBody.ts +96 -0
- package/src/models/ListTrafficMirrorFiltersResponseBody.ts +14 -0
- package/src/models/ListVpcGatewayEndpointsRequest.ts +8 -1
- package/src/models/ModifyFlowLogAttributeRequest.ts +6 -0
- package/src/models/ModifyVpcPrefixListRequest.ts +1 -1
- package/src/models/OpenPublicIpAddressPoolServiceRequest.ts +10 -0
- package/src/models/OpenPublicIpAddressPoolServiceResponseBody.ts +9 -0
- package/src/models/model.ts +17 -0
|
@@ -4,11 +4,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeVpcGrantRulesToEcrRequestTags extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The key of the tag. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.
|
|
9
|
+
*
|
|
10
|
+
* A tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun`, and cannot contain `http://` or `https://`.
|
|
11
|
+
*
|
|
7
12
|
* @example
|
|
8
13
|
* FinanceDept
|
|
9
14
|
*/
|
|
10
15
|
key?: string;
|
|
11
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The value of the tag. You can enter a maximum of 20 tag values. The tag value can be an empty string.
|
|
19
|
+
*
|
|
20
|
+
* The tag key can be up to 128 characters in length, and cannot start with `aliyun` or `acs:`. The tag key cannot contain `http://` or `https://`.
|
|
21
|
+
*
|
|
12
22
|
* @example
|
|
13
23
|
* FinanceJoshua
|
|
14
24
|
*/
|
|
@@ -38,31 +48,57 @@ export class DescribeVpcGrantRulesToEcrRequestTags extends $dara.Model {
|
|
|
38
48
|
|
|
39
49
|
export class DescribeVpcGrantRulesToEcrRequest extends $dara.Model {
|
|
40
50
|
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The ID of the ECR that you want to query.
|
|
53
|
+
*
|
|
41
54
|
* @example
|
|
42
55
|
* ecr-ncxadcujadncsa****
|
|
43
56
|
*/
|
|
44
57
|
ecrInstanceId?: string;
|
|
45
58
|
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The ID of the Alibaba Cloud account to which the ECR belongs.
|
|
61
|
+
*
|
|
62
|
+
* > If you want to connect to a network instance that belongs to a different account, this parameter is required.
|
|
63
|
+
*
|
|
46
64
|
* @example
|
|
47
65
|
* 192732132151****
|
|
48
66
|
*/
|
|
49
67
|
ecrOwnerId?: number;
|
|
50
68
|
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The ID of the network instance.
|
|
71
|
+
*
|
|
51
72
|
* @example
|
|
52
73
|
* vpc-wz9ek66wd7tl5xqpy****
|
|
53
74
|
*/
|
|
54
75
|
instanceId?: string;
|
|
55
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The type of instance. Valid values:
|
|
79
|
+
*
|
|
80
|
+
* * **VBR**: queries the permissions that are granted to a VBR.
|
|
81
|
+
* * **VPC**: queries the permissions that are granted from a VPC.
|
|
82
|
+
*
|
|
56
83
|
* @example
|
|
57
84
|
* VPC
|
|
58
85
|
*/
|
|
59
86
|
instanceType?: string;
|
|
60
87
|
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The number of entries to return per page. Valid values: **1** to **100**. Default value: **10**.
|
|
90
|
+
*
|
|
61
91
|
* @example
|
|
62
92
|
* 50
|
|
63
93
|
*/
|
|
64
94
|
maxResults?: number;
|
|
65
95
|
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
|
|
98
|
+
*
|
|
99
|
+
* * You do not need to specify this parameter for the first request.
|
|
100
|
+
* * If a value is returned for NextToken, you must specify the token that is obtained from the previous query as the value of **NextToken**.
|
|
101
|
+
*
|
|
66
102
|
* @example
|
|
67
103
|
* FFmyTO70tTpLG6I3FmYAXGKPd****
|
|
68
104
|
*/
|
|
@@ -71,6 +107,8 @@ export class DescribeVpcGrantRulesToEcrRequest extends $dara.Model {
|
|
|
71
107
|
ownerId?: number;
|
|
72
108
|
/**
|
|
73
109
|
* @remarks
|
|
110
|
+
* The region ID of the network instance that you want to query.
|
|
111
|
+
*
|
|
74
112
|
* This parameter is required.
|
|
75
113
|
*
|
|
76
114
|
* @example
|
|
@@ -78,12 +116,19 @@ export class DescribeVpcGrantRulesToEcrRequest extends $dara.Model {
|
|
|
78
116
|
*/
|
|
79
117
|
regionId?: string;
|
|
80
118
|
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The ID of the resource group to which the network instance belongs.
|
|
121
|
+
*
|
|
81
122
|
* @example
|
|
82
123
|
* rg-acfmxazb4ph6aiy****
|
|
83
124
|
*/
|
|
84
125
|
resourceGroupId?: string;
|
|
85
126
|
resourceOwnerAccount?: string;
|
|
86
127
|
resourceOwnerId?: number;
|
|
128
|
+
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* The tag.
|
|
131
|
+
*/
|
|
87
132
|
tags?: DescribeVpcGrantRulesToEcrRequestTags[];
|
|
88
133
|
static names(): { [key: string]: string } {
|
|
89
134
|
return {
|
|
@@ -4,36 +4,60 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeVpcGrantRulesToEcrResponseBodyGrantRuleModels extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The creation time in milliseconds.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 2024-09-09T02:14:51Z
|
|
9
12
|
*/
|
|
10
13
|
creationTime?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ECR ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* ecr-tz7w3chlaptxr2****
|
|
14
20
|
*/
|
|
15
21
|
ecrId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the Alibaba Cloud account to which the ECR belongs.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 192732132151****
|
|
19
28
|
*/
|
|
20
29
|
ecrOwnerId?: number;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The ID of the network instance.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* vpc-wz9ek66wd7tl5xqpy****
|
|
24
36
|
*/
|
|
25
37
|
instanceId?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The ID of the Alibaba Cloud account to which the instance belongs.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* 192745367151****
|
|
29
44
|
*/
|
|
30
45
|
instanceUid?: number;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The ID of the region where the instance is deployed.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* cn-hangzhou
|
|
34
52
|
*/
|
|
35
53
|
regionNo?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The type of instance. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* * **VBR**: queries the permissions that are granted to a VBR.
|
|
59
|
+
* * **VPC**: queries the permissions that are granted from a VPC.
|
|
60
|
+
*
|
|
37
61
|
* @example
|
|
38
62
|
* VPC
|
|
39
63
|
*/
|
|
@@ -72,18 +96,34 @@ export class DescribeVpcGrantRulesToEcrResponseBodyGrantRuleModels extends $dara
|
|
|
72
96
|
}
|
|
73
97
|
|
|
74
98
|
export class DescribeVpcGrantRulesToEcrResponseBody extends $dara.Model {
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The authorization information.
|
|
102
|
+
*/
|
|
75
103
|
grantRuleModels?: DescribeVpcGrantRulesToEcrResponseBodyGrantRuleModels[];
|
|
76
104
|
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
|
|
107
|
+
*
|
|
108
|
+
* * If **NextToken** is empty, there is no next page.
|
|
109
|
+
* * ****
|
|
110
|
+
*
|
|
77
111
|
* @example
|
|
78
112
|
* FFmyTO70tTpLG6I3FmYAXGKPd****
|
|
79
113
|
*/
|
|
80
114
|
nextToken?: string;
|
|
81
115
|
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The unique ID that Alibaba Cloud generates for the request.
|
|
118
|
+
*
|
|
82
119
|
* @example
|
|
83
120
|
* 66342E8E-5E87-5FF9-80C7-C3E3571A****
|
|
84
121
|
*/
|
|
85
122
|
requestId?: string;
|
|
86
123
|
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* The total number of instances queried. If you specify the MaxResults and NextToken request parameters to perform a paged query, the value of the TotalCount response parameter is invalid.
|
|
126
|
+
*
|
|
87
127
|
* @example
|
|
88
128
|
* 10
|
|
89
129
|
*/
|
|
@@ -6,7 +6,7 @@ export class GetDhcpOptionsSetResponseBodyAssociateVpcs extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The status of the VPC that is associated with the DHCP options set. Valid values:
|
|
9
|
-
*
|
|
9
|
+
*
|
|
10
10
|
* * **InUse**: in use
|
|
11
11
|
* * **Pending**: being configured
|
|
12
12
|
*
|
|
@@ -65,7 +65,7 @@ export class GetDhcpOptionsSetResponseBodyDhcpOptions extends $dara.Model {
|
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
67
|
* The lease time of the IPv6 addresses for the DHCP options set.
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* * If you use hours as the unit, Valid values are **24h to 1176h** and **87600h to 175200h**. Default value: **87600h**.
|
|
70
70
|
* * If you use days as the unit, Valid values are **1d to 49d** and **3650d to 7300d**. Default value: **3650d**.
|
|
71
71
|
*
|
|
@@ -78,6 +78,7 @@ export class GetDhcpOptionsSetResponseBodyDhcpOptions extends $dara.Model {
|
|
|
78
78
|
* The lease time of the IPv4 addresses for the DHCP options set.
|
|
79
79
|
*
|
|
80
80
|
* * If you use hours as the unit, valid values are **24h to 1176h** and **87600h to 175200h**. Default value: **87600h**.
|
|
81
|
+
*
|
|
81
82
|
* * If you use days as the unit, valid values are **1d to 49d** and **3650d to 7300d**. Default value: **3650d**.
|
|
82
83
|
*
|
|
83
84
|
* @example
|
|
@@ -157,6 +158,13 @@ export class GetDhcpOptionsSetResponseBody extends $dara.Model {
|
|
|
157
158
|
* The information about the virtual private cloud (VPC) that is associated with the DHCP options set.
|
|
158
159
|
*/
|
|
159
160
|
associateVpcs?: GetDhcpOptionsSetResponseBodyAssociateVpcs[];
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* create time
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* 2025-08-21 ***
|
|
167
|
+
*/
|
|
160
168
|
creationTime?: string;
|
|
161
169
|
/**
|
|
162
170
|
* @remarks
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListBusinessRegionsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The language of the response. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * **zh-CN** (default): Chinese
|
|
11
|
+
* * **en-US**: English.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* zh-CN
|
|
15
|
+
*/
|
|
16
|
+
acceptLanguage?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
acceptLanguage: 'AcceptLanguage',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
acceptLanguage: 'string',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListBusinessRegionsResponseBody } from "./ListBusinessRegionsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListBusinessRegionsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListBusinessRegionsResponseBody;
|
|
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: ListBusinessRegionsResponseBody,
|
|
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,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListBusinessRegionsResponseBodyGeographicSubRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the region where circuits are available.
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The ID of the region where circuits are available.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
name: 'Name',
|
|
22
|
+
regionId: 'RegionId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
name: 'string',
|
|
29
|
+
regionId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export class ListBusinessRegionsResponseBody extends $dara.Model {
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The total number of entries returned.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* 10
|
|
49
|
+
*/
|
|
50
|
+
count?: number;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The list of regions available for Express Connect circuits.
|
|
54
|
+
*/
|
|
55
|
+
geographicSubRegions?: ListBusinessRegionsResponseBodyGeographicSubRegions[];
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The ID of the request.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 304FE68E-16D8-5B90-B2B3-FE5C5C08C24B
|
|
62
|
+
*/
|
|
63
|
+
requestId?: string;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
count: 'Count',
|
|
67
|
+
geographicSubRegions: 'GeographicSubRegions',
|
|
68
|
+
requestId: 'RequestId',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static types(): { [key: string]: any } {
|
|
73
|
+
return {
|
|
74
|
+
count: 'number',
|
|
75
|
+
geographicSubRegions: { 'type': 'array', 'itemType': ListBusinessRegionsResponseBodyGeographicSubRegions },
|
|
76
|
+
requestId: 'string',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(Array.isArray(this.geographicSubRegions)) {
|
|
82
|
+
$dara.Model.validateArray(this.geographicSubRegions);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -63,18 +63,19 @@ export class ListDhcpOptionsSetsRequest extends $dara.Model {
|
|
|
63
63
|
*
|
|
64
64
|
* Valid values:
|
|
65
65
|
*
|
|
66
|
+
*
|
|
66
67
|
* * tf-testAccVpcDhcpOptionsSets-1585169790614573448
|
|
67
|
-
*
|
|
68
|
+
*
|
|
68
69
|
* <!-- -->
|
|
69
|
-
*
|
|
70
|
+
*
|
|
70
71
|
* :
|
|
71
|
-
*
|
|
72
|
+
*
|
|
72
73
|
* <!-- -->
|
|
73
|
-
*
|
|
74
|
+
*
|
|
74
75
|
* tf-testAccVpcDhcpOptionsSets-1585169790614573448
|
|
75
|
-
*
|
|
76
|
+
*
|
|
76
77
|
* <!-- -->
|
|
77
|
-
*
|
|
78
|
+
*
|
|
78
79
|
* .
|
|
79
80
|
*
|
|
80
81
|
* @example
|
|
@@ -104,6 +105,7 @@ export class ListDhcpOptionsSetsRequest extends $dara.Model {
|
|
|
104
105
|
* The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
105
106
|
*
|
|
106
107
|
* * You do not need to specify this parameter for the first request.
|
|
108
|
+
*
|
|
107
109
|
* * You must specify the token that is obtained from the previous query as the value of the **NextToken** parameter.
|
|
108
110
|
*
|
|
109
111
|
* @example
|
|
@@ -21,10 +21,11 @@ export class ListDhcpOptionsSetsResponseBodyDhcpOptionsSetsDhcpOptions extends $
|
|
|
21
21
|
domainNameServers?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The lease time of the IPv6
|
|
24
|
+
* The lease time of the IPv6 DHCP options set.
|
|
25
25
|
*
|
|
26
|
-
* * If you use hours as the unit,
|
|
27
|
-
*
|
|
26
|
+
* * If you use hours as the unit, Unit: h. Valid values are **24h to 1176h** and **87600h to 175200h**. Default value: **24h**.
|
|
27
|
+
*
|
|
28
|
+
* * If you use days as the unit, Unit: d. Valid values are **1d to 49d** and **3650d to 7300d**. Default value: **1d**.
|
|
28
29
|
*
|
|
29
30
|
* @example
|
|
30
31
|
* 3650d
|
|
@@ -117,10 +118,17 @@ export class ListDhcpOptionsSetsResponseBodyDhcpOptionsSets extends $dara.Model
|
|
|
117
118
|
* 2
|
|
118
119
|
*/
|
|
119
120
|
associateVpcCount?: number;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The creation time of the DHCP options sets.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* 2025-08-21 ***
|
|
127
|
+
*/
|
|
120
128
|
creationTime?: string;
|
|
121
129
|
/**
|
|
122
130
|
* @remarks
|
|
123
|
-
* The
|
|
131
|
+
* The details of DHCP options.
|
|
124
132
|
*/
|
|
125
133
|
dhcpOptions?: ListDhcpOptionsSetsResponseBodyDhcpOptionsSetsDhcpOptions;
|
|
126
134
|
/**
|
|
@@ -26,6 +26,11 @@ export class ListNatIpsRequest extends $dara.Model {
|
|
|
26
26
|
* false
|
|
27
27
|
*/
|
|
28
28
|
dryRun?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* cidr
|
|
32
|
+
*/
|
|
33
|
+
ipOrigin?: string;
|
|
29
34
|
/**
|
|
30
35
|
* @remarks
|
|
31
36
|
* The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.
|
|
@@ -111,6 +116,7 @@ export class ListNatIpsRequest extends $dara.Model {
|
|
|
111
116
|
return {
|
|
112
117
|
clientToken: 'ClientToken',
|
|
113
118
|
dryRun: 'DryRun',
|
|
119
|
+
ipOrigin: 'IpOrigin',
|
|
114
120
|
maxResults: 'MaxResults',
|
|
115
121
|
natGatewayId: 'NatGatewayId',
|
|
116
122
|
natIpCidr: 'NatIpCidr',
|
|
@@ -130,6 +136,7 @@ export class ListNatIpsRequest extends $dara.Model {
|
|
|
130
136
|
return {
|
|
131
137
|
clientToken: 'string',
|
|
132
138
|
dryRun: 'boolean',
|
|
139
|
+
ipOrigin: 'string',
|
|
133
140
|
maxResults: 'string',
|
|
134
141
|
natGatewayId: 'string',
|
|
135
142
|
natIpCidr: 'string',
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListPhysicalConnectionFeaturesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
9
|
+
*
|
|
10
|
+
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
|
|
11
|
+
*
|
|
12
|
+
* > If you do not specify this parameter, the system automatically uses the **RequestId** as the **ClientToken**. The **RequestId** may be different.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
16
|
+
*/
|
|
17
|
+
clientToken?: string;
|
|
18
|
+
ownerAccount?: string;
|
|
19
|
+
ownerId?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The ID of the Express Connect circuit.
|
|
23
|
+
*
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* pc-bp1qrb3044eqixog****
|
|
28
|
+
*/
|
|
29
|
+
physicalConnectionId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The region ID of the Express Connect circuit.
|
|
33
|
+
*
|
|
34
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region list.
|
|
35
|
+
*
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* cn-hangzhou
|
|
40
|
+
*/
|
|
41
|
+
regionId?: string;
|
|
42
|
+
resourceOwnerAccount?: string;
|
|
43
|
+
resourceOwnerId?: number;
|
|
44
|
+
static names(): { [key: string]: string } {
|
|
45
|
+
return {
|
|
46
|
+
clientToken: 'ClientToken',
|
|
47
|
+
ownerAccount: 'OwnerAccount',
|
|
48
|
+
ownerId: 'OwnerId',
|
|
49
|
+
physicalConnectionId: 'PhysicalConnectionId',
|
|
50
|
+
regionId: 'RegionId',
|
|
51
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
52
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
clientToken: 'string',
|
|
59
|
+
ownerAccount: 'string',
|
|
60
|
+
ownerId: 'number',
|
|
61
|
+
physicalConnectionId: 'string',
|
|
62
|
+
regionId: 'string',
|
|
63
|
+
resourceOwnerAccount: 'string',
|
|
64
|
+
resourceOwnerId: 'number',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validate() {
|
|
69
|
+
super.validate();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
constructor(map?: { [key: string]: any }) {
|
|
73
|
+
super(map);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListPhysicalConnectionFeaturesResponseBody } from "./ListPhysicalConnectionFeaturesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListPhysicalConnectionFeaturesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListPhysicalConnectionFeaturesResponseBody;
|
|
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: ListPhysicalConnectionFeaturesResponseBody,
|
|
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
|
+
|