@alicloud/vpc20160428 7.2.5 → 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.
Files changed (131) hide show
  1. package/dist/client.d.ts +195 -104
  2. package/dist/client.js +239 -136
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ActivateRouterInterfaceRequest.d.ts +1 -0
  5. package/dist/models/ActivateRouterInterfaceRequest.js.map +1 -1
  6. package/dist/models/AllocateEipAddressRequest.d.ts +14 -14
  7. package/dist/models/AssociateVpcCidrBlockRequest.d.ts +5 -5
  8. package/dist/models/AssociateVpcCidrBlockResponseBody.d.ts +1 -1
  9. package/dist/models/AttachDhcpOptionsSetToVpcRequest.d.ts +2 -2
  10. package/dist/models/AttachVbrToVpconnRequest.d.ts +6 -4
  11. package/dist/models/AttachVbrToVpconnRequest.js.map +1 -1
  12. package/dist/models/AttachVbrToVpconnResponseBody.d.ts +1 -1
  13. package/dist/models/CompletePhysicalConnectionLoarequest.d.ts +11 -11
  14. package/dist/models/ConnectRouterInterfaceRequest.d.ts +1 -1
  15. package/dist/models/CreateCustomerGatewayRequest.d.ts +4 -4
  16. package/dist/models/CreateCustomerGatewayResponseBody.d.ts +1 -1
  17. package/dist/models/CreateEnhancedVpnGatewayRequest.d.ts +3 -3
  18. package/dist/models/CreateFailoverTestJobRequest.d.ts +10 -10
  19. package/dist/models/CreateFailoverTestJobResponseBody.d.ts +1 -1
  20. package/dist/models/CreateRouteTargetGroupRequest.d.ts +8 -9
  21. package/dist/models/CreateRouteTargetGroupRequest.js.map +1 -1
  22. package/dist/models/CreateVirtualPhysicalConnectionRequest.d.ts +9 -9
  23. package/dist/models/CreateVswitchRequest.d.ts +26 -9
  24. package/dist/models/CreateVswitchRequest.js +4 -0
  25. package/dist/models/CreateVswitchRequest.js.map +1 -1
  26. package/dist/models/DeleteBgpNetworkRequest.d.ts +4 -4
  27. package/dist/models/DeletePublicIpAddressPoolCidrBlockRequest.d.ts +3 -3
  28. package/dist/models/DeleteRouteEntriesRequest.d.ts +2 -2
  29. package/dist/models/DeleteRouteEntriesResponseBody.d.ts +2 -2
  30. package/dist/models/DescribePhysicalConnectionLoarequest.d.ts +2 -1
  31. package/dist/models/DescribePhysicalConnectionLoarequest.js.map +1 -1
  32. package/dist/models/DescribePhysicalConnectionLoaresponseBody.d.ts +9 -6
  33. package/dist/models/DescribePhysicalConnectionLoaresponseBody.js.map +1 -1
  34. package/dist/models/DescribePhysicalConnectionsRequest.d.ts +53 -2
  35. package/dist/models/DescribePhysicalConnectionsRequest.js.map +1 -1
  36. package/dist/models/DescribeRouterInterfacesRequest.d.ts +7 -7
  37. package/dist/models/DescribeRouterInterfacesResponseBody.d.ts +1 -1
  38. package/dist/models/DescribeVbrHaResponseBody.d.ts +3 -3
  39. package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.d.ts +3 -3
  40. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +7 -7
  41. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +8 -8
  42. package/dist/models/DescribeVpcsRequest.d.ts +6 -6
  43. package/dist/models/DescribeVpcsResponseBody.d.ts +1 -1
  44. package/dist/models/EnablePhysicalConnectionRequest.d.ts +5 -7
  45. package/dist/models/EnablePhysicalConnectionRequest.js.map +1 -1
  46. package/dist/models/GetNatGatewayAttributeRequest.d.ts +1 -1
  47. package/dist/models/GetNatGatewayAttributeResponseBody.d.ts +20 -20
  48. package/dist/models/GetVpcPrefixListAssociationsRequest.d.ts +3 -3
  49. package/dist/models/GetVpcPrefixListAssociationsResponseBody.d.ts +9 -9
  50. package/dist/models/GrantInstanceToVbrRequest.d.ts +6 -6
  51. package/dist/models/GrantInstanceToVbrShrinkRequest.d.ts +6 -6
  52. package/dist/models/ListVirtualPhysicalConnectionsRequest.d.ts +7 -7
  53. package/dist/models/ListVirtualPhysicalConnectionsResponseBody.d.ts +20 -20
  54. package/dist/models/ModifyPhysicalConnectionAttributeRequest.d.ts +10 -3
  55. package/dist/models/ModifyPhysicalConnectionAttributeRequest.js.map +1 -1
  56. package/dist/models/ModifyVpcAttributeRequest.d.ts +4 -4
  57. package/dist/models/ModifyVpcCidrBlockRequest.d.ts +78 -0
  58. package/dist/models/ModifyVpcCidrBlockRequest.js +68 -0
  59. package/dist/models/ModifyVpcCidrBlockRequest.js.map +1 -0
  60. package/dist/models/ModifyVpcCidrBlockResponse.d.ts +19 -0
  61. package/dist/models/ModifyVpcCidrBlockResponse.js +69 -0
  62. package/dist/models/ModifyVpcCidrBlockResponse.js.map +1 -0
  63. package/dist/models/ModifyVpcCidrBlockResponseBody.d.ts +21 -0
  64. package/dist/models/ModifyVpcCidrBlockResponseBody.js +58 -0
  65. package/dist/models/ModifyVpcCidrBlockResponseBody.js.map +1 -0
  66. package/dist/models/ModifyVswitchAttributeRequest.d.ts +13 -3
  67. package/dist/models/ModifyVswitchAttributeRequest.js +2 -0
  68. package/dist/models/ModifyVswitchAttributeRequest.js.map +1 -1
  69. package/dist/models/MoveResourceGroupRequest.d.ts +1 -1
  70. package/dist/models/ReleaseEipAddressRequest.d.ts +2 -2
  71. package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +3 -3
  72. package/dist/models/UpdateDhcpOptionsSetAttributeRequest.d.ts +12 -12
  73. package/dist/models/UpdateIpv4gatewayAttributeRequest.d.ts +6 -6
  74. package/dist/models/model.d.ts +3 -0
  75. package/dist/models/model.js +11 -5
  76. package/dist/models/model.js.map +1 -1
  77. package/package.json +1 -1
  78. package/src/client.ts +250 -136
  79. package/src/models/ActivateRouterInterfaceRequest.ts +2 -1
  80. package/src/models/AllocateEipAddressRequest.ts +14 -14
  81. package/src/models/AssociateVpcCidrBlockRequest.ts +5 -5
  82. package/src/models/AssociateVpcCidrBlockResponseBody.ts +1 -1
  83. package/src/models/AttachDhcpOptionsSetToVpcRequest.ts +2 -2
  84. package/src/models/AttachVbrToVpconnRequest.ts +6 -4
  85. package/src/models/AttachVbrToVpconnResponseBody.ts +1 -1
  86. package/src/models/CompletePhysicalConnectionLoarequest.ts +11 -11
  87. package/src/models/ConnectRouterInterfaceRequest.ts +1 -1
  88. package/src/models/CreateCustomerGatewayRequest.ts +4 -4
  89. package/src/models/CreateCustomerGatewayResponseBody.ts +1 -1
  90. package/src/models/CreateEnhancedVpnGatewayRequest.ts +3 -3
  91. package/src/models/CreateFailoverTestJobRequest.ts +10 -10
  92. package/src/models/CreateFailoverTestJobResponseBody.ts +1 -1
  93. package/src/models/CreateRouteTargetGroupRequest.ts +8 -9
  94. package/src/models/CreateVirtualPhysicalConnectionRequest.ts +9 -9
  95. package/src/models/CreateVswitchRequest.ts +30 -9
  96. package/src/models/DeleteBgpNetworkRequest.ts +4 -4
  97. package/src/models/DeletePublicIpAddressPoolCidrBlockRequest.ts +3 -3
  98. package/src/models/DeleteRouteEntriesRequest.ts +2 -2
  99. package/src/models/DeleteRouteEntriesResponseBody.ts +2 -2
  100. package/src/models/DescribePhysicalConnectionLoarequest.ts +2 -1
  101. package/src/models/DescribePhysicalConnectionLoaresponseBody.ts +9 -6
  102. package/src/models/DescribePhysicalConnectionsRequest.ts +54 -3
  103. package/src/models/DescribeRouterInterfacesRequest.ts +7 -7
  104. package/src/models/DescribeRouterInterfacesResponseBody.ts +1 -1
  105. package/src/models/DescribeVbrHaResponseBody.ts +3 -3
  106. package/src/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.ts +3 -3
  107. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +7 -7
  108. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +8 -8
  109. package/src/models/DescribeVpcsRequest.ts +6 -6
  110. package/src/models/DescribeVpcsResponseBody.ts +1 -1
  111. package/src/models/EnablePhysicalConnectionRequest.ts +5 -7
  112. package/src/models/GetNatGatewayAttributeRequest.ts +1 -1
  113. package/src/models/GetNatGatewayAttributeResponseBody.ts +20 -20
  114. package/src/models/GetVpcPrefixListAssociationsRequest.ts +3 -3
  115. package/src/models/GetVpcPrefixListAssociationsResponseBody.ts +9 -9
  116. package/src/models/GrantInstanceToVbrRequest.ts +6 -6
  117. package/src/models/GrantInstanceToVbrShrinkRequest.ts +6 -6
  118. package/src/models/ListVirtualPhysicalConnectionsRequest.ts +7 -7
  119. package/src/models/ListVirtualPhysicalConnectionsResponseBody.ts +20 -20
  120. package/src/models/ModifyPhysicalConnectionAttributeRequest.ts +10 -3
  121. package/src/models/ModifyVpcAttributeRequest.ts +4 -4
  122. package/src/models/ModifyVpcCidrBlockRequest.ts +101 -0
  123. package/src/models/ModifyVpcCidrBlockResponse.ts +40 -0
  124. package/src/models/ModifyVpcCidrBlockResponseBody.ts +34 -0
  125. package/src/models/ModifyVswitchAttributeRequest.ts +15 -3
  126. package/src/models/MoveResourceGroupRequest.ts +1 -1
  127. package/src/models/ReleaseEipAddressRequest.ts +2 -2
  128. package/src/models/UnassociateVpcCidrBlockRequest.ts +3 -3
  129. package/src/models/UpdateDhcpOptionsSetAttributeRequest.ts +12 -12
  130. package/src/models/UpdateIpv4gatewayAttributeRequest.ts +6 -6
  131. package/src/models/model.ts +3 -0
@@ -19,7 +19,7 @@ export class GetNatGatewayAttributeRequest extends $dara.Model {
19
19
  * @remarks
20
20
  * The region ID of the NAT gateway.
21
21
  *
22
- * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/448570.html) operation to obtain the region ID.
22
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/448570.html) operation to query the region ID.
23
23
  *
24
24
  * This parameter is required.
25
25
  *
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetNatGatewayAttributeResponseBodyAccessMode extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The access mode. Valid values:
8
+ * The access mode value. Valid values:
9
9
  *
10
- * - **route**: route mode.
10
+ * - **route**: Route mode.
11
11
  *
12
- * - **tunnel**: tunnel mode.
12
+ * - **tunnel**: Tunnel mode.
13
13
  *
14
14
  * @example
15
15
  * route
@@ -53,7 +53,7 @@ export class GetNatGatewayAttributeResponseBodyBillingConfig extends $dara.Model
53
53
  * @remarks
54
54
  * Indicates whether automatic payment is enabled. When the value of **InstanceChargeType** is **PrePaid**, the following values are returned:
55
55
  *
56
- * - **false**: Automatic payment is not enabled. After an order is generated, go to the Order Center to complete the payment.
56
+ * - **false**: Automatic payment is disabled. After an order is generated, go to the Order Center to complete the payment.
57
57
  *
58
58
  * - **true**: Automatic payment is enabled. The order is automatically paid.
59
59
  *
@@ -81,8 +81,8 @@ export class GetNatGatewayAttributeResponseBodyBillingConfig extends $dara.Model
81
81
  * @remarks
82
82
  * The billing type of the NAT gateway instance. Valid values:
83
83
  *
84
- * - **PayBySpec**: billed by defined specifications.
85
- * - **PayByLcu**: billed by usage.
84
+ * - **PayBySpec**: Billed by defined specifications.
85
+ * - **PayByLcu**: Billed by usage.
86
86
  *
87
87
  * @example
88
88
  * PayBySpec
@@ -132,7 +132,7 @@ export class GetNatGatewayAttributeResponseBodyDeletionProtectionInfo extends $d
132
132
  * @remarks
133
133
  * Indicates whether deletion protection is enabled.
134
134
  * - **true**: Deletion protection is enabled.
135
- * - **false**: Deletion protection is not enabled.
135
+ * - **false**: Deletion protection is disabled.
136
136
  *
137
137
  * @example
138
138
  * true
@@ -260,8 +260,8 @@ export class GetNatGatewayAttributeResponseBodyIpList extends $dara.Model {
260
260
  * @remarks
261
261
  * The association status of the EIP bound to the Internet NAT gateway instance.
262
262
  *
263
- * - **idle**: The EIP is not associated with any SNAT entry or DNAT entry.
264
- * - **UsedBySnatTable**: The EIP is associated with an SNAT entry.
263
+ * - **idle**: The EIP is not associated with a SNAT entry or DNAT entry.
264
+ * - **UsedBySnatTable**: The EIP is associated with a SNAT entry.
265
265
  * - **UsedByForwardTable**: The EIP is associated with a DNAT entry.
266
266
  *
267
267
  * @example
@@ -316,7 +316,7 @@ export class GetNatGatewayAttributeResponseBodyLogDelivery extends $dara.Model {
316
316
  /**
317
317
  * @remarks
318
318
  * The destination type for session log delivery. Valid values:
319
- * **sls**: Simple Log Service (SLS).
319
+ * **sls**: Alibaba Cloud Simple Log Service (SLS).
320
320
  *
321
321
  * @example
322
322
  * sls
@@ -492,7 +492,7 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
492
492
  businessStatus?: string;
493
493
  /**
494
494
  * @remarks
495
- * The time when the NAT gateway was created. The time is displayed in the YYYY-MM-DDThh:mm:ssZ format.
495
+ * The time when the NAT gateway was created. The time is displayed in the format of YYYY-MM-DDThh:mm:ssZ.
496
496
  *
497
497
  * @example
498
498
  * 2021-12-08T12:20:20Z
@@ -515,7 +515,7 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
515
515
  * @remarks
516
516
  * Indicates whether the gateway traffic monitoring feature is enabled. Valid values:
517
517
  * - **true**: The gateway traffic monitoring feature is enabled.
518
- * - **false**: The gateway traffic monitoring feature is not enabled.
518
+ * - **false**: The gateway traffic monitoring feature is disabled.
519
519
  *
520
520
  * @example
521
521
  * true
@@ -603,10 +603,10 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
603
603
  privateInfo?: GetNatGatewayAttributeResponseBodyPrivateInfo;
604
604
  /**
605
605
  * @remarks
606
- * Indicates whether PrivateLink is supported. Valid values:
606
+ * Indicates whether private connectivity is supported. Valid values:
607
607
  *
608
- * - **true**: PrivateLink is supported.
609
- * - **false**: PrivateLink is not supported.
608
+ * - **true**: Private connectivity is supported.
609
+ * - **false**: Private connectivity is not supported.
610
610
  *
611
611
  * @example
612
612
  * true
@@ -614,7 +614,7 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
614
614
  privateLinkEnabled?: boolean;
615
615
  /**
616
616
  * @remarks
617
- * The PrivateLink service conversion mode. Valid values:
617
+ * The conversion mode of the private connectivity service. Valid values:
618
618
  *
619
619
  * - **FullNat**: FULLNAT mode.
620
620
  * - **Geneve**: Geneve mode.
@@ -656,11 +656,11 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
656
656
  * @remarks
657
657
  * The status of the NAT gateway. Valid values:
658
658
  *
659
- * - **Creating**: The NAT gateway is being created. The creation of a NAT gateway is an asynchronous operation. The NAT gateway remains in the **Creating** state until the creation is complete.
659
+ * - **Creating**: The NAT gateway is being created. Creating a NAT gateway is an asynchronous operation. The NAT gateway remains in the **Creating** state until the operation is complete.
660
660
  * - **Available**: The NAT gateway is available. This is a stable state after the NAT gateway is created.
661
- * - **Modifying**: The NAT gateway is being modified. The modification of a NAT gateway is an asynchronous operation. The NAT gateway remains in the **Modifying** state during the modification.
662
- * - **Deleting**: The NAT gateway is being deleted. The deletion of a NAT gateway is an asynchronous operation. The NAT gateway remains in the **Deleting** state during the deletion.
663
- * - **Converting**: The NAT gateway is being converted. The conversion from a standard NAT gateway to an enhanced NAT gateway is an asynchronous operation. The NAT gateway remains in the **Converting** state during the conversion.
661
+ * - **Modifying**: The NAT gateway is being modified. Modifying a NAT gateway is an asynchronous operation. The NAT gateway remains in the **Modifying** state until the operation is complete.
662
+ * - **Deleting**: The NAT gateway is being deleted. Deleting a NAT gateway is an asynchronous operation. The NAT gateway remains in the **Deleting** state until the operation is complete.
663
+ * - **Converting**: The NAT gateway is being converted. Converting a standard NAT gateway to an enhanced NAT gateway is an asynchronous operation. The NAT gateway remains in the **Converting** state until the operation is complete.
664
664
  *
665
665
  * @example
666
666
  * Available
@@ -13,9 +13,9 @@ export class GetVpcPrefixListAssociationsRequest extends $dara.Model {
13
13
  maxResults?: number;
14
14
  /**
15
15
  * @remarks
16
- * The pagination token. Valid values:
17
- * - Leave this parameter empty for the first query or if no subsequent query is required.
18
- * - If a subsequent query is required, set this parameter to the NextToken value returned in the previous API call.
16
+ * The token for the next query. Valid values:
17
+ * - Leave this parameter empty for the first query or if no next query exists.
18
+ * - If a next query exists, set this parameter to the NextToken value returned in the previous API call.
19
19
  *
20
20
  * @example
21
21
  * FFmyTO70tTpLG6I3FmYAXGKPd****
@@ -74,12 +74,12 @@ export class GetVpcPrefixListAssociationsResponseBodyPrefixListAssociation exten
74
74
  * @remarks
75
75
  * The association status of the prefix list. Valid values:
76
76
  *
77
- * - **Created**: succeeded.
78
- * - **ModifyFailed**: not associated with the latest version.
79
- * - **Creating**: being created.
80
- * - **Modifying**: being modified.
81
- * - **Deleting**: being deleted.
82
- * - **Deleted**: deleted.
77
+ * - **Created**: Succeeded.
78
+ * - **ModifyFailed**: Not associated with the latest version.
79
+ * - **Creating**: Being created.
80
+ * - **Modifying**: Being modified.
81
+ * - **Deleting**: Being deleted.
82
+ * - **Deleted**: Deleted.
83
83
  *
84
84
  * @example
85
85
  * Success
@@ -133,9 +133,9 @@ export class GetVpcPrefixListAssociationsResponseBody extends $dara.Model {
133
133
  count?: number;
134
134
  /**
135
135
  * @remarks
136
- * The pagination token. Valid values:
137
- * - If **NextToken** is empty, no subsequent query is required.
138
- * - If **NextToken** is returned, the value indicates the token for the next query.
136
+ * The token for the next query. Valid values:
137
+ * - If **NextToken** is empty, no next query exists.
138
+ * - If **NextToken** has a return value, the value is the token for the next query.
139
139
  *
140
140
  * @example
141
141
  * FFmyTO70tTpLG6I3FmYAXGKPd****
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GrantInstanceToVbrRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The scope of VBR instances to receive the authorization. Valid values:
8
+ * The scope of the VBR instances to be authorized. Valid values:
9
9
  *
10
- * - **All**: grants the VPC-connected instance authorization to all VBR instances in the specified region under the specified Alibaba Cloud account. In this case, the **VbrInstanceIds** parameter can be left empty.
11
- * - **Specify**: grants the VPC-connected instance authorization to the specified VBR instances. In this case, the **VbrInstanceIds** parameter is required.
10
+ * - **All**: Grants authorization of the VPC-connected instance to all VBR instances in the specified region under the specified Alibaba Cloud account. In this case, the **VbrInstanceIds** parameter can be left empty.
11
+ * - **Specify**: Grants authorization of the VPC-connected instance to the specified VBR instances. In this case, the **VbrInstanceIds** parameter is required.
12
12
  *
13
13
  * This parameter is required.
14
14
  *
@@ -18,7 +18,7 @@ export class GrantInstanceToVbrRequest extends $dara.Model {
18
18
  grantType?: string;
19
19
  /**
20
20
  * @remarks
21
- * The instance ID of the VPC-connected instance to grant authorization for.
21
+ * The ID of the VPC-connected instance for which authorization is to be granted.
22
22
  *
23
23
  * This parameter is required.
24
24
  *
@@ -28,7 +28,7 @@ export class GrantInstanceToVbrRequest extends $dara.Model {
28
28
  instanceId?: string;
29
29
  /**
30
30
  * @remarks
31
- * The region ID of the VPC-connected instance to grant authorization for.
31
+ * The region ID of the VPC-connected instance for which authorization is to be granted.
32
32
  *
33
33
  * You can invoke the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
34
34
  *
@@ -48,7 +48,7 @@ export class GrantInstanceToVbrRequest extends $dara.Model {
48
48
  vbrInstanceIds?: string[];
49
49
  /**
50
50
  * @remarks
51
- * The ID of the Alibaba Cloud account that owns the VBR instance to be authorized. This account must be different from the caller\\"s account. Do not specify the caller\\"s own account ID. This operation is used for cross-account authorization.
51
+ * The ID of the Alibaba Cloud account that owns the VBR instance to be authorized. This account must be different from the caller\\"s account. You cannot specify the caller\\"s own account ID. This operation is used for cross-account authorization.
52
52
  *
53
53
  * This parameter is required.
54
54
  *
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GrantInstanceToVbrShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The scope of VBR instances to receive the authorization. Valid values:
8
+ * The scope of the VBR instances to be authorized. Valid values:
9
9
  *
10
- * - **All**: grants the VPC-connected instance authorization to all VBR instances in the specified region under the specified Alibaba Cloud account. In this case, the **VbrInstanceIds** parameter can be left empty.
11
- * - **Specify**: grants the VPC-connected instance authorization to the specified VBR instances. In this case, the **VbrInstanceIds** parameter is required.
10
+ * - **All**: Grants authorization of the VPC-connected instance to all VBR instances in the specified region under the specified Alibaba Cloud account. In this case, the **VbrInstanceIds** parameter can be left empty.
11
+ * - **Specify**: Grants authorization of the VPC-connected instance to the specified VBR instances. In this case, the **VbrInstanceIds** parameter is required.
12
12
  *
13
13
  * This parameter is required.
14
14
  *
@@ -18,7 +18,7 @@ export class GrantInstanceToVbrShrinkRequest extends $dara.Model {
18
18
  grantType?: string;
19
19
  /**
20
20
  * @remarks
21
- * The instance ID of the VPC-connected instance to grant authorization for.
21
+ * The ID of the VPC-connected instance for which authorization is to be granted.
22
22
  *
23
23
  * This parameter is required.
24
24
  *
@@ -28,7 +28,7 @@ export class GrantInstanceToVbrShrinkRequest extends $dara.Model {
28
28
  instanceId?: string;
29
29
  /**
30
30
  * @remarks
31
- * The region ID of the VPC-connected instance to grant authorization for.
31
+ * The region ID of the VPC-connected instance for which authorization is to be granted.
32
32
  *
33
33
  * You can invoke the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
34
34
  *
@@ -48,7 +48,7 @@ export class GrantInstanceToVbrShrinkRequest extends $dara.Model {
48
48
  vbrInstanceIdsShrink?: string;
49
49
  /**
50
50
  * @remarks
51
- * The ID of the Alibaba Cloud account that owns the VBR instance to be authorized. This account must be different from the caller\\"s account. Do not specify the caller\\"s own account ID. This operation is used for cross-account authorization.
51
+ * The ID of the Alibaba Cloud account that owns the VBR instance to be authorized. This account must be different from the caller\\"s account. You cannot specify the caller\\"s own account ID. This operation is used for cross-account authorization.
52
52
  *
53
53
  * This parameter is required.
54
54
  *
@@ -7,7 +7,7 @@ export class ListVirtualPhysicalConnectionsRequestTags extends $dara.Model {
7
7
  * @remarks
8
8
  * The tag key of the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.
9
9
  *
10
- * The tag key can be up to 64 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The tag key cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
10
+ * The tag key can be up to 64 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
11
11
  *
12
12
  * @example
13
13
  * FinanceDept
@@ -17,7 +17,7 @@ export class ListVirtualPhysicalConnectionsRequestTags extends $dara.Model {
17
17
  * @remarks
18
18
  * The tag value of the resource. You can specify up to 20 tag values. The tag value can be an empty string.
19
19
  *
20
- * The tag value can be up to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The tag value cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
20
+ * The tag value can be up to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
21
21
  *
22
22
  * @example
23
23
  * FinanceJoshua
@@ -49,7 +49,7 @@ export class ListVirtualPhysicalConnectionsRequestTags extends $dara.Model {
49
49
  export class ListVirtualPhysicalConnectionsRequest extends $dara.Model {
50
50
  /**
51
51
  * @remarks
52
- * Indicates whether the shared Express Connect circuits have been confirmed and accepted by the tenant. Valid values:
52
+ * Specifies whether the shared Express Connect circuits have been confirmed and accepted by the tenant. Valid values:
53
53
  *
54
54
  * - **true**: Yes.
55
55
  * - **false**: No.
@@ -68,9 +68,9 @@ export class ListVirtualPhysicalConnectionsRequest extends $dara.Model {
68
68
  maxResults?: number;
69
69
  /**
70
70
  * @remarks
71
- * Specifies whether a next query token is available. Valid values:
72
- * - You do not need to specify this parameter for the first query or if no next query is available.
73
- * - If a next query is available, set this parameter to the NextToken value returned in the previous API call.
71
+ * Specifies whether a next query token exists. Valid values:
72
+ * - You do not need to specify this parameter for the first query or if no next query exists.
73
+ * - If a next query exists, set this parameter to the NextToken value returned by the previous API call.
74
74
  *
75
75
  * @example
76
76
  * dd20****
@@ -124,7 +124,7 @@ export class ListVirtualPhysicalConnectionsRequest extends $dara.Model {
124
124
  * The business status of the shared Express Connect circuits. Valid values:
125
125
  *
126
126
  * - **Normal**: Normal.
127
- * - **FinancialLocked**: financial lock.
127
+ * - **FinancialLocked**: Locked due to overdue payment.
128
128
  * - **SecurityLocked**: Locked for security reasons.
129
129
  *
130
130
  * @example
@@ -7,7 +7,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
7
7
  * @remarks
8
8
  * The tag key of the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.
9
9
  *
10
- * The tag key can be up to 64 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The tag key cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
10
+ * The tag key can be up to 64 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
11
11
  *
12
12
  * @example
13
13
  * FinanceDept
@@ -17,7 +17,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
17
17
  * @remarks
18
18
  * The tag value of the resource. You can specify up to 20 tag values. The tag value can be an empty string.
19
19
  *
20
- * The tag value can be up to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The tag value cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
20
+ * The tag value can be up to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
21
21
  *
22
22
  * @example
23
23
  * FinanceJoshua
@@ -60,7 +60,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
60
60
  * The physical location of the access device for the Express Connect circuit.
61
61
  *
62
62
  * @example
63
- * 余杭经济开发区XXX交叉口, 余杭XX机房, E***包间
63
+ * Yuhang Economic Development Zone, XX Intersection, Yuhang XX Data Center, Room E***
64
64
  */
65
65
  adLocation?: string;
66
66
  /**
@@ -84,7 +84,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
84
84
  * The business status of the Express Connect circuit. Valid values:
85
85
  *
86
86
  * - **Normal**: Enabled.
87
- * - **FinancialLocked**: Financial lock.
87
+ * - **FinancialLocked**: Locked due to overdue payment.
88
88
  * - **SecurityLocked**: Locked for security reasons.
89
89
  *
90
90
  * @example
@@ -111,10 +111,10 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
111
111
  circuitCode?: string;
112
112
  /**
113
113
  * @remarks
114
- * The time when the Express Connect circuit was created.
114
+ * The time when the Express Connect circuit was created. The time is displayed in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
115
115
  *
116
116
  * @example
117
- * 2021-06-08T12:20:55
117
+ * 2021-06-08T12:20:55Z
118
118
  */
119
119
  creationTime?: string;
120
120
  /**
@@ -127,17 +127,17 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
127
127
  description?: string;
128
128
  /**
129
129
  * @remarks
130
- * The time when the Express Connect circuit was enabled.
130
+ * The time when the Express Connect circuit was enabled. The time is displayed in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
131
131
  *
132
132
  * @example
133
- * 2021-10-08T10:44Z
133
+ * 2021-10-08T10:44:00Z
134
134
  */
135
135
  enabledTime?: string;
136
136
  /**
137
137
  * @remarks
138
138
  * The expiration time of the shared Express Connect circuits.
139
139
  *
140
- * The time is displayed in the ISO 8601 standard in UTC. Format: YYYY-MM-DDThh:mm:ssZ.
140
+ * The time is displayed in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
141
141
  *
142
142
  * @example
143
143
  * 2021-11-08T16:00:00Z
@@ -145,7 +145,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
145
145
  endTime?: string;
146
146
  /**
147
147
  * @remarks
148
- * The expected bandwidth of the shared Express Connect circuits. The expected bandwidth takes effect only after payment is complete.
148
+ * The expected bandwidth value of the shared Express Connect circuits. The expected bandwidth value takes effect only after payment is completed.
149
149
  *
150
150
  * Unit: **M** indicates Mbit/s, and **G** indicates Gbit/s.
151
151
  *
@@ -155,7 +155,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
155
155
  expectSpec?: string;
156
156
  /**
157
157
  * @remarks
158
- * The carrier that provides the physical connection. Valid values:
158
+ * The carrier that provides the physical line for access. Valid values:
159
159
  *
160
160
  * - **CT**: China Telecom.
161
161
  * - **CU**: China Unicom.
@@ -205,7 +205,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
205
205
  orderMode?: string;
206
206
  /**
207
207
  * @remarks
208
- * The Alibaba Cloud account ID to which the Express Connect circuit belongs.
208
+ * The Alibaba Cloud account ID that owns the Express Connect circuit.
209
209
  *
210
210
  * @example
211
211
  * 18311773240248****
@@ -224,7 +224,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
224
224
  * The geographic location of the on-premises data center.
225
225
  *
226
226
  * @example
227
- * 浙江省杭州市XX区XX街道XX号
227
+ * No. XX, XX Street, XX District, Hangzhou, Zhejiang Province
228
228
  */
229
229
  peerLocation?: string;
230
230
  /**
@@ -245,10 +245,10 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
245
245
  portNumber?: string;
246
246
  /**
247
247
  * @remarks
248
- * The port type of the Express Connect circuit. Valid values:
248
+ * The port type of the access device for the Express Connect circuit. Valid values:
249
249
  *
250
250
  * - **100Base-T**: 100M Ethernet port.
251
- * - **1000Base-T**: 1 GE electrical port.
251
+ * - **1000Base-T**: GE electrical port.
252
252
  * - **1000Base-LX**: GE single-mode optical port (10 km).
253
253
  * - **10GBase-T**: 10 GE electrical port.
254
254
  * - **10GBase-LR**: 10 GE single-mode optical port (10 km).
@@ -288,7 +288,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
288
288
  resourceGroupId?: string;
289
289
  /**
290
290
  * @remarks
291
- * The bandwidth of the shared Express Connect circuits.
291
+ * The bandwidth value of the shared Express Connect circuits.
292
292
  *
293
293
  * Unit: **M** indicates Mbit/s, and **G** indicates Gbit/s.
294
294
  *
@@ -304,7 +304,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
304
304
  * - **Approved**: The application is approved.
305
305
  * - **Allocating**: Resources are being allocated.
306
306
  * - **Allocated**: Under construction.
307
- * - **Confirmed**: Pending confirmation.
307
+ * - **Confirmed**: Waiting for user confirmation.
308
308
  * - **Enabled**: Enabled.
309
309
  * - **Rejected**: The application is rejected.
310
310
  * - **Canceled**: Canceled.
@@ -443,9 +443,9 @@ export class ListVirtualPhysicalConnectionsResponseBody extends $dara.Model {
443
443
  count?: number;
444
444
  /**
445
445
  * @remarks
446
- * Indicates whether a next query token is available. Valid values:
447
- * - If **NextToken** is empty, no next query is available.
448
- * - If **NextToken** is returned, the value indicates the token for the next query.
446
+ * Indicates whether a next query token exists. Valid values:
447
+ * - If **NextToken** is empty, no next query exists.
448
+ * - If **NextToken** has a return value, the value is the token for the next query.
449
449
  *
450
450
  * @example
451
451
  * dd20****
@@ -33,10 +33,17 @@ export class ModifyPhysicalConnectionAttributeRequest extends $dara.Model {
33
33
  * Description of the Express Connect circuit
34
34
  */
35
35
  description?: string;
36
+ /**
37
+ * @remarks
38
+ * The port down delay time of the Express Connect circuit, in milliseconds. When a physical link Down event is detected, the access device waits for this duration before setting the port to the down state. This prevents transient disconnections from affecting your services. Valid values: 0 to 10000. The step size is 100. A value of 0 indicates that the port goes down immediately after the link goes down (default).
39
+ *
40
+ * @example
41
+ * 100
42
+ */
36
43
  downDelayTime?: number;
37
44
  /**
38
45
  * @remarks
39
- * The carrier that provides the access to the physical connection. Valid values:
46
+ * The carrier that provides the access to the physical line. Valid values:
40
47
  *
41
48
  * - **CT**: China Telecom
42
49
  * - **CU**: China Unicom
@@ -63,7 +70,7 @@ export class ModifyPhysicalConnectionAttributeRequest extends $dara.Model {
63
70
  ownerId?: number;
64
71
  /**
65
72
  * @remarks
66
- * The geographical location of the on-premises data center.
73
+ * The geographic location of the on-premises data center.
67
74
  *
68
75
  * @example
69
76
  * No. XX, XX Road, XX District, Hangzhou City, Zhejiang Province
@@ -91,7 +98,7 @@ export class ModifyPhysicalConnectionAttributeRequest extends $dara.Model {
91
98
  * - **40GBase-LR**: 40 GE single-mode optical port.
92
99
  * - **100GBase-LR**: 100 GE single-mode optical port.
93
100
  *
94
- * > To create 40GBase-LR or 100GBase-LR ports, check the actual port availability on the backend. Contact your account manager for details.
101
+ * > 40GBase-LR and 100GBase-LR are subject to the availability of backend port resources. Contact your account manager for more information.
95
102
  *
96
103
  * @example
97
104
  * 1000Base-LX
@@ -49,7 +49,7 @@ export class ModifyVpcAttributeRequest extends $dara.Model {
49
49
  /**
50
50
  * @remarks
51
51
  * The IPv6 CIDR block of the VPC.
52
- * When you enable IPv6 for a VPC, the system will assign an IPv6 CIDR block. To specify an IPv6 CIDR block, invoke the [AllocateVpcIpv6Cidr](https://help.aliyun.com/document_detail/448916.html) operation to reserve a specific IPv6 CIDR block first, and then pass it in.
52
+ * When you enable IPv6 for a VPC, the system will assign an IPv6 CIDR block. To specify an IPv6 CIDR block, you need to first invoke the [AllocateVpcIpv6Cidr](https://help.aliyun.com/document_detail/448916.html) operation to reserve the specified IPv6 CIDR block, and then pass it in.
53
53
  * > For a VPC that already has IPv6 enabled, you cannot modify the IPv6 CIDR block by passing in this parameter.
54
54
  *
55
55
  * @example
@@ -61,9 +61,9 @@ export class ModifyVpcAttributeRequest extends $dara.Model {
61
61
  * The type of the IPv6 CIDR block of the VPC. Valid values:
62
62
  *
63
63
  * - **BGP** (default): Alibaba Cloud BGP IPv6.
64
- * - **ChinaMobile**: China Mobile (single ISP).
65
- * - **ChinaUnicom**: China Unicom (single ISP).
66
- * - **ChinaTelecom**: China Telecom (single ISP).
64
+ * - **ChinaMobile**: China Mobile (single-ISP).
65
+ * - **ChinaUnicom**: China Unicom (single-ISP).
66
+ * - **ChinaTelecom**: China Telecom (single-ISP).
67
67
  *
68
68
  * > If you are a user who has the single-ISP bandwidth whitelist enabled, you can set this parameter to **ChinaTelecom** (China Telecom), **ChinaUnicom** (China Unicom), or **ChinaMobile** (China Mobile).
69
69
  *
@@ -0,0 +1,101 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyVpcCidrBlockRequest 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 ClientToken value can contain only ASCII characters.
11
+ *
12
+ * > If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each API request.
13
+ *
14
+ * @example
15
+ * 123e4567-e89b-12d3-a456-426655440000
16
+ */
17
+ clientToken?: string;
18
+ /**
19
+ * @remarks
20
+ * Specifies whether to perform a dry run. Valid values:
21
+ *
22
+ * - **true**: performs a dry run without modifying the CIDR block of the virtual private cloud (VPC). The system checks the request for potential issues. If the check fails, the corresponding error is returned. If the check succeeds, the error code `DryRunOperation` is returned.
23
+ * - **false** (default): sends a Normal request. If the check succeeds, an HTTP 2xx status code is returned and the modification is performed.
24
+ *
25
+ * @example
26
+ * false
27
+ */
28
+ dryRun?: boolean;
29
+ /**
30
+ * @remarks
31
+ * The CIDR block of the VPC to modify. Both primary and secondary CIDR blocks are supported.
32
+ *
33
+ * This parameter is required.
34
+ *
35
+ * @example
36
+ * 10.0.0.0/8
37
+ */
38
+ originalCidrBlock?: string;
39
+ /**
40
+ * @remarks
41
+ * The ID of the region where the VPC resides.
42
+ *
43
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
44
+ *
45
+ * This parameter is required.
46
+ *
47
+ * @example
48
+ * cn-hangzhou
49
+ */
50
+ regionId?: string;
51
+ /**
52
+ * @remarks
53
+ * The new CIDR block for the VPC after modification.
54
+ *
55
+ * This parameter is required.
56
+ *
57
+ * @example
58
+ * 10.0.0.0/16
59
+ */
60
+ targetCidrBlock?: string;
61
+ /**
62
+ * @remarks
63
+ * The ID of the VPC to modify.
64
+ *
65
+ * This parameter is required.
66
+ *
67
+ * @example
68
+ * vpc-bp1di7uewzmtvfuq8****
69
+ */
70
+ vpcId?: string;
71
+ static names(): { [key: string]: string } {
72
+ return {
73
+ clientToken: 'ClientToken',
74
+ dryRun: 'DryRun',
75
+ originalCidrBlock: 'OriginalCidrBlock',
76
+ regionId: 'RegionId',
77
+ targetCidrBlock: 'TargetCidrBlock',
78
+ vpcId: 'VpcId',
79
+ };
80
+ }
81
+
82
+ static types(): { [key: string]: any } {
83
+ return {
84
+ clientToken: 'string',
85
+ dryRun: 'boolean',
86
+ originalCidrBlock: 'string',
87
+ regionId: 'string',
88
+ targetCidrBlock: 'string',
89
+ vpcId: 'string',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ super.validate();
95
+ }
96
+
97
+ constructor(map?: { [key: string]: any }) {
98
+ super(map);
99
+ }
100
+ }
101
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifyVpcCidrBlockResponseBody } from "./ModifyVpcCidrBlockResponseBody";
4
+
5
+
6
+ export class ModifyVpcCidrBlockResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifyVpcCidrBlockResponseBody;
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: ModifyVpcCidrBlockResponseBody,
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
+