@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.
- package/dist/client.d.ts +195 -104
- package/dist/client.js +239 -136
- package/dist/client.js.map +1 -1
- package/dist/models/ActivateRouterInterfaceRequest.d.ts +1 -0
- package/dist/models/ActivateRouterInterfaceRequest.js.map +1 -1
- package/dist/models/AllocateEipAddressRequest.d.ts +14 -14
- package/dist/models/AssociateVpcCidrBlockRequest.d.ts +5 -5
- package/dist/models/AssociateVpcCidrBlockResponseBody.d.ts +1 -1
- package/dist/models/AttachDhcpOptionsSetToVpcRequest.d.ts +2 -2
- package/dist/models/AttachVbrToVpconnRequest.d.ts +6 -4
- package/dist/models/AttachVbrToVpconnRequest.js.map +1 -1
- package/dist/models/AttachVbrToVpconnResponseBody.d.ts +1 -1
- package/dist/models/CompletePhysicalConnectionLoarequest.d.ts +11 -11
- package/dist/models/ConnectRouterInterfaceRequest.d.ts +1 -1
- package/dist/models/CreateCustomerGatewayRequest.d.ts +4 -4
- package/dist/models/CreateCustomerGatewayResponseBody.d.ts +1 -1
- package/dist/models/CreateEnhancedVpnGatewayRequest.d.ts +3 -3
- package/dist/models/CreateFailoverTestJobRequest.d.ts +10 -10
- package/dist/models/CreateFailoverTestJobResponseBody.d.ts +1 -1
- package/dist/models/CreateRouteTargetGroupRequest.d.ts +8 -9
- package/dist/models/CreateRouteTargetGroupRequest.js.map +1 -1
- package/dist/models/CreateVirtualPhysicalConnectionRequest.d.ts +9 -9
- package/dist/models/CreateVswitchRequest.d.ts +26 -9
- package/dist/models/CreateVswitchRequest.js +4 -0
- package/dist/models/CreateVswitchRequest.js.map +1 -1
- package/dist/models/DeleteBgpNetworkRequest.d.ts +4 -4
- package/dist/models/DeletePublicIpAddressPoolCidrBlockRequest.d.ts +3 -3
- package/dist/models/DeleteRouteEntriesRequest.d.ts +2 -2
- package/dist/models/DeleteRouteEntriesResponseBody.d.ts +2 -2
- package/dist/models/DescribePhysicalConnectionLoarequest.d.ts +2 -1
- package/dist/models/DescribePhysicalConnectionLoarequest.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.d.ts +9 -6
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionsRequest.d.ts +53 -2
- package/dist/models/DescribePhysicalConnectionsRequest.js.map +1 -1
- package/dist/models/DescribeRouterInterfacesRequest.d.ts +7 -7
- package/dist/models/DescribeRouterInterfacesResponseBody.d.ts +1 -1
- package/dist/models/DescribeVbrHaResponseBody.d.ts +3 -3
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.d.ts +3 -3
- package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +7 -7
- package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +8 -8
- package/dist/models/DescribeVpcsRequest.d.ts +6 -6
- package/dist/models/DescribeVpcsResponseBody.d.ts +1 -1
- package/dist/models/EnablePhysicalConnectionRequest.d.ts +5 -7
- package/dist/models/EnablePhysicalConnectionRequest.js.map +1 -1
- package/dist/models/GetNatGatewayAttributeRequest.d.ts +1 -1
- package/dist/models/GetNatGatewayAttributeResponseBody.d.ts +20 -20
- package/dist/models/GetVpcPrefixListAssociationsRequest.d.ts +3 -3
- package/dist/models/GetVpcPrefixListAssociationsResponseBody.d.ts +9 -9
- package/dist/models/GrantInstanceToVbrRequest.d.ts +6 -6
- package/dist/models/GrantInstanceToVbrShrinkRequest.d.ts +6 -6
- package/dist/models/ListVirtualPhysicalConnectionsRequest.d.ts +7 -7
- package/dist/models/ListVirtualPhysicalConnectionsResponseBody.d.ts +20 -20
- package/dist/models/ModifyPhysicalConnectionAttributeRequest.d.ts +10 -3
- package/dist/models/ModifyPhysicalConnectionAttributeRequest.js.map +1 -1
- package/dist/models/ModifyVpcAttributeRequest.d.ts +4 -4
- package/dist/models/ModifyVpcCidrBlockRequest.d.ts +78 -0
- package/dist/models/ModifyVpcCidrBlockRequest.js +68 -0
- package/dist/models/ModifyVpcCidrBlockRequest.js.map +1 -0
- package/dist/models/ModifyVpcCidrBlockResponse.d.ts +19 -0
- package/dist/models/ModifyVpcCidrBlockResponse.js +69 -0
- package/dist/models/ModifyVpcCidrBlockResponse.js.map +1 -0
- package/dist/models/ModifyVpcCidrBlockResponseBody.d.ts +21 -0
- package/dist/models/ModifyVpcCidrBlockResponseBody.js +58 -0
- package/dist/models/ModifyVpcCidrBlockResponseBody.js.map +1 -0
- package/dist/models/ModifyVswitchAttributeRequest.d.ts +13 -3
- package/dist/models/ModifyVswitchAttributeRequest.js +2 -0
- package/dist/models/ModifyVswitchAttributeRequest.js.map +1 -1
- package/dist/models/MoveResourceGroupRequest.d.ts +1 -1
- package/dist/models/ReleaseEipAddressRequest.d.ts +2 -2
- package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +3 -3
- package/dist/models/UpdateDhcpOptionsSetAttributeRequest.d.ts +12 -12
- package/dist/models/UpdateIpv4gatewayAttributeRequest.d.ts +6 -6
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +11 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +250 -136
- package/src/models/ActivateRouterInterfaceRequest.ts +2 -1
- package/src/models/AllocateEipAddressRequest.ts +14 -14
- package/src/models/AssociateVpcCidrBlockRequest.ts +5 -5
- package/src/models/AssociateVpcCidrBlockResponseBody.ts +1 -1
- package/src/models/AttachDhcpOptionsSetToVpcRequest.ts +2 -2
- package/src/models/AttachVbrToVpconnRequest.ts +6 -4
- package/src/models/AttachVbrToVpconnResponseBody.ts +1 -1
- package/src/models/CompletePhysicalConnectionLoarequest.ts +11 -11
- package/src/models/ConnectRouterInterfaceRequest.ts +1 -1
- package/src/models/CreateCustomerGatewayRequest.ts +4 -4
- package/src/models/CreateCustomerGatewayResponseBody.ts +1 -1
- package/src/models/CreateEnhancedVpnGatewayRequest.ts +3 -3
- package/src/models/CreateFailoverTestJobRequest.ts +10 -10
- package/src/models/CreateFailoverTestJobResponseBody.ts +1 -1
- package/src/models/CreateRouteTargetGroupRequest.ts +8 -9
- package/src/models/CreateVirtualPhysicalConnectionRequest.ts +9 -9
- package/src/models/CreateVswitchRequest.ts +30 -9
- package/src/models/DeleteBgpNetworkRequest.ts +4 -4
- package/src/models/DeletePublicIpAddressPoolCidrBlockRequest.ts +3 -3
- package/src/models/DeleteRouteEntriesRequest.ts +2 -2
- package/src/models/DeleteRouteEntriesResponseBody.ts +2 -2
- package/src/models/DescribePhysicalConnectionLoarequest.ts +2 -1
- package/src/models/DescribePhysicalConnectionLoaresponseBody.ts +9 -6
- package/src/models/DescribePhysicalConnectionsRequest.ts +54 -3
- package/src/models/DescribeRouterInterfacesRequest.ts +7 -7
- package/src/models/DescribeRouterInterfacesResponseBody.ts +1 -1
- package/src/models/DescribeVbrHaResponseBody.ts +3 -3
- package/src/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.ts +3 -3
- package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +7 -7
- package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +8 -8
- package/src/models/DescribeVpcsRequest.ts +6 -6
- package/src/models/DescribeVpcsResponseBody.ts +1 -1
- package/src/models/EnablePhysicalConnectionRequest.ts +5 -7
- package/src/models/GetNatGatewayAttributeRequest.ts +1 -1
- package/src/models/GetNatGatewayAttributeResponseBody.ts +20 -20
- package/src/models/GetVpcPrefixListAssociationsRequest.ts +3 -3
- package/src/models/GetVpcPrefixListAssociationsResponseBody.ts +9 -9
- package/src/models/GrantInstanceToVbrRequest.ts +6 -6
- package/src/models/GrantInstanceToVbrShrinkRequest.ts +6 -6
- package/src/models/ListVirtualPhysicalConnectionsRequest.ts +7 -7
- package/src/models/ListVirtualPhysicalConnectionsResponseBody.ts +20 -20
- package/src/models/ModifyPhysicalConnectionAttributeRequest.ts +10 -3
- package/src/models/ModifyVpcAttributeRequest.ts +4 -4
- package/src/models/ModifyVpcCidrBlockRequest.ts +101 -0
- package/src/models/ModifyVpcCidrBlockResponse.ts +40 -0
- package/src/models/ModifyVpcCidrBlockResponseBody.ts +34 -0
- package/src/models/ModifyVswitchAttributeRequest.ts +15 -3
- package/src/models/MoveResourceGroupRequest.ts +1 -1
- package/src/models/ReleaseEipAddressRequest.ts +2 -2
- package/src/models/UnassociateVpcCidrBlockRequest.ts +3 -3
- package/src/models/UpdateDhcpOptionsSetAttributeRequest.ts +12 -12
- package/src/models/UpdateIpv4gatewayAttributeRequest.ts +6 -6
- package/src/models/model.ts +3 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ModifyVpcCidrBlockRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
6
|
+
*
|
|
7
|
+
* 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.
|
|
8
|
+
*
|
|
9
|
+
* > 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.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
13
|
+
*/
|
|
14
|
+
clientToken?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* Specifies whether to perform a dry run. Valid values:
|
|
18
|
+
*
|
|
19
|
+
* - **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.
|
|
20
|
+
* - **false** (default): sends a Normal request. If the check succeeds, an HTTP 2xx status code is returned and the modification is performed.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* false
|
|
24
|
+
*/
|
|
25
|
+
dryRun?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The CIDR block of the VPC to modify. Both primary and secondary CIDR blocks are supported.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* 10.0.0.0/8
|
|
34
|
+
*/
|
|
35
|
+
originalCidrBlock?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The ID of the region where the VPC resides.
|
|
39
|
+
*
|
|
40
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
41
|
+
*
|
|
42
|
+
* This parameter is required.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* cn-hangzhou
|
|
46
|
+
*/
|
|
47
|
+
regionId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The new CIDR block for the VPC after modification.
|
|
51
|
+
*
|
|
52
|
+
* This parameter is required.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* 10.0.0.0/16
|
|
56
|
+
*/
|
|
57
|
+
targetCidrBlock?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The ID of the VPC to modify.
|
|
61
|
+
*
|
|
62
|
+
* This parameter is required.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* vpc-bp1di7uewzmtvfuq8****
|
|
66
|
+
*/
|
|
67
|
+
vpcId?: string;
|
|
68
|
+
static names(): {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
71
|
+
static types(): {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
};
|
|
74
|
+
validate(): void;
|
|
75
|
+
constructor(map?: {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ModifyVpcCidrBlockRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ModifyVpcCidrBlockRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
clientToken: 'ClientToken',
|
|
43
|
+
dryRun: 'DryRun',
|
|
44
|
+
originalCidrBlock: 'OriginalCidrBlock',
|
|
45
|
+
regionId: 'RegionId',
|
|
46
|
+
targetCidrBlock: 'TargetCidrBlock',
|
|
47
|
+
vpcId: 'VpcId',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
clientToken: 'string',
|
|
53
|
+
dryRun: 'boolean',
|
|
54
|
+
originalCidrBlock: 'string',
|
|
55
|
+
regionId: 'string',
|
|
56
|
+
targetCidrBlock: 'string',
|
|
57
|
+
vpcId: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ModifyVpcCidrBlockRequest = ModifyVpcCidrBlockRequest;
|
|
68
|
+
//# sourceMappingURL=ModifyVpcCidrBlockRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModifyVpcCidrBlockRequest.js","sourceRoot":"","sources":["../../src/models/ModifyVpcCidrBlockRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAkExD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,iBAAiB,EAAE,mBAAmB;YACtC,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,SAAS;YACjB,iBAAiB,EAAE,QAAQ;YAC3B,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/FD,8DA+FC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { ModifyVpcCidrBlockResponseBody } from "./ModifyVpcCidrBlockResponseBody";
|
|
3
|
+
export declare class ModifyVpcCidrBlockResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: ModifyVpcCidrBlockResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ModifyVpcCidrBlockResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const ModifyVpcCidrBlockResponseBody_1 = require("./ModifyVpcCidrBlockResponseBody");
|
|
40
|
+
class ModifyVpcCidrBlockResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: ModifyVpcCidrBlockResponseBody_1.ModifyVpcCidrBlockResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.ModifyVpcCidrBlockResponse = ModifyVpcCidrBlockResponse;
|
|
69
|
+
//# sourceMappingURL=ModifyVpcCidrBlockResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModifyVpcCidrBlockResponse.js","sourceRoot":"","sources":["../../src/models/ModifyVpcCidrBlockResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qFAAkF;AAGlF,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAIzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,+DAA8B;SACrC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,gEAiCC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ModifyVpcCidrBlockResponseBody extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Id of the request
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 6608E72F-F276-440F-ABEF-419971CEC4D1
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
static types(): {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
};
|
|
17
|
+
validate(): void;
|
|
18
|
+
constructor(map?: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ModifyVpcCidrBlockResponseBody = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ModifyVpcCidrBlockResponseBody extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
requestId: 'RequestId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static types() {
|
|
46
|
+
return {
|
|
47
|
+
requestId: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
constructor(map) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.ModifyVpcCidrBlockResponseBody = ModifyVpcCidrBlockResponseBody;
|
|
58
|
+
//# sourceMappingURL=ModifyVpcCidrBlockResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModifyVpcCidrBlockResponseBody.js","sourceRoot":"","sources":["../../src/models/ModifyVpcCidrBlockResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAS7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,wEA4BC"}
|
|
@@ -14,8 +14,8 @@ export declare class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Specifies whether to enable IPv6 for the vSwitch. Valid values:
|
|
16
16
|
*
|
|
17
|
-
* - **true**:
|
|
18
|
-
* - **false** (default):
|
|
17
|
+
* - **true**: Enables IPv6. IPv6 must be enabled for the VPC to which the vSwitch belongs. You must also specify Ipv6CidrBlock to allocate an IPv6 CIDR block to the vSwitch.
|
|
18
|
+
* - **false** (default): Disables IPv6. Before you disable IPv6 for the vSwitch, make sure that no IPv6 addresses are in use. You cannot specify Ipv6CidrBlock at the same time.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* false
|
|
@@ -25,12 +25,22 @@ export declare class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
25
25
|
* @remarks
|
|
26
26
|
* The last 8 bits of the IPv6 CIDR block of the vSwitch. Valid values: **0** to **255**.
|
|
27
27
|
*
|
|
28
|
-
* You can
|
|
28
|
+
* You can set this parameter only when IPv6 is enabled for the VPC to which the vSwitch belongs. This parameter allows you to allocate an IPv6 CIDR block to the vSwitch. After the IPv6 CIDR block is allocated, it cannot be changed to another CIDR block. Make sure that the CIDR block does not overlap with those of other vSwitches in the same VPC.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* 10
|
|
32
32
|
*/
|
|
33
33
|
ipv6CidrBlock?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The IPv6 CIDR block mask of the vSwitch. You can set this parameter only when IPv6 is enabled for the VPC to which the vSwitch belongs.
|
|
37
|
+
*
|
|
38
|
+
* > Only 64 is supported.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 64
|
|
42
|
+
*/
|
|
43
|
+
ipv6CidrMask?: number;
|
|
34
44
|
ownerAccount?: string;
|
|
35
45
|
ownerId?: number;
|
|
36
46
|
/**
|
|
@@ -42,6 +42,7 @@ class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
42
42
|
description: 'Description',
|
|
43
43
|
enableIPv6: 'EnableIPv6',
|
|
44
44
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
45
|
+
ipv6CidrMask: 'Ipv6CidrMask',
|
|
45
46
|
ownerAccount: 'OwnerAccount',
|
|
46
47
|
ownerId: 'OwnerId',
|
|
47
48
|
regionId: 'RegionId',
|
|
@@ -57,6 +58,7 @@ class ModifyVSwitchAttributeRequest extends $dara.Model {
|
|
|
57
58
|
description: 'string',
|
|
58
59
|
enableIPv6: 'boolean',
|
|
59
60
|
ipv6CidrBlock: 'number',
|
|
61
|
+
ipv6CidrMask: 'number',
|
|
60
62
|
ownerAccount: 'string',
|
|
61
63
|
ownerId: 'number',
|
|
62
64
|
regionId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyVswitchAttributeRequest.js","sourceRoot":"","sources":["../../src/models/ModifyVswitchAttributeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyVswitchAttributeRequest.js","sourceRoot":"","sources":["../../src/models/ModifyVswitchAttributeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAmF5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc;YAC5B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,SAAS;YACrB,aAAa,EAAE,QAAQ;YACvB,YAAY,EAAE,QAAQ;YACtB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5HD,sEA4HC"}
|
|
@@ -48,7 +48,7 @@ export declare class MoveResourceGroupRequest extends $dara.Model {
|
|
|
48
48
|
* - **PrefixList**: prefix list
|
|
49
49
|
* - **PublicIpAddressPool**: IPAM pool
|
|
50
50
|
* - **FlowLog**: flow log
|
|
51
|
-
* - **HaVip**: high-availability
|
|
51
|
+
* - **HaVip**: high-availability virtual IP address
|
|
52
52
|
* - **TrafficMirrorFilter**: traffic mirror filter
|
|
53
53
|
* - **TrafficMirrorSession**: traffic mirror session
|
|
54
54
|
* - **IPv4Gateway**: IPv4 gateway
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ReleaseEipAddressRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the EIP to
|
|
5
|
+
* The ID of the EIP to be released.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -14,7 +14,7 @@ export declare class ReleaseEipAddressRequest extends $dara.Model {
|
|
|
14
14
|
ownerId?: number;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The region ID of the EIP to
|
|
17
|
+
* The region ID of the EIP to be released. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* cn-hangzhou
|
|
@@ -4,7 +4,7 @@ export declare class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The secondary IPv6 CIDR block to delete.
|
|
6
6
|
*
|
|
7
|
-
* > You must specify
|
|
7
|
+
* > You must specify one of the **Ipv6CidrBlock** parameter and the **SecondaryCidrBlock** parameter, but you cannot specify both.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* 2408:XXXX:0:6a::/56
|
|
@@ -16,7 +16,7 @@ export declare class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* The region ID of the VPC from which you want to delete a secondary CIDR block.
|
|
18
18
|
*
|
|
19
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region
|
|
19
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
20
20
|
*
|
|
21
21
|
* This parameter is required.
|
|
22
22
|
*
|
|
@@ -30,7 +30,7 @@ export declare class UnassociateVpcCidrBlockRequest extends $dara.Model {
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* The secondary IPv4 CIDR block to delete.
|
|
32
32
|
*
|
|
33
|
-
* > You must specify
|
|
33
|
+
* > You must specify one of the **SecondaryCidrBlock** parameter and the **Ipv6CidrBlock** parameter, but you cannot specify both.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 192.168.0.0/16
|
|
@@ -16,7 +16,7 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* The description of the DHCP options set.
|
|
18
18
|
*
|
|
19
|
-
* The description can be empty or 2 to 256 characters in length. It must start with a letter or Chinese character and cannot start with `http://` or `https://`.
|
|
19
|
+
* The description can be empty or 2 to 256 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* description
|
|
@@ -24,7 +24,7 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
24
24
|
dhcpOptionsSetDescription?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The ID of the DHCP options set to
|
|
27
|
+
* The ID of the DHCP options set to be modified.
|
|
28
28
|
*
|
|
29
29
|
* This parameter is required.
|
|
30
30
|
*
|
|
@@ -36,7 +36,7 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
36
36
|
* @remarks
|
|
37
37
|
* The name of the DHCP options set.
|
|
38
38
|
*
|
|
39
|
-
* The name must be 2 to 128 characters in length and must start with a letter or Chinese character. It can contain digits, underscores (_), and hyphens (-).
|
|
39
|
+
* The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. It can contain digits, underscores (_), and hyphens (-).
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* name
|
|
@@ -46,7 +46,7 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
46
46
|
* @remarks
|
|
47
47
|
* The hostname suffix, such as example.com.
|
|
48
48
|
*
|
|
49
|
-
* After
|
|
49
|
+
* After the DHCP options set is associated with a VPC, the hostname suffix is automatically synchronized to the ECS instances in the VPC.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* example.com
|
|
@@ -54,9 +54,9 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
54
54
|
domainName?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The IP addresses of DNS servers. You can specify up to four DNS server IP addresses
|
|
57
|
+
* The IP addresses of DNS servers. You can specify up to four DNS server IP addresses. Separate multiple IP addresses with commas (,).
|
|
58
58
|
*
|
|
59
|
-
* >If you do not specify any DNS server IP addresses, ECS instances use the DNS server IP addresses provided by Alibaba Cloud (100.100.2.136 and 100.100.2.138)
|
|
59
|
+
* >If you do not specify any DNS server IP addresses, ECS instances use the DNS server IP addresses provided by Alibaba Cloud by default (100.100.2.136 and 100.100.2.138).
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* 192.XX.XX.123
|
|
@@ -66,7 +66,7 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
66
66
|
* @remarks
|
|
67
67
|
* Specifies whether to perform a dry run. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* **true**: performs a dry run without modifying the DHCP options set configuration. The system checks the required parameters, request format, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation`
|
|
69
|
+
* **true**: performs a dry run without modifying the DHCP options set configuration. The system checks the required parameters, request format, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the error code `DryRunOperation` is returned.
|
|
70
70
|
*
|
|
71
71
|
* **false** (default): performs a dry run and sends the request. If the request passes the dry run, an HTTP 2xx status code is returned and the DHCP options set configuration is modified.
|
|
72
72
|
*
|
|
@@ -78,9 +78,9 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
78
78
|
* @remarks
|
|
79
79
|
* The lease time of the IPv6 DHCP options set.
|
|
80
80
|
*
|
|
81
|
-
* -
|
|
81
|
+
* - When the lease time is set in hours: Unit: h. Valid values: **24h to 1176h** and **87600h to 175200h**. Default value: **24h**.
|
|
82
82
|
*
|
|
83
|
-
* -
|
|
83
|
+
* - When the lease time is set in days: Unit: d. Valid values: **1d to 49d** and **3650d to 7300d**. Default value: **1d**.
|
|
84
84
|
*
|
|
85
85
|
* > You must include the unit when specifying the value.
|
|
86
86
|
*
|
|
@@ -92,9 +92,9 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
92
92
|
* @remarks
|
|
93
93
|
* The lease time of the IPv4 DHCP options set.
|
|
94
94
|
*
|
|
95
|
-
* -
|
|
95
|
+
* - When the lease time is set in hours: Unit: h. Valid values: **24h to 1176h** and **87600h to 175200h**. Default value: **87600h**.
|
|
96
96
|
*
|
|
97
|
-
* -
|
|
97
|
+
* - When the lease time is set in days: Unit: d. Valid values: **1d to 49d** and **3650d to 7300d**. Default value: **3650d**.
|
|
98
98
|
*
|
|
99
99
|
* > You must include the unit when specifying the value.
|
|
100
100
|
*
|
|
@@ -106,7 +106,7 @@ export declare class UpdateDhcpOptionsSetAttributeRequest extends $dara.Model {
|
|
|
106
106
|
ownerId?: number;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
* The region
|
|
109
|
+
* The region where the DHCP options set to be modified resides. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
110
110
|
*
|
|
111
111
|
* This parameter is required.
|
|
112
112
|
*
|
|
@@ -4,9 +4,9 @@ export declare class UpdateIpv4GatewayAttributeRequest extends $dara.Model {
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The client token that is used to ensure the idempotence of the request.
|
|
6
6
|
*
|
|
7
|
-
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The
|
|
7
|
+
* 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.
|
|
8
8
|
*
|
|
9
|
-
* > If you do not specify this parameter, the system automatically uses the **RequestId** as the **ClientToken**. The **RequestId** may be different for each API request.
|
|
9
|
+
* > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each API request.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -15,8 +15,8 @@ export declare class UpdateIpv4GatewayAttributeRequest extends $dara.Model {
|
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
17
|
* Specifies whether to perform a dry run. Valid values:
|
|
18
|
-
* - **true**: performs a dry run
|
|
19
|
-
* - **false** (default): performs a dry run and sends the request. If the check succeeds, an HTTP 2xx status code is returned and the name or description of the IPv4 gateway is modified.
|
|
18
|
+
* - **true**: performs a dry run. The system checks the required parameters, request syntax, and business restrictions. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.
|
|
19
|
+
* - **false** (default): performs a dry run and sends the request. If the check succeeds, an HTTP 2xx status code is returned and the name or description of the IPv4 gateway is directly modified.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* false
|
|
@@ -24,7 +24,7 @@ export declare class UpdateIpv4GatewayAttributeRequest extends $dara.Model {
|
|
|
24
24
|
dryRun?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The new description of the IPv4 gateway.
|
|
27
|
+
* The new description of the IPv4 gateway instance.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* new
|
|
@@ -42,7 +42,7 @@ export declare class UpdateIpv4GatewayAttributeRequest extends $dara.Model {
|
|
|
42
42
|
ipv4GatewayId?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The new name of the IPv4 gateway.
|
|
45
|
+
* The new name of the IPv4 gateway instance.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* newname
|
package/dist/models/model.d.ts
CHANGED
|
@@ -1529,6 +1529,9 @@ export { ModifyVirtualBorderRouterAttributeResponse } from './ModifyVirtualBorde
|
|
|
1529
1529
|
export { ModifyVpcAttributeRequest } from './ModifyVpcAttributeRequest';
|
|
1530
1530
|
export { ModifyVpcAttributeResponseBody } from './ModifyVpcAttributeResponseBody';
|
|
1531
1531
|
export { ModifyVpcAttributeResponse } from './ModifyVpcAttributeResponse';
|
|
1532
|
+
export { ModifyVpcCidrBlockRequest } from './ModifyVpcCidrBlockRequest';
|
|
1533
|
+
export { ModifyVpcCidrBlockResponseBody } from './ModifyVpcCidrBlockResponseBody';
|
|
1534
|
+
export { ModifyVpcCidrBlockResponse } from './ModifyVpcCidrBlockResponse';
|
|
1532
1535
|
export { ModifyVpcPrefixListRequest } from './ModifyVpcPrefixListRequest';
|
|
1533
1536
|
export { ModifyVpcPrefixListResponseBody } from './ModifyVpcPrefixListResponseBody';
|
|
1534
1537
|
export { ModifyVpcPrefixListResponse } from './ModifyVpcPrefixListResponse';
|