@alicloud/vpc20160428 7.3.0 → 7.3.1

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 CHANGED
@@ -2043,12 +2043,12 @@ export default class Client extends OpenApi {
2043
2043
  * Creates a route target group instance.
2044
2044
  *
2045
2045
  * @remarks
2046
- * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation node continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
2046
+ * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation task continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
2047
2047
  * - If the routing target group is in the **Pending** state, the routing target group is being created.
2048
2048
  * - If the routing target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, the routing target group is created.
2049
- * - **Active/standby pattern**: When you create a routing target group, you must configure primary and secondary instances that are in different zones and of the same type.
2050
- * - **Primary instance**: The weight is 100. The primary instance carries all traffic under normal conditions and takes effect when health checks are successful.
2051
- * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic after the primary instance fails and serves as disaster recovery and backup.
2049
+ * - **Active/standby mode**: When you create a routing target group, configure primary and secondary instances that are in different zones and of the same type.
2050
+ * - **Primary instance**: The weight is 100. The primary instance handles all traffic under normal conditions and takes effect when health checks are successful.
2051
+ * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic when the primary instance fails, serving as disaster recovery and backup.
2052
2052
  *
2053
2053
  * @param request - CreateRouteTargetGroupRequest
2054
2054
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2059,12 +2059,12 @@ export default class Client extends OpenApi {
2059
2059
  * Creates a route target group instance.
2060
2060
  *
2061
2061
  * @remarks
2062
- * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation node continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
2062
+ * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation task continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
2063
2063
  * - If the routing target group is in the **Pending** state, the routing target group is being created.
2064
2064
  * - If the routing target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, the routing target group is created.
2065
- * - **Active/standby pattern**: When you create a routing target group, you must configure primary and secondary instances that are in different zones and of the same type.
2066
- * - **Primary instance**: The weight is 100. The primary instance carries all traffic under normal conditions and takes effect when health checks are successful.
2067
- * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic after the primary instance fails and serves as disaster recovery and backup.
2065
+ * - **Active/standby mode**: When you create a routing target group, configure primary and secondary instances that are in different zones and of the same type.
2066
+ * - **Primary instance**: The weight is 100. The primary instance handles all traffic under normal conditions and takes effect when health checks are successful.
2067
+ * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic when the primary instance fails, serving as disaster recovery and backup.
2068
2068
  *
2069
2069
  * @param request - CreateRouteTargetGroupRequest
2070
2070
  * @returns CreateRouteTargetGroupResponse
@@ -2279,7 +2279,7 @@ export default class Client extends OpenApi {
2279
2279
  * @remarks
2280
2280
  * When you call this operation to create a vSwitch, take note of the following items:
2281
2281
  * - The number of vSwitches in each VPC cannot exceed 150.
2282
- * - The first IP address and the last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
2282
+ * - The first and last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
2283
2283
  * - The number of cloud service instances in a vSwitch cannot exceed the remaining available cloud service instances in the VPC (15,000 minus the current number of cloud service instances).
2284
2284
  * - A cloud service instance can belong to only one vSwitch.
2285
2285
  * - vSwitches do not support multicast or broadcast.
@@ -2301,7 +2301,7 @@ export default class Client extends OpenApi {
2301
2301
  * @remarks
2302
2302
  * When you call this operation to create a vSwitch, take note of the following items:
2303
2303
  * - The number of vSwitches in each VPC cannot exceed 150.
2304
- * - The first IP address and the last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
2304
+ * - The first and last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
2305
2305
  * - The number of cloud service instances in a vSwitch cannot exceed the remaining available cloud service instances in the VPC (15,000 minus the current number of cloud service instances).
2306
2306
  * - A cloud service instance can belong to only one vSwitch.
2307
2307
  * - vSwitches do not support multicast or broadcast.
@@ -8607,7 +8607,7 @@ export default class Client extends OpenApi {
8607
8607
  */
8608
8608
  untagResourcesForExpressConnect(request: $_model.UntagResourcesForExpressConnectRequest): Promise<$_model.UntagResourcesForExpressConnectResponse>;
8609
8609
  /**
8610
- * Modifies the configuration of a DHCP options set.
8610
+ * Modifies the configuration of a DHCP options set by calling the UpdateDhcpOptionsSetAttribute operation.
8611
8611
  *
8612
8612
  * @param request - UpdateDhcpOptionsSetAttributeRequest
8613
8613
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8615,7 +8615,7 @@ export default class Client extends OpenApi {
8615
8615
  */
8616
8616
  updateDhcpOptionsSetAttributeWithOptions(request: $_model.UpdateDhcpOptionsSetAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDhcpOptionsSetAttributeResponse>;
8617
8617
  /**
8618
- * Modifies the configuration of a DHCP options set.
8618
+ * Modifies the configuration of a DHCP options set by calling the UpdateDhcpOptionsSetAttribute operation.
8619
8619
  *
8620
8620
  * @param request - UpdateDhcpOptionsSetAttributeRequest
8621
8621
  * @returns UpdateDhcpOptionsSetAttributeResponse
package/dist/client.js CHANGED
@@ -86,42 +86,6 @@ class Client extends openapi_core_1.default {
86
86
  'cn-zhengzhou-nebula-1': "vpc-nebula.cn-qingdao-nebula.aliyuncs.com",
87
87
  'eu-west-1-oxs': "vpc-nebula.cn-shenzhen-cloudstone.aliyuncs.com",
88
88
  'rus-west-1-pop': "vpc.aliyuncs.com",
89
- 'cn-beijing': "vpc.cn-beijing.aliyuncs.com",
90
- 'cn-heyuan': "vpc.cn-heyuan.aliyuncs.com",
91
- 'cn-zhangjiakou': "vpc.cn-zhangjiakou.aliyuncs.com",
92
- 'ap-northeast-2': "vpc.ap-northeast-2.aliyuncs.com",
93
- 'ap-northeast-1': "vpc.ap-northeast-1.aliyuncs.com",
94
- 'ap-southeast-1': "vpc.ap-southeast-1.aliyuncs.com",
95
- 'ap-southeast-3': "vpc.ap-southeast-3.aliyuncs.com",
96
- 'ap-southeast-5': "vpc.ap-southeast-5.aliyuncs.com",
97
- 'ap-southeast-6': "vpc.ap-southeast-6.aliyuncs.com",
98
- 'ap-southeast-7': "vpc.ap-southeast-7.aliyuncs.com",
99
- 'ap-southeast-8': "vpc.ap-southeast-8.aliyuncs.com",
100
- 'cn-zhongwei': "vpc.cn-zhongwei.aliyuncs.com",
101
- 'cn-wulanchabu': "vpc.cn-wulanchabu.aliyuncs.com",
102
- 'cn-qingdao': "vpc.cn-qingdao.aliyuncs.com",
103
- 'cn-wuhan-lr': "vpc.cn-wuhan-lr.aliyuncs.com",
104
- 'cn-shanghai': "vpc.cn-shanghai.aliyuncs.com",
105
- 'cn-hongkong': "vpc.cn-hongkong.aliyuncs.com",
106
- 'cn-shenzhen': "vpc.cn-shenzhen.aliyuncs.com",
107
- 'cn-nanjing': "vpc.cn-nanjing.aliyuncs.com",
108
- 'cn-fuzhou': "vpc.cn-fuzhou.aliyuncs.com",
109
- 'cn-chengdu': "vpc.cn-chengdu.aliyuncs.com",
110
- 'cn-guangzhou': "vpc.cn-guangzhou.aliyuncs.com",
111
- 'cn-huhehaote': "vpc.cn-huhehaote.aliyuncs.com",
112
- 'us-southeast-1': "vpc.us-southeast-1.aliyuncs.com",
113
- 'eu-west-1': "vpc.eu-west-1.aliyuncs.com",
114
- 'eu-west-2': "vpc.eu-west-2.aliyuncs.com",
115
- 'eu-central-1': "vpc.eu-central-1.aliyuncs.com",
116
- 'us-east-1': "vpc.us-east-1.aliyuncs.com",
117
- 'sa-east-1': "vpc.sa-east-1.aliyuncs.com",
118
- 'us-west-1': "vpc.us-west-1.aliyuncs.com",
119
- 'na-south-1': "vpc.na-south-1.aliyuncs.com",
120
- 'me-east-1': "vpc.me-east-1.aliyuncs.com",
121
- 'me-central-1': "vpc.me-central-1.aliyuncs.com",
122
- 'cn-beijing-finance-1': "vpc.cn-beijing-finance-1.aliyuncs.com",
123
- 'cn-heyuan-acdr-1': "vpc.cn-heyuan-acdr-1.aliyuncs.com",
124
- 'cn-wulanchabu-gic-1': "vpc.cn-wulanchabu-gic-1.aliyuncs.com",
125
89
  };
126
90
  this.checkConfig(config);
127
91
  this._endpoint = this.getEndpoint("vpc", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -6402,12 +6366,12 @@ class Client extends openapi_core_1.default {
6402
6366
  * Creates a route target group instance.
6403
6367
  *
6404
6368
  * @remarks
6405
- * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation node continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
6369
+ * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation task continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
6406
6370
  * - If the routing target group is in the **Pending** state, the routing target group is being created.
6407
6371
  * - If the routing target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, the routing target group is created.
6408
- * - **Active/standby pattern**: When you create a routing target group, you must configure primary and secondary instances that are in different zones and of the same type.
6409
- * - **Primary instance**: The weight is 100. The primary instance carries all traffic under normal conditions and takes effect when health checks are successful.
6410
- * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic after the primary instance fails and serves as disaster recovery and backup.
6372
+ * - **Active/standby mode**: When you create a routing target group, configure primary and secondary instances that are in different zones and of the same type.
6373
+ * - **Primary instance**: The weight is 100. The primary instance handles all traffic under normal conditions and takes effect when health checks are successful.
6374
+ * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic when the primary instance fails, serving as disaster recovery and backup.
6411
6375
  *
6412
6376
  * @param request - CreateRouteTargetGroupRequest
6413
6377
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6463,12 +6427,12 @@ class Client extends openapi_core_1.default {
6463
6427
  * Creates a route target group instance.
6464
6428
  *
6465
6429
  * @remarks
6466
- * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation node continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
6430
+ * - **CreateRouteTargetGroup** is an asynchronous operation. After you invoke this operation, the system returns an instance ID, but the routing target group instance is not yet created. The creation task continues in the background. You can invoke **ListRouteTargetGroup** to query the creation status of the routing target group:
6467
6431
  * - If the routing target group is in the **Pending** state, the routing target group is being created.
6468
6432
  * - If the routing target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, the routing target group is created.
6469
- * - **Active/standby pattern**: When you create a routing target group, you must configure primary and secondary instances that are in different zones and of the same type.
6470
- * - **Primary instance**: The weight is 100. The primary instance carries all traffic under normal conditions and takes effect when health checks are successful.
6471
- * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic after the primary instance fails and serves as disaster recovery and backup.
6433
+ * - **Active/standby mode**: When you create a routing target group, configure primary and secondary instances that are in different zones and of the same type.
6434
+ * - **Primary instance**: The weight is 100. The primary instance handles all traffic under normal conditions and takes effect when health checks are successful.
6435
+ * - **Secondary instance**: The weight is 0. The secondary instance takes over traffic when the primary instance fails, serving as disaster recovery and backup.
6472
6436
  *
6473
6437
  * @param request - CreateRouteTargetGroupRequest
6474
6438
  * @returns CreateRouteTargetGroupResponse
@@ -7175,7 +7139,7 @@ class Client extends openapi_core_1.default {
7175
7139
  * @remarks
7176
7140
  * When you call this operation to create a vSwitch, take note of the following items:
7177
7141
  * - The number of vSwitches in each VPC cannot exceed 150.
7178
- * - The first IP address and the last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
7142
+ * - The first and last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
7179
7143
  * - The number of cloud service instances in a vSwitch cannot exceed the remaining available cloud service instances in the VPC (15,000 minus the current number of cloud service instances).
7180
7144
  * - A cloud service instance can belong to only one vSwitch.
7181
7145
  * - vSwitches do not support multicast or broadcast.
@@ -7196,6 +7160,9 @@ class Client extends openapi_core_1.default {
7196
7160
  if (!$dara.isNull(request.cidrBlock)) {
7197
7161
  query["CidrBlock"] = request.cidrBlock;
7198
7162
  }
7163
+ if (!$dara.isNull(request.cidrMask)) {
7164
+ query["CidrMask"] = request.cidrMask;
7165
+ }
7199
7166
  if (!$dara.isNull(request.clientToken)) {
7200
7167
  query["ClientToken"] = request.clientToken;
7201
7168
  }
@@ -7205,6 +7172,9 @@ class Client extends openapi_core_1.default {
7205
7172
  if (!$dara.isNull(request.ipv6CidrBlock)) {
7206
7173
  query["Ipv6CidrBlock"] = request.ipv6CidrBlock;
7207
7174
  }
7175
+ if (!$dara.isNull(request.ipv6CidrMask)) {
7176
+ query["Ipv6CidrMask"] = request.ipv6CidrMask;
7177
+ }
7208
7178
  if (!$dara.isNull(request.ownerAccount)) {
7209
7179
  query["OwnerAccount"] = request.ownerAccount;
7210
7180
  }
@@ -7257,7 +7227,7 @@ class Client extends openapi_core_1.default {
7257
7227
  * @remarks
7258
7228
  * When you call this operation to create a vSwitch, take note of the following items:
7259
7229
  * - The number of vSwitches in each VPC cannot exceed 150.
7260
- * - The first IP address and the last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
7230
+ * - The first and last three IP addresses of each vSwitch CIDR block are reserved by the system. For example, the system reserved IP addresses of 192.168.1.0/24 are 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
7261
7231
  * - The number of cloud service instances in a vSwitch cannot exceed the remaining available cloud service instances in the VPC (15,000 minus the current number of cloud service instances).
7262
7232
  * - A cloud service instance can belong to only one vSwitch.
7263
7233
  * - vSwitches do not support multicast or broadcast.
@@ -24852,6 +24822,9 @@ class Client extends openapi_core_1.default {
24852
24822
  if (!$dara.isNull(request.ipv6CidrBlock)) {
24853
24823
  query["Ipv6CidrBlock"] = request.ipv6CidrBlock;
24854
24824
  }
24825
+ if (!$dara.isNull(request.ipv6CidrMask)) {
24826
+ query["Ipv6CidrMask"] = request.ipv6CidrMask;
24827
+ }
24855
24828
  if (!$dara.isNull(request.ownerAccount)) {
24856
24829
  query["OwnerAccount"] = request.ownerAccount;
24857
24830
  }
@@ -28804,7 +28777,7 @@ class Client extends openapi_core_1.default {
28804
28777
  return await this.untagResourcesForExpressConnectWithOptions(request, runtime);
28805
28778
  }
28806
28779
  /**
28807
- * Modifies the configuration of a DHCP options set.
28780
+ * Modifies the configuration of a DHCP options set by calling the UpdateDhcpOptionsSetAttribute operation.
28808
28781
  *
28809
28782
  * @param request - UpdateDhcpOptionsSetAttributeRequest
28810
28783
  * @param runtime - runtime options for this request RuntimeOptions
@@ -28872,7 +28845,7 @@ class Client extends openapi_core_1.default {
28872
28845
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDhcpOptionsSetAttributeResponse({}));
28873
28846
  }
28874
28847
  /**
28875
- * Modifies the configuration of a DHCP options set.
28848
+ * Modifies the configuration of a DHCP options set by calling the UpdateDhcpOptionsSetAttribute operation.
28876
28849
  *
28877
28850
  * @param request - UpdateDhcpOptionsSetAttributeRequest
28878
28851
  * @returns UpdateDhcpOptionsSetAttributeResponse