@alicloud/vpc20160428 6.0.2 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1098 -218
- package/dist/client.js +1976 -188
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2648 -422
package/src/client.ts
CHANGED
|
@@ -4139,6 +4139,102 @@ export class CreateExpressCloudConnectionResponse extends $tea.Model {
|
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
4141
|
|
|
4142
|
+
export class CreateFailoverTestJobRequest extends $tea.Model {
|
|
4143
|
+
clientToken?: string;
|
|
4144
|
+
description?: string;
|
|
4145
|
+
jobDuration?: number;
|
|
4146
|
+
jobType?: string;
|
|
4147
|
+
name?: string;
|
|
4148
|
+
ownerAccount?: string;
|
|
4149
|
+
ownerId?: number;
|
|
4150
|
+
regionId?: string;
|
|
4151
|
+
resourceId?: string[];
|
|
4152
|
+
resourceOwnerAccount?: string;
|
|
4153
|
+
resourceType?: string;
|
|
4154
|
+
static names(): { [key: string]: string } {
|
|
4155
|
+
return {
|
|
4156
|
+
clientToken: 'ClientToken',
|
|
4157
|
+
description: 'Description',
|
|
4158
|
+
jobDuration: 'JobDuration',
|
|
4159
|
+
jobType: 'JobType',
|
|
4160
|
+
name: 'Name',
|
|
4161
|
+
ownerAccount: 'OwnerAccount',
|
|
4162
|
+
ownerId: 'OwnerId',
|
|
4163
|
+
regionId: 'RegionId',
|
|
4164
|
+
resourceId: 'ResourceId',
|
|
4165
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4166
|
+
resourceType: 'ResourceType',
|
|
4167
|
+
};
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
static types(): { [key: string]: any } {
|
|
4171
|
+
return {
|
|
4172
|
+
clientToken: 'string',
|
|
4173
|
+
description: 'string',
|
|
4174
|
+
jobDuration: 'number',
|
|
4175
|
+
jobType: 'string',
|
|
4176
|
+
name: 'string',
|
|
4177
|
+
ownerAccount: 'string',
|
|
4178
|
+
ownerId: 'number',
|
|
4179
|
+
regionId: 'string',
|
|
4180
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
4181
|
+
resourceOwnerAccount: 'string',
|
|
4182
|
+
resourceType: 'string',
|
|
4183
|
+
};
|
|
4184
|
+
}
|
|
4185
|
+
|
|
4186
|
+
constructor(map?: { [key: string]: any }) {
|
|
4187
|
+
super(map);
|
|
4188
|
+
}
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
export class CreateFailoverTestJobResponseBody extends $tea.Model {
|
|
4192
|
+
jobId?: string;
|
|
4193
|
+
requestId?: string;
|
|
4194
|
+
static names(): { [key: string]: string } {
|
|
4195
|
+
return {
|
|
4196
|
+
jobId: 'JobId',
|
|
4197
|
+
requestId: 'RequestId',
|
|
4198
|
+
};
|
|
4199
|
+
}
|
|
4200
|
+
|
|
4201
|
+
static types(): { [key: string]: any } {
|
|
4202
|
+
return {
|
|
4203
|
+
jobId: 'string',
|
|
4204
|
+
requestId: 'string',
|
|
4205
|
+
};
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
constructor(map?: { [key: string]: any }) {
|
|
4209
|
+
super(map);
|
|
4210
|
+
}
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
export class CreateFailoverTestJobResponse extends $tea.Model {
|
|
4214
|
+
headers: { [key: string]: string };
|
|
4215
|
+
statusCode: number;
|
|
4216
|
+
body: CreateFailoverTestJobResponseBody;
|
|
4217
|
+
static names(): { [key: string]: string } {
|
|
4218
|
+
return {
|
|
4219
|
+
headers: 'headers',
|
|
4220
|
+
statusCode: 'statusCode',
|
|
4221
|
+
body: 'body',
|
|
4222
|
+
};
|
|
4223
|
+
}
|
|
4224
|
+
|
|
4225
|
+
static types(): { [key: string]: any } {
|
|
4226
|
+
return {
|
|
4227
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4228
|
+
statusCode: 'number',
|
|
4229
|
+
body: CreateFailoverTestJobResponseBody,
|
|
4230
|
+
};
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
constructor(map?: { [key: string]: any }) {
|
|
4234
|
+
super(map);
|
|
4235
|
+
}
|
|
4236
|
+
}
|
|
4237
|
+
|
|
4142
4238
|
export class CreateFlowLogRequest extends $tea.Model {
|
|
4143
4239
|
aggregationInterval?: number;
|
|
4144
4240
|
description?: string;
|
|
@@ -7523,6 +7619,114 @@ export class CreateVSwitchResponse extends $tea.Model {
|
|
|
7523
7619
|
}
|
|
7524
7620
|
}
|
|
7525
7621
|
|
|
7622
|
+
export class CreateVSwitchCidrReservationRequest extends $tea.Model {
|
|
7623
|
+
clientToken?: string;
|
|
7624
|
+
dryRun?: boolean;
|
|
7625
|
+
ipVersion?: string;
|
|
7626
|
+
ownerAccount?: string;
|
|
7627
|
+
ownerId?: number;
|
|
7628
|
+
regionId?: string;
|
|
7629
|
+
resourceOwnerAccount?: string;
|
|
7630
|
+
resourceOwnerId?: number;
|
|
7631
|
+
tag?: CreateVSwitchCidrReservationRequestTag[];
|
|
7632
|
+
vSwitchCidrReservationCidr?: string;
|
|
7633
|
+
vSwitchCidrReservationDescription?: string;
|
|
7634
|
+
vSwitchCidrReservationMask?: string;
|
|
7635
|
+
vSwitchCidrReservationName?: string;
|
|
7636
|
+
vSwitchCidrReservationType?: string;
|
|
7637
|
+
vSwitchId?: string;
|
|
7638
|
+
static names(): { [key: string]: string } {
|
|
7639
|
+
return {
|
|
7640
|
+
clientToken: 'ClientToken',
|
|
7641
|
+
dryRun: 'DryRun',
|
|
7642
|
+
ipVersion: 'IpVersion',
|
|
7643
|
+
ownerAccount: 'OwnerAccount',
|
|
7644
|
+
ownerId: 'OwnerId',
|
|
7645
|
+
regionId: 'RegionId',
|
|
7646
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
7647
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
7648
|
+
tag: 'Tag',
|
|
7649
|
+
vSwitchCidrReservationCidr: 'VSwitchCidrReservationCidr',
|
|
7650
|
+
vSwitchCidrReservationDescription: 'VSwitchCidrReservationDescription',
|
|
7651
|
+
vSwitchCidrReservationMask: 'VSwitchCidrReservationMask',
|
|
7652
|
+
vSwitchCidrReservationName: 'VSwitchCidrReservationName',
|
|
7653
|
+
vSwitchCidrReservationType: 'VSwitchCidrReservationType',
|
|
7654
|
+
vSwitchId: 'VSwitchId',
|
|
7655
|
+
};
|
|
7656
|
+
}
|
|
7657
|
+
|
|
7658
|
+
static types(): { [key: string]: any } {
|
|
7659
|
+
return {
|
|
7660
|
+
clientToken: 'string',
|
|
7661
|
+
dryRun: 'boolean',
|
|
7662
|
+
ipVersion: 'string',
|
|
7663
|
+
ownerAccount: 'string',
|
|
7664
|
+
ownerId: 'number',
|
|
7665
|
+
regionId: 'string',
|
|
7666
|
+
resourceOwnerAccount: 'string',
|
|
7667
|
+
resourceOwnerId: 'number',
|
|
7668
|
+
tag: { 'type': 'array', 'itemType': CreateVSwitchCidrReservationRequestTag },
|
|
7669
|
+
vSwitchCidrReservationCidr: 'string',
|
|
7670
|
+
vSwitchCidrReservationDescription: 'string',
|
|
7671
|
+
vSwitchCidrReservationMask: 'string',
|
|
7672
|
+
vSwitchCidrReservationName: 'string',
|
|
7673
|
+
vSwitchCidrReservationType: 'string',
|
|
7674
|
+
vSwitchId: 'string',
|
|
7675
|
+
};
|
|
7676
|
+
}
|
|
7677
|
+
|
|
7678
|
+
constructor(map?: { [key: string]: any }) {
|
|
7679
|
+
super(map);
|
|
7680
|
+
}
|
|
7681
|
+
}
|
|
7682
|
+
|
|
7683
|
+
export class CreateVSwitchCidrReservationResponseBody extends $tea.Model {
|
|
7684
|
+
requestId?: string;
|
|
7685
|
+
vSwitchCidrReservationId?: string;
|
|
7686
|
+
static names(): { [key: string]: string } {
|
|
7687
|
+
return {
|
|
7688
|
+
requestId: 'RequestId',
|
|
7689
|
+
vSwitchCidrReservationId: 'VSwitchCidrReservationId',
|
|
7690
|
+
};
|
|
7691
|
+
}
|
|
7692
|
+
|
|
7693
|
+
static types(): { [key: string]: any } {
|
|
7694
|
+
return {
|
|
7695
|
+
requestId: 'string',
|
|
7696
|
+
vSwitchCidrReservationId: 'string',
|
|
7697
|
+
};
|
|
7698
|
+
}
|
|
7699
|
+
|
|
7700
|
+
constructor(map?: { [key: string]: any }) {
|
|
7701
|
+
super(map);
|
|
7702
|
+
}
|
|
7703
|
+
}
|
|
7704
|
+
|
|
7705
|
+
export class CreateVSwitchCidrReservationResponse extends $tea.Model {
|
|
7706
|
+
headers: { [key: string]: string };
|
|
7707
|
+
statusCode: number;
|
|
7708
|
+
body: CreateVSwitchCidrReservationResponseBody;
|
|
7709
|
+
static names(): { [key: string]: string } {
|
|
7710
|
+
return {
|
|
7711
|
+
headers: 'headers',
|
|
7712
|
+
statusCode: 'statusCode',
|
|
7713
|
+
body: 'body',
|
|
7714
|
+
};
|
|
7715
|
+
}
|
|
7716
|
+
|
|
7717
|
+
static types(): { [key: string]: any } {
|
|
7718
|
+
return {
|
|
7719
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7720
|
+
statusCode: 'number',
|
|
7721
|
+
body: CreateVSwitchCidrReservationResponseBody,
|
|
7722
|
+
};
|
|
7723
|
+
}
|
|
7724
|
+
|
|
7725
|
+
constructor(map?: { [key: string]: any }) {
|
|
7726
|
+
super(map);
|
|
7727
|
+
}
|
|
7728
|
+
}
|
|
7729
|
+
|
|
7526
7730
|
export class CreateVbrHaRequest extends $tea.Model {
|
|
7527
7731
|
clientToken?: string;
|
|
7528
7732
|
description?: string;
|
|
@@ -9704,6 +9908,84 @@ export class DeleteDhcpOptionsSetResponse extends $tea.Model {
|
|
|
9704
9908
|
}
|
|
9705
9909
|
}
|
|
9706
9910
|
|
|
9911
|
+
export class DeleteFailoverTestJobRequest extends $tea.Model {
|
|
9912
|
+
clientToken?: string;
|
|
9913
|
+
jobId?: string;
|
|
9914
|
+
ownerAccount?: string;
|
|
9915
|
+
ownerId?: number;
|
|
9916
|
+
regionId?: string;
|
|
9917
|
+
resourceOwnerAccount?: string;
|
|
9918
|
+
static names(): { [key: string]: string } {
|
|
9919
|
+
return {
|
|
9920
|
+
clientToken: 'ClientToken',
|
|
9921
|
+
jobId: 'JobId',
|
|
9922
|
+
ownerAccount: 'OwnerAccount',
|
|
9923
|
+
ownerId: 'OwnerId',
|
|
9924
|
+
regionId: 'RegionId',
|
|
9925
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
9926
|
+
};
|
|
9927
|
+
}
|
|
9928
|
+
|
|
9929
|
+
static types(): { [key: string]: any } {
|
|
9930
|
+
return {
|
|
9931
|
+
clientToken: 'string',
|
|
9932
|
+
jobId: 'string',
|
|
9933
|
+
ownerAccount: 'string',
|
|
9934
|
+
ownerId: 'number',
|
|
9935
|
+
regionId: 'string',
|
|
9936
|
+
resourceOwnerAccount: 'string',
|
|
9937
|
+
};
|
|
9938
|
+
}
|
|
9939
|
+
|
|
9940
|
+
constructor(map?: { [key: string]: any }) {
|
|
9941
|
+
super(map);
|
|
9942
|
+
}
|
|
9943
|
+
}
|
|
9944
|
+
|
|
9945
|
+
export class DeleteFailoverTestJobResponseBody extends $tea.Model {
|
|
9946
|
+
requestId?: string;
|
|
9947
|
+
static names(): { [key: string]: string } {
|
|
9948
|
+
return {
|
|
9949
|
+
requestId: 'RequestId',
|
|
9950
|
+
};
|
|
9951
|
+
}
|
|
9952
|
+
|
|
9953
|
+
static types(): { [key: string]: any } {
|
|
9954
|
+
return {
|
|
9955
|
+
requestId: 'string',
|
|
9956
|
+
};
|
|
9957
|
+
}
|
|
9958
|
+
|
|
9959
|
+
constructor(map?: { [key: string]: any }) {
|
|
9960
|
+
super(map);
|
|
9961
|
+
}
|
|
9962
|
+
}
|
|
9963
|
+
|
|
9964
|
+
export class DeleteFailoverTestJobResponse extends $tea.Model {
|
|
9965
|
+
headers: { [key: string]: string };
|
|
9966
|
+
statusCode: number;
|
|
9967
|
+
body: DeleteFailoverTestJobResponseBody;
|
|
9968
|
+
static names(): { [key: string]: string } {
|
|
9969
|
+
return {
|
|
9970
|
+
headers: 'headers',
|
|
9971
|
+
statusCode: 'statusCode',
|
|
9972
|
+
body: 'body',
|
|
9973
|
+
};
|
|
9974
|
+
}
|
|
9975
|
+
|
|
9976
|
+
static types(): { [key: string]: any } {
|
|
9977
|
+
return {
|
|
9978
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9979
|
+
statusCode: 'number',
|
|
9980
|
+
body: DeleteFailoverTestJobResponseBody,
|
|
9981
|
+
};
|
|
9982
|
+
}
|
|
9983
|
+
|
|
9984
|
+
constructor(map?: { [key: string]: any }) {
|
|
9985
|
+
super(map);
|
|
9986
|
+
}
|
|
9987
|
+
}
|
|
9988
|
+
|
|
9707
9989
|
export class DeleteFlowLogRequest extends $tea.Model {
|
|
9708
9990
|
flowLogId?: string;
|
|
9709
9991
|
ownerAccount?: string;
|
|
@@ -14588,6 +14870,186 @@ export class DescribeEipSegmentResponse extends $tea.Model {
|
|
|
14588
14870
|
}
|
|
14589
14871
|
}
|
|
14590
14872
|
|
|
14873
|
+
export class DescribeFailoverTestJobRequest extends $tea.Model {
|
|
14874
|
+
clientToken?: string;
|
|
14875
|
+
jobId?: string;
|
|
14876
|
+
ownerAccount?: string;
|
|
14877
|
+
ownerId?: number;
|
|
14878
|
+
regionId?: string;
|
|
14879
|
+
resourceOwnerAccount?: string;
|
|
14880
|
+
static names(): { [key: string]: string } {
|
|
14881
|
+
return {
|
|
14882
|
+
clientToken: 'ClientToken',
|
|
14883
|
+
jobId: 'JobId',
|
|
14884
|
+
ownerAccount: 'OwnerAccount',
|
|
14885
|
+
ownerId: 'OwnerId',
|
|
14886
|
+
regionId: 'RegionId',
|
|
14887
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
14888
|
+
};
|
|
14889
|
+
}
|
|
14890
|
+
|
|
14891
|
+
static types(): { [key: string]: any } {
|
|
14892
|
+
return {
|
|
14893
|
+
clientToken: 'string',
|
|
14894
|
+
jobId: 'string',
|
|
14895
|
+
ownerAccount: 'string',
|
|
14896
|
+
ownerId: 'number',
|
|
14897
|
+
regionId: 'string',
|
|
14898
|
+
resourceOwnerAccount: 'string',
|
|
14899
|
+
};
|
|
14900
|
+
}
|
|
14901
|
+
|
|
14902
|
+
constructor(map?: { [key: string]: any }) {
|
|
14903
|
+
super(map);
|
|
14904
|
+
}
|
|
14905
|
+
}
|
|
14906
|
+
|
|
14907
|
+
export class DescribeFailoverTestJobResponseBody extends $tea.Model {
|
|
14908
|
+
failoverTestJobModel?: DescribeFailoverTestJobResponseBodyFailoverTestJobModel;
|
|
14909
|
+
requestId?: string;
|
|
14910
|
+
static names(): { [key: string]: string } {
|
|
14911
|
+
return {
|
|
14912
|
+
failoverTestJobModel: 'FailoverTestJobModel',
|
|
14913
|
+
requestId: 'RequestId',
|
|
14914
|
+
};
|
|
14915
|
+
}
|
|
14916
|
+
|
|
14917
|
+
static types(): { [key: string]: any } {
|
|
14918
|
+
return {
|
|
14919
|
+
failoverTestJobModel: DescribeFailoverTestJobResponseBodyFailoverTestJobModel,
|
|
14920
|
+
requestId: 'string',
|
|
14921
|
+
};
|
|
14922
|
+
}
|
|
14923
|
+
|
|
14924
|
+
constructor(map?: { [key: string]: any }) {
|
|
14925
|
+
super(map);
|
|
14926
|
+
}
|
|
14927
|
+
}
|
|
14928
|
+
|
|
14929
|
+
export class DescribeFailoverTestJobResponse extends $tea.Model {
|
|
14930
|
+
headers: { [key: string]: string };
|
|
14931
|
+
statusCode: number;
|
|
14932
|
+
body: DescribeFailoverTestJobResponseBody;
|
|
14933
|
+
static names(): { [key: string]: string } {
|
|
14934
|
+
return {
|
|
14935
|
+
headers: 'headers',
|
|
14936
|
+
statusCode: 'statusCode',
|
|
14937
|
+
body: 'body',
|
|
14938
|
+
};
|
|
14939
|
+
}
|
|
14940
|
+
|
|
14941
|
+
static types(): { [key: string]: any } {
|
|
14942
|
+
return {
|
|
14943
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
14944
|
+
statusCode: 'number',
|
|
14945
|
+
body: DescribeFailoverTestJobResponseBody,
|
|
14946
|
+
};
|
|
14947
|
+
}
|
|
14948
|
+
|
|
14949
|
+
constructor(map?: { [key: string]: any }) {
|
|
14950
|
+
super(map);
|
|
14951
|
+
}
|
|
14952
|
+
}
|
|
14953
|
+
|
|
14954
|
+
export class DescribeFailoverTestJobsRequest extends $tea.Model {
|
|
14955
|
+
clientToken?: string;
|
|
14956
|
+
filter?: DescribeFailoverTestJobsRequestFilter[];
|
|
14957
|
+
maxResults?: number;
|
|
14958
|
+
nextToken?: string;
|
|
14959
|
+
ownerAccount?: string;
|
|
14960
|
+
ownerId?: number;
|
|
14961
|
+
regionId?: string;
|
|
14962
|
+
resourceOwnerAccount?: string;
|
|
14963
|
+
static names(): { [key: string]: string } {
|
|
14964
|
+
return {
|
|
14965
|
+
clientToken: 'ClientToken',
|
|
14966
|
+
filter: 'Filter',
|
|
14967
|
+
maxResults: 'MaxResults',
|
|
14968
|
+
nextToken: 'NextToken',
|
|
14969
|
+
ownerAccount: 'OwnerAccount',
|
|
14970
|
+
ownerId: 'OwnerId',
|
|
14971
|
+
regionId: 'RegionId',
|
|
14972
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
14973
|
+
};
|
|
14974
|
+
}
|
|
14975
|
+
|
|
14976
|
+
static types(): { [key: string]: any } {
|
|
14977
|
+
return {
|
|
14978
|
+
clientToken: 'string',
|
|
14979
|
+
filter: { 'type': 'array', 'itemType': DescribeFailoverTestJobsRequestFilter },
|
|
14980
|
+
maxResults: 'number',
|
|
14981
|
+
nextToken: 'string',
|
|
14982
|
+
ownerAccount: 'string',
|
|
14983
|
+
ownerId: 'number',
|
|
14984
|
+
regionId: 'string',
|
|
14985
|
+
resourceOwnerAccount: 'string',
|
|
14986
|
+
};
|
|
14987
|
+
}
|
|
14988
|
+
|
|
14989
|
+
constructor(map?: { [key: string]: any }) {
|
|
14990
|
+
super(map);
|
|
14991
|
+
}
|
|
14992
|
+
}
|
|
14993
|
+
|
|
14994
|
+
export class DescribeFailoverTestJobsResponseBody extends $tea.Model {
|
|
14995
|
+
count?: number;
|
|
14996
|
+
failoverTestJobList?: DescribeFailoverTestJobsResponseBodyFailoverTestJobList[];
|
|
14997
|
+
maxResults?: number;
|
|
14998
|
+
nextToken?: string;
|
|
14999
|
+
requestId?: string;
|
|
15000
|
+
totalCount?: number;
|
|
15001
|
+
static names(): { [key: string]: string } {
|
|
15002
|
+
return {
|
|
15003
|
+
count: 'Count',
|
|
15004
|
+
failoverTestJobList: 'FailoverTestJobList',
|
|
15005
|
+
maxResults: 'MaxResults',
|
|
15006
|
+
nextToken: 'NextToken',
|
|
15007
|
+
requestId: 'RequestId',
|
|
15008
|
+
totalCount: 'TotalCount',
|
|
15009
|
+
};
|
|
15010
|
+
}
|
|
15011
|
+
|
|
15012
|
+
static types(): { [key: string]: any } {
|
|
15013
|
+
return {
|
|
15014
|
+
count: 'number',
|
|
15015
|
+
failoverTestJobList: { 'type': 'array', 'itemType': DescribeFailoverTestJobsResponseBodyFailoverTestJobList },
|
|
15016
|
+
maxResults: 'number',
|
|
15017
|
+
nextToken: 'string',
|
|
15018
|
+
requestId: 'string',
|
|
15019
|
+
totalCount: 'number',
|
|
15020
|
+
};
|
|
15021
|
+
}
|
|
15022
|
+
|
|
15023
|
+
constructor(map?: { [key: string]: any }) {
|
|
15024
|
+
super(map);
|
|
15025
|
+
}
|
|
15026
|
+
}
|
|
15027
|
+
|
|
15028
|
+
export class DescribeFailoverTestJobsResponse extends $tea.Model {
|
|
15029
|
+
headers: { [key: string]: string };
|
|
15030
|
+
statusCode: number;
|
|
15031
|
+
body: DescribeFailoverTestJobsResponseBody;
|
|
15032
|
+
static names(): { [key: string]: string } {
|
|
15033
|
+
return {
|
|
15034
|
+
headers: 'headers',
|
|
15035
|
+
statusCode: 'statusCode',
|
|
15036
|
+
body: 'body',
|
|
15037
|
+
};
|
|
15038
|
+
}
|
|
15039
|
+
|
|
15040
|
+
static types(): { [key: string]: any } {
|
|
15041
|
+
return {
|
|
15042
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15043
|
+
statusCode: 'number',
|
|
15044
|
+
body: DescribeFailoverTestJobsResponseBody,
|
|
15045
|
+
};
|
|
15046
|
+
}
|
|
15047
|
+
|
|
15048
|
+
constructor(map?: { [key: string]: any }) {
|
|
15049
|
+
super(map);
|
|
15050
|
+
}
|
|
15051
|
+
}
|
|
15052
|
+
|
|
14591
15053
|
export class DescribeFlowLogsRequest extends $tea.Model {
|
|
14592
15054
|
description?: string;
|
|
14593
15055
|
flowLogId?: string;
|
|
@@ -22289,6 +22751,102 @@ export class GetTrafficMirrorServiceStatusResponse extends $tea.Model {
|
|
|
22289
22751
|
}
|
|
22290
22752
|
}
|
|
22291
22753
|
|
|
22754
|
+
export class GetVSwitchCidrReservationUsageRequest extends $tea.Model {
|
|
22755
|
+
maxResults?: number;
|
|
22756
|
+
nextToken?: string;
|
|
22757
|
+
ownerAccount?: string;
|
|
22758
|
+
ownerId?: number;
|
|
22759
|
+
regionId?: string;
|
|
22760
|
+
resourceOwnerAccount?: string;
|
|
22761
|
+
resourceOwnerId?: number;
|
|
22762
|
+
vSwitchCidrReservationId?: string;
|
|
22763
|
+
static names(): { [key: string]: string } {
|
|
22764
|
+
return {
|
|
22765
|
+
maxResults: 'MaxResults',
|
|
22766
|
+
nextToken: 'NextToken',
|
|
22767
|
+
ownerAccount: 'OwnerAccount',
|
|
22768
|
+
ownerId: 'OwnerId',
|
|
22769
|
+
regionId: 'RegionId',
|
|
22770
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
22771
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
22772
|
+
vSwitchCidrReservationId: 'VSwitchCidrReservationId',
|
|
22773
|
+
};
|
|
22774
|
+
}
|
|
22775
|
+
|
|
22776
|
+
static types(): { [key: string]: any } {
|
|
22777
|
+
return {
|
|
22778
|
+
maxResults: 'number',
|
|
22779
|
+
nextToken: 'string',
|
|
22780
|
+
ownerAccount: 'string',
|
|
22781
|
+
ownerId: 'number',
|
|
22782
|
+
regionId: 'string',
|
|
22783
|
+
resourceOwnerAccount: 'string',
|
|
22784
|
+
resourceOwnerId: 'number',
|
|
22785
|
+
vSwitchCidrReservationId: 'string',
|
|
22786
|
+
};
|
|
22787
|
+
}
|
|
22788
|
+
|
|
22789
|
+
constructor(map?: { [key: string]: any }) {
|
|
22790
|
+
super(map);
|
|
22791
|
+
}
|
|
22792
|
+
}
|
|
22793
|
+
|
|
22794
|
+
export class GetVSwitchCidrReservationUsageResponseBody extends $tea.Model {
|
|
22795
|
+
cidrReservationUsages?: GetVSwitchCidrReservationUsageResponseBodyCidrReservationUsages[];
|
|
22796
|
+
maxResults?: number;
|
|
22797
|
+
nextToken?: string;
|
|
22798
|
+
requestId?: string;
|
|
22799
|
+
totalCount?: number;
|
|
22800
|
+
static names(): { [key: string]: string } {
|
|
22801
|
+
return {
|
|
22802
|
+
cidrReservationUsages: 'CidrReservationUsages',
|
|
22803
|
+
maxResults: 'MaxResults',
|
|
22804
|
+
nextToken: 'NextToken',
|
|
22805
|
+
requestId: 'RequestId',
|
|
22806
|
+
totalCount: 'TotalCount',
|
|
22807
|
+
};
|
|
22808
|
+
}
|
|
22809
|
+
|
|
22810
|
+
static types(): { [key: string]: any } {
|
|
22811
|
+
return {
|
|
22812
|
+
cidrReservationUsages: { 'type': 'array', 'itemType': GetVSwitchCidrReservationUsageResponseBodyCidrReservationUsages },
|
|
22813
|
+
maxResults: 'number',
|
|
22814
|
+
nextToken: 'string',
|
|
22815
|
+
requestId: 'string',
|
|
22816
|
+
totalCount: 'number',
|
|
22817
|
+
};
|
|
22818
|
+
}
|
|
22819
|
+
|
|
22820
|
+
constructor(map?: { [key: string]: any }) {
|
|
22821
|
+
super(map);
|
|
22822
|
+
}
|
|
22823
|
+
}
|
|
22824
|
+
|
|
22825
|
+
export class GetVSwitchCidrReservationUsageResponse extends $tea.Model {
|
|
22826
|
+
headers: { [key: string]: string };
|
|
22827
|
+
statusCode: number;
|
|
22828
|
+
body: GetVSwitchCidrReservationUsageResponseBody;
|
|
22829
|
+
static names(): { [key: string]: string } {
|
|
22830
|
+
return {
|
|
22831
|
+
headers: 'headers',
|
|
22832
|
+
statusCode: 'statusCode',
|
|
22833
|
+
body: 'body',
|
|
22834
|
+
};
|
|
22835
|
+
}
|
|
22836
|
+
|
|
22837
|
+
static types(): { [key: string]: any } {
|
|
22838
|
+
return {
|
|
22839
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22840
|
+
statusCode: 'number',
|
|
22841
|
+
body: GetVSwitchCidrReservationUsageResponseBody,
|
|
22842
|
+
};
|
|
22843
|
+
}
|
|
22844
|
+
|
|
22845
|
+
constructor(map?: { [key: string]: any }) {
|
|
22846
|
+
super(map);
|
|
22847
|
+
}
|
|
22848
|
+
}
|
|
22849
|
+
|
|
22292
22850
|
export class GetVpcGatewayEndpointAttributeRequest extends $tea.Model {
|
|
22293
22851
|
endpointId?: string;
|
|
22294
22852
|
ownerAccount?: string;
|
|
@@ -24749,6 +25307,114 @@ export class ListTrafficMirrorSessionsResponse extends $tea.Model {
|
|
|
24749
25307
|
}
|
|
24750
25308
|
}
|
|
24751
25309
|
|
|
25310
|
+
export class ListVSwitchCidrReservationsRequest extends $tea.Model {
|
|
25311
|
+
ipVersion?: string;
|
|
25312
|
+
maxResults?: number;
|
|
25313
|
+
nextToken?: string;
|
|
25314
|
+
ownerAccount?: string;
|
|
25315
|
+
ownerId?: number;
|
|
25316
|
+
regionId?: string;
|
|
25317
|
+
resourceOwnerAccount?: string;
|
|
25318
|
+
resourceOwnerId?: number;
|
|
25319
|
+
tags?: ListVSwitchCidrReservationsRequestTags[];
|
|
25320
|
+
vSwitchCidrReservationIds?: string[];
|
|
25321
|
+
vSwitchCidrReservationType?: string;
|
|
25322
|
+
vSwitchId?: string;
|
|
25323
|
+
static names(): { [key: string]: string } {
|
|
25324
|
+
return {
|
|
25325
|
+
ipVersion: 'IpVersion',
|
|
25326
|
+
maxResults: 'MaxResults',
|
|
25327
|
+
nextToken: 'NextToken',
|
|
25328
|
+
ownerAccount: 'OwnerAccount',
|
|
25329
|
+
ownerId: 'OwnerId',
|
|
25330
|
+
regionId: 'RegionId',
|
|
25331
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
25332
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
25333
|
+
tags: 'Tags',
|
|
25334
|
+
vSwitchCidrReservationIds: 'VSwitchCidrReservationIds',
|
|
25335
|
+
vSwitchCidrReservationType: 'VSwitchCidrReservationType',
|
|
25336
|
+
vSwitchId: 'VSwitchId',
|
|
25337
|
+
};
|
|
25338
|
+
}
|
|
25339
|
+
|
|
25340
|
+
static types(): { [key: string]: any } {
|
|
25341
|
+
return {
|
|
25342
|
+
ipVersion: 'string',
|
|
25343
|
+
maxResults: 'number',
|
|
25344
|
+
nextToken: 'string',
|
|
25345
|
+
ownerAccount: 'string',
|
|
25346
|
+
ownerId: 'number',
|
|
25347
|
+
regionId: 'string',
|
|
25348
|
+
resourceOwnerAccount: 'string',
|
|
25349
|
+
resourceOwnerId: 'number',
|
|
25350
|
+
tags: { 'type': 'array', 'itemType': ListVSwitchCidrReservationsRequestTags },
|
|
25351
|
+
vSwitchCidrReservationIds: { 'type': 'array', 'itemType': 'string' },
|
|
25352
|
+
vSwitchCidrReservationType: 'string',
|
|
25353
|
+
vSwitchId: 'string',
|
|
25354
|
+
};
|
|
25355
|
+
}
|
|
25356
|
+
|
|
25357
|
+
constructor(map?: { [key: string]: any }) {
|
|
25358
|
+
super(map);
|
|
25359
|
+
}
|
|
25360
|
+
}
|
|
25361
|
+
|
|
25362
|
+
export class ListVSwitchCidrReservationsResponseBody extends $tea.Model {
|
|
25363
|
+
maxResults?: number;
|
|
25364
|
+
nextToken?: string;
|
|
25365
|
+
requestId?: string;
|
|
25366
|
+
totalCount?: number;
|
|
25367
|
+
vSwitchCidrReservations?: ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservations[];
|
|
25368
|
+
static names(): { [key: string]: string } {
|
|
25369
|
+
return {
|
|
25370
|
+
maxResults: 'MaxResults',
|
|
25371
|
+
nextToken: 'NextToken',
|
|
25372
|
+
requestId: 'RequestId',
|
|
25373
|
+
totalCount: 'TotalCount',
|
|
25374
|
+
vSwitchCidrReservations: 'VSwitchCidrReservations',
|
|
25375
|
+
};
|
|
25376
|
+
}
|
|
25377
|
+
|
|
25378
|
+
static types(): { [key: string]: any } {
|
|
25379
|
+
return {
|
|
25380
|
+
maxResults: 'number',
|
|
25381
|
+
nextToken: 'string',
|
|
25382
|
+
requestId: 'string',
|
|
25383
|
+
totalCount: 'number',
|
|
25384
|
+
vSwitchCidrReservations: { 'type': 'array', 'itemType': ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservations },
|
|
25385
|
+
};
|
|
25386
|
+
}
|
|
25387
|
+
|
|
25388
|
+
constructor(map?: { [key: string]: any }) {
|
|
25389
|
+
super(map);
|
|
25390
|
+
}
|
|
25391
|
+
}
|
|
25392
|
+
|
|
25393
|
+
export class ListVSwitchCidrReservationsResponse extends $tea.Model {
|
|
25394
|
+
headers: { [key: string]: string };
|
|
25395
|
+
statusCode: number;
|
|
25396
|
+
body: ListVSwitchCidrReservationsResponseBody;
|
|
25397
|
+
static names(): { [key: string]: string } {
|
|
25398
|
+
return {
|
|
25399
|
+
headers: 'headers',
|
|
25400
|
+
statusCode: 'statusCode',
|
|
25401
|
+
body: 'body',
|
|
25402
|
+
};
|
|
25403
|
+
}
|
|
25404
|
+
|
|
25405
|
+
static types(): { [key: string]: any } {
|
|
25406
|
+
return {
|
|
25407
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
25408
|
+
statusCode: 'number',
|
|
25409
|
+
body: ListVSwitchCidrReservationsResponseBody,
|
|
25410
|
+
};
|
|
25411
|
+
}
|
|
25412
|
+
|
|
25413
|
+
constructor(map?: { [key: string]: any }) {
|
|
25414
|
+
super(map);
|
|
25415
|
+
}
|
|
25416
|
+
}
|
|
25417
|
+
|
|
24752
25418
|
export class ListVirtualPhysicalConnectionsRequest extends $tea.Model {
|
|
24753
25419
|
isConfirmed?: boolean;
|
|
24754
25420
|
maxResults?: number;
|
|
@@ -28793,6 +29459,90 @@ export class ModifyVSwitchAttributeResponse extends $tea.Model {
|
|
|
28793
29459
|
}
|
|
28794
29460
|
}
|
|
28795
29461
|
|
|
29462
|
+
export class ModifyVSwitchCidrReservationAttributeRequest extends $tea.Model {
|
|
29463
|
+
ownerAccount?: string;
|
|
29464
|
+
ownerId?: number;
|
|
29465
|
+
regionId?: string;
|
|
29466
|
+
resourceOwnerAccount?: string;
|
|
29467
|
+
resourceOwnerId?: number;
|
|
29468
|
+
vSwitchCidrReservationDescription?: string;
|
|
29469
|
+
vSwitchCidrReservationId?: string;
|
|
29470
|
+
vSwitchCidrReservationName?: string;
|
|
29471
|
+
static names(): { [key: string]: string } {
|
|
29472
|
+
return {
|
|
29473
|
+
ownerAccount: 'OwnerAccount',
|
|
29474
|
+
ownerId: 'OwnerId',
|
|
29475
|
+
regionId: 'RegionId',
|
|
29476
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
29477
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
29478
|
+
vSwitchCidrReservationDescription: 'VSwitchCidrReservationDescription',
|
|
29479
|
+
vSwitchCidrReservationId: 'VSwitchCidrReservationId',
|
|
29480
|
+
vSwitchCidrReservationName: 'VSwitchCidrReservationName',
|
|
29481
|
+
};
|
|
29482
|
+
}
|
|
29483
|
+
|
|
29484
|
+
static types(): { [key: string]: any } {
|
|
29485
|
+
return {
|
|
29486
|
+
ownerAccount: 'string',
|
|
29487
|
+
ownerId: 'number',
|
|
29488
|
+
regionId: 'string',
|
|
29489
|
+
resourceOwnerAccount: 'string',
|
|
29490
|
+
resourceOwnerId: 'number',
|
|
29491
|
+
vSwitchCidrReservationDescription: 'string',
|
|
29492
|
+
vSwitchCidrReservationId: 'string',
|
|
29493
|
+
vSwitchCidrReservationName: 'string',
|
|
29494
|
+
};
|
|
29495
|
+
}
|
|
29496
|
+
|
|
29497
|
+
constructor(map?: { [key: string]: any }) {
|
|
29498
|
+
super(map);
|
|
29499
|
+
}
|
|
29500
|
+
}
|
|
29501
|
+
|
|
29502
|
+
export class ModifyVSwitchCidrReservationAttributeResponseBody extends $tea.Model {
|
|
29503
|
+
requestId?: string;
|
|
29504
|
+
static names(): { [key: string]: string } {
|
|
29505
|
+
return {
|
|
29506
|
+
requestId: 'RequestId',
|
|
29507
|
+
};
|
|
29508
|
+
}
|
|
29509
|
+
|
|
29510
|
+
static types(): { [key: string]: any } {
|
|
29511
|
+
return {
|
|
29512
|
+
requestId: 'string',
|
|
29513
|
+
};
|
|
29514
|
+
}
|
|
29515
|
+
|
|
29516
|
+
constructor(map?: { [key: string]: any }) {
|
|
29517
|
+
super(map);
|
|
29518
|
+
}
|
|
29519
|
+
}
|
|
29520
|
+
|
|
29521
|
+
export class ModifyVSwitchCidrReservationAttributeResponse extends $tea.Model {
|
|
29522
|
+
headers: { [key: string]: string };
|
|
29523
|
+
statusCode: number;
|
|
29524
|
+
body: ModifyVSwitchCidrReservationAttributeResponseBody;
|
|
29525
|
+
static names(): { [key: string]: string } {
|
|
29526
|
+
return {
|
|
29527
|
+
headers: 'headers',
|
|
29528
|
+
statusCode: 'statusCode',
|
|
29529
|
+
body: 'body',
|
|
29530
|
+
};
|
|
29531
|
+
}
|
|
29532
|
+
|
|
29533
|
+
static types(): { [key: string]: any } {
|
|
29534
|
+
return {
|
|
29535
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
29536
|
+
statusCode: 'number',
|
|
29537
|
+
body: ModifyVSwitchCidrReservationAttributeResponseBody,
|
|
29538
|
+
};
|
|
29539
|
+
}
|
|
29540
|
+
|
|
29541
|
+
constructor(map?: { [key: string]: any }) {
|
|
29542
|
+
super(map);
|
|
29543
|
+
}
|
|
29544
|
+
}
|
|
29545
|
+
|
|
28796
29546
|
export class ModifyVcoRouteEntryWeightRequest extends $tea.Model {
|
|
28797
29547
|
clientToken?: string;
|
|
28798
29548
|
newWeight?: number;
|
|
@@ -30200,6 +30950,90 @@ export class MoveResourceGroupResponse extends $tea.Model {
|
|
|
30200
30950
|
}
|
|
30201
30951
|
}
|
|
30202
30952
|
|
|
30953
|
+
export class MoveVpnResourceGroupRequest extends $tea.Model {
|
|
30954
|
+
instanceId?: string;
|
|
30955
|
+
newResourceGroupId?: string;
|
|
30956
|
+
ownerAccount?: string;
|
|
30957
|
+
ownerId?: number;
|
|
30958
|
+
regionId?: string;
|
|
30959
|
+
resourceOwnerAccount?: string;
|
|
30960
|
+
resourceOwnerId?: number;
|
|
30961
|
+
resourceType?: string;
|
|
30962
|
+
static names(): { [key: string]: string } {
|
|
30963
|
+
return {
|
|
30964
|
+
instanceId: 'InstanceId',
|
|
30965
|
+
newResourceGroupId: 'NewResourceGroupId',
|
|
30966
|
+
ownerAccount: 'OwnerAccount',
|
|
30967
|
+
ownerId: 'OwnerId',
|
|
30968
|
+
regionId: 'RegionId',
|
|
30969
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
30970
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
30971
|
+
resourceType: 'ResourceType',
|
|
30972
|
+
};
|
|
30973
|
+
}
|
|
30974
|
+
|
|
30975
|
+
static types(): { [key: string]: any } {
|
|
30976
|
+
return {
|
|
30977
|
+
instanceId: 'string',
|
|
30978
|
+
newResourceGroupId: 'string',
|
|
30979
|
+
ownerAccount: 'string',
|
|
30980
|
+
ownerId: 'number',
|
|
30981
|
+
regionId: 'string',
|
|
30982
|
+
resourceOwnerAccount: 'string',
|
|
30983
|
+
resourceOwnerId: 'number',
|
|
30984
|
+
resourceType: 'string',
|
|
30985
|
+
};
|
|
30986
|
+
}
|
|
30987
|
+
|
|
30988
|
+
constructor(map?: { [key: string]: any }) {
|
|
30989
|
+
super(map);
|
|
30990
|
+
}
|
|
30991
|
+
}
|
|
30992
|
+
|
|
30993
|
+
export class MoveVpnResourceGroupResponseBody extends $tea.Model {
|
|
30994
|
+
requestId?: string;
|
|
30995
|
+
static names(): { [key: string]: string } {
|
|
30996
|
+
return {
|
|
30997
|
+
requestId: 'RequestId',
|
|
30998
|
+
};
|
|
30999
|
+
}
|
|
31000
|
+
|
|
31001
|
+
static types(): { [key: string]: any } {
|
|
31002
|
+
return {
|
|
31003
|
+
requestId: 'string',
|
|
31004
|
+
};
|
|
31005
|
+
}
|
|
31006
|
+
|
|
31007
|
+
constructor(map?: { [key: string]: any }) {
|
|
31008
|
+
super(map);
|
|
31009
|
+
}
|
|
31010
|
+
}
|
|
31011
|
+
|
|
31012
|
+
export class MoveVpnResourceGroupResponse extends $tea.Model {
|
|
31013
|
+
headers: { [key: string]: string };
|
|
31014
|
+
statusCode: number;
|
|
31015
|
+
body: MoveVpnResourceGroupResponseBody;
|
|
31016
|
+
static names(): { [key: string]: string } {
|
|
31017
|
+
return {
|
|
31018
|
+
headers: 'headers',
|
|
31019
|
+
statusCode: 'statusCode',
|
|
31020
|
+
body: 'body',
|
|
31021
|
+
};
|
|
31022
|
+
}
|
|
31023
|
+
|
|
31024
|
+
static types(): { [key: string]: any } {
|
|
31025
|
+
return {
|
|
31026
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
31027
|
+
statusCode: 'number',
|
|
31028
|
+
body: MoveVpnResourceGroupResponseBody,
|
|
31029
|
+
};
|
|
31030
|
+
}
|
|
31031
|
+
|
|
31032
|
+
constructor(map?: { [key: string]: any }) {
|
|
31033
|
+
super(map);
|
|
31034
|
+
}
|
|
31035
|
+
}
|
|
31036
|
+
|
|
30203
31037
|
export class OpenFlowLogServiceRequest extends $tea.Model {
|
|
30204
31038
|
clientToken?: string;
|
|
30205
31039
|
ownerAccount?: string;
|
|
@@ -31758,6 +32592,162 @@ export class SetHighDefinitionMonitorLogStatusResponse extends $tea.Model {
|
|
|
31758
32592
|
}
|
|
31759
32593
|
}
|
|
31760
32594
|
|
|
32595
|
+
export class StartFailoverTestJobRequest extends $tea.Model {
|
|
32596
|
+
clientToken?: string;
|
|
32597
|
+
jobId?: string;
|
|
32598
|
+
ownerAccount?: string;
|
|
32599
|
+
ownerId?: number;
|
|
32600
|
+
regionId?: string;
|
|
32601
|
+
resourceOwnerAccount?: string;
|
|
32602
|
+
static names(): { [key: string]: string } {
|
|
32603
|
+
return {
|
|
32604
|
+
clientToken: 'ClientToken',
|
|
32605
|
+
jobId: 'JobId',
|
|
32606
|
+
ownerAccount: 'OwnerAccount',
|
|
32607
|
+
ownerId: 'OwnerId',
|
|
32608
|
+
regionId: 'RegionId',
|
|
32609
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
32610
|
+
};
|
|
32611
|
+
}
|
|
32612
|
+
|
|
32613
|
+
static types(): { [key: string]: any } {
|
|
32614
|
+
return {
|
|
32615
|
+
clientToken: 'string',
|
|
32616
|
+
jobId: 'string',
|
|
32617
|
+
ownerAccount: 'string',
|
|
32618
|
+
ownerId: 'number',
|
|
32619
|
+
regionId: 'string',
|
|
32620
|
+
resourceOwnerAccount: 'string',
|
|
32621
|
+
};
|
|
32622
|
+
}
|
|
32623
|
+
|
|
32624
|
+
constructor(map?: { [key: string]: any }) {
|
|
32625
|
+
super(map);
|
|
32626
|
+
}
|
|
32627
|
+
}
|
|
32628
|
+
|
|
32629
|
+
export class StartFailoverTestJobResponseBody extends $tea.Model {
|
|
32630
|
+
requestId?: string;
|
|
32631
|
+
static names(): { [key: string]: string } {
|
|
32632
|
+
return {
|
|
32633
|
+
requestId: 'RequestId',
|
|
32634
|
+
};
|
|
32635
|
+
}
|
|
32636
|
+
|
|
32637
|
+
static types(): { [key: string]: any } {
|
|
32638
|
+
return {
|
|
32639
|
+
requestId: 'string',
|
|
32640
|
+
};
|
|
32641
|
+
}
|
|
32642
|
+
|
|
32643
|
+
constructor(map?: { [key: string]: any }) {
|
|
32644
|
+
super(map);
|
|
32645
|
+
}
|
|
32646
|
+
}
|
|
32647
|
+
|
|
32648
|
+
export class StartFailoverTestJobResponse extends $tea.Model {
|
|
32649
|
+
headers: { [key: string]: string };
|
|
32650
|
+
statusCode: number;
|
|
32651
|
+
body: StartFailoverTestJobResponseBody;
|
|
32652
|
+
static names(): { [key: string]: string } {
|
|
32653
|
+
return {
|
|
32654
|
+
headers: 'headers',
|
|
32655
|
+
statusCode: 'statusCode',
|
|
32656
|
+
body: 'body',
|
|
32657
|
+
};
|
|
32658
|
+
}
|
|
32659
|
+
|
|
32660
|
+
static types(): { [key: string]: any } {
|
|
32661
|
+
return {
|
|
32662
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
32663
|
+
statusCode: 'number',
|
|
32664
|
+
body: StartFailoverTestJobResponseBody,
|
|
32665
|
+
};
|
|
32666
|
+
}
|
|
32667
|
+
|
|
32668
|
+
constructor(map?: { [key: string]: any }) {
|
|
32669
|
+
super(map);
|
|
32670
|
+
}
|
|
32671
|
+
}
|
|
32672
|
+
|
|
32673
|
+
export class StopFailoverTestJobRequest extends $tea.Model {
|
|
32674
|
+
clientToken?: string;
|
|
32675
|
+
jobId?: string;
|
|
32676
|
+
ownerAccount?: string;
|
|
32677
|
+
ownerId?: number;
|
|
32678
|
+
regionId?: string;
|
|
32679
|
+
resourceOwnerAccount?: string;
|
|
32680
|
+
static names(): { [key: string]: string } {
|
|
32681
|
+
return {
|
|
32682
|
+
clientToken: 'ClientToken',
|
|
32683
|
+
jobId: 'JobId',
|
|
32684
|
+
ownerAccount: 'OwnerAccount',
|
|
32685
|
+
ownerId: 'OwnerId',
|
|
32686
|
+
regionId: 'RegionId',
|
|
32687
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
32688
|
+
};
|
|
32689
|
+
}
|
|
32690
|
+
|
|
32691
|
+
static types(): { [key: string]: any } {
|
|
32692
|
+
return {
|
|
32693
|
+
clientToken: 'string',
|
|
32694
|
+
jobId: 'string',
|
|
32695
|
+
ownerAccount: 'string',
|
|
32696
|
+
ownerId: 'number',
|
|
32697
|
+
regionId: 'string',
|
|
32698
|
+
resourceOwnerAccount: 'string',
|
|
32699
|
+
};
|
|
32700
|
+
}
|
|
32701
|
+
|
|
32702
|
+
constructor(map?: { [key: string]: any }) {
|
|
32703
|
+
super(map);
|
|
32704
|
+
}
|
|
32705
|
+
}
|
|
32706
|
+
|
|
32707
|
+
export class StopFailoverTestJobResponseBody extends $tea.Model {
|
|
32708
|
+
requestId?: string;
|
|
32709
|
+
static names(): { [key: string]: string } {
|
|
32710
|
+
return {
|
|
32711
|
+
requestId: 'RequestId',
|
|
32712
|
+
};
|
|
32713
|
+
}
|
|
32714
|
+
|
|
32715
|
+
static types(): { [key: string]: any } {
|
|
32716
|
+
return {
|
|
32717
|
+
requestId: 'string',
|
|
32718
|
+
};
|
|
32719
|
+
}
|
|
32720
|
+
|
|
32721
|
+
constructor(map?: { [key: string]: any }) {
|
|
32722
|
+
super(map);
|
|
32723
|
+
}
|
|
32724
|
+
}
|
|
32725
|
+
|
|
32726
|
+
export class StopFailoverTestJobResponse extends $tea.Model {
|
|
32727
|
+
headers: { [key: string]: string };
|
|
32728
|
+
statusCode: number;
|
|
32729
|
+
body: StopFailoverTestJobResponseBody;
|
|
32730
|
+
static names(): { [key: string]: string } {
|
|
32731
|
+
return {
|
|
32732
|
+
headers: 'headers',
|
|
32733
|
+
statusCode: 'statusCode',
|
|
32734
|
+
body: 'body',
|
|
32735
|
+
};
|
|
32736
|
+
}
|
|
32737
|
+
|
|
32738
|
+
static types(): { [key: string]: any } {
|
|
32739
|
+
return {
|
|
32740
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
32741
|
+
statusCode: 'number',
|
|
32742
|
+
body: StopFailoverTestJobResponseBody,
|
|
32743
|
+
};
|
|
32744
|
+
}
|
|
32745
|
+
|
|
32746
|
+
constructor(map?: { [key: string]: any }) {
|
|
32747
|
+
super(map);
|
|
32748
|
+
}
|
|
32749
|
+
}
|
|
32750
|
+
|
|
31761
32751
|
export class TagResourcesRequest extends $tea.Model {
|
|
31762
32752
|
ownerAccount?: string;
|
|
31763
32753
|
ownerId?: number;
|
|
@@ -32961,6 +33951,96 @@ export class UpdateDhcpOptionsSetAttributeResponse extends $tea.Model {
|
|
|
32961
33951
|
}
|
|
32962
33952
|
}
|
|
32963
33953
|
|
|
33954
|
+
export class UpdateFailoverTestJobRequest extends $tea.Model {
|
|
33955
|
+
clientToken?: string;
|
|
33956
|
+
description?: string;
|
|
33957
|
+
jobDuration?: number;
|
|
33958
|
+
jobId?: string;
|
|
33959
|
+
name?: string;
|
|
33960
|
+
ownerAccount?: string;
|
|
33961
|
+
ownerId?: number;
|
|
33962
|
+
regionId?: string;
|
|
33963
|
+
resourceId?: string[];
|
|
33964
|
+
resourceOwnerAccount?: string;
|
|
33965
|
+
static names(): { [key: string]: string } {
|
|
33966
|
+
return {
|
|
33967
|
+
clientToken: 'ClientToken',
|
|
33968
|
+
description: 'Description',
|
|
33969
|
+
jobDuration: 'JobDuration',
|
|
33970
|
+
jobId: 'JobId',
|
|
33971
|
+
name: 'Name',
|
|
33972
|
+
ownerAccount: 'OwnerAccount',
|
|
33973
|
+
ownerId: 'OwnerId',
|
|
33974
|
+
regionId: 'RegionId',
|
|
33975
|
+
resourceId: 'ResourceId',
|
|
33976
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
33977
|
+
};
|
|
33978
|
+
}
|
|
33979
|
+
|
|
33980
|
+
static types(): { [key: string]: any } {
|
|
33981
|
+
return {
|
|
33982
|
+
clientToken: 'string',
|
|
33983
|
+
description: 'string',
|
|
33984
|
+
jobDuration: 'number',
|
|
33985
|
+
jobId: 'string',
|
|
33986
|
+
name: 'string',
|
|
33987
|
+
ownerAccount: 'string',
|
|
33988
|
+
ownerId: 'number',
|
|
33989
|
+
regionId: 'string',
|
|
33990
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
33991
|
+
resourceOwnerAccount: 'string',
|
|
33992
|
+
};
|
|
33993
|
+
}
|
|
33994
|
+
|
|
33995
|
+
constructor(map?: { [key: string]: any }) {
|
|
33996
|
+
super(map);
|
|
33997
|
+
}
|
|
33998
|
+
}
|
|
33999
|
+
|
|
34000
|
+
export class UpdateFailoverTestJobResponseBody extends $tea.Model {
|
|
34001
|
+
requestId?: string;
|
|
34002
|
+
static names(): { [key: string]: string } {
|
|
34003
|
+
return {
|
|
34004
|
+
requestId: 'RequestId',
|
|
34005
|
+
};
|
|
34006
|
+
}
|
|
34007
|
+
|
|
34008
|
+
static types(): { [key: string]: any } {
|
|
34009
|
+
return {
|
|
34010
|
+
requestId: 'string',
|
|
34011
|
+
};
|
|
34012
|
+
}
|
|
34013
|
+
|
|
34014
|
+
constructor(map?: { [key: string]: any }) {
|
|
34015
|
+
super(map);
|
|
34016
|
+
}
|
|
34017
|
+
}
|
|
34018
|
+
|
|
34019
|
+
export class UpdateFailoverTestJobResponse extends $tea.Model {
|
|
34020
|
+
headers: { [key: string]: string };
|
|
34021
|
+
statusCode: number;
|
|
34022
|
+
body: UpdateFailoverTestJobResponseBody;
|
|
34023
|
+
static names(): { [key: string]: string } {
|
|
34024
|
+
return {
|
|
34025
|
+
headers: 'headers',
|
|
34026
|
+
statusCode: 'statusCode',
|
|
34027
|
+
body: 'body',
|
|
34028
|
+
};
|
|
34029
|
+
}
|
|
34030
|
+
|
|
34031
|
+
static types(): { [key: string]: any } {
|
|
34032
|
+
return {
|
|
34033
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
34034
|
+
statusCode: 'number',
|
|
34035
|
+
body: UpdateFailoverTestJobResponseBody,
|
|
34036
|
+
};
|
|
34037
|
+
}
|
|
34038
|
+
|
|
34039
|
+
constructor(map?: { [key: string]: any }) {
|
|
34040
|
+
super(map);
|
|
34041
|
+
}
|
|
34042
|
+
}
|
|
34043
|
+
|
|
32964
34044
|
export class UpdateGatewayRouteTableEntryAttributeRequest extends $tea.Model {
|
|
32965
34045
|
clientToken?: string;
|
|
32966
34046
|
description?: string;
|
|
@@ -35153,35 +36233,54 @@ export class CreateTrafficMirrorFilterRulesRequestEgressRules extends $tea.Model
|
|
|
35153
36233
|
}
|
|
35154
36234
|
}
|
|
35155
36235
|
|
|
35156
|
-
export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $tea.Model {
|
|
35157
|
-
action?: string;
|
|
35158
|
-
destinationCidrBlock?: string;
|
|
35159
|
-
destinationPortRange?: string;
|
|
35160
|
-
priority?: number;
|
|
35161
|
-
protocol?: string;
|
|
35162
|
-
sourceCidrBlock?: string;
|
|
35163
|
-
sourcePortRange?: string;
|
|
36236
|
+
export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $tea.Model {
|
|
36237
|
+
action?: string;
|
|
36238
|
+
destinationCidrBlock?: string;
|
|
36239
|
+
destinationPortRange?: string;
|
|
36240
|
+
priority?: number;
|
|
36241
|
+
protocol?: string;
|
|
36242
|
+
sourceCidrBlock?: string;
|
|
36243
|
+
sourcePortRange?: string;
|
|
36244
|
+
static names(): { [key: string]: string } {
|
|
36245
|
+
return {
|
|
36246
|
+
action: 'Action',
|
|
36247
|
+
destinationCidrBlock: 'DestinationCidrBlock',
|
|
36248
|
+
destinationPortRange: 'DestinationPortRange',
|
|
36249
|
+
priority: 'Priority',
|
|
36250
|
+
protocol: 'Protocol',
|
|
36251
|
+
sourceCidrBlock: 'SourceCidrBlock',
|
|
36252
|
+
sourcePortRange: 'SourcePortRange',
|
|
36253
|
+
};
|
|
36254
|
+
}
|
|
36255
|
+
|
|
36256
|
+
static types(): { [key: string]: any } {
|
|
36257
|
+
return {
|
|
36258
|
+
action: 'string',
|
|
36259
|
+
destinationCidrBlock: 'string',
|
|
36260
|
+
destinationPortRange: 'string',
|
|
36261
|
+
priority: 'number',
|
|
36262
|
+
protocol: 'string',
|
|
36263
|
+
sourceCidrBlock: 'string',
|
|
36264
|
+
sourcePortRange: 'string',
|
|
36265
|
+
};
|
|
36266
|
+
}
|
|
36267
|
+
|
|
36268
|
+
constructor(map?: { [key: string]: any }) {
|
|
36269
|
+
super(map);
|
|
36270
|
+
}
|
|
36271
|
+
}
|
|
36272
|
+
|
|
36273
|
+
export class CreateTrafficMirrorFilterRulesResponseBodyEgressRules extends $tea.Model {
|
|
36274
|
+
instanceId?: string;
|
|
35164
36275
|
static names(): { [key: string]: string } {
|
|
35165
36276
|
return {
|
|
35166
|
-
|
|
35167
|
-
destinationCidrBlock: 'DestinationCidrBlock',
|
|
35168
|
-
destinationPortRange: 'DestinationPortRange',
|
|
35169
|
-
priority: 'Priority',
|
|
35170
|
-
protocol: 'Protocol',
|
|
35171
|
-
sourceCidrBlock: 'SourceCidrBlock',
|
|
35172
|
-
sourcePortRange: 'SourcePortRange',
|
|
36277
|
+
instanceId: 'InstanceId',
|
|
35173
36278
|
};
|
|
35174
36279
|
}
|
|
35175
36280
|
|
|
35176
36281
|
static types(): { [key: string]: any } {
|
|
35177
36282
|
return {
|
|
35178
|
-
|
|
35179
|
-
destinationCidrBlock: 'string',
|
|
35180
|
-
destinationPortRange: 'string',
|
|
35181
|
-
priority: 'number',
|
|
35182
|
-
protocol: 'string',
|
|
35183
|
-
sourceCidrBlock: 'string',
|
|
35184
|
-
sourcePortRange: 'string',
|
|
36283
|
+
instanceId: 'string',
|
|
35185
36284
|
};
|
|
35186
36285
|
}
|
|
35187
36286
|
|
|
@@ -35190,7 +36289,7 @@ export class CreateTrafficMirrorFilterRulesRequestIngressRules extends $tea.Mode
|
|
|
35190
36289
|
}
|
|
35191
36290
|
}
|
|
35192
36291
|
|
|
35193
|
-
export class
|
|
36292
|
+
export class CreateTrafficMirrorFilterRulesResponseBodyIngressRules extends $tea.Model {
|
|
35194
36293
|
instanceId?: string;
|
|
35195
36294
|
static names(): { [key: string]: string } {
|
|
35196
36295
|
return {
|
|
@@ -35209,17 +36308,20 @@ export class CreateTrafficMirrorFilterRulesResponseBodyEgressRules extends $tea.
|
|
|
35209
36308
|
}
|
|
35210
36309
|
}
|
|
35211
36310
|
|
|
35212
|
-
export class
|
|
35213
|
-
|
|
36311
|
+
export class CreateTrafficMirrorSessionRequestTag extends $tea.Model {
|
|
36312
|
+
key?: string;
|
|
36313
|
+
value?: string;
|
|
35214
36314
|
static names(): { [key: string]: string } {
|
|
35215
36315
|
return {
|
|
35216
|
-
|
|
36316
|
+
key: 'Key',
|
|
36317
|
+
value: 'Value',
|
|
35217
36318
|
};
|
|
35218
36319
|
}
|
|
35219
36320
|
|
|
35220
36321
|
static types(): { [key: string]: any } {
|
|
35221
36322
|
return {
|
|
35222
|
-
|
|
36323
|
+
key: 'string',
|
|
36324
|
+
value: 'string',
|
|
35223
36325
|
};
|
|
35224
36326
|
}
|
|
35225
36327
|
|
|
@@ -35228,7 +36330,7 @@ export class CreateTrafficMirrorFilterRulesResponseBodyIngressRules extends $tea
|
|
|
35228
36330
|
}
|
|
35229
36331
|
}
|
|
35230
36332
|
|
|
35231
|
-
export class
|
|
36333
|
+
export class CreateVSwitchRequestTag extends $tea.Model {
|
|
35232
36334
|
key?: string;
|
|
35233
36335
|
value?: string;
|
|
35234
36336
|
static names(): { [key: string]: string } {
|
|
@@ -35250,7 +36352,7 @@ export class CreateTrafficMirrorSessionRequestTag extends $tea.Model {
|
|
|
35250
36352
|
}
|
|
35251
36353
|
}
|
|
35252
36354
|
|
|
35253
|
-
export class
|
|
36355
|
+
export class CreateVSwitchCidrReservationRequestTag extends $tea.Model {
|
|
35254
36356
|
key?: string;
|
|
35255
36357
|
value?: string;
|
|
35256
36358
|
static names(): { [key: string]: string } {
|
|
@@ -36900,6 +38002,120 @@ export class DescribeEipSegmentResponseBodyEipSegments extends $tea.Model {
|
|
|
36900
38002
|
}
|
|
36901
38003
|
}
|
|
36902
38004
|
|
|
38005
|
+
export class DescribeFailoverTestJobResponseBodyFailoverTestJobModel extends $tea.Model {
|
|
38006
|
+
description?: string;
|
|
38007
|
+
jobDuration?: string;
|
|
38008
|
+
jobId?: string;
|
|
38009
|
+
jobType?: string;
|
|
38010
|
+
name?: string;
|
|
38011
|
+
resourceId?: string[];
|
|
38012
|
+
resourceType?: string;
|
|
38013
|
+
startTime?: string;
|
|
38014
|
+
status?: string;
|
|
38015
|
+
stopTime?: string;
|
|
38016
|
+
static names(): { [key: string]: string } {
|
|
38017
|
+
return {
|
|
38018
|
+
description: 'Description',
|
|
38019
|
+
jobDuration: 'JobDuration',
|
|
38020
|
+
jobId: 'JobId',
|
|
38021
|
+
jobType: 'JobType',
|
|
38022
|
+
name: 'Name',
|
|
38023
|
+
resourceId: 'ResourceId',
|
|
38024
|
+
resourceType: 'ResourceType',
|
|
38025
|
+
startTime: 'StartTime',
|
|
38026
|
+
status: 'Status',
|
|
38027
|
+
stopTime: 'StopTime',
|
|
38028
|
+
};
|
|
38029
|
+
}
|
|
38030
|
+
|
|
38031
|
+
static types(): { [key: string]: any } {
|
|
38032
|
+
return {
|
|
38033
|
+
description: 'string',
|
|
38034
|
+
jobDuration: 'string',
|
|
38035
|
+
jobId: 'string',
|
|
38036
|
+
jobType: 'string',
|
|
38037
|
+
name: 'string',
|
|
38038
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
38039
|
+
resourceType: 'string',
|
|
38040
|
+
startTime: 'string',
|
|
38041
|
+
status: 'string',
|
|
38042
|
+
stopTime: 'string',
|
|
38043
|
+
};
|
|
38044
|
+
}
|
|
38045
|
+
|
|
38046
|
+
constructor(map?: { [key: string]: any }) {
|
|
38047
|
+
super(map);
|
|
38048
|
+
}
|
|
38049
|
+
}
|
|
38050
|
+
|
|
38051
|
+
export class DescribeFailoverTestJobsRequestFilter extends $tea.Model {
|
|
38052
|
+
key?: string;
|
|
38053
|
+
value?: string[];
|
|
38054
|
+
static names(): { [key: string]: string } {
|
|
38055
|
+
return {
|
|
38056
|
+
key: 'Key',
|
|
38057
|
+
value: 'Value',
|
|
38058
|
+
};
|
|
38059
|
+
}
|
|
38060
|
+
|
|
38061
|
+
static types(): { [key: string]: any } {
|
|
38062
|
+
return {
|
|
38063
|
+
key: 'string',
|
|
38064
|
+
value: { 'type': 'array', 'itemType': 'string' },
|
|
38065
|
+
};
|
|
38066
|
+
}
|
|
38067
|
+
|
|
38068
|
+
constructor(map?: { [key: string]: any }) {
|
|
38069
|
+
super(map);
|
|
38070
|
+
}
|
|
38071
|
+
}
|
|
38072
|
+
|
|
38073
|
+
export class DescribeFailoverTestJobsResponseBodyFailoverTestJobList extends $tea.Model {
|
|
38074
|
+
description?: string;
|
|
38075
|
+
jobDuration?: string;
|
|
38076
|
+
jobId?: string;
|
|
38077
|
+
jobType?: string;
|
|
38078
|
+
name?: string;
|
|
38079
|
+
resourceId?: string[];
|
|
38080
|
+
resourceType?: string;
|
|
38081
|
+
startTime?: string;
|
|
38082
|
+
status?: string;
|
|
38083
|
+
stopTime?: string;
|
|
38084
|
+
static names(): { [key: string]: string } {
|
|
38085
|
+
return {
|
|
38086
|
+
description: 'Description',
|
|
38087
|
+
jobDuration: 'JobDuration',
|
|
38088
|
+
jobId: 'JobId',
|
|
38089
|
+
jobType: 'JobType',
|
|
38090
|
+
name: 'Name',
|
|
38091
|
+
resourceId: 'ResourceId',
|
|
38092
|
+
resourceType: 'ResourceType',
|
|
38093
|
+
startTime: 'StartTime',
|
|
38094
|
+
status: 'Status',
|
|
38095
|
+
stopTime: 'StopTime',
|
|
38096
|
+
};
|
|
38097
|
+
}
|
|
38098
|
+
|
|
38099
|
+
static types(): { [key: string]: any } {
|
|
38100
|
+
return {
|
|
38101
|
+
description: 'string',
|
|
38102
|
+
jobDuration: 'string',
|
|
38103
|
+
jobId: 'string',
|
|
38104
|
+
jobType: 'string',
|
|
38105
|
+
name: 'string',
|
|
38106
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
38107
|
+
resourceType: 'string',
|
|
38108
|
+
startTime: 'string',
|
|
38109
|
+
status: 'string',
|
|
38110
|
+
stopTime: 'string',
|
|
38111
|
+
};
|
|
38112
|
+
}
|
|
38113
|
+
|
|
38114
|
+
constructor(map?: { [key: string]: any }) {
|
|
38115
|
+
super(map);
|
|
38116
|
+
}
|
|
38117
|
+
}
|
|
38118
|
+
|
|
36903
38119
|
export class DescribeFlowLogsRequestTags extends $tea.Model {
|
|
36904
38120
|
key?: string;
|
|
36905
38121
|
value?: string;
|
|
@@ -44044,6 +45260,40 @@ export class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Model {
|
|
|
44044
45260
|
}
|
|
44045
45261
|
}
|
|
44046
45262
|
|
|
45263
|
+
export class GetVSwitchCidrReservationUsageResponseBodyCidrReservationUsages extends $tea.Model {
|
|
45264
|
+
ipPrefixCidr?: string;
|
|
45265
|
+
ipPrefixId?: string;
|
|
45266
|
+
resourceId?: string;
|
|
45267
|
+
resourceType?: string;
|
|
45268
|
+
vSwitchCidrReservationId?: string;
|
|
45269
|
+
vSwitchId?: string;
|
|
45270
|
+
static names(): { [key: string]: string } {
|
|
45271
|
+
return {
|
|
45272
|
+
ipPrefixCidr: 'IpPrefixCidr',
|
|
45273
|
+
ipPrefixId: 'IpPrefixId',
|
|
45274
|
+
resourceId: 'ResourceId',
|
|
45275
|
+
resourceType: 'ResourceType',
|
|
45276
|
+
vSwitchCidrReservationId: 'VSwitchCidrReservationId',
|
|
45277
|
+
vSwitchId: 'VSwitchId',
|
|
45278
|
+
};
|
|
45279
|
+
}
|
|
45280
|
+
|
|
45281
|
+
static types(): { [key: string]: any } {
|
|
45282
|
+
return {
|
|
45283
|
+
ipPrefixCidr: 'string',
|
|
45284
|
+
ipPrefixId: 'string',
|
|
45285
|
+
resourceId: 'string',
|
|
45286
|
+
resourceType: 'string',
|
|
45287
|
+
vSwitchCidrReservationId: 'string',
|
|
45288
|
+
vSwitchId: 'string',
|
|
45289
|
+
};
|
|
45290
|
+
}
|
|
45291
|
+
|
|
45292
|
+
constructor(map?: { [key: string]: any }) {
|
|
45293
|
+
super(map);
|
|
45294
|
+
}
|
|
45295
|
+
}
|
|
45296
|
+
|
|
44047
45297
|
export class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
|
|
44048
45298
|
key?: string;
|
|
44049
45299
|
value?: string;
|
|
@@ -45416,59 +46666,158 @@ export class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessionsTags exte
|
|
|
45416
46666
|
}
|
|
45417
46667
|
}
|
|
45418
46668
|
|
|
45419
|
-
export class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions extends $tea.Model {
|
|
45420
|
-
enabled?: boolean;
|
|
45421
|
-
packetLength?: number;
|
|
45422
|
-
priority?: number;
|
|
45423
|
-
resourceGroupId?: string;
|
|
45424
|
-
tags?: ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessionsTags[];
|
|
45425
|
-
trafficMirrorFilterId?: string;
|
|
45426
|
-
trafficMirrorSessionBusinessStatus?: string;
|
|
45427
|
-
trafficMirrorSessionDescription?: string;
|
|
45428
|
-
trafficMirrorSessionId?: string;
|
|
45429
|
-
trafficMirrorSessionName?: string;
|
|
45430
|
-
trafficMirrorSessionStatus?: string;
|
|
45431
|
-
trafficMirrorSourceIds?: string[];
|
|
45432
|
-
trafficMirrorTargetId?: string;
|
|
45433
|
-
trafficMirrorTargetType?: string;
|
|
45434
|
-
virtualNetworkId?: number;
|
|
46669
|
+
export class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions extends $tea.Model {
|
|
46670
|
+
enabled?: boolean;
|
|
46671
|
+
packetLength?: number;
|
|
46672
|
+
priority?: number;
|
|
46673
|
+
resourceGroupId?: string;
|
|
46674
|
+
tags?: ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessionsTags[];
|
|
46675
|
+
trafficMirrorFilterId?: string;
|
|
46676
|
+
trafficMirrorSessionBusinessStatus?: string;
|
|
46677
|
+
trafficMirrorSessionDescription?: string;
|
|
46678
|
+
trafficMirrorSessionId?: string;
|
|
46679
|
+
trafficMirrorSessionName?: string;
|
|
46680
|
+
trafficMirrorSessionStatus?: string;
|
|
46681
|
+
trafficMirrorSourceIds?: string[];
|
|
46682
|
+
trafficMirrorTargetId?: string;
|
|
46683
|
+
trafficMirrorTargetType?: string;
|
|
46684
|
+
virtualNetworkId?: number;
|
|
46685
|
+
static names(): { [key: string]: string } {
|
|
46686
|
+
return {
|
|
46687
|
+
enabled: 'Enabled',
|
|
46688
|
+
packetLength: 'PacketLength',
|
|
46689
|
+
priority: 'Priority',
|
|
46690
|
+
resourceGroupId: 'ResourceGroupId',
|
|
46691
|
+
tags: 'Tags',
|
|
46692
|
+
trafficMirrorFilterId: 'TrafficMirrorFilterId',
|
|
46693
|
+
trafficMirrorSessionBusinessStatus: 'TrafficMirrorSessionBusinessStatus',
|
|
46694
|
+
trafficMirrorSessionDescription: 'TrafficMirrorSessionDescription',
|
|
46695
|
+
trafficMirrorSessionId: 'TrafficMirrorSessionId',
|
|
46696
|
+
trafficMirrorSessionName: 'TrafficMirrorSessionName',
|
|
46697
|
+
trafficMirrorSessionStatus: 'TrafficMirrorSessionStatus',
|
|
46698
|
+
trafficMirrorSourceIds: 'TrafficMirrorSourceIds',
|
|
46699
|
+
trafficMirrorTargetId: 'TrafficMirrorTargetId',
|
|
46700
|
+
trafficMirrorTargetType: 'TrafficMirrorTargetType',
|
|
46701
|
+
virtualNetworkId: 'VirtualNetworkId',
|
|
46702
|
+
};
|
|
46703
|
+
}
|
|
46704
|
+
|
|
46705
|
+
static types(): { [key: string]: any } {
|
|
46706
|
+
return {
|
|
46707
|
+
enabled: 'boolean',
|
|
46708
|
+
packetLength: 'number',
|
|
46709
|
+
priority: 'number',
|
|
46710
|
+
resourceGroupId: 'string',
|
|
46711
|
+
tags: { 'type': 'array', 'itemType': ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessionsTags },
|
|
46712
|
+
trafficMirrorFilterId: 'string',
|
|
46713
|
+
trafficMirrorSessionBusinessStatus: 'string',
|
|
46714
|
+
trafficMirrorSessionDescription: 'string',
|
|
46715
|
+
trafficMirrorSessionId: 'string',
|
|
46716
|
+
trafficMirrorSessionName: 'string',
|
|
46717
|
+
trafficMirrorSessionStatus: 'string',
|
|
46718
|
+
trafficMirrorSourceIds: { 'type': 'array', 'itemType': 'string' },
|
|
46719
|
+
trafficMirrorTargetId: 'string',
|
|
46720
|
+
trafficMirrorTargetType: 'string',
|
|
46721
|
+
virtualNetworkId: 'number',
|
|
46722
|
+
};
|
|
46723
|
+
}
|
|
46724
|
+
|
|
46725
|
+
constructor(map?: { [key: string]: any }) {
|
|
46726
|
+
super(map);
|
|
46727
|
+
}
|
|
46728
|
+
}
|
|
46729
|
+
|
|
46730
|
+
export class ListVSwitchCidrReservationsRequestTags extends $tea.Model {
|
|
46731
|
+
key?: string;
|
|
46732
|
+
value?: string;
|
|
46733
|
+
static names(): { [key: string]: string } {
|
|
46734
|
+
return {
|
|
46735
|
+
key: 'Key',
|
|
46736
|
+
value: 'Value',
|
|
46737
|
+
};
|
|
46738
|
+
}
|
|
46739
|
+
|
|
46740
|
+
static types(): { [key: string]: any } {
|
|
46741
|
+
return {
|
|
46742
|
+
key: 'string',
|
|
46743
|
+
value: 'string',
|
|
46744
|
+
};
|
|
46745
|
+
}
|
|
46746
|
+
|
|
46747
|
+
constructor(map?: { [key: string]: any }) {
|
|
46748
|
+
super(map);
|
|
46749
|
+
}
|
|
46750
|
+
}
|
|
46751
|
+
|
|
46752
|
+
export class ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservationsTags extends $tea.Model {
|
|
46753
|
+
key?: string;
|
|
46754
|
+
value?: string;
|
|
46755
|
+
static names(): { [key: string]: string } {
|
|
46756
|
+
return {
|
|
46757
|
+
key: 'Key',
|
|
46758
|
+
value: 'Value',
|
|
46759
|
+
};
|
|
46760
|
+
}
|
|
46761
|
+
|
|
46762
|
+
static types(): { [key: string]: any } {
|
|
46763
|
+
return {
|
|
46764
|
+
key: 'string',
|
|
46765
|
+
value: 'string',
|
|
46766
|
+
};
|
|
46767
|
+
}
|
|
46768
|
+
|
|
46769
|
+
constructor(map?: { [key: string]: any }) {
|
|
46770
|
+
super(map);
|
|
46771
|
+
}
|
|
46772
|
+
}
|
|
46773
|
+
|
|
46774
|
+
export class ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservations extends $tea.Model {
|
|
46775
|
+
assignedCidrCount?: number;
|
|
46776
|
+
availableCidrCount?: number;
|
|
46777
|
+
creationTime?: string;
|
|
46778
|
+
ipVersion?: string;
|
|
46779
|
+
status?: string;
|
|
46780
|
+
tags?: ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservationsTags[];
|
|
46781
|
+
type?: string;
|
|
46782
|
+
vSwitchCidrReservationCidr?: string;
|
|
46783
|
+
vSwitchCidrReservationDescription?: string;
|
|
46784
|
+
vSwitchCidrReservationId?: string;
|
|
46785
|
+
vSwitchCidrReservationName?: string;
|
|
46786
|
+
vSwitchId?: string;
|
|
46787
|
+
vpcId?: string;
|
|
45435
46788
|
static names(): { [key: string]: string } {
|
|
45436
46789
|
return {
|
|
45437
|
-
|
|
45438
|
-
|
|
45439
|
-
|
|
45440
|
-
|
|
46790
|
+
assignedCidrCount: 'AssignedCidrCount',
|
|
46791
|
+
availableCidrCount: 'AvailableCidrCount',
|
|
46792
|
+
creationTime: 'CreationTime',
|
|
46793
|
+
ipVersion: 'IpVersion',
|
|
46794
|
+
status: 'Status',
|
|
45441
46795
|
tags: 'Tags',
|
|
45442
|
-
|
|
45443
|
-
|
|
45444
|
-
|
|
45445
|
-
|
|
45446
|
-
|
|
45447
|
-
|
|
45448
|
-
|
|
45449
|
-
trafficMirrorTargetId: 'TrafficMirrorTargetId',
|
|
45450
|
-
trafficMirrorTargetType: 'TrafficMirrorTargetType',
|
|
45451
|
-
virtualNetworkId: 'VirtualNetworkId',
|
|
46796
|
+
type: 'Type',
|
|
46797
|
+
vSwitchCidrReservationCidr: 'VSwitchCidrReservationCidr',
|
|
46798
|
+
vSwitchCidrReservationDescription: 'VSwitchCidrReservationDescription',
|
|
46799
|
+
vSwitchCidrReservationId: 'VSwitchCidrReservationId',
|
|
46800
|
+
vSwitchCidrReservationName: 'VSwitchCidrReservationName',
|
|
46801
|
+
vSwitchId: 'VSwitchId',
|
|
46802
|
+
vpcId: 'VpcId',
|
|
45452
46803
|
};
|
|
45453
46804
|
}
|
|
45454
46805
|
|
|
45455
46806
|
static types(): { [key: string]: any } {
|
|
45456
46807
|
return {
|
|
45457
|
-
|
|
45458
|
-
|
|
45459
|
-
|
|
45460
|
-
|
|
45461
|
-
|
|
45462
|
-
|
|
45463
|
-
|
|
45464
|
-
|
|
45465
|
-
|
|
45466
|
-
|
|
45467
|
-
|
|
45468
|
-
|
|
45469
|
-
|
|
45470
|
-
trafficMirrorTargetType: 'string',
|
|
45471
|
-
virtualNetworkId: 'number',
|
|
46808
|
+
assignedCidrCount: 'number',
|
|
46809
|
+
availableCidrCount: 'number',
|
|
46810
|
+
creationTime: 'string',
|
|
46811
|
+
ipVersion: 'string',
|
|
46812
|
+
status: 'string',
|
|
46813
|
+
tags: { 'type': 'array', 'itemType': ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservationsTags },
|
|
46814
|
+
type: 'string',
|
|
46815
|
+
vSwitchCidrReservationCidr: 'string',
|
|
46816
|
+
vSwitchCidrReservationDescription: 'string',
|
|
46817
|
+
vSwitchCidrReservationId: 'string',
|
|
46818
|
+
vSwitchCidrReservationName: 'string',
|
|
46819
|
+
vSwitchId: 'string',
|
|
46820
|
+
vpcId: 'string',
|
|
45472
46821
|
};
|
|
45473
46822
|
}
|
|
45474
46823
|
|
|
@@ -46901,7 +48250,7 @@ export default class Client extends OpenApi {
|
|
|
46901
48250
|
}
|
|
46902
48251
|
|
|
46903
48252
|
/**
|
|
46904
|
-
*
|
|
48253
|
+
* After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, it enters the **Active** state.
|
|
46905
48254
|
* > You cannot activate a router interface that has overdue payments.
|
|
46906
48255
|
*
|
|
46907
48256
|
* @param request ActivateRouterInterfaceRequest
|
|
@@ -46949,7 +48298,7 @@ export default class Client extends OpenApi {
|
|
|
46949
48298
|
}
|
|
46950
48299
|
|
|
46951
48300
|
/**
|
|
46952
|
-
*
|
|
48301
|
+
* After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, it enters the **Active** state.
|
|
46953
48302
|
* > You cannot activate a router interface that has overdue payments.
|
|
46954
48303
|
*
|
|
46955
48304
|
* @param request ActivateRouterInterfaceRequest
|
|
@@ -47968,9 +49317,10 @@ export default class Client extends OpenApi {
|
|
|
47968
49317
|
}
|
|
47969
49318
|
|
|
47970
49319
|
/**
|
|
49320
|
+
* # [](#)
|
|
47971
49321
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
47972
|
-
* 1
|
|
47973
|
-
* 2
|
|
49322
|
+
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
49323
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](~~146745~~) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR bock, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](~~35737~~) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
47974
49324
|
*
|
|
47975
49325
|
* @param request AllocateVpcIpv6CidrRequest
|
|
47976
49326
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -48037,9 +49387,10 @@ export default class Client extends OpenApi {
|
|
|
48037
49387
|
}
|
|
48038
49388
|
|
|
48039
49389
|
/**
|
|
49390
|
+
* # [](#)
|
|
48040
49391
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
48041
|
-
* 1
|
|
48042
|
-
* 2
|
|
49392
|
+
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
49393
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](~~146745~~) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR bock, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](~~35737~~) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
48043
49394
|
*
|
|
48044
49395
|
* @param request AllocateVpcIpv6CidrRequest
|
|
48045
49396
|
* @return AllocateVpcIpv6CidrResponse
|
|
@@ -48411,7 +49762,8 @@ export default class Client extends OpenApi {
|
|
|
48411
49762
|
}
|
|
48412
49763
|
|
|
48413
49764
|
/**
|
|
48414
|
-
*
|
|
49765
|
+
* ## [](#)Description
|
|
49766
|
+
* * **AssociateNetworkAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
48415
49767
|
* * If the network ACL is in the **BINDING** state, the network ACL is being associated.
|
|
48416
49768
|
* * If the network ACL is in the **BINDED** state, the network ACL is associated.
|
|
48417
49769
|
* * You cannot repeatedly call the **AssociateNetworkAcl** operation to associate a network ACL within the specified period of time.
|
|
@@ -48473,7 +49825,8 @@ export default class Client extends OpenApi {
|
|
|
48473
49825
|
}
|
|
48474
49826
|
|
|
48475
49827
|
/**
|
|
48476
|
-
*
|
|
49828
|
+
* ## [](#)Description
|
|
49829
|
+
* * **AssociateNetworkAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
48477
49830
|
* * If the network ACL is in the **BINDING** state, the network ACL is being associated.
|
|
48478
49831
|
* * If the network ACL is in the **BINDED** state, the network ACL is associated.
|
|
48479
49832
|
* * You cannot repeatedly call the **AssociateNetworkAcl** operation to associate a network ACL within the specified period of time.
|
|
@@ -48923,7 +50276,7 @@ export default class Client extends OpenApi {
|
|
|
48923
50276
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being associated.
|
|
48924
50277
|
* * If the VPN gateway is in the **active** state, the SSL certificate is being associated.
|
|
48925
50278
|
* * You cannot call **AssociateVpnGatewayWithCertificate** within a specific period of time.
|
|
48926
|
-
*
|
|
50279
|
+
* ### [](#)Prerequisites
|
|
48927
50280
|
* Make sure that you have two SSL certificates that use the SM algorithm in the Certificate Management Service console. For more information about SSL certificates, see [What is Certificate Management Service?](~~28535~~).
|
|
48928
50281
|
*
|
|
48929
50282
|
* @param request AssociateVpnGatewayWithCertificateRequest
|
|
@@ -48983,7 +50336,7 @@ export default class Client extends OpenApi {
|
|
|
48983
50336
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being associated.
|
|
48984
50337
|
* * If the VPN gateway is in the **active** state, the SSL certificate is being associated.
|
|
48985
50338
|
* * You cannot call **AssociateVpnGatewayWithCertificate** within a specific period of time.
|
|
48986
|
-
*
|
|
50339
|
+
* ### [](#)Prerequisites
|
|
48987
50340
|
* Make sure that you have two SSL certificates that use the SM algorithm in the Certificate Management Service console. For more information about SSL certificates, see [What is Certificate Management Service?](~~28535~~).
|
|
48988
50341
|
*
|
|
48989
50342
|
* @param request AssociateVpnGatewayWithCertificateRequest
|
|
@@ -49190,7 +50543,6 @@ export default class Client extends OpenApi {
|
|
|
49190
50543
|
}
|
|
49191
50544
|
|
|
49192
50545
|
/**
|
|
49193
|
-
* ## Limits
|
|
49194
50546
|
* You can cancel only an Express Connect circuit that is in the **Initial**, **Approved**, **Allocated**, or **Confirmed** state.
|
|
49195
50547
|
*
|
|
49196
50548
|
* @param request CancelPhysicalConnectionRequest
|
|
@@ -49246,7 +50598,6 @@ export default class Client extends OpenApi {
|
|
|
49246
50598
|
}
|
|
49247
50599
|
|
|
49248
50600
|
/**
|
|
49249
|
-
* ## Limits
|
|
49250
50601
|
* You can cancel only an Express Connect circuit that is in the **Initial**, **Approved**, **Allocated**, or **Confirmed** state.
|
|
49251
50602
|
*
|
|
49252
50603
|
* @param request CancelPhysicalConnectionRequest
|
|
@@ -49258,7 +50609,8 @@ export default class Client extends OpenApi {
|
|
|
49258
50609
|
}
|
|
49259
50610
|
|
|
49260
50611
|
/**
|
|
49261
|
-
*
|
|
50612
|
+
* ## [](#)
|
|
50613
|
+
* You cannot repeatedly call the **ChangeResourceGroup** operation to modify the resource group of the same Express Connect circuit.
|
|
49262
50614
|
*
|
|
49263
50615
|
* @param request ChangeResourceGroupRequest
|
|
49264
50616
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -49301,7 +50653,8 @@ export default class Client extends OpenApi {
|
|
|
49301
50653
|
}
|
|
49302
50654
|
|
|
49303
50655
|
/**
|
|
49304
|
-
*
|
|
50656
|
+
* ## [](#)
|
|
50657
|
+
* You cannot repeatedly call the **ChangeResourceGroup** operation to modify the resource group of the same Express Connect circuit.
|
|
49305
50658
|
*
|
|
49306
50659
|
* @param request ChangeResourceGroupRequest
|
|
49307
50660
|
* @return ChangeResourceGroupResponse
|
|
@@ -49610,10 +50963,10 @@ export default class Client extends OpenApi {
|
|
|
49610
50963
|
}
|
|
49611
50964
|
|
|
49612
50965
|
/**
|
|
49613
|
-
* Before you convert a NAT
|
|
49614
|
-
* *
|
|
49615
|
-
* *
|
|
49616
|
-
* * After the
|
|
50966
|
+
* Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
|
|
50967
|
+
* * You are not charged for the conversion.
|
|
50968
|
+
* * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
|
|
50969
|
+
* * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
|
|
49617
50970
|
*
|
|
49618
50971
|
* @param request ConvertBandwidthPackageRequest
|
|
49619
50972
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -49668,10 +51021,10 @@ export default class Client extends OpenApi {
|
|
|
49668
51021
|
}
|
|
49669
51022
|
|
|
49670
51023
|
/**
|
|
49671
|
-
* Before you convert a NAT
|
|
49672
|
-
* *
|
|
49673
|
-
* *
|
|
49674
|
-
* * After the
|
|
51024
|
+
* Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
|
|
51025
|
+
* * You are not charged for the conversion.
|
|
51026
|
+
* * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
|
|
51027
|
+
* * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
|
|
49675
51028
|
*
|
|
49676
51029
|
* @param request ConvertBandwidthPackageRequest
|
|
49677
51030
|
* @return ConvertBandwidthPackageResponse
|
|
@@ -49758,7 +51111,7 @@ export default class Client extends OpenApi {
|
|
|
49758
51111
|
}
|
|
49759
51112
|
|
|
49760
51113
|
/**
|
|
49761
|
-
* You can
|
|
51114
|
+
* You can connect a VBR to a data center through BGP. Each BGP group is associated with a VBR. You can add a BGP peer that needs to communicate with a VBR to a BGP group and advertise the BGP network in the VBR.
|
|
49762
51115
|
* BGP groups are used to simplify BGP configurations. You can add BGP peers that use the same configurations to one BGP group. Before you start, you must create a BGP group with the requested autonomous system number (ASN).
|
|
49763
51116
|
* When you call this operation, take note of the following limits:
|
|
49764
51117
|
* * You can specify only the data center that is connected to the VBR through an Express Connect circuit as a BGP peer.
|
|
@@ -49852,7 +51205,7 @@ export default class Client extends OpenApi {
|
|
|
49852
51205
|
}
|
|
49853
51206
|
|
|
49854
51207
|
/**
|
|
49855
|
-
* You can
|
|
51208
|
+
* You can connect a VBR to a data center through BGP. Each BGP group is associated with a VBR. You can add a BGP peer that needs to communicate with a VBR to a BGP group and advertise the BGP network in the VBR.
|
|
49856
51209
|
* BGP groups are used to simplify BGP configurations. You can add BGP peers that use the same configurations to one BGP group. Before you start, you must create a BGP group with the requested autonomous system number (ASN).
|
|
49857
51210
|
* When you call this operation, take note of the following limits:
|
|
49858
51211
|
* * You can specify only the data center that is connected to the VBR through an Express Connect circuit as a BGP peer.
|
|
@@ -50475,6 +51828,79 @@ export default class Client extends OpenApi {
|
|
|
50475
51828
|
return await this.createExpressCloudConnectionWithOptions(request, runtime);
|
|
50476
51829
|
}
|
|
50477
51830
|
|
|
51831
|
+
async createFailoverTestJobWithOptions(request: CreateFailoverTestJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateFailoverTestJobResponse> {
|
|
51832
|
+
Util.validateModel(request);
|
|
51833
|
+
let query = { };
|
|
51834
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
51835
|
+
query["ClientToken"] = request.clientToken;
|
|
51836
|
+
}
|
|
51837
|
+
|
|
51838
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
51839
|
+
query["ClientToken"] = request.clientToken;
|
|
51840
|
+
}
|
|
51841
|
+
|
|
51842
|
+
if (!Util.isUnset(request.description)) {
|
|
51843
|
+
query["Description"] = request.description;
|
|
51844
|
+
}
|
|
51845
|
+
|
|
51846
|
+
if (!Util.isUnset(request.jobDuration)) {
|
|
51847
|
+
query["JobDuration"] = request.jobDuration;
|
|
51848
|
+
}
|
|
51849
|
+
|
|
51850
|
+
if (!Util.isUnset(request.jobType)) {
|
|
51851
|
+
query["JobType"] = request.jobType;
|
|
51852
|
+
}
|
|
51853
|
+
|
|
51854
|
+
if (!Util.isUnset(request.name)) {
|
|
51855
|
+
query["Name"] = request.name;
|
|
51856
|
+
}
|
|
51857
|
+
|
|
51858
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
51859
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
51860
|
+
}
|
|
51861
|
+
|
|
51862
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
51863
|
+
query["OwnerId"] = request.ownerId;
|
|
51864
|
+
}
|
|
51865
|
+
|
|
51866
|
+
if (!Util.isUnset(request.regionId)) {
|
|
51867
|
+
query["RegionId"] = request.regionId;
|
|
51868
|
+
}
|
|
51869
|
+
|
|
51870
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
51871
|
+
query["ResourceId"] = request.resourceId;
|
|
51872
|
+
}
|
|
51873
|
+
|
|
51874
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
51875
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
51876
|
+
}
|
|
51877
|
+
|
|
51878
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
51879
|
+
query["ResourceType"] = request.resourceType;
|
|
51880
|
+
}
|
|
51881
|
+
|
|
51882
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
51883
|
+
query: OpenApiUtil.query(query),
|
|
51884
|
+
});
|
|
51885
|
+
let params = new $OpenApi.Params({
|
|
51886
|
+
action: "CreateFailoverTestJob",
|
|
51887
|
+
version: "2016-04-28",
|
|
51888
|
+
protocol: "HTTPS",
|
|
51889
|
+
pathname: "/",
|
|
51890
|
+
method: "POST",
|
|
51891
|
+
authType: "AK",
|
|
51892
|
+
style: "RPC",
|
|
51893
|
+
reqBodyType: "formData",
|
|
51894
|
+
bodyType: "json",
|
|
51895
|
+
});
|
|
51896
|
+
return $tea.cast<CreateFailoverTestJobResponse>(await this.callApi(params, req, runtime), new CreateFailoverTestJobResponse({}));
|
|
51897
|
+
}
|
|
51898
|
+
|
|
51899
|
+
async createFailoverTestJob(request: CreateFailoverTestJobRequest): Promise<CreateFailoverTestJobResponse> {
|
|
51900
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
51901
|
+
return await this.createFailoverTestJobWithOptions(request, runtime);
|
|
51902
|
+
}
|
|
51903
|
+
|
|
50478
51904
|
/**
|
|
50479
51905
|
* **CreateFlowLog** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeFlowLogs](~~87923~~) operation to query the status of a flow log:
|
|
50480
51906
|
* * If the flow log is in the **Activating** state, the flow log is being created.
|
|
@@ -50582,12 +52008,13 @@ export default class Client extends OpenApi {
|
|
|
50582
52008
|
}
|
|
50583
52009
|
|
|
50584
52010
|
/**
|
|
50585
|
-
*
|
|
52011
|
+
* ## [](#)
|
|
52012
|
+
* Each DNAT entry consists of the following parameters: **ExternalIp**, **ExternalPort**, **IpProtocol**, **InternalIp**, and **InternalPort**. After you add a DNAT entry, the NAT gateway forwards packets over the specified protocol from **ExternalIp:ExternalPort** to **InternalIp:InternalPort** and sends responses back through the same route.
|
|
50586
52013
|
* When you call this operation, take note of the following limits:
|
|
50587
|
-
* * **CreateForwardEntry** is an asynchronous operation. After
|
|
50588
|
-
* * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the
|
|
52014
|
+
* * **CreateForwardEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
|
|
52015
|
+
* * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
|
|
50589
52016
|
* * If the DNAT entry is in the **Available** state, the DNAT entry is added.
|
|
50590
|
-
* * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within
|
|
52017
|
+
* * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within a specific period of time.
|
|
50591
52018
|
* * All combinations of **ExternalIp**, **ExternalPort**, and **IpProtocol** used in DNAT entries must be unique. You cannot distribute requests to more than one Elastic Compute Service (ECS) instance if these requests are initiated from the same source IP address, received on the same port, and use the same protocol.
|
|
50592
52019
|
* * The combinations of **IpProtocol**, **InternalIp**, and **InternalPort** must be unique.
|
|
50593
52020
|
* * If one or more DNAT entries in the DNAT table are in the **Pending** or **Modifying** state, you cannot add DNAT entries to the DNAT table.
|
|
@@ -50675,12 +52102,13 @@ export default class Client extends OpenApi {
|
|
|
50675
52102
|
}
|
|
50676
52103
|
|
|
50677
52104
|
/**
|
|
50678
|
-
*
|
|
52105
|
+
* ## [](#)
|
|
52106
|
+
* Each DNAT entry consists of the following parameters: **ExternalIp**, **ExternalPort**, **IpProtocol**, **InternalIp**, and **InternalPort**. After you add a DNAT entry, the NAT gateway forwards packets over the specified protocol from **ExternalIp:ExternalPort** to **InternalIp:InternalPort** and sends responses back through the same route.
|
|
50679
52107
|
* When you call this operation, take note of the following limits:
|
|
50680
|
-
* * **CreateForwardEntry** is an asynchronous operation. After
|
|
50681
|
-
* * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the
|
|
52108
|
+
* * **CreateForwardEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
|
|
52109
|
+
* * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
|
|
50682
52110
|
* * If the DNAT entry is in the **Available** state, the DNAT entry is added.
|
|
50683
|
-
* * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within
|
|
52111
|
+
* * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within a specific period of time.
|
|
50684
52112
|
* * All combinations of **ExternalIp**, **ExternalPort**, and **IpProtocol** used in DNAT entries must be unique. You cannot distribute requests to more than one Elastic Compute Service (ECS) instance if these requests are initiated from the same source IP address, received on the same port, and use the same protocol.
|
|
50685
52113
|
* * The combinations of **IpProtocol**, **InternalIp**, and **InternalPort** must be unique.
|
|
50686
52114
|
* * If one or more DNAT entries in the DNAT table are in the **Pending** or **Modifying** state, you cannot add DNAT entries to the DNAT table.
|
|
@@ -51328,7 +52756,7 @@ export default class Client extends OpenApi {
|
|
|
51328
52756
|
|
|
51329
52757
|
/**
|
|
51330
52758
|
* * Before you create an IPsec server, you must create a VPN gateway and enable the SSL-VPN feature for the VPN gateway. For more information, see [CreateVpnGateway](~~120363~~).
|
|
51331
|
-
* * **CreateIpsecServer** is an asynchronous operation. After
|
|
52759
|
+
* * **CreateIpsecServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task:
|
|
51332
52760
|
* * If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
51333
52761
|
* * If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
51334
52762
|
* * You cannot repeatedly call the **CreateIpsecServer** operation for the same VPN gateway within the specified period of time.
|
|
@@ -51407,7 +52835,7 @@ export default class Client extends OpenApi {
|
|
|
51407
52835
|
|
|
51408
52836
|
/**
|
|
51409
52837
|
* * Before you create an IPsec server, you must create a VPN gateway and enable the SSL-VPN feature for the VPN gateway. For more information, see [CreateVpnGateway](~~120363~~).
|
|
51410
|
-
* * **CreateIpsecServer** is an asynchronous operation. After
|
|
52838
|
+
* * **CreateIpsecServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task:
|
|
51411
52839
|
* * If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
51412
52840
|
* * If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
51413
52841
|
* * You cannot repeatedly call the **CreateIpsecServer** operation for the same VPN gateway within the specified period of time.
|
|
@@ -51609,10 +53037,10 @@ export default class Client extends OpenApi {
|
|
|
51609
53037
|
}
|
|
51610
53038
|
|
|
51611
53039
|
/**
|
|
51612
|
-
* * **CreateIpv6Gateway** is an asynchronous operation. After
|
|
53040
|
+
* * **CreateIpv6Gateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task.
|
|
51613
53041
|
* * If the IPv6 gateway is in the **Creating** state, the IPv6 gateway is being created.
|
|
51614
53042
|
* * If the IPv6 gateway is in the **Created** state, the IPv6 gateway is created.
|
|
51615
|
-
* * You cannot call the **CreateIpv6Gateway** operation
|
|
53043
|
+
* * You cannot repeatedly call the **CreateIpv6Gateway** operation within a specific time period.
|
|
51616
53044
|
*
|
|
51617
53045
|
* @param request CreateIpv6GatewayRequest
|
|
51618
53046
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -51687,10 +53115,10 @@ export default class Client extends OpenApi {
|
|
|
51687
53115
|
}
|
|
51688
53116
|
|
|
51689
53117
|
/**
|
|
51690
|
-
* * **CreateIpv6Gateway** is an asynchronous operation. After
|
|
53118
|
+
* * **CreateIpv6Gateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task.
|
|
51691
53119
|
* * If the IPv6 gateway is in the **Creating** state, the IPv6 gateway is being created.
|
|
51692
53120
|
* * If the IPv6 gateway is in the **Created** state, the IPv6 gateway is created.
|
|
51693
|
-
* * You cannot call the **CreateIpv6Gateway** operation
|
|
53121
|
+
* * You cannot repeatedly call the **CreateIpv6Gateway** operation within a specific time period.
|
|
51694
53122
|
*
|
|
51695
53123
|
* @param request CreateIpv6GatewayRequest
|
|
51696
53124
|
* @return CreateIpv6GatewayResponse
|
|
@@ -51701,14 +53129,15 @@ export default class Client extends OpenApi {
|
|
|
51701
53129
|
}
|
|
51702
53130
|
|
|
51703
53131
|
/**
|
|
53132
|
+
* ## [](#)
|
|
51704
53133
|
* Before you call this operation, take note of the following items:
|
|
51705
|
-
* *
|
|
53134
|
+
* * The first time you create a NAT gateway, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](~~174251~~).
|
|
51706
53135
|
* * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
51707
|
-
* * **CreateNatGateway** is an asynchronous operation. After
|
|
53136
|
+
* * **CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](~~36054~~) operation to query the status of the task.
|
|
51708
53137
|
* * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
51709
53138
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
51710
|
-
*
|
|
51711
|
-
* * You cannot repeatedly call the **CreateNatGateway** operation
|
|
53139
|
+
* It takes 1 to 3 minutes to create a NAT gateway.
|
|
53140
|
+
* * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
51712
53141
|
*
|
|
51713
53142
|
* @param request CreateNatGatewayRequest
|
|
51714
53143
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -51823,14 +53252,15 @@ export default class Client extends OpenApi {
|
|
|
51823
53252
|
}
|
|
51824
53253
|
|
|
51825
53254
|
/**
|
|
53255
|
+
* ## [](#)
|
|
51826
53256
|
* Before you call this operation, take note of the following items:
|
|
51827
|
-
* *
|
|
53257
|
+
* * The first time you create a NAT gateway, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](~~174251~~).
|
|
51828
53258
|
* * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
51829
|
-
* * **CreateNatGateway** is an asynchronous operation. After
|
|
53259
|
+
* * **CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](~~36054~~) operation to query the status of the task.
|
|
51830
53260
|
* * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
51831
53261
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
51832
|
-
*
|
|
51833
|
-
* * You cannot repeatedly call the **CreateNatGateway** operation
|
|
53262
|
+
* It takes 1 to 3 minutes to create a NAT gateway.
|
|
53263
|
+
* * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
51834
53264
|
*
|
|
51835
53265
|
* @param request CreateNatGatewayRequest
|
|
51836
53266
|
* @return CreateNatGatewayResponse
|
|
@@ -51841,10 +53271,11 @@ export default class Client extends OpenApi {
|
|
|
51841
53271
|
}
|
|
51842
53272
|
|
|
51843
53273
|
/**
|
|
51844
|
-
*
|
|
51845
|
-
*
|
|
53274
|
+
* ## [](#)
|
|
53275
|
+
* **CreateNatIp** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListNatIps](~~287000~~) operation to query the status of the task.
|
|
53276
|
+
* * If a NAT IP address is in the **Creating** state, the NAT IP address is being created. In this case, you can only query the NAT IP address and cannot perform other operations.
|
|
51846
53277
|
* * If a NAT IP address is in the **Available** state, the NAT IP address is created.
|
|
51847
|
-
* You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within
|
|
53278
|
+
* You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within a specific period of time.
|
|
51848
53279
|
*
|
|
51849
53280
|
* @param request CreateNatIpRequest
|
|
51850
53281
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -51923,10 +53354,11 @@ export default class Client extends OpenApi {
|
|
|
51923
53354
|
}
|
|
51924
53355
|
|
|
51925
53356
|
/**
|
|
51926
|
-
*
|
|
51927
|
-
*
|
|
53357
|
+
* ## [](#)
|
|
53358
|
+
* **CreateNatIp** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListNatIps](~~287000~~) operation to query the status of the task.
|
|
53359
|
+
* * If a NAT IP address is in the **Creating** state, the NAT IP address is being created. In this case, you can only query the NAT IP address and cannot perform other operations.
|
|
51928
53360
|
* * If a NAT IP address is in the **Available** state, the NAT IP address is created.
|
|
51929
|
-
* You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within
|
|
53361
|
+
* You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within a specific period of time.
|
|
51930
53362
|
*
|
|
51931
53363
|
* @param request CreateNatIpRequest
|
|
51932
53364
|
* @return CreateNatIpResponse
|
|
@@ -51937,6 +53369,7 @@ export default class Client extends OpenApi {
|
|
|
51937
53369
|
}
|
|
51938
53370
|
|
|
51939
53371
|
/**
|
|
53372
|
+
* ## [](#)Description
|
|
51940
53373
|
* You cannot repeatedly call the **CreateNatIpCidr** operation to create a NAT CIDR block within the specified period of time.
|
|
51941
53374
|
*
|
|
51942
53375
|
* @param request CreateNatIpCidrRequest
|
|
@@ -52012,6 +53445,7 @@ export default class Client extends OpenApi {
|
|
|
52012
53445
|
}
|
|
52013
53446
|
|
|
52014
53447
|
/**
|
|
53448
|
+
* ## [](#)Description
|
|
52015
53449
|
* You cannot repeatedly call the **CreateNatIpCidr** operation to create a NAT CIDR block within the specified period of time.
|
|
52016
53450
|
*
|
|
52017
53451
|
* @param request CreateNatIpCidrRequest
|
|
@@ -52461,13 +53895,14 @@ export default class Client extends OpenApi {
|
|
|
52461
53895
|
}
|
|
52462
53896
|
|
|
52463
53897
|
/**
|
|
52464
|
-
*
|
|
53898
|
+
* ## [](#)References
|
|
53899
|
+
* * **CreateRouteEntries** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
|
|
52465
53900
|
* * If the route entry is in the **Creating** state, the route entry is being created.
|
|
52466
53901
|
* * If the route entry is in the **Created** state, the route entry is created.
|
|
52467
53902
|
* * You cannot repeatedly call the **CreateRouteEntries** operation to create the same route entry within the specified period of time.
|
|
52468
53903
|
* **When you call this operation to add custom route entries to the route table of a vRouter, take note of the following items:**
|
|
52469
53904
|
* * A route table can contain up to 200 custom route entries.
|
|
52470
|
-
* * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the
|
|
53905
|
+
* * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the VPC.
|
|
52471
53906
|
* * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or its subnets.
|
|
52472
53907
|
* * The destination CIDR blocks (**DstCidrBlock**) of route entries in the same route table must be unique.
|
|
52473
53908
|
* * If you do not include the mask length when you specify the destination CIDR block (**DstCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
|
|
@@ -52527,13 +53962,14 @@ export default class Client extends OpenApi {
|
|
|
52527
53962
|
}
|
|
52528
53963
|
|
|
52529
53964
|
/**
|
|
52530
|
-
*
|
|
53965
|
+
* ## [](#)References
|
|
53966
|
+
* * **CreateRouteEntries** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
|
|
52531
53967
|
* * If the route entry is in the **Creating** state, the route entry is being created.
|
|
52532
53968
|
* * If the route entry is in the **Created** state, the route entry is created.
|
|
52533
53969
|
* * You cannot repeatedly call the **CreateRouteEntries** operation to create the same route entry within the specified period of time.
|
|
52534
53970
|
* **When you call this operation to add custom route entries to the route table of a vRouter, take note of the following items:**
|
|
52535
53971
|
* * A route table can contain up to 200 custom route entries.
|
|
52536
|
-
* * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the
|
|
53972
|
+
* * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the VPC.
|
|
52537
53973
|
* * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or its subnets.
|
|
52538
53974
|
* * The destination CIDR blocks (**DstCidrBlock**) of route entries in the same route table must be unique.
|
|
52539
53975
|
* * If you do not include the mask length when you specify the destination CIDR block (**DstCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
|
|
@@ -52549,24 +53985,25 @@ export default class Client extends OpenApi {
|
|
|
52549
53985
|
}
|
|
52550
53986
|
|
|
52551
53987
|
/**
|
|
52552
|
-
* * **CreateRouteEntry** is an asynchronous operation. After
|
|
52553
|
-
* * If
|
|
52554
|
-
* * If
|
|
52555
|
-
* * You cannot repeatedly call
|
|
53988
|
+
* * **CreateRouteEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task:
|
|
53989
|
+
* * If a route is in the **Creating** state, the route is being added.
|
|
53990
|
+
* * If a route is in the **Created** state, the route is added.
|
|
53991
|
+
* * You cannot repeatedly call **CreateRouteEntry** within a specific period of time.
|
|
52556
53992
|
* **When you call this operation to add a custom route entry to the route table of a vRouter, take note of the following limits:**
|
|
53993
|
+
* > When you add a route entry from a prefix list, the quota usage is calculated by adding the number of existing route entries and the maximum number of route entries of the prefix list.
|
|
52557
53994
|
* * A route table can contain up to 200 custom route entries.
|
|
52558
|
-
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or
|
|
53995
|
+
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or be a subset of the CIDR block of a vSwitch in the virtual private cloud (VPC). The destination CIDR block can contain the CIDR block of a vSwitch.
|
|
52559
53996
|
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
|
|
52560
53997
|
* * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
|
|
52561
53998
|
* * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
|
|
52562
53999
|
* * Multiple custom route entries can point to the same next hop (**NextHopId**).
|
|
52563
|
-
* * The next hop (**NextHopId**) of a custom route entry must
|
|
54000
|
+
* * The next hop (**NextHopId**) of a custom route entry must in the same VPC as the route table.
|
|
52564
54001
|
* * Equal-cost multi-path (ECMP) routing can be configured by specifying the **NextHopList** parameter.
|
|
52565
54002
|
* * When you add non-ECMP route entries, you must specify **DestinationCidrBlock**, **NextHopType**, and **NextHopId**, and you must not specify **NextHopList**.
|
|
52566
54003
|
* * When you add route entries for ECMP routing, you must specify **DestinationCidrBlock** and **NextHopList**, and you must not specify **NextHopType** or **NextHopId**.
|
|
52567
54004
|
* **When you call this operation to add a custom route entry to the route table of a VBR, take note of the following limits:**
|
|
52568
54005
|
* * A route table can contain up to 200 custom route entries.
|
|
52569
|
-
* *
|
|
54006
|
+
* * **NextHopList** is not supported.
|
|
52570
54007
|
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
|
|
52571
54008
|
* * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
|
|
52572
54009
|
* * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
|
|
@@ -52652,24 +54089,25 @@ export default class Client extends OpenApi {
|
|
|
52652
54089
|
}
|
|
52653
54090
|
|
|
52654
54091
|
/**
|
|
52655
|
-
* * **CreateRouteEntry** is an asynchronous operation. After
|
|
52656
|
-
* * If
|
|
52657
|
-
* * If
|
|
52658
|
-
* * You cannot repeatedly call
|
|
54092
|
+
* * **CreateRouteEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of the task:
|
|
54093
|
+
* * If a route is in the **Creating** state, the route is being added.
|
|
54094
|
+
* * If a route is in the **Created** state, the route is added.
|
|
54095
|
+
* * You cannot repeatedly call **CreateRouteEntry** within a specific period of time.
|
|
52659
54096
|
* **When you call this operation to add a custom route entry to the route table of a vRouter, take note of the following limits:**
|
|
54097
|
+
* > When you add a route entry from a prefix list, the quota usage is calculated by adding the number of existing route entries and the maximum number of route entries of the prefix list.
|
|
52660
54098
|
* * A route table can contain up to 200 custom route entries.
|
|
52661
|
-
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or
|
|
54099
|
+
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or be a subset of the CIDR block of a vSwitch in the virtual private cloud (VPC). The destination CIDR block can contain the CIDR block of a vSwitch.
|
|
52662
54100
|
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
|
|
52663
54101
|
* * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
|
|
52664
54102
|
* * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
|
|
52665
54103
|
* * Multiple custom route entries can point to the same next hop (**NextHopId**).
|
|
52666
|
-
* * The next hop (**NextHopId**) of a custom route entry must
|
|
54104
|
+
* * The next hop (**NextHopId**) of a custom route entry must in the same VPC as the route table.
|
|
52667
54105
|
* * Equal-cost multi-path (ECMP) routing can be configured by specifying the **NextHopList** parameter.
|
|
52668
54106
|
* * When you add non-ECMP route entries, you must specify **DestinationCidrBlock**, **NextHopType**, and **NextHopId**, and you must not specify **NextHopList**.
|
|
52669
54107
|
* * When you add route entries for ECMP routing, you must specify **DestinationCidrBlock** and **NextHopList**, and you must not specify **NextHopType** or **NextHopId**.
|
|
52670
54108
|
* **When you call this operation to add a custom route entry to the route table of a VBR, take note of the following limits:**
|
|
52671
54109
|
* * A route table can contain up to 200 custom route entries.
|
|
52672
|
-
* *
|
|
54110
|
+
* * **NextHopList** is not supported.
|
|
52673
54111
|
* * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
|
|
52674
54112
|
* * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
|
|
52675
54113
|
* * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
|
|
@@ -52779,6 +54217,7 @@ export default class Client extends OpenApi {
|
|
|
52779
54217
|
}
|
|
52780
54218
|
|
|
52781
54219
|
/**
|
|
54220
|
+
* ## [](#)
|
|
52782
54221
|
* When you call this operation, take note of the following limits:
|
|
52783
54222
|
* * You can create only one pair of interfaces to be connected between two routers.
|
|
52784
54223
|
* * You can create a maximum of five router interfaces for a router.
|
|
@@ -52932,6 +54371,7 @@ export default class Client extends OpenApi {
|
|
|
52932
54371
|
}
|
|
52933
54372
|
|
|
52934
54373
|
/**
|
|
54374
|
+
* ## [](#)
|
|
52935
54375
|
* When you call this operation, take note of the following limits:
|
|
52936
54376
|
* * You can create only one pair of interfaces to be connected between two routers.
|
|
52937
54377
|
* * You can create a maximum of five router interfaces for a router.
|
|
@@ -53108,7 +54548,7 @@ export default class Client extends OpenApi {
|
|
|
53108
54548
|
}
|
|
53109
54549
|
|
|
53110
54550
|
/**
|
|
53111
|
-
* * **CreateSslVpnServer** is an asynchronous operation. After
|
|
54551
|
+
* * **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status of the task.
|
|
53112
54552
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
53113
54553
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
53114
54554
|
* * You cannot repeatedly call the **CreateSslVpnServer** operation for the same VPN gateway within the specified period of time.
|
|
@@ -53206,7 +54646,7 @@ export default class Client extends OpenApi {
|
|
|
53206
54646
|
}
|
|
53207
54647
|
|
|
53208
54648
|
/**
|
|
53209
|
-
* * **CreateSslVpnServer** is an asynchronous operation. After
|
|
54649
|
+
* * **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status of the task.
|
|
53210
54650
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
53211
54651
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
53212
54652
|
* * You cannot repeatedly call the **CreateSslVpnServer** operation for the same VPN gateway within the specified period of time.
|
|
@@ -53629,6 +55069,120 @@ export default class Client extends OpenApi {
|
|
|
53629
55069
|
return await this.createVSwitchWithOptions(request, runtime);
|
|
53630
55070
|
}
|
|
53631
55071
|
|
|
55072
|
+
/**
|
|
55073
|
+
* ## [](#)Description
|
|
55074
|
+
* Take note of the following items:
|
|
55075
|
+
* * You can create at most 10 reserved IPv4 CIDR blocks and 10 reserved IPv6 CIDR blocks for each vSwitch in a virtual private cloud (VPC).
|
|
55076
|
+
* * After you create a reserved CIDR block for a vSwitch, the CIDR block cannot contain the IP address of the subnet gateway of the VPC to which the vSwitch belongs.
|
|
55077
|
+
* * **CreateVSwitchCidrReservation** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
|
|
55078
|
+
* * If the vSwitch is in the **Assigning** state, the reserved CIDR block is being created.
|
|
55079
|
+
* * If the vSwitch is in the **Assigned** state, the reserved CIDR block is created.
|
|
55080
|
+
* * When you create a reserved IPv4 CIDR block for a vSwitch, the first IP address and the last three IP addresses of the vSwitch are reserved by the system. The four IP addresses will not be allocated.
|
|
55081
|
+
* * When you create a reserved IPv6 CIDR block for a vSwitch, the first IP address and the last nine IP addresses of the vSwitch are reserved by the system. The 10 IP addresses will not be allocated. For example, if you create a reserved IPv4 CIDR block for a vSwitch whose CIDR block is 192.168.1.0/24, the reserved CIDR block cannot contain the following IP addresses: 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
|
|
55082
|
+
*
|
|
55083
|
+
* @param request CreateVSwitchCidrReservationRequest
|
|
55084
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
55085
|
+
* @return CreateVSwitchCidrReservationResponse
|
|
55086
|
+
*/
|
|
55087
|
+
async createVSwitchCidrReservationWithOptions(request: CreateVSwitchCidrReservationRequest, runtime: $Util.RuntimeOptions): Promise<CreateVSwitchCidrReservationResponse> {
|
|
55088
|
+
Util.validateModel(request);
|
|
55089
|
+
let query = { };
|
|
55090
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
55091
|
+
query["ClientToken"] = request.clientToken;
|
|
55092
|
+
}
|
|
55093
|
+
|
|
55094
|
+
if (!Util.isUnset(request.dryRun)) {
|
|
55095
|
+
query["DryRun"] = request.dryRun;
|
|
55096
|
+
}
|
|
55097
|
+
|
|
55098
|
+
if (!Util.isUnset(request.ipVersion)) {
|
|
55099
|
+
query["IpVersion"] = request.ipVersion;
|
|
55100
|
+
}
|
|
55101
|
+
|
|
55102
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
55103
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
55104
|
+
}
|
|
55105
|
+
|
|
55106
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
55107
|
+
query["OwnerId"] = request.ownerId;
|
|
55108
|
+
}
|
|
55109
|
+
|
|
55110
|
+
if (!Util.isUnset(request.regionId)) {
|
|
55111
|
+
query["RegionId"] = request.regionId;
|
|
55112
|
+
}
|
|
55113
|
+
|
|
55114
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
55115
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
55116
|
+
}
|
|
55117
|
+
|
|
55118
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
55119
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
55120
|
+
}
|
|
55121
|
+
|
|
55122
|
+
if (!Util.isUnset(request.tag)) {
|
|
55123
|
+
query["Tag"] = request.tag;
|
|
55124
|
+
}
|
|
55125
|
+
|
|
55126
|
+
if (!Util.isUnset(request.vSwitchCidrReservationCidr)) {
|
|
55127
|
+
query["VSwitchCidrReservationCidr"] = request.vSwitchCidrReservationCidr;
|
|
55128
|
+
}
|
|
55129
|
+
|
|
55130
|
+
if (!Util.isUnset(request.vSwitchCidrReservationDescription)) {
|
|
55131
|
+
query["VSwitchCidrReservationDescription"] = request.vSwitchCidrReservationDescription;
|
|
55132
|
+
}
|
|
55133
|
+
|
|
55134
|
+
if (!Util.isUnset(request.vSwitchCidrReservationMask)) {
|
|
55135
|
+
query["VSwitchCidrReservationMask"] = request.vSwitchCidrReservationMask;
|
|
55136
|
+
}
|
|
55137
|
+
|
|
55138
|
+
if (!Util.isUnset(request.vSwitchCidrReservationName)) {
|
|
55139
|
+
query["VSwitchCidrReservationName"] = request.vSwitchCidrReservationName;
|
|
55140
|
+
}
|
|
55141
|
+
|
|
55142
|
+
if (!Util.isUnset(request.vSwitchCidrReservationType)) {
|
|
55143
|
+
query["VSwitchCidrReservationType"] = request.vSwitchCidrReservationType;
|
|
55144
|
+
}
|
|
55145
|
+
|
|
55146
|
+
if (!Util.isUnset(request.vSwitchId)) {
|
|
55147
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
55148
|
+
}
|
|
55149
|
+
|
|
55150
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
55151
|
+
query: OpenApiUtil.query(query),
|
|
55152
|
+
});
|
|
55153
|
+
let params = new $OpenApi.Params({
|
|
55154
|
+
action: "CreateVSwitchCidrReservation",
|
|
55155
|
+
version: "2016-04-28",
|
|
55156
|
+
protocol: "HTTPS",
|
|
55157
|
+
pathname: "/",
|
|
55158
|
+
method: "POST",
|
|
55159
|
+
authType: "AK",
|
|
55160
|
+
style: "RPC",
|
|
55161
|
+
reqBodyType: "formData",
|
|
55162
|
+
bodyType: "json",
|
|
55163
|
+
});
|
|
55164
|
+
return $tea.cast<CreateVSwitchCidrReservationResponse>(await this.callApi(params, req, runtime), new CreateVSwitchCidrReservationResponse({}));
|
|
55165
|
+
}
|
|
55166
|
+
|
|
55167
|
+
/**
|
|
55168
|
+
* ## [](#)Description
|
|
55169
|
+
* Take note of the following items:
|
|
55170
|
+
* * You can create at most 10 reserved IPv4 CIDR blocks and 10 reserved IPv6 CIDR blocks for each vSwitch in a virtual private cloud (VPC).
|
|
55171
|
+
* * After you create a reserved CIDR block for a vSwitch, the CIDR block cannot contain the IP address of the subnet gateway of the VPC to which the vSwitch belongs.
|
|
55172
|
+
* * **CreateVSwitchCidrReservation** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
|
|
55173
|
+
* * If the vSwitch is in the **Assigning** state, the reserved CIDR block is being created.
|
|
55174
|
+
* * If the vSwitch is in the **Assigned** state, the reserved CIDR block is created.
|
|
55175
|
+
* * When you create a reserved IPv4 CIDR block for a vSwitch, the first IP address and the last three IP addresses of the vSwitch are reserved by the system. The four IP addresses will not be allocated.
|
|
55176
|
+
* * When you create a reserved IPv6 CIDR block for a vSwitch, the first IP address and the last nine IP addresses of the vSwitch are reserved by the system. The 10 IP addresses will not be allocated. For example, if you create a reserved IPv4 CIDR block for a vSwitch whose CIDR block is 192.168.1.0/24, the reserved CIDR block cannot contain the following IP addresses: 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
|
|
55177
|
+
*
|
|
55178
|
+
* @param request CreateVSwitchCidrReservationRequest
|
|
55179
|
+
* @return CreateVSwitchCidrReservationResponse
|
|
55180
|
+
*/
|
|
55181
|
+
async createVSwitchCidrReservation(request: CreateVSwitchCidrReservationRequest): Promise<CreateVSwitchCidrReservationResponse> {
|
|
55182
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
55183
|
+
return await this.createVSwitchCidrReservationWithOptions(request, runtime);
|
|
55184
|
+
}
|
|
55185
|
+
|
|
53632
55186
|
async createVbrHaWithOptions(request: CreateVbrHaRequest, runtime: $Util.RuntimeOptions): Promise<CreateVbrHaResponse> {
|
|
53633
55187
|
Util.validateModel(request);
|
|
53634
55188
|
let query = { };
|
|
@@ -53791,7 +55345,7 @@ export default class Client extends OpenApi {
|
|
|
53791
55345
|
}
|
|
53792
55346
|
|
|
53793
55347
|
/**
|
|
53794
|
-
* When you create a VBR, the VBR is in the **
|
|
55348
|
+
* When you create a VBR, the VBR is in the **active** state by default.
|
|
53795
55349
|
*
|
|
53796
55350
|
* @param request CreateVirtualBorderRouterRequest
|
|
53797
55351
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -53906,7 +55460,7 @@ export default class Client extends OpenApi {
|
|
|
53906
55460
|
}
|
|
53907
55461
|
|
|
53908
55462
|
/**
|
|
53909
|
-
* When you create a VBR, the VBR is in the **
|
|
55463
|
+
* When you create a VBR, the VBR is in the **active** state by default.
|
|
53910
55464
|
*
|
|
53911
55465
|
* @param request CreateVirtualBorderRouterRequest
|
|
53912
55466
|
* @return CreateVirtualBorderRouterResponse
|
|
@@ -53917,7 +55471,8 @@ export default class Client extends OpenApi {
|
|
|
53917
55471
|
}
|
|
53918
55472
|
|
|
53919
55473
|
/**
|
|
53920
|
-
*
|
|
55474
|
+
* # [](#)Description
|
|
55475
|
+
* Before you call this operation, we recommend that you learn about the workflow for creating a hosted connection and the environment requirements. For more information, see [Overview of hosted connections](~~146571~~) and [Operations performed by Express Connect partners](~~155987~~).
|
|
53921
55476
|
*
|
|
53922
55477
|
* @param request CreateVirtualPhysicalConnectionRequest
|
|
53923
55478
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -53992,7 +55547,8 @@ export default class Client extends OpenApi {
|
|
|
53992
55547
|
}
|
|
53993
55548
|
|
|
53994
55549
|
/**
|
|
53995
|
-
*
|
|
55550
|
+
* # [](#)Description
|
|
55551
|
+
* Before you call this operation, we recommend that you learn about the workflow for creating a hosted connection and the environment requirements. For more information, see [Overview of hosted connections](~~146571~~) and [Operations performed by Express Connect partners](~~155987~~).
|
|
53996
55552
|
*
|
|
53997
55553
|
* @param request CreateVirtualPhysicalConnectionRequest
|
|
53998
55554
|
* @return CreateVirtualPhysicalConnectionResponse
|
|
@@ -54306,8 +55862,8 @@ export default class Client extends OpenApi {
|
|
|
54306
55862
|
* Preparations:
|
|
54307
55863
|
* Before the Express Connect partner performs the operation, the Express Connect partner must notify the tenant and request the tenant to enable outbound data transfer billing. For more information, see [Enable outbound data transfer billing](~~274385~~).
|
|
54308
55864
|
* What to do next:
|
|
54309
|
-
* 1
|
|
54310
|
-
* 2
|
|
55865
|
+
* 1. After the Express Connect partner performs the operation, a shared port is added for the tenant account. The tenant must call the [ConfirmPhysicalConnection](~~324198~~) operation to accept the shared port.
|
|
55866
|
+
* 2. Then, the Express Connect partner must call the [AttachVbrToVpconn](~~324191~~) operation to associate the VBR with the newly added shared port that belongs to the tenant account.
|
|
54311
55867
|
*
|
|
54312
55868
|
* @param request CreateVpconnFromVbrRequest
|
|
54313
55869
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -54358,8 +55914,8 @@ export default class Client extends OpenApi {
|
|
|
54358
55914
|
* Preparations:
|
|
54359
55915
|
* Before the Express Connect partner performs the operation, the Express Connect partner must notify the tenant and request the tenant to enable outbound data transfer billing. For more information, see [Enable outbound data transfer billing](~~274385~~).
|
|
54360
55916
|
* What to do next:
|
|
54361
|
-
* 1
|
|
54362
|
-
* 2
|
|
55917
|
+
* 1. After the Express Connect partner performs the operation, a shared port is added for the tenant account. The tenant must call the [ConfirmPhysicalConnection](~~324198~~) operation to accept the shared port.
|
|
55918
|
+
* 2. Then, the Express Connect partner must call the [AttachVbrToVpconn](~~324191~~) operation to associate the VBR with the newly added shared port that belongs to the tenant account.
|
|
54363
55919
|
*
|
|
54364
55920
|
* @param request CreateVpconnFromVbrRequest
|
|
54365
55921
|
* @return CreateVpconnFromVbrResponse
|
|
@@ -54371,7 +55927,7 @@ export default class Client extends OpenApi {
|
|
|
54371
55927
|
|
|
54372
55928
|
/**
|
|
54373
55929
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
54374
|
-
* ###
|
|
55930
|
+
* ### [](#)Prerequisites
|
|
54375
55931
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
54376
55932
|
* If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
|
|
54377
55933
|
*
|
|
@@ -54485,7 +56041,7 @@ export default class Client extends OpenApi {
|
|
|
54485
56041
|
|
|
54486
56042
|
/**
|
|
54487
56043
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
54488
|
-
* ###
|
|
56044
|
+
* ### [](#)Prerequisites
|
|
54489
56045
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
54490
56046
|
* If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
|
|
54491
56047
|
*
|
|
@@ -54499,9 +56055,10 @@ export default class Client extends OpenApi {
|
|
|
54499
56055
|
|
|
54500
56056
|
/**
|
|
54501
56057
|
* * If the VPN gateway supports the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
|
|
54502
|
-
* **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags
|
|
54503
|
-
*
|
|
54504
|
-
*
|
|
56058
|
+
* **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags** array, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
|
|
56059
|
+
* For more information about the regions and zones that support the dual-tunnel mode, see [IPsec-VPN connections support the dual-tunnel mode](~~2358946~~).
|
|
56060
|
+
* * If the VPN gateway supports only the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
|
|
56061
|
+
* **ClientToken**, **CustomerGatewayId**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **RemoteCaCertificate**, and **Tags** array.
|
|
54505
56062
|
* * **CreateVpnConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
54506
56063
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
54507
56064
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -54632,9 +56189,10 @@ export default class Client extends OpenApi {
|
|
|
54632
56189
|
|
|
54633
56190
|
/**
|
|
54634
56191
|
* * If the VPN gateway supports the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
|
|
54635
|
-
* **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags
|
|
54636
|
-
*
|
|
54637
|
-
*
|
|
56192
|
+
* **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags** array, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
|
|
56193
|
+
* For more information about the regions and zones that support the dual-tunnel mode, see [IPsec-VPN connections support the dual-tunnel mode](~~2358946~~).
|
|
56194
|
+
* * If the VPN gateway supports only the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
|
|
56195
|
+
* **ClientToken**, **CustomerGatewayId**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **RemoteCaCertificate**, and **Tags** array.
|
|
54638
56196
|
* * **CreateVpnConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
54639
56197
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
54640
56198
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -55355,7 +56913,75 @@ export default class Client extends OpenApi {
|
|
|
55355
56913
|
query: OpenApiUtil.query(query),
|
|
55356
56914
|
});
|
|
55357
56915
|
let params = new $OpenApi.Params({
|
|
55358
|
-
action: "DeleteCustomerGateway",
|
|
56916
|
+
action: "DeleteCustomerGateway",
|
|
56917
|
+
version: "2016-04-28",
|
|
56918
|
+
protocol: "HTTPS",
|
|
56919
|
+
pathname: "/",
|
|
56920
|
+
method: "POST",
|
|
56921
|
+
authType: "AK",
|
|
56922
|
+
style: "RPC",
|
|
56923
|
+
reqBodyType: "formData",
|
|
56924
|
+
bodyType: "json",
|
|
56925
|
+
});
|
|
56926
|
+
return $tea.cast<DeleteCustomerGatewayResponse>(await this.callApi(params, req, runtime), new DeleteCustomerGatewayResponse({}));
|
|
56927
|
+
}
|
|
56928
|
+
|
|
56929
|
+
async deleteCustomerGateway(request: DeleteCustomerGatewayRequest): Promise<DeleteCustomerGatewayResponse> {
|
|
56930
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
56931
|
+
return await this.deleteCustomerGatewayWithOptions(request, runtime);
|
|
56932
|
+
}
|
|
56933
|
+
|
|
56934
|
+
/**
|
|
56935
|
+
* ## [](#)Description
|
|
56936
|
+
* * **DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetDhcpOptionsSet](~~189208~~) operation to query the status of the task.
|
|
56937
|
+
* * If the DHCP options set is in the **Deleting** state, the DHCP options set is being deleted.
|
|
56938
|
+
* * If you cannot query the DHCP options set, the DHCP options set is deleted.
|
|
56939
|
+
* * You cannot repeatedly call the **DeleteDhcpOptionsSet** operation to delete a DHCP options set within the specified period of time.
|
|
56940
|
+
*
|
|
56941
|
+
* @param request DeleteDhcpOptionsSetRequest
|
|
56942
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
56943
|
+
* @return DeleteDhcpOptionsSetResponse
|
|
56944
|
+
*/
|
|
56945
|
+
async deleteDhcpOptionsSetWithOptions(request: DeleteDhcpOptionsSetRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDhcpOptionsSetResponse> {
|
|
56946
|
+
Util.validateModel(request);
|
|
56947
|
+
let query = { };
|
|
56948
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
56949
|
+
query["ClientToken"] = request.clientToken;
|
|
56950
|
+
}
|
|
56951
|
+
|
|
56952
|
+
if (!Util.isUnset(request.dhcpOptionsSetId)) {
|
|
56953
|
+
query["DhcpOptionsSetId"] = request.dhcpOptionsSetId;
|
|
56954
|
+
}
|
|
56955
|
+
|
|
56956
|
+
if (!Util.isUnset(request.dryRun)) {
|
|
56957
|
+
query["DryRun"] = request.dryRun;
|
|
56958
|
+
}
|
|
56959
|
+
|
|
56960
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
56961
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
56962
|
+
}
|
|
56963
|
+
|
|
56964
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
56965
|
+
query["OwnerId"] = request.ownerId;
|
|
56966
|
+
}
|
|
56967
|
+
|
|
56968
|
+
if (!Util.isUnset(request.regionId)) {
|
|
56969
|
+
query["RegionId"] = request.regionId;
|
|
56970
|
+
}
|
|
56971
|
+
|
|
56972
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
56973
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
56974
|
+
}
|
|
56975
|
+
|
|
56976
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
56977
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
56978
|
+
}
|
|
56979
|
+
|
|
56980
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
56981
|
+
query: OpenApiUtil.query(query),
|
|
56982
|
+
});
|
|
56983
|
+
let params = new $OpenApi.Params({
|
|
56984
|
+
action: "DeleteDhcpOptionsSet",
|
|
55359
56985
|
version: "2016-04-28",
|
|
55360
56986
|
protocol: "HTTPS",
|
|
55361
56987
|
pathname: "/",
|
|
@@ -55365,37 +56991,37 @@ export default class Client extends OpenApi {
|
|
|
55365
56991
|
reqBodyType: "formData",
|
|
55366
56992
|
bodyType: "json",
|
|
55367
56993
|
});
|
|
55368
|
-
return $tea.cast<
|
|
55369
|
-
}
|
|
55370
|
-
|
|
55371
|
-
async deleteCustomerGateway(request: DeleteCustomerGatewayRequest): Promise<DeleteCustomerGatewayResponse> {
|
|
55372
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
55373
|
-
return await this.deleteCustomerGatewayWithOptions(request, runtime);
|
|
56994
|
+
return $tea.cast<DeleteDhcpOptionsSetResponse>(await this.callApi(params, req, runtime), new DeleteDhcpOptionsSetResponse({}));
|
|
55374
56995
|
}
|
|
55375
56996
|
|
|
55376
56997
|
/**
|
|
55377
|
-
*
|
|
56998
|
+
* ## [](#)Description
|
|
56999
|
+
* * **DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetDhcpOptionsSet](~~189208~~) operation to query the status of the task.
|
|
55378
57000
|
* * If the DHCP options set is in the **Deleting** state, the DHCP options set is being deleted.
|
|
55379
57001
|
* * If you cannot query the DHCP options set, the DHCP options set is deleted.
|
|
55380
57002
|
* * You cannot repeatedly call the **DeleteDhcpOptionsSet** operation to delete a DHCP options set within the specified period of time.
|
|
55381
57003
|
*
|
|
55382
57004
|
* @param request DeleteDhcpOptionsSetRequest
|
|
55383
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
55384
57005
|
* @return DeleteDhcpOptionsSetResponse
|
|
55385
57006
|
*/
|
|
55386
|
-
async
|
|
57007
|
+
async deleteDhcpOptionsSet(request: DeleteDhcpOptionsSetRequest): Promise<DeleteDhcpOptionsSetResponse> {
|
|
57008
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
57009
|
+
return await this.deleteDhcpOptionsSetWithOptions(request, runtime);
|
|
57010
|
+
}
|
|
57011
|
+
|
|
57012
|
+
async deleteFailoverTestJobWithOptions(request: DeleteFailoverTestJobRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFailoverTestJobResponse> {
|
|
55387
57013
|
Util.validateModel(request);
|
|
55388
57014
|
let query = { };
|
|
55389
57015
|
if (!Util.isUnset(request.clientToken)) {
|
|
55390
57016
|
query["ClientToken"] = request.clientToken;
|
|
55391
57017
|
}
|
|
55392
57018
|
|
|
55393
|
-
if (!Util.isUnset(request.
|
|
55394
|
-
query["
|
|
57019
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
57020
|
+
query["ClientToken"] = request.clientToken;
|
|
55395
57021
|
}
|
|
55396
57022
|
|
|
55397
|
-
if (!Util.isUnset(request.
|
|
55398
|
-
query["
|
|
57023
|
+
if (!Util.isUnset(request.jobId)) {
|
|
57024
|
+
query["JobId"] = request.jobId;
|
|
55399
57025
|
}
|
|
55400
57026
|
|
|
55401
57027
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
@@ -55414,15 +57040,11 @@ export default class Client extends OpenApi {
|
|
|
55414
57040
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
55415
57041
|
}
|
|
55416
57042
|
|
|
55417
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
55418
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
55419
|
-
}
|
|
55420
|
-
|
|
55421
57043
|
let req = new $OpenApi.OpenApiRequest({
|
|
55422
57044
|
query: OpenApiUtil.query(query),
|
|
55423
57045
|
});
|
|
55424
57046
|
let params = new $OpenApi.Params({
|
|
55425
|
-
action: "
|
|
57047
|
+
action: "DeleteFailoverTestJob",
|
|
55426
57048
|
version: "2016-04-28",
|
|
55427
57049
|
protocol: "HTTPS",
|
|
55428
57050
|
pathname: "/",
|
|
@@ -55432,21 +57054,12 @@ export default class Client extends OpenApi {
|
|
|
55432
57054
|
reqBodyType: "formData",
|
|
55433
57055
|
bodyType: "json",
|
|
55434
57056
|
});
|
|
55435
|
-
return $tea.cast<
|
|
57057
|
+
return $tea.cast<DeleteFailoverTestJobResponse>(await this.callApi(params, req, runtime), new DeleteFailoverTestJobResponse({}));
|
|
55436
57058
|
}
|
|
55437
57059
|
|
|
55438
|
-
|
|
55439
|
-
* * The **DeleteDhcpOptionsSet** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [GetDhcpOptionsSet](~~189208~~) operation to query the status of a DHCP options set:
|
|
55440
|
-
* * If the DHCP options set is in the **Deleting** state, the DHCP options set is being deleted.
|
|
55441
|
-
* * If you cannot query the DHCP options set, the DHCP options set is deleted.
|
|
55442
|
-
* * You cannot repeatedly call the **DeleteDhcpOptionsSet** operation to delete a DHCP options set within the specified period of time.
|
|
55443
|
-
*
|
|
55444
|
-
* @param request DeleteDhcpOptionsSetRequest
|
|
55445
|
-
* @return DeleteDhcpOptionsSetResponse
|
|
55446
|
-
*/
|
|
55447
|
-
async deleteDhcpOptionsSet(request: DeleteDhcpOptionsSetRequest): Promise<DeleteDhcpOptionsSetResponse> {
|
|
57060
|
+
async deleteFailoverTestJob(request: DeleteFailoverTestJobRequest): Promise<DeleteFailoverTestJobResponse> {
|
|
55448
57061
|
let runtime = new $Util.RuntimeOptions({ });
|
|
55449
|
-
return await this.
|
|
57062
|
+
return await this.deleteFailoverTestJobWithOptions(request, runtime);
|
|
55450
57063
|
}
|
|
55451
57064
|
|
|
55452
57065
|
/**
|
|
@@ -55518,7 +57131,8 @@ export default class Client extends OpenApi {
|
|
|
55518
57131
|
}
|
|
55519
57132
|
|
|
55520
57133
|
/**
|
|
55521
|
-
*
|
|
57134
|
+
* ## [](#)Description
|
|
57135
|
+
* * **DeleteForwardEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
|
|
55522
57136
|
* * If the DNAT entry is in the **Deleting** state, the system is deleting the DNAT entry. In this case, you can only query the status of the DNAT entry, but cannot perform other operations.
|
|
55523
57137
|
* * If the DNAT entry cannot be found, it is deleted.
|
|
55524
57138
|
* > If a DNAT table has DNAT entries in the **Pending** state, you cannot delete the DNAT entries.
|
|
@@ -55581,7 +57195,8 @@ export default class Client extends OpenApi {
|
|
|
55581
57195
|
}
|
|
55582
57196
|
|
|
55583
57197
|
/**
|
|
55584
|
-
*
|
|
57198
|
+
* ## [](#)Description
|
|
57199
|
+
* * **DeleteForwardEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
|
|
55585
57200
|
* * If the DNAT entry is in the **Deleting** state, the system is deleting the DNAT entry. In this case, you can only query the status of the DNAT entry, but cannot perform other operations.
|
|
55586
57201
|
* * If the DNAT entry cannot be found, it is deleted.
|
|
55587
57202
|
* > If a DNAT table has DNAT entries in the **Pending** state, you cannot delete the DNAT entries.
|
|
@@ -55596,7 +57211,8 @@ export default class Client extends OpenApi {
|
|
|
55596
57211
|
}
|
|
55597
57212
|
|
|
55598
57213
|
/**
|
|
55599
|
-
*
|
|
57214
|
+
* ## [](#)Description
|
|
57215
|
+
* **DeleteFullNatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
|
|
55600
57216
|
* * If the FULLNAT entry is in the **Deleting** state, the system is deleting the FULLNAT entry. In this case, you can query the status of the FULLNAT entry, but cannot perform other operations.
|
|
55601
57217
|
* * If the FULLNAT entry cannot be found, the FULLNAT entry is deleted.
|
|
55602
57218
|
* You cannot repeatedly call the **DeleteFullNatEntry** operation to delete a FULLNAT entry within the specified period of time.
|
|
@@ -55662,7 +57278,8 @@ export default class Client extends OpenApi {
|
|
|
55662
57278
|
}
|
|
55663
57279
|
|
|
55664
57280
|
/**
|
|
55665
|
-
*
|
|
57281
|
+
* ## [](#)Description
|
|
57282
|
+
* **DeleteFullNatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
|
|
55666
57283
|
* * If the FULLNAT entry is in the **Deleting** state, the system is deleting the FULLNAT entry. In this case, you can query the status of the FULLNAT entry, but cannot perform other operations.
|
|
55667
57284
|
* * If the FULLNAT entry cannot be found, the FULLNAT entry is deleted.
|
|
55668
57285
|
* You cannot repeatedly call the **DeleteFullNatEntry** operation to delete a FULLNAT entry within the specified period of time.
|
|
@@ -56077,10 +57694,11 @@ export default class Client extends OpenApi {
|
|
|
56077
57694
|
}
|
|
56078
57695
|
|
|
56079
57696
|
/**
|
|
57697
|
+
* ### [](#)Description
|
|
56080
57698
|
* * Before you delete an IPv4 gateway, make sure that no route tables are associated with the IPv4 gateway.
|
|
56081
|
-
* *
|
|
57699
|
+
* * **DeleteIpv4Gateway** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the task in the background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of the task.
|
|
56082
57700
|
* * If the IPv4 gateway is in the **Deleting** state, the IPv4 gateway is being deleted.
|
|
56083
|
-
* * If the IPv4 gateway cannot be queried, the
|
|
57701
|
+
* * If the IPv4 gateway cannot be queried, the IPv4 gateway is deleted.
|
|
56084
57702
|
* * After you call the **DeleteIpv4Gateway** operation to delete an IPv4 gateway, you cannot call the operation again to delete the IPv4 gateway until the deletion task is complete.
|
|
56085
57703
|
*
|
|
56086
57704
|
* @param request DeleteIpv4GatewayRequest
|
|
@@ -56144,10 +57762,11 @@ export default class Client extends OpenApi {
|
|
|
56144
57762
|
}
|
|
56145
57763
|
|
|
56146
57764
|
/**
|
|
57765
|
+
* ### [](#)Description
|
|
56147
57766
|
* * Before you delete an IPv4 gateway, make sure that no route tables are associated with the IPv4 gateway.
|
|
56148
|
-
* *
|
|
57767
|
+
* * **DeleteIpv4Gateway** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the task in the background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of the task.
|
|
56149
57768
|
* * If the IPv4 gateway is in the **Deleting** state, the IPv4 gateway is being deleted.
|
|
56150
|
-
* * If the IPv4 gateway cannot be queried, the
|
|
57769
|
+
* * If the IPv4 gateway cannot be queried, the IPv4 gateway is deleted.
|
|
56151
57770
|
* * After you call the **DeleteIpv4Gateway** operation to delete an IPv4 gateway, you cannot call the operation again to delete the IPv4 gateway until the deletion task is complete.
|
|
56152
57771
|
*
|
|
56153
57772
|
* @param request DeleteIpv4GatewayRequest
|
|
@@ -56235,12 +57854,11 @@ export default class Client extends OpenApi {
|
|
|
56235
57854
|
}
|
|
56236
57855
|
|
|
56237
57856
|
/**
|
|
56238
|
-
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
56239
|
-
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
56240
|
-
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
56241
|
-
* - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
|
|
56242
|
-
* ## Prerequisites
|
|
56243
57857
|
* Before you delete an IPv6 gateway, you must delete the egress-only rules of the IPv6 gateway. For more information, see [DeleteIpv6EgressOnlyRule](~~102201~~).
|
|
57858
|
+
* * **DeleteIpv6Gateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task:
|
|
57859
|
+
* * If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
57860
|
+
* * If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
57861
|
+
* * You cannot repeatedly call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway within the specified period of time.
|
|
56244
57862
|
*
|
|
56245
57863
|
* @param request DeleteIpv6GatewayRequest
|
|
56246
57864
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -56295,12 +57913,11 @@ export default class Client extends OpenApi {
|
|
|
56295
57913
|
}
|
|
56296
57914
|
|
|
56297
57915
|
/**
|
|
56298
|
-
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
56299
|
-
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
56300
|
-
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
56301
|
-
* - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
|
|
56302
|
-
* ## Prerequisites
|
|
56303
57916
|
* Before you delete an IPv6 gateway, you must delete the egress-only rules of the IPv6 gateway. For more information, see [DeleteIpv6EgressOnlyRule](~~102201~~).
|
|
57917
|
+
* * **DeleteIpv6Gateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task:
|
|
57918
|
+
* * If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
57919
|
+
* * If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
57920
|
+
* * You cannot repeatedly call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway within the specified period of time.
|
|
56304
57921
|
*
|
|
56305
57922
|
* @param request DeleteIpv6GatewayRequest
|
|
56306
57923
|
* @return DeleteIpv6GatewayResponse
|
|
@@ -56381,9 +57998,10 @@ export default class Client extends OpenApi {
|
|
|
56381
57998
|
}
|
|
56382
57999
|
|
|
56383
58000
|
/**
|
|
56384
|
-
*
|
|
58001
|
+
* ## [](#)Description
|
|
58002
|
+
* * **DeleteNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](~~36054~~) to query the status of the task.
|
|
56385
58003
|
* * If a NAT gateway is in the **Deleting** state, the NAT gateway is being deleted. In this case, you can query the NAT gateway but you cannot perform other operations.
|
|
56386
|
-
* * If the
|
|
58004
|
+
* * If the NAT gateway cannot be found, the NAT gateway is deleted.
|
|
56387
58005
|
* After you delete a NAT gateway, you cannot restore the NAT gateway. Proceed with caution.
|
|
56388
58006
|
* * You cannot repeatedly call the **DeleteNatGateway** operation to delete a NAT gateway within the specified period of time.
|
|
56389
58007
|
*
|
|
@@ -56440,9 +58058,10 @@ export default class Client extends OpenApi {
|
|
|
56440
58058
|
}
|
|
56441
58059
|
|
|
56442
58060
|
/**
|
|
56443
|
-
*
|
|
58061
|
+
* ## [](#)Description
|
|
58062
|
+
* * **DeleteNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](~~36054~~) to query the status of the task.
|
|
56444
58063
|
* * If a NAT gateway is in the **Deleting** state, the NAT gateway is being deleted. In this case, you can query the NAT gateway but you cannot perform other operations.
|
|
56445
|
-
* * If the
|
|
58064
|
+
* * If the NAT gateway cannot be found, the NAT gateway is deleted.
|
|
56446
58065
|
* After you delete a NAT gateway, you cannot restore the NAT gateway. Proceed with caution.
|
|
56447
58066
|
* * You cannot repeatedly call the **DeleteNatGateway** operation to delete a NAT gateway within the specified period of time.
|
|
56448
58067
|
*
|
|
@@ -56455,8 +58074,9 @@ export default class Client extends OpenApi {
|
|
|
56455
58074
|
}
|
|
56456
58075
|
|
|
56457
58076
|
/**
|
|
56458
|
-
*
|
|
56459
|
-
*
|
|
58077
|
+
* ## [](#)Description
|
|
58078
|
+
* * **DeleteNatIp** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListNatIps](~~281979~~) operation to query the status of the task.
|
|
58079
|
+
* * If the NAT IP address is in the **Deleting** state, the NAT IP address is being deleted. In this case, you can only query the NAT IP address but cannot perform other operations.
|
|
56460
58080
|
* * If the NAT IP address cannot be found, it is deleted.
|
|
56461
58081
|
* * You cannot repeatedly call the **DeleteNatIp** operation to delete a NAT IP address within the specified period of time.
|
|
56462
58082
|
*
|
|
@@ -56521,8 +58141,9 @@ export default class Client extends OpenApi {
|
|
|
56521
58141
|
}
|
|
56522
58142
|
|
|
56523
58143
|
/**
|
|
56524
|
-
*
|
|
56525
|
-
*
|
|
58144
|
+
* ## [](#)Description
|
|
58145
|
+
* * **DeleteNatIp** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListNatIps](~~281979~~) operation to query the status of the task.
|
|
58146
|
+
* * If the NAT IP address is in the **Deleting** state, the NAT IP address is being deleted. In this case, you can only query the NAT IP address but cannot perform other operations.
|
|
56526
58147
|
* * If the NAT IP address cannot be found, it is deleted.
|
|
56527
58148
|
* * You cannot repeatedly call the **DeleteNatIp** operation to delete a NAT IP address within the specified period of time.
|
|
56528
58149
|
*
|
|
@@ -56535,6 +58156,7 @@ export default class Client extends OpenApi {
|
|
|
56535
58156
|
}
|
|
56536
58157
|
|
|
56537
58158
|
/**
|
|
58159
|
+
* ## [](#)Description
|
|
56538
58160
|
* You cannot repeatedly call the **DeleteNatIpCidr** operation to delete a NAT CIDR block within the specified period of time.
|
|
56539
58161
|
*
|
|
56540
58162
|
* @param request DeleteNatIpCidrRequest
|
|
@@ -56602,6 +58224,7 @@ export default class Client extends OpenApi {
|
|
|
56602
58224
|
}
|
|
56603
58225
|
|
|
56604
58226
|
/**
|
|
58227
|
+
* ## [](#)Description
|
|
56605
58228
|
* You cannot repeatedly call the **DeleteNatIpCidr** operation to delete a NAT CIDR block within the specified period of time.
|
|
56606
58229
|
*
|
|
56607
58230
|
* @param request DeleteNatIpCidrRequest
|
|
@@ -56679,7 +58302,6 @@ export default class Client extends OpenApi {
|
|
|
56679
58302
|
}
|
|
56680
58303
|
|
|
56681
58304
|
/**
|
|
56682
|
-
* ## Limit
|
|
56683
58305
|
* You can only delete a connection over an Express Connect circuit that is in the **Rejected**, **Canceled**, **AllocationFailed**, or **Terminated** state.
|
|
56684
58306
|
*
|
|
56685
58307
|
* @param request DeletePhysicalConnectionRequest
|
|
@@ -56735,7 +58357,6 @@ export default class Client extends OpenApi {
|
|
|
56735
58357
|
}
|
|
56736
58358
|
|
|
56737
58359
|
/**
|
|
56738
|
-
* ## Limit
|
|
56739
58360
|
* You can only delete a connection over an Express Connect circuit that is in the **Rejected**, **Canceled**, **AllocationFailed**, or **Terminated** state.
|
|
56740
58361
|
*
|
|
56741
58362
|
* @param request DeletePhysicalConnectionRequest
|
|
@@ -57081,7 +58702,8 @@ export default class Client extends OpenApi {
|
|
|
57081
58702
|
}
|
|
57082
58703
|
|
|
57083
58704
|
/**
|
|
57084
|
-
*
|
|
58705
|
+
* ## [](#)Description
|
|
58706
|
+
* * **DeleteRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
|
|
57085
58707
|
* * If the custom route table is in the **Deleting** state, the custom route table is being deleted.
|
|
57086
58708
|
* * If you cannot query the custom route table, the custom route table is deleted.
|
|
57087
58709
|
* * You cannot repeatedly call the **DeleteRouteTable** operation to delete a custom route table within the specified period of time.
|
|
@@ -57139,7 +58761,8 @@ export default class Client extends OpenApi {
|
|
|
57139
58761
|
}
|
|
57140
58762
|
|
|
57141
58763
|
/**
|
|
57142
|
-
*
|
|
58764
|
+
* ## [](#)Description
|
|
58765
|
+
* * **DeleteRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
|
|
57143
58766
|
* * If the custom route table is in the **Deleting** state, the custom route table is being deleted.
|
|
57144
58767
|
* * If you cannot query the custom route table, the custom route table is deleted.
|
|
57145
58768
|
* * You cannot repeatedly call the **DeleteRouteTable** operation to delete a custom route table within the specified period of time.
|
|
@@ -57750,6 +59373,17 @@ export default class Client extends OpenApi {
|
|
|
57750
59373
|
return await this.deleteVSwitchWithOptions(request, runtime);
|
|
57751
59374
|
}
|
|
57752
59375
|
|
|
59376
|
+
/**
|
|
59377
|
+
* ## [](#)Description
|
|
59378
|
+
* * Before you call this operation, make sure that the IP address allocated to an elastic network interface (ENI) from the reserved CIDR block is deleted. If the IP address of the ENI is not deleted, call [UnassignPrivateIpAddresses](~~85919~~) or [UnassignIpv6Addresses](~~98611~~) to delete the IPv4 or IPv6 address.
|
|
59379
|
+
* * **DeleteVSwitchCidrReservation** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
|
|
59380
|
+
* * If the reserved CIDR block is in the **Releasing** state, it is being released.
|
|
59381
|
+
* * If the reserved CIDR block is in the **Released** state, it is released.
|
|
59382
|
+
*
|
|
59383
|
+
* @param request DeleteVSwitchCidrReservationRequest
|
|
59384
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
59385
|
+
* @return DeleteVSwitchCidrReservationResponse
|
|
59386
|
+
*/
|
|
57753
59387
|
async deleteVSwitchCidrReservationWithOptions(request: DeleteVSwitchCidrReservationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteVSwitchCidrReservationResponse> {
|
|
57754
59388
|
Util.validateModel(request);
|
|
57755
59389
|
let query = { };
|
|
@@ -57794,6 +59428,16 @@ export default class Client extends OpenApi {
|
|
|
57794
59428
|
return $tea.cast<DeleteVSwitchCidrReservationResponse>(await this.callApi(params, req, runtime), new DeleteVSwitchCidrReservationResponse({}));
|
|
57795
59429
|
}
|
|
57796
59430
|
|
|
59431
|
+
/**
|
|
59432
|
+
* ## [](#)Description
|
|
59433
|
+
* * Before you call this operation, make sure that the IP address allocated to an elastic network interface (ENI) from the reserved CIDR block is deleted. If the IP address of the ENI is not deleted, call [UnassignPrivateIpAddresses](~~85919~~) or [UnassignIpv6Addresses](~~98611~~) to delete the IPv4 or IPv6 address.
|
|
59434
|
+
* * **DeleteVSwitchCidrReservation** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
|
|
59435
|
+
* * If the reserved CIDR block is in the **Releasing** state, it is being released.
|
|
59436
|
+
* * If the reserved CIDR block is in the **Released** state, it is released.
|
|
59437
|
+
*
|
|
59438
|
+
* @param request DeleteVSwitchCidrReservationRequest
|
|
59439
|
+
* @return DeleteVSwitchCidrReservationResponse
|
|
59440
|
+
*/
|
|
57797
59441
|
async deleteVSwitchCidrReservation(request: DeleteVSwitchCidrReservationRequest): Promise<DeleteVSwitchCidrReservationResponse> {
|
|
57798
59442
|
let runtime = new $Util.RuntimeOptions({ });
|
|
57799
59443
|
return await this.deleteVSwitchCidrReservationWithOptions(request, runtime);
|
|
@@ -57937,11 +59581,10 @@ export default class Client extends OpenApi {
|
|
|
57937
59581
|
}
|
|
57938
59582
|
|
|
57939
59583
|
/**
|
|
57940
|
-
* ## Limits
|
|
57941
59584
|
* Before you call this operation, take note of the following limits:
|
|
57942
59585
|
* * Before you delete a VBR, you must delete all router interfaces of the VBR.
|
|
57943
|
-
* * You can delete only a VBR
|
|
57944
|
-
* * If the
|
|
59586
|
+
* * You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
|
|
59587
|
+
* * If the VBR belongs to another Alibaba Cloud account, you can delete the VBR only if it is in the **unconfirmed** state.
|
|
57945
59588
|
*
|
|
57946
59589
|
* @param request DeleteVirtualBorderRouterRequest
|
|
57947
59590
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -57996,11 +59639,10 @@ export default class Client extends OpenApi {
|
|
|
57996
59639
|
}
|
|
57997
59640
|
|
|
57998
59641
|
/**
|
|
57999
|
-
* ## Limits
|
|
58000
59642
|
* Before you call this operation, take note of the following limits:
|
|
58001
59643
|
* * Before you delete a VBR, you must delete all router interfaces of the VBR.
|
|
58002
|
-
* * You can delete only a VBR
|
|
58003
|
-
* * If the
|
|
59644
|
+
* * You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
|
|
59645
|
+
* * If the VBR belongs to another Alibaba Cloud account, you can delete the VBR only if it is in the **unconfirmed** state.
|
|
58004
59646
|
*
|
|
58005
59647
|
* @param request DeleteVirtualBorderRouterRequest
|
|
58006
59648
|
* @return DeleteVirtualBorderRouterResponse
|
|
@@ -58358,7 +60000,7 @@ export default class Client extends OpenApi {
|
|
|
58358
60000
|
}
|
|
58359
60001
|
|
|
58360
60002
|
/**
|
|
58361
|
-
* > You cannot delete a VPN gateway
|
|
60003
|
+
* > You cannot delete a VPN gateway associated with existing IPsec-VPN connections.
|
|
58362
60004
|
*
|
|
58363
60005
|
* @param request DeleteVpnGatewayRequest
|
|
58364
60006
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -58413,7 +60055,7 @@ export default class Client extends OpenApi {
|
|
|
58413
60055
|
}
|
|
58414
60056
|
|
|
58415
60057
|
/**
|
|
58416
|
-
* > You cannot delete a VPN gateway
|
|
60058
|
+
* > You cannot delete a VPN gateway associated with existing IPsec-VPN connections.
|
|
58417
60059
|
*
|
|
58418
60060
|
* @param request DeleteVpnGatewayRequest
|
|
58419
60061
|
* @return DeleteVpnGatewayResponse
|
|
@@ -59500,6 +61142,120 @@ export default class Client extends OpenApi {
|
|
|
59500
61142
|
return await this.describeEipSegmentWithOptions(request, runtime);
|
|
59501
61143
|
}
|
|
59502
61144
|
|
|
61145
|
+
async describeFailoverTestJobWithOptions(request: DescribeFailoverTestJobRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFailoverTestJobResponse> {
|
|
61146
|
+
Util.validateModel(request);
|
|
61147
|
+
let query = { };
|
|
61148
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
61149
|
+
query["ClientToken"] = request.clientToken;
|
|
61150
|
+
}
|
|
61151
|
+
|
|
61152
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
61153
|
+
query["ClientToken"] = request.clientToken;
|
|
61154
|
+
}
|
|
61155
|
+
|
|
61156
|
+
if (!Util.isUnset(request.jobId)) {
|
|
61157
|
+
query["JobId"] = request.jobId;
|
|
61158
|
+
}
|
|
61159
|
+
|
|
61160
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
61161
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
61162
|
+
}
|
|
61163
|
+
|
|
61164
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
61165
|
+
query["OwnerId"] = request.ownerId;
|
|
61166
|
+
}
|
|
61167
|
+
|
|
61168
|
+
if (!Util.isUnset(request.regionId)) {
|
|
61169
|
+
query["RegionId"] = request.regionId;
|
|
61170
|
+
}
|
|
61171
|
+
|
|
61172
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
61173
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
61174
|
+
}
|
|
61175
|
+
|
|
61176
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61177
|
+
query: OpenApiUtil.query(query),
|
|
61178
|
+
});
|
|
61179
|
+
let params = new $OpenApi.Params({
|
|
61180
|
+
action: "DescribeFailoverTestJob",
|
|
61181
|
+
version: "2016-04-28",
|
|
61182
|
+
protocol: "HTTPS",
|
|
61183
|
+
pathname: "/",
|
|
61184
|
+
method: "POST",
|
|
61185
|
+
authType: "AK",
|
|
61186
|
+
style: "RPC",
|
|
61187
|
+
reqBodyType: "formData",
|
|
61188
|
+
bodyType: "json",
|
|
61189
|
+
});
|
|
61190
|
+
return $tea.cast<DescribeFailoverTestJobResponse>(await this.callApi(params, req, runtime), new DescribeFailoverTestJobResponse({}));
|
|
61191
|
+
}
|
|
61192
|
+
|
|
61193
|
+
async describeFailoverTestJob(request: DescribeFailoverTestJobRequest): Promise<DescribeFailoverTestJobResponse> {
|
|
61194
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61195
|
+
return await this.describeFailoverTestJobWithOptions(request, runtime);
|
|
61196
|
+
}
|
|
61197
|
+
|
|
61198
|
+
async describeFailoverTestJobsWithOptions(request: DescribeFailoverTestJobsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFailoverTestJobsResponse> {
|
|
61199
|
+
Util.validateModel(request);
|
|
61200
|
+
let query = { };
|
|
61201
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
61202
|
+
query["ClientToken"] = request.clientToken;
|
|
61203
|
+
}
|
|
61204
|
+
|
|
61205
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
61206
|
+
query["ClientToken"] = request.clientToken;
|
|
61207
|
+
}
|
|
61208
|
+
|
|
61209
|
+
if (!Util.isUnset(request.filter)) {
|
|
61210
|
+
query["Filter"] = request.filter;
|
|
61211
|
+
}
|
|
61212
|
+
|
|
61213
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
61214
|
+
query["MaxResults"] = request.maxResults;
|
|
61215
|
+
}
|
|
61216
|
+
|
|
61217
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
61218
|
+
query["NextToken"] = request.nextToken;
|
|
61219
|
+
}
|
|
61220
|
+
|
|
61221
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
61222
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
61223
|
+
}
|
|
61224
|
+
|
|
61225
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
61226
|
+
query["OwnerId"] = request.ownerId;
|
|
61227
|
+
}
|
|
61228
|
+
|
|
61229
|
+
if (!Util.isUnset(request.regionId)) {
|
|
61230
|
+
query["RegionId"] = request.regionId;
|
|
61231
|
+
}
|
|
61232
|
+
|
|
61233
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
61234
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
61235
|
+
}
|
|
61236
|
+
|
|
61237
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61238
|
+
query: OpenApiUtil.query(query),
|
|
61239
|
+
});
|
|
61240
|
+
let params = new $OpenApi.Params({
|
|
61241
|
+
action: "DescribeFailoverTestJobs",
|
|
61242
|
+
version: "2016-04-28",
|
|
61243
|
+
protocol: "HTTPS",
|
|
61244
|
+
pathname: "/",
|
|
61245
|
+
method: "POST",
|
|
61246
|
+
authType: "AK",
|
|
61247
|
+
style: "RPC",
|
|
61248
|
+
reqBodyType: "formData",
|
|
61249
|
+
bodyType: "json",
|
|
61250
|
+
});
|
|
61251
|
+
return $tea.cast<DescribeFailoverTestJobsResponse>(await this.callApi(params, req, runtime), new DescribeFailoverTestJobsResponse({}));
|
|
61252
|
+
}
|
|
61253
|
+
|
|
61254
|
+
async describeFailoverTestJobs(request: DescribeFailoverTestJobsRequest): Promise<DescribeFailoverTestJobsResponse> {
|
|
61255
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61256
|
+
return await this.describeFailoverTestJobsWithOptions(request, runtime);
|
|
61257
|
+
}
|
|
61258
|
+
|
|
59503
61259
|
async describeFlowLogsWithOptions(request: DescribeFlowLogsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFlowLogsResponse> {
|
|
59504
61260
|
Util.validateModel(request);
|
|
59505
61261
|
let query = { };
|
|
@@ -61130,6 +62886,7 @@ export default class Client extends OpenApi {
|
|
|
61130
62886
|
}
|
|
61131
62887
|
|
|
61132
62888
|
/**
|
|
62889
|
+
* ## [](#)References
|
|
61133
62890
|
* Before you call the [DeleteRouteEntry](~~36013~~) operation to delete a route, you can call this operation to query the next hop of the route that you want to delete.
|
|
61134
62891
|
*
|
|
61135
62892
|
* @param request DescribeRouteEntryListRequest
|
|
@@ -61229,6 +62986,7 @@ export default class Client extends OpenApi {
|
|
|
61229
62986
|
}
|
|
61230
62987
|
|
|
61231
62988
|
/**
|
|
62989
|
+
* ## [](#)References
|
|
61232
62990
|
* Before you call the [DeleteRouteEntry](~~36013~~) operation to delete a route, you can call this operation to query the next hop of the route that you want to delete.
|
|
61233
62991
|
*
|
|
61234
62992
|
* @param request DescribeRouteEntryListRequest
|
|
@@ -63412,7 +65170,8 @@ export default class Client extends OpenApi {
|
|
|
63412
65170
|
}
|
|
63413
65171
|
|
|
63414
65172
|
/**
|
|
63415
|
-
*
|
|
65173
|
+
* ## [](#)Description
|
|
65174
|
+
* * **DetachDhcpOptionsSetFromVpc** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpcAttribute](~~94565~~) operation to query the status of the task.
|
|
63416
65175
|
* * If the DHCP options set is in the **Pending** state, the DHCP options set is being disassociated.
|
|
63417
65176
|
* * If the DHCP options set is in the **UnUsed** state, the DHCP options set is disassociated.
|
|
63418
65177
|
* * You cannot repeatedly call the **DetachDhcpOptionsSetFromVpc** operation to disassociate a DHCP options set from a VPC within the specified period of time.
|
|
@@ -63478,7 +65237,8 @@ export default class Client extends OpenApi {
|
|
|
63478
65237
|
}
|
|
63479
65238
|
|
|
63480
65239
|
/**
|
|
63481
|
-
*
|
|
65240
|
+
* ## [](#)Description
|
|
65241
|
+
* * **DetachDhcpOptionsSetFromVpc** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpcAttribute](~~94565~~) operation to query the status of the task.
|
|
63482
65242
|
* * If the DHCP options set is in the **Pending** state, the DHCP options set is being disassociated.
|
|
63483
65243
|
* * If the DHCP options set is in the **UnUsed** state, the DHCP options set is disassociated.
|
|
63484
65244
|
* * You cannot repeatedly call the **DetachDhcpOptionsSetFromVpc** operation to disassociate a DHCP options set from a VPC within the specified period of time.
|
|
@@ -63938,7 +65698,9 @@ export default class Client extends OpenApi {
|
|
|
63938
65698
|
/**
|
|
63939
65699
|
* When you call this operation, take note of the following limits:
|
|
63940
65700
|
* * You can enable only an Express Connect circuit that is in the **Confirmed** state.
|
|
63941
|
-
* * After you enable an Express Connect circuit, it
|
|
65701
|
+
* * After you enable an Express Connect circuit, it enters the **Enabled** state.
|
|
65702
|
+
* * **EnablePhysicalConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribePhysicalConnections](~~36042~~) operation to query the status of the task.
|
|
65703
|
+
* * You cannot repeatedly call **EnablePhysicalConnection** for an Express Connect circuit in the **Confirmed** state within a specific time period.
|
|
63942
65704
|
*
|
|
63943
65705
|
* @param request EnablePhysicalConnectionRequest
|
|
63944
65706
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -63999,7 +65761,9 @@ export default class Client extends OpenApi {
|
|
|
63999
65761
|
/**
|
|
64000
65762
|
* When you call this operation, take note of the following limits:
|
|
64001
65763
|
* * You can enable only an Express Connect circuit that is in the **Confirmed** state.
|
|
64002
|
-
* * After you enable an Express Connect circuit, it
|
|
65764
|
+
* * After you enable an Express Connect circuit, it enters the **Enabled** state.
|
|
65765
|
+
* * **EnablePhysicalConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribePhysicalConnections](~~36042~~) operation to query the status of the task.
|
|
65766
|
+
* * You cannot repeatedly call **EnablePhysicalConnection** for an Express Connect circuit in the **Confirmed** state within a specific time period.
|
|
64003
65767
|
*
|
|
64004
65768
|
* @param request EnablePhysicalConnectionRequest
|
|
64005
65769
|
* @return EnablePhysicalConnectionResponse
|
|
@@ -64063,7 +65827,8 @@ export default class Client extends OpenApi {
|
|
|
64063
65827
|
}
|
|
64064
65828
|
|
|
64065
65829
|
/**
|
|
64066
|
-
*
|
|
65830
|
+
* ## [](#)Description
|
|
65831
|
+
* * **EnableVpcIpv4Gateway** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the task in the background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of an IPv4 gateway.
|
|
64067
65832
|
* * If the IPv4 gateway is in the **Activating** state, the IPv4 gateway is being activated.
|
|
64068
65833
|
* * If the IPv4 gateway is in the **Created** state, the IPv4 gateway is activated.
|
|
64069
65834
|
* * You cannot repeatedly call the **EnableVpcIpv4Gateway** operation to activate an IPv4 gateway within the specified period of time.
|
|
@@ -64133,7 +65898,8 @@ export default class Client extends OpenApi {
|
|
|
64133
65898
|
}
|
|
64134
65899
|
|
|
64135
65900
|
/**
|
|
64136
|
-
*
|
|
65901
|
+
* ## [](#)Description
|
|
65902
|
+
* * **EnableVpcIpv4Gateway** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the task in the background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of an IPv4 gateway.
|
|
64137
65903
|
* * If the IPv4 gateway is in the **Activating** state, the IPv4 gateway is being activated.
|
|
64138
65904
|
* * If the IPv4 gateway is in the **Created** state, the IPv4 gateway is activated.
|
|
64139
65905
|
* * You cannot repeatedly call the **EnableVpcIpv4Gateway** operation to activate an IPv4 gateway within the specified period of time.
|
|
@@ -64478,6 +66244,63 @@ export default class Client extends OpenApi {
|
|
|
64478
66244
|
return await this.getTrafficMirrorServiceStatusWithOptions(request, runtime);
|
|
64479
66245
|
}
|
|
64480
66246
|
|
|
66247
|
+
async getVSwitchCidrReservationUsageWithOptions(request: GetVSwitchCidrReservationUsageRequest, runtime: $Util.RuntimeOptions): Promise<GetVSwitchCidrReservationUsageResponse> {
|
|
66248
|
+
Util.validateModel(request);
|
|
66249
|
+
let query = { };
|
|
66250
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
66251
|
+
query["MaxResults"] = request.maxResults;
|
|
66252
|
+
}
|
|
66253
|
+
|
|
66254
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
66255
|
+
query["NextToken"] = request.nextToken;
|
|
66256
|
+
}
|
|
66257
|
+
|
|
66258
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
66259
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
66260
|
+
}
|
|
66261
|
+
|
|
66262
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
66263
|
+
query["OwnerId"] = request.ownerId;
|
|
66264
|
+
}
|
|
66265
|
+
|
|
66266
|
+
if (!Util.isUnset(request.regionId)) {
|
|
66267
|
+
query["RegionId"] = request.regionId;
|
|
66268
|
+
}
|
|
66269
|
+
|
|
66270
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
66271
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
66272
|
+
}
|
|
66273
|
+
|
|
66274
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
66275
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
66276
|
+
}
|
|
66277
|
+
|
|
66278
|
+
if (!Util.isUnset(request.vSwitchCidrReservationId)) {
|
|
66279
|
+
query["VSwitchCidrReservationId"] = request.vSwitchCidrReservationId;
|
|
66280
|
+
}
|
|
66281
|
+
|
|
66282
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
66283
|
+
query: OpenApiUtil.query(query),
|
|
66284
|
+
});
|
|
66285
|
+
let params = new $OpenApi.Params({
|
|
66286
|
+
action: "GetVSwitchCidrReservationUsage",
|
|
66287
|
+
version: "2016-04-28",
|
|
66288
|
+
protocol: "HTTPS",
|
|
66289
|
+
pathname: "/",
|
|
66290
|
+
method: "POST",
|
|
66291
|
+
authType: "AK",
|
|
66292
|
+
style: "RPC",
|
|
66293
|
+
reqBodyType: "formData",
|
|
66294
|
+
bodyType: "json",
|
|
66295
|
+
});
|
|
66296
|
+
return $tea.cast<GetVSwitchCidrReservationUsageResponse>(await this.callApi(params, req, runtime), new GetVSwitchCidrReservationUsageResponse({}));
|
|
66297
|
+
}
|
|
66298
|
+
|
|
66299
|
+
async getVSwitchCidrReservationUsage(request: GetVSwitchCidrReservationUsageRequest): Promise<GetVSwitchCidrReservationUsageResponse> {
|
|
66300
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
66301
|
+
return await this.getVSwitchCidrReservationUsageWithOptions(request, runtime);
|
|
66302
|
+
}
|
|
66303
|
+
|
|
64481
66304
|
async getVpcGatewayEndpointAttributeWithOptions(request: GetVpcGatewayEndpointAttributeRequest, runtime: $Util.RuntimeOptions): Promise<GetVpcGatewayEndpointAttributeResponse> {
|
|
64482
66305
|
Util.validateModel(request);
|
|
64483
66306
|
let query = { };
|
|
@@ -64754,7 +66577,7 @@ export default class Client extends OpenApi {
|
|
|
64754
66577
|
|
|
64755
66578
|
/**
|
|
64756
66579
|
* * Before you can attach a network instance that belongs to another Alibaba Cloud account to your CEN instance, you must grant permissions to your CEN instance.
|
|
64757
|
-
* > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com`
|
|
66580
|
+
* > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use the `vpc.aliyuncs.com` domain name to call this operation. The API version is `2016-04-28`.
|
|
64758
66581
|
* * You cannot repeatedly call the **GrantInstanceToCen** operation to grant the permissions on a network instance to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
|
|
64759
66582
|
*
|
|
64760
66583
|
* @param request GrantInstanceToCenRequest
|
|
@@ -64823,7 +66646,7 @@ export default class Client extends OpenApi {
|
|
|
64823
66646
|
|
|
64824
66647
|
/**
|
|
64825
66648
|
* * Before you can attach a network instance that belongs to another Alibaba Cloud account to your CEN instance, you must grant permissions to your CEN instance.
|
|
64826
|
-
* > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com`
|
|
66649
|
+
* > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use the `vpc.aliyuncs.com` domain name to call this operation. The API version is `2016-04-28`.
|
|
64827
66650
|
* * You cannot repeatedly call the **GrantInstanceToCen** operation to grant the permissions on a network instance to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
|
|
64828
66651
|
*
|
|
64829
66652
|
* @param request GrantInstanceToCenRequest
|
|
@@ -65898,8 +67721,9 @@ export default class Client extends OpenApi {
|
|
|
65898
67721
|
}
|
|
65899
67722
|
|
|
65900
67723
|
/**
|
|
65901
|
-
*
|
|
65902
|
-
* *
|
|
67724
|
+
* ## [](#)
|
|
67725
|
+
* * If you want to query a specific object, you must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request.
|
|
67726
|
+
* * **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you specify only **Tag.N.Value**, an error message is returned.
|
|
65903
67727
|
* * If you specify **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.
|
|
65904
67728
|
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
|
|
65905
67729
|
*
|
|
@@ -65930,8 +67754,83 @@ export default class Client extends OpenApi {
|
|
|
65930
67754
|
query["RegionId"] = request.regionId;
|
|
65931
67755
|
}
|
|
65932
67756
|
|
|
65933
|
-
if (!Util.isUnset(request.resourceId)) {
|
|
65934
|
-
query["ResourceId"] = request.resourceId;
|
|
67757
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
67758
|
+
query["ResourceId"] = request.resourceId;
|
|
67759
|
+
}
|
|
67760
|
+
|
|
67761
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
67762
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
67763
|
+
}
|
|
67764
|
+
|
|
67765
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
67766
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
67767
|
+
}
|
|
67768
|
+
|
|
67769
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
67770
|
+
query["ResourceType"] = request.resourceType;
|
|
67771
|
+
}
|
|
67772
|
+
|
|
67773
|
+
if (!Util.isUnset(request.tag)) {
|
|
67774
|
+
query["Tag"] = request.tag;
|
|
67775
|
+
}
|
|
67776
|
+
|
|
67777
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
67778
|
+
query: OpenApiUtil.query(query),
|
|
67779
|
+
});
|
|
67780
|
+
let params = new $OpenApi.Params({
|
|
67781
|
+
action: "ListTagResourcesForExpressConnect",
|
|
67782
|
+
version: "2016-04-28",
|
|
67783
|
+
protocol: "HTTPS",
|
|
67784
|
+
pathname: "/",
|
|
67785
|
+
method: "POST",
|
|
67786
|
+
authType: "AK",
|
|
67787
|
+
style: "RPC",
|
|
67788
|
+
reqBodyType: "formData",
|
|
67789
|
+
bodyType: "json",
|
|
67790
|
+
});
|
|
67791
|
+
return $tea.cast<ListTagResourcesForExpressConnectResponse>(await this.callApi(params, req, runtime), new ListTagResourcesForExpressConnectResponse({}));
|
|
67792
|
+
}
|
|
67793
|
+
|
|
67794
|
+
/**
|
|
67795
|
+
* ## [](#)
|
|
67796
|
+
* * If you want to query a specific object, you must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request.
|
|
67797
|
+
* * **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you specify only **Tag.N.Value**, an error message is returned.
|
|
67798
|
+
* * If you specify **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.
|
|
67799
|
+
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
|
|
67800
|
+
*
|
|
67801
|
+
* @param request ListTagResourcesForExpressConnectRequest
|
|
67802
|
+
* @return ListTagResourcesForExpressConnectResponse
|
|
67803
|
+
*/
|
|
67804
|
+
async listTagResourcesForExpressConnect(request: ListTagResourcesForExpressConnectRequest): Promise<ListTagResourcesForExpressConnectResponse> {
|
|
67805
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
67806
|
+
return await this.listTagResourcesForExpressConnectWithOptions(request, runtime);
|
|
67807
|
+
}
|
|
67808
|
+
|
|
67809
|
+
async listTrafficMirrorFiltersWithOptions(request: ListTrafficMirrorFiltersRequest, runtime: $Util.RuntimeOptions): Promise<ListTrafficMirrorFiltersResponse> {
|
|
67810
|
+
Util.validateModel(request);
|
|
67811
|
+
let query = { };
|
|
67812
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
67813
|
+
query["MaxResults"] = request.maxResults;
|
|
67814
|
+
}
|
|
67815
|
+
|
|
67816
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
67817
|
+
query["NextToken"] = request.nextToken;
|
|
67818
|
+
}
|
|
67819
|
+
|
|
67820
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
67821
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
67822
|
+
}
|
|
67823
|
+
|
|
67824
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
67825
|
+
query["OwnerId"] = request.ownerId;
|
|
67826
|
+
}
|
|
67827
|
+
|
|
67828
|
+
if (!Util.isUnset(request.regionId)) {
|
|
67829
|
+
query["RegionId"] = request.regionId;
|
|
67830
|
+
}
|
|
67831
|
+
|
|
67832
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
67833
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
65935
67834
|
}
|
|
65936
67835
|
|
|
65937
67836
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
@@ -65942,19 +67841,23 @@ export default class Client extends OpenApi {
|
|
|
65942
67841
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
65943
67842
|
}
|
|
65944
67843
|
|
|
65945
|
-
if (!Util.isUnset(request.
|
|
65946
|
-
query["
|
|
67844
|
+
if (!Util.isUnset(request.tags)) {
|
|
67845
|
+
query["Tags"] = request.tags;
|
|
65947
67846
|
}
|
|
65948
67847
|
|
|
65949
|
-
if (!Util.isUnset(request.
|
|
65950
|
-
query["
|
|
67848
|
+
if (!Util.isUnset(request.trafficMirrorFilterIds)) {
|
|
67849
|
+
query["TrafficMirrorFilterIds"] = request.trafficMirrorFilterIds;
|
|
67850
|
+
}
|
|
67851
|
+
|
|
67852
|
+
if (!Util.isUnset(request.trafficMirrorFilterName)) {
|
|
67853
|
+
query["TrafficMirrorFilterName"] = request.trafficMirrorFilterName;
|
|
65951
67854
|
}
|
|
65952
67855
|
|
|
65953
67856
|
let req = new $OpenApi.OpenApiRequest({
|
|
65954
67857
|
query: OpenApiUtil.query(query),
|
|
65955
67858
|
});
|
|
65956
67859
|
let params = new $OpenApi.Params({
|
|
65957
|
-
action: "
|
|
67860
|
+
action: "ListTrafficMirrorFilters",
|
|
65958
67861
|
version: "2016-04-28",
|
|
65959
67862
|
protocol: "HTTPS",
|
|
65960
67863
|
pathname: "/",
|
|
@@ -65964,26 +67867,21 @@ export default class Client extends OpenApi {
|
|
|
65964
67867
|
reqBodyType: "formData",
|
|
65965
67868
|
bodyType: "json",
|
|
65966
67869
|
});
|
|
65967
|
-
return $tea.cast<
|
|
67870
|
+
return $tea.cast<ListTrafficMirrorFiltersResponse>(await this.callApi(params, req, runtime), new ListTrafficMirrorFiltersResponse({}));
|
|
65968
67871
|
}
|
|
65969
67872
|
|
|
65970
|
-
|
|
65971
|
-
* * You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
|
|
65972
|
-
* * **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified tag key are returned. If you specify only **Tag.N.Value**, an error message is returned.
|
|
65973
|
-
* * If you specify **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.
|
|
65974
|
-
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
|
|
65975
|
-
*
|
|
65976
|
-
* @param request ListTagResourcesForExpressConnectRequest
|
|
65977
|
-
* @return ListTagResourcesForExpressConnectResponse
|
|
65978
|
-
*/
|
|
65979
|
-
async listTagResourcesForExpressConnect(request: ListTagResourcesForExpressConnectRequest): Promise<ListTagResourcesForExpressConnectResponse> {
|
|
67873
|
+
async listTrafficMirrorFilters(request: ListTrafficMirrorFiltersRequest): Promise<ListTrafficMirrorFiltersResponse> {
|
|
65980
67874
|
let runtime = new $Util.RuntimeOptions({ });
|
|
65981
|
-
return await this.
|
|
67875
|
+
return await this.listTrafficMirrorFiltersWithOptions(request, runtime);
|
|
65982
67876
|
}
|
|
65983
67877
|
|
|
65984
|
-
async
|
|
67878
|
+
async listTrafficMirrorSessionsWithOptions(request: ListTrafficMirrorSessionsRequest, runtime: $Util.RuntimeOptions): Promise<ListTrafficMirrorSessionsResponse> {
|
|
65985
67879
|
Util.validateModel(request);
|
|
65986
67880
|
let query = { };
|
|
67881
|
+
if (!Util.isUnset(request.enabled)) {
|
|
67882
|
+
query["Enabled"] = request.enabled;
|
|
67883
|
+
}
|
|
67884
|
+
|
|
65987
67885
|
if (!Util.isUnset(request.maxResults)) {
|
|
65988
67886
|
query["MaxResults"] = request.maxResults;
|
|
65989
67887
|
}
|
|
@@ -66000,6 +67898,10 @@ export default class Client extends OpenApi {
|
|
|
66000
67898
|
query["OwnerId"] = request.ownerId;
|
|
66001
67899
|
}
|
|
66002
67900
|
|
|
67901
|
+
if (!Util.isUnset(request.priority)) {
|
|
67902
|
+
query["Priority"] = request.priority;
|
|
67903
|
+
}
|
|
67904
|
+
|
|
66003
67905
|
if (!Util.isUnset(request.regionId)) {
|
|
66004
67906
|
query["RegionId"] = request.regionId;
|
|
66005
67907
|
}
|
|
@@ -66020,19 +67922,35 @@ export default class Client extends OpenApi {
|
|
|
66020
67922
|
query["Tags"] = request.tags;
|
|
66021
67923
|
}
|
|
66022
67924
|
|
|
66023
|
-
if (!Util.isUnset(request.
|
|
66024
|
-
query["
|
|
67925
|
+
if (!Util.isUnset(request.trafficMirrorFilterId)) {
|
|
67926
|
+
query["TrafficMirrorFilterId"] = request.trafficMirrorFilterId;
|
|
66025
67927
|
}
|
|
66026
67928
|
|
|
66027
|
-
if (!Util.isUnset(request.
|
|
66028
|
-
query["
|
|
67929
|
+
if (!Util.isUnset(request.trafficMirrorSessionIds)) {
|
|
67930
|
+
query["TrafficMirrorSessionIds"] = request.trafficMirrorSessionIds;
|
|
67931
|
+
}
|
|
67932
|
+
|
|
67933
|
+
if (!Util.isUnset(request.trafficMirrorSessionName)) {
|
|
67934
|
+
query["TrafficMirrorSessionName"] = request.trafficMirrorSessionName;
|
|
67935
|
+
}
|
|
67936
|
+
|
|
67937
|
+
if (!Util.isUnset(request.trafficMirrorSourceId)) {
|
|
67938
|
+
query["TrafficMirrorSourceId"] = request.trafficMirrorSourceId;
|
|
67939
|
+
}
|
|
67940
|
+
|
|
67941
|
+
if (!Util.isUnset(request.trafficMirrorTargetId)) {
|
|
67942
|
+
query["TrafficMirrorTargetId"] = request.trafficMirrorTargetId;
|
|
67943
|
+
}
|
|
67944
|
+
|
|
67945
|
+
if (!Util.isUnset(request.virtualNetworkId)) {
|
|
67946
|
+
query["VirtualNetworkId"] = request.virtualNetworkId;
|
|
66029
67947
|
}
|
|
66030
67948
|
|
|
66031
67949
|
let req = new $OpenApi.OpenApiRequest({
|
|
66032
67950
|
query: OpenApiUtil.query(query),
|
|
66033
67951
|
});
|
|
66034
67952
|
let params = new $OpenApi.Params({
|
|
66035
|
-
action: "
|
|
67953
|
+
action: "ListTrafficMirrorSessions",
|
|
66036
67954
|
version: "2016-04-28",
|
|
66037
67955
|
protocol: "HTTPS",
|
|
66038
67956
|
pathname: "/",
|
|
@@ -66042,19 +67960,19 @@ export default class Client extends OpenApi {
|
|
|
66042
67960
|
reqBodyType: "formData",
|
|
66043
67961
|
bodyType: "json",
|
|
66044
67962
|
});
|
|
66045
|
-
return $tea.cast<
|
|
67963
|
+
return $tea.cast<ListTrafficMirrorSessionsResponse>(await this.callApi(params, req, runtime), new ListTrafficMirrorSessionsResponse({}));
|
|
66046
67964
|
}
|
|
66047
67965
|
|
|
66048
|
-
async
|
|
67966
|
+
async listTrafficMirrorSessions(request: ListTrafficMirrorSessionsRequest): Promise<ListTrafficMirrorSessionsResponse> {
|
|
66049
67967
|
let runtime = new $Util.RuntimeOptions({ });
|
|
66050
|
-
return await this.
|
|
67968
|
+
return await this.listTrafficMirrorSessionsWithOptions(request, runtime);
|
|
66051
67969
|
}
|
|
66052
67970
|
|
|
66053
|
-
async
|
|
67971
|
+
async listVSwitchCidrReservationsWithOptions(request: ListVSwitchCidrReservationsRequest, runtime: $Util.RuntimeOptions): Promise<ListVSwitchCidrReservationsResponse> {
|
|
66054
67972
|
Util.validateModel(request);
|
|
66055
67973
|
let query = { };
|
|
66056
|
-
if (!Util.isUnset(request.
|
|
66057
|
-
query["
|
|
67974
|
+
if (!Util.isUnset(request.ipVersion)) {
|
|
67975
|
+
query["IpVersion"] = request.ipVersion;
|
|
66058
67976
|
}
|
|
66059
67977
|
|
|
66060
67978
|
if (!Util.isUnset(request.maxResults)) {
|
|
@@ -66073,18 +67991,10 @@ export default class Client extends OpenApi {
|
|
|
66073
67991
|
query["OwnerId"] = request.ownerId;
|
|
66074
67992
|
}
|
|
66075
67993
|
|
|
66076
|
-
if (!Util.isUnset(request.priority)) {
|
|
66077
|
-
query["Priority"] = request.priority;
|
|
66078
|
-
}
|
|
66079
|
-
|
|
66080
67994
|
if (!Util.isUnset(request.regionId)) {
|
|
66081
67995
|
query["RegionId"] = request.regionId;
|
|
66082
67996
|
}
|
|
66083
67997
|
|
|
66084
|
-
if (!Util.isUnset(request.resourceGroupId)) {
|
|
66085
|
-
query["ResourceGroupId"] = request.resourceGroupId;
|
|
66086
|
-
}
|
|
66087
|
-
|
|
66088
67998
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
66089
67999
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
66090
68000
|
}
|
|
@@ -66097,35 +68007,23 @@ export default class Client extends OpenApi {
|
|
|
66097
68007
|
query["Tags"] = request.tags;
|
|
66098
68008
|
}
|
|
66099
68009
|
|
|
66100
|
-
if (!Util.isUnset(request.
|
|
66101
|
-
query["
|
|
66102
|
-
}
|
|
66103
|
-
|
|
66104
|
-
if (!Util.isUnset(request.trafficMirrorSessionIds)) {
|
|
66105
|
-
query["TrafficMirrorSessionIds"] = request.trafficMirrorSessionIds;
|
|
66106
|
-
}
|
|
66107
|
-
|
|
66108
|
-
if (!Util.isUnset(request.trafficMirrorSessionName)) {
|
|
66109
|
-
query["TrafficMirrorSessionName"] = request.trafficMirrorSessionName;
|
|
66110
|
-
}
|
|
66111
|
-
|
|
66112
|
-
if (!Util.isUnset(request.trafficMirrorSourceId)) {
|
|
66113
|
-
query["TrafficMirrorSourceId"] = request.trafficMirrorSourceId;
|
|
68010
|
+
if (!Util.isUnset(request.vSwitchCidrReservationIds)) {
|
|
68011
|
+
query["VSwitchCidrReservationIds"] = request.vSwitchCidrReservationIds;
|
|
66114
68012
|
}
|
|
66115
68013
|
|
|
66116
|
-
if (!Util.isUnset(request.
|
|
66117
|
-
query["
|
|
68014
|
+
if (!Util.isUnset(request.vSwitchCidrReservationType)) {
|
|
68015
|
+
query["VSwitchCidrReservationType"] = request.vSwitchCidrReservationType;
|
|
66118
68016
|
}
|
|
66119
68017
|
|
|
66120
|
-
if (!Util.isUnset(request.
|
|
66121
|
-
query["
|
|
68018
|
+
if (!Util.isUnset(request.vSwitchId)) {
|
|
68019
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
66122
68020
|
}
|
|
66123
68021
|
|
|
66124
68022
|
let req = new $OpenApi.OpenApiRequest({
|
|
66125
68023
|
query: OpenApiUtil.query(query),
|
|
66126
68024
|
});
|
|
66127
68025
|
let params = new $OpenApi.Params({
|
|
66128
|
-
action: "
|
|
68026
|
+
action: "ListVSwitchCidrReservations",
|
|
66129
68027
|
version: "2016-04-28",
|
|
66130
68028
|
protocol: "HTTPS",
|
|
66131
68029
|
pathname: "/",
|
|
@@ -66135,12 +68033,12 @@ export default class Client extends OpenApi {
|
|
|
66135
68033
|
reqBodyType: "formData",
|
|
66136
68034
|
bodyType: "json",
|
|
66137
68035
|
});
|
|
66138
|
-
return $tea.cast<
|
|
68036
|
+
return $tea.cast<ListVSwitchCidrReservationsResponse>(await this.callApi(params, req, runtime), new ListVSwitchCidrReservationsResponse({}));
|
|
66139
68037
|
}
|
|
66140
68038
|
|
|
66141
|
-
async
|
|
68039
|
+
async listVSwitchCidrReservations(request: ListVSwitchCidrReservationsRequest): Promise<ListVSwitchCidrReservationsResponse> {
|
|
66142
68040
|
let runtime = new $Util.RuntimeOptions({ });
|
|
66143
|
-
return await this.
|
|
68041
|
+
return await this.listVSwitchCidrReservationsWithOptions(request, runtime);
|
|
66144
68042
|
}
|
|
66145
68043
|
|
|
66146
68044
|
async listVirtualPhysicalConnectionsWithOptions(request: ListVirtualPhysicalConnectionsRequest, runtime: $Util.RuntimeOptions): Promise<ListVirtualPhysicalConnectionsResponse> {
|
|
@@ -67131,7 +69029,7 @@ export default class Client extends OpenApi {
|
|
|
67131
69029
|
}
|
|
67132
69030
|
|
|
67133
69031
|
/**
|
|
67134
|
-
* * **ModifyForwardEntry** is an asynchronous operation. After
|
|
69032
|
+
* * **ModifyForwardEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
|
|
67135
69033
|
* * **Pending**: indicates that the system is modifying the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
|
|
67136
69034
|
* * **Available**: indicates that the DNAT entry is modified.
|
|
67137
69035
|
* * You cannot repeatedly call the **ModifyForwardEntry** operation to modify a DNAT entry within the specified period of time.
|
|
@@ -67221,7 +69119,7 @@ export default class Client extends OpenApi {
|
|
|
67221
69119
|
}
|
|
67222
69120
|
|
|
67223
69121
|
/**
|
|
67224
|
-
* * **ModifyForwardEntry** is an asynchronous operation. After
|
|
69122
|
+
* * **ModifyForwardEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
|
|
67225
69123
|
* * **Pending**: indicates that the system is modifying the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
|
|
67226
69124
|
* * **Available**: indicates that the DNAT entry is modified.
|
|
67227
69125
|
* * You cannot repeatedly call the **ModifyForwardEntry** operation to modify a DNAT entry within the specified period of time.
|
|
@@ -67235,7 +69133,8 @@ export default class Client extends OpenApi {
|
|
|
67235
69133
|
}
|
|
67236
69134
|
|
|
67237
69135
|
/**
|
|
67238
|
-
*
|
|
69136
|
+
* ## [](#)
|
|
69137
|
+
* * **ModifyFullNatEntryAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
|
|
67239
69138
|
* * **Modifying**: indicates that the system is modifying the FULLNAT entry. You can query the FULLNAT entry, but cannot perform other operations.
|
|
67240
69139
|
* * **Available**: indicates that the FULLNAT entry is modified.
|
|
67241
69140
|
* * You cannot repeatedly call the **ModifyFullNatEntryAttribute** operation to modify a FULLNAT entry within the specified period of time.
|
|
@@ -67333,7 +69232,8 @@ export default class Client extends OpenApi {
|
|
|
67333
69232
|
}
|
|
67334
69233
|
|
|
67335
69234
|
/**
|
|
67336
|
-
*
|
|
69235
|
+
* ## [](#)
|
|
69236
|
+
* * **ModifyFullNatEntryAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
|
|
67337
69237
|
* * **Modifying**: indicates that the system is modifying the FULLNAT entry. You can query the FULLNAT entry, but cannot perform other operations.
|
|
67338
69238
|
* * **Available**: indicates that the FULLNAT entry is modified.
|
|
67339
69239
|
* * You cannot repeatedly call the **ModifyFullNatEntryAttribute** operation to modify a FULLNAT entry within the specified period of time.
|
|
@@ -68101,7 +70001,8 @@ export default class Client extends OpenApi {
|
|
|
68101
70001
|
}
|
|
68102
70002
|
|
|
68103
70003
|
/**
|
|
68104
|
-
*
|
|
70004
|
+
* ## [](#)Description
|
|
70005
|
+
* You can call this operation to query an Internet NAT gateway or a virtual private cloud (VPC) NAT gateway. The term NAT gateway in this topic refers to both NAT gateway types.
|
|
68105
70006
|
*
|
|
68106
70007
|
* @param request ModifyNatGatewayAttributeRequest
|
|
68107
70008
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -68168,7 +70069,8 @@ export default class Client extends OpenApi {
|
|
|
68168
70069
|
}
|
|
68169
70070
|
|
|
68170
70071
|
/**
|
|
68171
|
-
*
|
|
70072
|
+
* ## [](#)Description
|
|
70073
|
+
* You can call this operation to query an Internet NAT gateway or a virtual private cloud (VPC) NAT gateway. The term NAT gateway in this topic refers to both NAT gateway types.
|
|
68172
70074
|
*
|
|
68173
70075
|
* @param request ModifyNatGatewayAttributeRequest
|
|
68174
70076
|
* @return ModifyNatGatewayAttributeResponse
|
|
@@ -68273,6 +70175,7 @@ export default class Client extends OpenApi {
|
|
|
68273
70175
|
}
|
|
68274
70176
|
|
|
68275
70177
|
/**
|
|
70178
|
+
* ## [](#)Description
|
|
68276
70179
|
* You cannot repeatedly call the **ModifyNatIpAttribute** operation to modify the name and description of a NAT IP address within the specified period of time.
|
|
68277
70180
|
*
|
|
68278
70181
|
* @param request ModifyNatIpAttributeRequest
|
|
@@ -68344,6 +70247,7 @@ export default class Client extends OpenApi {
|
|
|
68344
70247
|
}
|
|
68345
70248
|
|
|
68346
70249
|
/**
|
|
70250
|
+
* ## [](#)Description
|
|
68347
70251
|
* You cannot repeatedly call the **ModifyNatIpAttribute** operation to modify the name and description of a NAT IP address within the specified period of time.
|
|
68348
70252
|
*
|
|
68349
70253
|
* @param request ModifyNatIpAttributeRequest
|
|
@@ -68489,7 +70393,6 @@ export default class Client extends OpenApi {
|
|
|
68489
70393
|
}
|
|
68490
70394
|
|
|
68491
70395
|
/**
|
|
68492
|
-
* ## Limits
|
|
68493
70396
|
* When you call this operation, take note of the following limits:
|
|
68494
70397
|
* * If an Express Connect circuit is in the **Initial**, **Enabled**, or **Rejected** state, you can modify the specifications of the Express Connect circuit and the ID of the redundant circuit.
|
|
68495
70398
|
* * If an Express Connect circuit is in the **Canceled**, **Allocating**, **AllocationFailed**, or **Terminated** state, you cannot modify the specifications of the Express Connect circuit.
|
|
@@ -68584,7 +70487,6 @@ export default class Client extends OpenApi {
|
|
|
68584
70487
|
}
|
|
68585
70488
|
|
|
68586
70489
|
/**
|
|
68587
|
-
* ## Limits
|
|
68588
70490
|
* When you call this operation, take note of the following limits:
|
|
68589
70491
|
* * If an Express Connect circuit is in the **Initial**, **Enabled**, or **Rejected** state, you can modify the specifications of the Express Connect circuit and the ID of the redundant circuit.
|
|
68590
70492
|
* * If an Express Connect circuit is in the **Canceled**, **Allocating**, **AllocationFailed**, or **Terminated** state, you cannot modify the specifications of the Express Connect circuit.
|
|
@@ -68677,6 +70579,7 @@ export default class Client extends OpenApi {
|
|
|
68677
70579
|
}
|
|
68678
70580
|
|
|
68679
70581
|
/**
|
|
70582
|
+
* ## [](#)References
|
|
68680
70583
|
* You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
68681
70584
|
*
|
|
68682
70585
|
* @param request ModifyRouteTableAttributesRequest
|
|
@@ -68736,6 +70639,7 @@ export default class Client extends OpenApi {
|
|
|
68736
70639
|
}
|
|
68737
70640
|
|
|
68738
70641
|
/**
|
|
70642
|
+
* ## [](#)References
|
|
68739
70643
|
* You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
68740
70644
|
*
|
|
68741
70645
|
* @param request ModifyRouteTableAttributesRequest
|
|
@@ -68836,8 +70740,9 @@ export default class Client extends OpenApi {
|
|
|
68836
70740
|
}
|
|
68837
70741
|
|
|
68838
70742
|
/**
|
|
70743
|
+
* ## [](#)Description
|
|
68839
70744
|
* After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
68840
|
-
* > You cannot modify the
|
|
70745
|
+
* > You cannot modify the specification of a router interface that has overdue payments.
|
|
68841
70746
|
*
|
|
68842
70747
|
* @param request ModifyRouterInterfaceSpecRequest
|
|
68843
70748
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -68896,8 +70801,9 @@ export default class Client extends OpenApi {
|
|
|
68896
70801
|
}
|
|
68897
70802
|
|
|
68898
70803
|
/**
|
|
70804
|
+
* ## [](#)Description
|
|
68899
70805
|
* After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
68900
|
-
* > You cannot modify the
|
|
70806
|
+
* > You cannot modify the specification of a router interface that has overdue payments.
|
|
68901
70807
|
*
|
|
68902
70808
|
* @param request ModifyRouterInterfaceSpecRequest
|
|
68903
70809
|
* @return ModifyRouterInterfaceSpecResponse
|
|
@@ -68908,11 +70814,12 @@ export default class Client extends OpenApi {
|
|
|
68908
70814
|
}
|
|
68909
70815
|
|
|
68910
70816
|
/**
|
|
68911
|
-
*
|
|
70817
|
+
* ## [](#)
|
|
70818
|
+
* **ModifySnatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
|
|
68912
70819
|
* * **Pending**: indicates that the system is modifying the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
|
|
68913
70820
|
* * **Available**: indicates that the SNAT entry is modified.
|
|
68914
|
-
* > **Pending
|
|
68915
|
-
* You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within
|
|
70821
|
+
* > If an SNAT entry is in the **Pending** state, it indicates that you cannot modify the SNAT entry.
|
|
70822
|
+
* You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within a specific period of time.
|
|
68916
70823
|
*
|
|
68917
70824
|
* @param request ModifySnatEntryRequest
|
|
68918
70825
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -68979,11 +70886,12 @@ export default class Client extends OpenApi {
|
|
|
68979
70886
|
}
|
|
68980
70887
|
|
|
68981
70888
|
/**
|
|
68982
|
-
*
|
|
70889
|
+
* ## [](#)
|
|
70890
|
+
* **ModifySnatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
|
|
68983
70891
|
* * **Pending**: indicates that the system is modifying the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
|
|
68984
70892
|
* * **Available**: indicates that the SNAT entry is modified.
|
|
68985
|
-
* > **Pending
|
|
68986
|
-
* You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within
|
|
70893
|
+
* > If an SNAT entry is in the **Pending** state, it indicates that you cannot modify the SNAT entry.
|
|
70894
|
+
* You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within a specific period of time.
|
|
68987
70895
|
*
|
|
68988
70896
|
* @param request ModifySnatEntryRequest
|
|
68989
70897
|
* @return ModifySnatEntryResponse
|
|
@@ -69051,7 +70959,7 @@ export default class Client extends OpenApi {
|
|
|
69051
70959
|
}
|
|
69052
70960
|
|
|
69053
70961
|
/**
|
|
69054
|
-
* * If you only
|
|
70962
|
+
* * If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
|
|
69055
70963
|
* * When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
69056
70964
|
* * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
69057
70965
|
* * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
@@ -69150,7 +71058,7 @@ export default class Client extends OpenApi {
|
|
|
69150
71058
|
}
|
|
69151
71059
|
|
|
69152
71060
|
/**
|
|
69153
|
-
* * If you only
|
|
71061
|
+
* * If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
|
|
69154
71062
|
* * When **ModifySslVpnServer** is an asynchronous operation, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
69155
71063
|
* * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
|
|
69156
71064
|
* * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
|
|
@@ -69226,7 +71134,7 @@ export default class Client extends OpenApi {
|
|
|
69226
71134
|
}
|
|
69227
71135
|
|
|
69228
71136
|
/**
|
|
69229
|
-
* You cannot repeatedly call the **ModifyVRouterAttribute** operation
|
|
71137
|
+
* You cannot repeatedly call the **ModifyVRouterAttribute** operation within a specific period of time.
|
|
69230
71138
|
*
|
|
69231
71139
|
* @param request ModifyVRouterAttributeRequest
|
|
69232
71140
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -69285,7 +71193,7 @@ export default class Client extends OpenApi {
|
|
|
69285
71193
|
}
|
|
69286
71194
|
|
|
69287
71195
|
/**
|
|
69288
|
-
* You cannot repeatedly call the **ModifyVRouterAttribute** operation
|
|
71196
|
+
* You cannot repeatedly call the **ModifyVRouterAttribute** operation within a specific period of time.
|
|
69289
71197
|
*
|
|
69290
71198
|
* @param request ModifyVRouterAttributeRequest
|
|
69291
71199
|
* @return ModifyVRouterAttributeResponse
|
|
@@ -69383,6 +71291,78 @@ export default class Client extends OpenApi {
|
|
|
69383
71291
|
return await this.modifyVSwitchAttributeWithOptions(request, runtime);
|
|
69384
71292
|
}
|
|
69385
71293
|
|
|
71294
|
+
/**
|
|
71295
|
+
* ## [](#)Usage notes
|
|
71296
|
+
* You cannot repeatedly call **ModifyVSwitchCidrReservationAttribute** within a specific time period.
|
|
71297
|
+
*
|
|
71298
|
+
* @param request ModifyVSwitchCidrReservationAttributeRequest
|
|
71299
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
71300
|
+
* @return ModifyVSwitchCidrReservationAttributeResponse
|
|
71301
|
+
*/
|
|
71302
|
+
async modifyVSwitchCidrReservationAttributeWithOptions(request: ModifyVSwitchCidrReservationAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyVSwitchCidrReservationAttributeResponse> {
|
|
71303
|
+
Util.validateModel(request);
|
|
71304
|
+
let query = { };
|
|
71305
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
71306
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
71307
|
+
}
|
|
71308
|
+
|
|
71309
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
71310
|
+
query["OwnerId"] = request.ownerId;
|
|
71311
|
+
}
|
|
71312
|
+
|
|
71313
|
+
if (!Util.isUnset(request.regionId)) {
|
|
71314
|
+
query["RegionId"] = request.regionId;
|
|
71315
|
+
}
|
|
71316
|
+
|
|
71317
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
71318
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
71319
|
+
}
|
|
71320
|
+
|
|
71321
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
71322
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
71323
|
+
}
|
|
71324
|
+
|
|
71325
|
+
if (!Util.isUnset(request.vSwitchCidrReservationDescription)) {
|
|
71326
|
+
query["VSwitchCidrReservationDescription"] = request.vSwitchCidrReservationDescription;
|
|
71327
|
+
}
|
|
71328
|
+
|
|
71329
|
+
if (!Util.isUnset(request.vSwitchCidrReservationId)) {
|
|
71330
|
+
query["VSwitchCidrReservationId"] = request.vSwitchCidrReservationId;
|
|
71331
|
+
}
|
|
71332
|
+
|
|
71333
|
+
if (!Util.isUnset(request.vSwitchCidrReservationName)) {
|
|
71334
|
+
query["VSwitchCidrReservationName"] = request.vSwitchCidrReservationName;
|
|
71335
|
+
}
|
|
71336
|
+
|
|
71337
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
71338
|
+
query: OpenApiUtil.query(query),
|
|
71339
|
+
});
|
|
71340
|
+
let params = new $OpenApi.Params({
|
|
71341
|
+
action: "ModifyVSwitchCidrReservationAttribute",
|
|
71342
|
+
version: "2016-04-28",
|
|
71343
|
+
protocol: "HTTPS",
|
|
71344
|
+
pathname: "/",
|
|
71345
|
+
method: "POST",
|
|
71346
|
+
authType: "AK",
|
|
71347
|
+
style: "RPC",
|
|
71348
|
+
reqBodyType: "formData",
|
|
71349
|
+
bodyType: "json",
|
|
71350
|
+
});
|
|
71351
|
+
return $tea.cast<ModifyVSwitchCidrReservationAttributeResponse>(await this.callApi(params, req, runtime), new ModifyVSwitchCidrReservationAttributeResponse({}));
|
|
71352
|
+
}
|
|
71353
|
+
|
|
71354
|
+
/**
|
|
71355
|
+
* ## [](#)Usage notes
|
|
71356
|
+
* You cannot repeatedly call **ModifyVSwitchCidrReservationAttribute** within a specific time period.
|
|
71357
|
+
*
|
|
71358
|
+
* @param request ModifyVSwitchCidrReservationAttributeRequest
|
|
71359
|
+
* @return ModifyVSwitchCidrReservationAttributeResponse
|
|
71360
|
+
*/
|
|
71361
|
+
async modifyVSwitchCidrReservationAttribute(request: ModifyVSwitchCidrReservationAttributeRequest): Promise<ModifyVSwitchCidrReservationAttributeResponse> {
|
|
71362
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
71363
|
+
return await this.modifyVSwitchCidrReservationAttributeWithOptions(request, runtime);
|
|
71364
|
+
}
|
|
71365
|
+
|
|
69386
71366
|
/**
|
|
69387
71367
|
* * **ModifyVcoRouteEntryWeight** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnConnection](~~53046~~) operation to query the status of the associated IPsec-VPN connection and determine whether the weight of the specified destination-based route is modified.
|
|
69388
71368
|
* * If the IPsec-VPN connection is in the **updating** state, the weight of the destination-based route is being modified.
|
|
@@ -69472,8 +71452,9 @@ export default class Client extends OpenApi {
|
|
|
69472
71452
|
}
|
|
69473
71453
|
|
|
69474
71454
|
/**
|
|
71455
|
+
* # [](#)
|
|
69475
71456
|
* * Only the owner of an Express Connect circuit can modify the **VlanId** parameter.
|
|
69476
|
-
* * One VLAN ID of an Express Connect circuit cannot be used by
|
|
71457
|
+
* * One VLAN ID of an Express Connect circuit cannot be used only by one VBR at the same time.
|
|
69477
71458
|
* * The VLAN ID of a VBR in the **Terminated** state is reserved for seven days and cannot be used by other VBRs. The VLAN ID can be used by other VBRs after 7 days.
|
|
69478
71459
|
* * You cannot set **LocalGatewayIp**, **PeerGatewayIp**, or **PeeringSubnetMask** for VBRs that do not belong to your Alibaba Cloud account.
|
|
69479
71460
|
* * Set **PeeringSubnetMask** to a subnet mask with 24 to 30 bits in length (255.255.255.0~255.255.255.252).
|
|
@@ -69596,8 +71577,9 @@ export default class Client extends OpenApi {
|
|
|
69596
71577
|
}
|
|
69597
71578
|
|
|
69598
71579
|
/**
|
|
71580
|
+
* # [](#)
|
|
69599
71581
|
* * Only the owner of an Express Connect circuit can modify the **VlanId** parameter.
|
|
69600
|
-
* * One VLAN ID of an Express Connect circuit cannot be used by
|
|
71582
|
+
* * One VLAN ID of an Express Connect circuit cannot be used only by one VBR at the same time.
|
|
69601
71583
|
* * The VLAN ID of a VBR in the **Terminated** state is reserved for seven days and cannot be used by other VBRs. The VLAN ID can be used by other VBRs after 7 days.
|
|
69602
71584
|
* * You cannot set **LocalGatewayIp**, **PeerGatewayIp**, or **PeeringSubnetMask** for VBRs that do not belong to your Alibaba Cloud account.
|
|
69603
71585
|
* * Set **PeeringSubnetMask** to a subnet mask with 24 to 30 bits in length (255.255.255.0~255.255.255.252).
|
|
@@ -69612,6 +71594,7 @@ export default class Client extends OpenApi {
|
|
|
69612
71594
|
}
|
|
69613
71595
|
|
|
69614
71596
|
/**
|
|
71597
|
+
* ## [](#)Description
|
|
69615
71598
|
* You cannot repeatedly call the **ModifyVpcAttribute** operation to modify the name and description of a VPC within the specified period of time.
|
|
69616
71599
|
*
|
|
69617
71600
|
* @param request ModifyVpcAttributeRequest
|
|
@@ -69687,6 +71670,7 @@ export default class Client extends OpenApi {
|
|
|
69687
71670
|
}
|
|
69688
71671
|
|
|
69689
71672
|
/**
|
|
71673
|
+
* ## [](#)Description
|
|
69690
71674
|
* You cannot repeatedly call the **ModifyVpcAttribute** operation to modify the name and description of a VPC within the specified period of time.
|
|
69691
71675
|
*
|
|
69692
71676
|
* @param request ModifyVpcAttributeRequest
|
|
@@ -70393,10 +72377,106 @@ export default class Client extends OpenApi {
|
|
|
70393
72377
|
query["OwnerId"] = request.ownerId;
|
|
70394
72378
|
}
|
|
70395
72379
|
|
|
70396
|
-
if (!Util.isUnset(request.priority)) {
|
|
70397
|
-
query["Priority"] = request.priority;
|
|
70398
|
-
}
|
|
70399
|
-
|
|
72380
|
+
if (!Util.isUnset(request.priority)) {
|
|
72381
|
+
query["Priority"] = request.priority;
|
|
72382
|
+
}
|
|
72383
|
+
|
|
72384
|
+
if (!Util.isUnset(request.regionId)) {
|
|
72385
|
+
query["RegionId"] = request.regionId;
|
|
72386
|
+
}
|
|
72387
|
+
|
|
72388
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
72389
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
72390
|
+
}
|
|
72391
|
+
|
|
72392
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
72393
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
72394
|
+
}
|
|
72395
|
+
|
|
72396
|
+
if (!Util.isUnset(request.routeDest)) {
|
|
72397
|
+
query["RouteDest"] = request.routeDest;
|
|
72398
|
+
}
|
|
72399
|
+
|
|
72400
|
+
if (!Util.isUnset(request.routeSource)) {
|
|
72401
|
+
query["RouteSource"] = request.routeSource;
|
|
72402
|
+
}
|
|
72403
|
+
|
|
72404
|
+
if (!Util.isUnset(request.vpnGatewayId)) {
|
|
72405
|
+
query["VpnGatewayId"] = request.vpnGatewayId;
|
|
72406
|
+
}
|
|
72407
|
+
|
|
72408
|
+
if (!Util.isUnset(request.weight)) {
|
|
72409
|
+
query["Weight"] = request.weight;
|
|
72410
|
+
}
|
|
72411
|
+
|
|
72412
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
72413
|
+
query: OpenApiUtil.query(query),
|
|
72414
|
+
});
|
|
72415
|
+
let params = new $OpenApi.Params({
|
|
72416
|
+
action: "ModifyVpnPbrRouteEntryWeight",
|
|
72417
|
+
version: "2016-04-28",
|
|
72418
|
+
protocol: "HTTPS",
|
|
72419
|
+
pathname: "/",
|
|
72420
|
+
method: "POST",
|
|
72421
|
+
authType: "AK",
|
|
72422
|
+
style: "RPC",
|
|
72423
|
+
reqBodyType: "formData",
|
|
72424
|
+
bodyType: "json",
|
|
72425
|
+
});
|
|
72426
|
+
return $tea.cast<ModifyVpnPbrRouteEntryWeightResponse>(await this.callApi(params, req, runtime), new ModifyVpnPbrRouteEntryWeightResponse({}));
|
|
72427
|
+
}
|
|
72428
|
+
|
|
72429
|
+
/**
|
|
72430
|
+
* * **ModifyVpnPbrRouteEntryWeight** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
72431
|
+
* * If a VPN gateway is in the **updating** state, the policy-based route entry is being modified.
|
|
72432
|
+
* * If a VPN gateway is in the **active** state, the policy-based route entry is modified.
|
|
72433
|
+
* * You cannot repeatedly call the **ModifyVpnPbrRouteEntryWeight** operation for the same VPN gateway within the specified period of time.
|
|
72434
|
+
*
|
|
72435
|
+
* @param request ModifyVpnPbrRouteEntryWeightRequest
|
|
72436
|
+
* @return ModifyVpnPbrRouteEntryWeightResponse
|
|
72437
|
+
*/
|
|
72438
|
+
async modifyVpnPbrRouteEntryWeight(request: ModifyVpnPbrRouteEntryWeightRequest): Promise<ModifyVpnPbrRouteEntryWeightResponse> {
|
|
72439
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
72440
|
+
return await this.modifyVpnPbrRouteEntryWeightWithOptions(request, runtime);
|
|
72441
|
+
}
|
|
72442
|
+
|
|
72443
|
+
/**
|
|
72444
|
+
* * **ModifyVpnRouteEntryWeight** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
72445
|
+
* * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
72446
|
+
* * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
72447
|
+
* * You cannot repeatedly call the **ModifyVpnRouteEntryWeight** operation to modify the weight of destination-based route for the same VPN gateway within the specified period of time.
|
|
72448
|
+
*
|
|
72449
|
+
* @param request ModifyVpnRouteEntryWeightRequest
|
|
72450
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
72451
|
+
* @return ModifyVpnRouteEntryWeightResponse
|
|
72452
|
+
*/
|
|
72453
|
+
async modifyVpnRouteEntryWeightWithOptions(request: ModifyVpnRouteEntryWeightRequest, runtime: $Util.RuntimeOptions): Promise<ModifyVpnRouteEntryWeightResponse> {
|
|
72454
|
+
Util.validateModel(request);
|
|
72455
|
+
let query = { };
|
|
72456
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
72457
|
+
query["ClientToken"] = request.clientToken;
|
|
72458
|
+
}
|
|
72459
|
+
|
|
72460
|
+
if (!Util.isUnset(request.newWeight)) {
|
|
72461
|
+
query["NewWeight"] = request.newWeight;
|
|
72462
|
+
}
|
|
72463
|
+
|
|
72464
|
+
if (!Util.isUnset(request.nextHop)) {
|
|
72465
|
+
query["NextHop"] = request.nextHop;
|
|
72466
|
+
}
|
|
72467
|
+
|
|
72468
|
+
if (!Util.isUnset(request.overlayMode)) {
|
|
72469
|
+
query["OverlayMode"] = request.overlayMode;
|
|
72470
|
+
}
|
|
72471
|
+
|
|
72472
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
72473
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
72474
|
+
}
|
|
72475
|
+
|
|
72476
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
72477
|
+
query["OwnerId"] = request.ownerId;
|
|
72478
|
+
}
|
|
72479
|
+
|
|
70400
72480
|
if (!Util.isUnset(request.regionId)) {
|
|
70401
72481
|
query["RegionId"] = request.regionId;
|
|
70402
72482
|
}
|
|
@@ -70413,10 +72493,6 @@ export default class Client extends OpenApi {
|
|
|
70413
72493
|
query["RouteDest"] = request.routeDest;
|
|
70414
72494
|
}
|
|
70415
72495
|
|
|
70416
|
-
if (!Util.isUnset(request.routeSource)) {
|
|
70417
|
-
query["RouteSource"] = request.routeSource;
|
|
70418
|
-
}
|
|
70419
|
-
|
|
70420
72496
|
if (!Util.isUnset(request.vpnGatewayId)) {
|
|
70421
72497
|
query["VpnGatewayId"] = request.vpnGatewayId;
|
|
70422
72498
|
}
|
|
@@ -70429,7 +72505,7 @@ export default class Client extends OpenApi {
|
|
|
70429
72505
|
query: OpenApiUtil.query(query),
|
|
70430
72506
|
});
|
|
70431
72507
|
let params = new $OpenApi.Params({
|
|
70432
|
-
action: "
|
|
72508
|
+
action: "ModifyVpnRouteEntryWeight",
|
|
70433
72509
|
version: "2016-04-28",
|
|
70434
72510
|
protocol: "HTTPS",
|
|
70435
72511
|
pathname: "/",
|
|
@@ -70439,21 +72515,7 @@ export default class Client extends OpenApi {
|
|
|
70439
72515
|
reqBodyType: "formData",
|
|
70440
72516
|
bodyType: "json",
|
|
70441
72517
|
});
|
|
70442
|
-
return $tea.cast<
|
|
70443
|
-
}
|
|
70444
|
-
|
|
70445
|
-
/**
|
|
70446
|
-
* * **ModifyVpnPbrRouteEntryWeight** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
70447
|
-
* * If a VPN gateway is in the **updating** state, the policy-based route entry is being modified.
|
|
70448
|
-
* * If a VPN gateway is in the **active** state, the policy-based route entry is modified.
|
|
70449
|
-
* * You cannot repeatedly call the **ModifyVpnPbrRouteEntryWeight** operation for the same VPN gateway within the specified period of time.
|
|
70450
|
-
*
|
|
70451
|
-
* @param request ModifyVpnPbrRouteEntryWeightRequest
|
|
70452
|
-
* @return ModifyVpnPbrRouteEntryWeightResponse
|
|
70453
|
-
*/
|
|
70454
|
-
async modifyVpnPbrRouteEntryWeight(request: ModifyVpnPbrRouteEntryWeightRequest): Promise<ModifyVpnPbrRouteEntryWeightResponse> {
|
|
70455
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
70456
|
-
return await this.modifyVpnPbrRouteEntryWeightWithOptions(request, runtime);
|
|
72518
|
+
return $tea.cast<ModifyVpnRouteEntryWeightResponse>(await this.callApi(params, req, runtime), new ModifyVpnRouteEntryWeightResponse({}));
|
|
70457
72519
|
}
|
|
70458
72520
|
|
|
70459
72521
|
/**
|
|
@@ -70463,26 +72525,18 @@ export default class Client extends OpenApi {
|
|
|
70463
72525
|
* * You cannot repeatedly call the **ModifyVpnRouteEntryWeight** operation to modify the weight of destination-based route for the same VPN gateway within the specified period of time.
|
|
70464
72526
|
*
|
|
70465
72527
|
* @param request ModifyVpnRouteEntryWeightRequest
|
|
70466
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
70467
72528
|
* @return ModifyVpnRouteEntryWeightResponse
|
|
70468
72529
|
*/
|
|
70469
|
-
async
|
|
72530
|
+
async modifyVpnRouteEntryWeight(request: ModifyVpnRouteEntryWeightRequest): Promise<ModifyVpnRouteEntryWeightResponse> {
|
|
72531
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
72532
|
+
return await this.modifyVpnRouteEntryWeightWithOptions(request, runtime);
|
|
72533
|
+
}
|
|
72534
|
+
|
|
72535
|
+
async moveResourceGroupWithOptions(request: MoveResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<MoveResourceGroupResponse> {
|
|
70470
72536
|
Util.validateModel(request);
|
|
70471
72537
|
let query = { };
|
|
70472
|
-
if (!Util.isUnset(request.
|
|
70473
|
-
query["
|
|
70474
|
-
}
|
|
70475
|
-
|
|
70476
|
-
if (!Util.isUnset(request.newWeight)) {
|
|
70477
|
-
query["NewWeight"] = request.newWeight;
|
|
70478
|
-
}
|
|
70479
|
-
|
|
70480
|
-
if (!Util.isUnset(request.nextHop)) {
|
|
70481
|
-
query["NextHop"] = request.nextHop;
|
|
70482
|
-
}
|
|
70483
|
-
|
|
70484
|
-
if (!Util.isUnset(request.overlayMode)) {
|
|
70485
|
-
query["OverlayMode"] = request.overlayMode;
|
|
72538
|
+
if (!Util.isUnset(request.newResourceGroupId)) {
|
|
72539
|
+
query["NewResourceGroupId"] = request.newResourceGroupId;
|
|
70486
72540
|
}
|
|
70487
72541
|
|
|
70488
72542
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
@@ -70497,6 +72551,10 @@ export default class Client extends OpenApi {
|
|
|
70497
72551
|
query["RegionId"] = request.regionId;
|
|
70498
72552
|
}
|
|
70499
72553
|
|
|
72554
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
72555
|
+
query["ResourceId"] = request.resourceId;
|
|
72556
|
+
}
|
|
72557
|
+
|
|
70500
72558
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
70501
72559
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
70502
72560
|
}
|
|
@@ -70505,23 +72563,15 @@ export default class Client extends OpenApi {
|
|
|
70505
72563
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
70506
72564
|
}
|
|
70507
72565
|
|
|
70508
|
-
if (!Util.isUnset(request.
|
|
70509
|
-
query["
|
|
70510
|
-
}
|
|
70511
|
-
|
|
70512
|
-
if (!Util.isUnset(request.vpnGatewayId)) {
|
|
70513
|
-
query["VpnGatewayId"] = request.vpnGatewayId;
|
|
70514
|
-
}
|
|
70515
|
-
|
|
70516
|
-
if (!Util.isUnset(request.weight)) {
|
|
70517
|
-
query["Weight"] = request.weight;
|
|
72566
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
72567
|
+
query["ResourceType"] = request.resourceType;
|
|
70518
72568
|
}
|
|
70519
72569
|
|
|
70520
72570
|
let req = new $OpenApi.OpenApiRequest({
|
|
70521
72571
|
query: OpenApiUtil.query(query),
|
|
70522
72572
|
});
|
|
70523
72573
|
let params = new $OpenApi.Params({
|
|
70524
|
-
action: "
|
|
72574
|
+
action: "MoveResourceGroup",
|
|
70525
72575
|
version: "2016-04-28",
|
|
70526
72576
|
protocol: "HTTPS",
|
|
70527
72577
|
pathname: "/",
|
|
@@ -70531,26 +72581,21 @@ export default class Client extends OpenApi {
|
|
|
70531
72581
|
reqBodyType: "formData",
|
|
70532
72582
|
bodyType: "json",
|
|
70533
72583
|
});
|
|
70534
|
-
return $tea.cast<
|
|
72584
|
+
return $tea.cast<MoveResourceGroupResponse>(await this.callApi(params, req, runtime), new MoveResourceGroupResponse({}));
|
|
70535
72585
|
}
|
|
70536
72586
|
|
|
70537
|
-
|
|
70538
|
-
* * **ModifyVpnRouteEntryWeight** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
70539
|
-
* * If the VPN gateway is in the **updating** state, the weight of the destination-based route is being modified.
|
|
70540
|
-
* * If the VPN gateway is in the **active** state, the weight of the destination-based route is modified.
|
|
70541
|
-
* * You cannot repeatedly call the **ModifyVpnRouteEntryWeight** operation to modify the weight of destination-based route for the same VPN gateway within the specified period of time.
|
|
70542
|
-
*
|
|
70543
|
-
* @param request ModifyVpnRouteEntryWeightRequest
|
|
70544
|
-
* @return ModifyVpnRouteEntryWeightResponse
|
|
70545
|
-
*/
|
|
70546
|
-
async modifyVpnRouteEntryWeight(request: ModifyVpnRouteEntryWeightRequest): Promise<ModifyVpnRouteEntryWeightResponse> {
|
|
72587
|
+
async moveResourceGroup(request: MoveResourceGroupRequest): Promise<MoveResourceGroupResponse> {
|
|
70547
72588
|
let runtime = new $Util.RuntimeOptions({ });
|
|
70548
|
-
return await this.
|
|
72589
|
+
return await this.moveResourceGroupWithOptions(request, runtime);
|
|
70549
72590
|
}
|
|
70550
72591
|
|
|
70551
|
-
async
|
|
72592
|
+
async moveVpnResourceGroupWithOptions(request: MoveVpnResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<MoveVpnResourceGroupResponse> {
|
|
70552
72593
|
Util.validateModel(request);
|
|
70553
72594
|
let query = { };
|
|
72595
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
72596
|
+
query["InstanceId"] = request.instanceId;
|
|
72597
|
+
}
|
|
72598
|
+
|
|
70554
72599
|
if (!Util.isUnset(request.newResourceGroupId)) {
|
|
70555
72600
|
query["NewResourceGroupId"] = request.newResourceGroupId;
|
|
70556
72601
|
}
|
|
@@ -70567,10 +72612,6 @@ export default class Client extends OpenApi {
|
|
|
70567
72612
|
query["RegionId"] = request.regionId;
|
|
70568
72613
|
}
|
|
70569
72614
|
|
|
70570
|
-
if (!Util.isUnset(request.resourceId)) {
|
|
70571
|
-
query["ResourceId"] = request.resourceId;
|
|
70572
|
-
}
|
|
70573
|
-
|
|
70574
72615
|
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
70575
72616
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
70576
72617
|
}
|
|
@@ -70587,7 +72628,7 @@ export default class Client extends OpenApi {
|
|
|
70587
72628
|
query: OpenApiUtil.query(query),
|
|
70588
72629
|
});
|
|
70589
72630
|
let params = new $OpenApi.Params({
|
|
70590
|
-
action: "
|
|
72631
|
+
action: "MoveVpnResourceGroup",
|
|
70591
72632
|
version: "2016-04-28",
|
|
70592
72633
|
protocol: "HTTPS",
|
|
70593
72634
|
pathname: "/",
|
|
@@ -70597,12 +72638,12 @@ export default class Client extends OpenApi {
|
|
|
70597
72638
|
reqBodyType: "formData",
|
|
70598
72639
|
bodyType: "json",
|
|
70599
72640
|
});
|
|
70600
|
-
return $tea.cast<
|
|
72641
|
+
return $tea.cast<MoveVpnResourceGroupResponse>(await this.callApi(params, req, runtime), new MoveVpnResourceGroupResponse({}));
|
|
70601
72642
|
}
|
|
70602
72643
|
|
|
70603
|
-
async
|
|
72644
|
+
async moveVpnResourceGroup(request: MoveVpnResourceGroupRequest): Promise<MoveVpnResourceGroupResponse> {
|
|
70604
72645
|
let runtime = new $Util.RuntimeOptions({ });
|
|
70605
|
-
return await this.
|
|
72646
|
+
return await this.moveVpnResourceGroupWithOptions(request, runtime);
|
|
70606
72647
|
}
|
|
70607
72648
|
|
|
70608
72649
|
/**
|
|
@@ -70719,6 +72760,7 @@ export default class Client extends OpenApi {
|
|
|
70719
72760
|
}
|
|
70720
72761
|
|
|
70721
72762
|
/**
|
|
72763
|
+
* ## [](#)Usage notes
|
|
70722
72764
|
* You can enable traffic mirroring for different regions. You cannot repeatedly call the **OpenTrafficMirrorService** operation to enable traffic mirroring for one region within the specified period of time.
|
|
70723
72765
|
*
|
|
70724
72766
|
* @param request OpenTrafficMirrorServiceRequest
|
|
@@ -70774,6 +72816,7 @@ export default class Client extends OpenApi {
|
|
|
70774
72816
|
}
|
|
70775
72817
|
|
|
70776
72818
|
/**
|
|
72819
|
+
* ## [](#)Usage notes
|
|
70777
72820
|
* You can enable traffic mirroring for different regions. You cannot repeatedly call the **OpenTrafficMirrorService** operation to enable traffic mirroring for one region within the specified period of time.
|
|
70778
72821
|
*
|
|
70779
72822
|
* @param request OpenTrafficMirrorServiceRequest
|
|
@@ -70854,6 +72897,7 @@ export default class Client extends OpenApi {
|
|
|
70854
72897
|
}
|
|
70855
72898
|
|
|
70856
72899
|
/**
|
|
72900
|
+
* # [](#)Description
|
|
70857
72901
|
* You can call this API operation to resume a suspended Express Connect circuit. You can resume only shared Express Connect circuits by calling this API operation.
|
|
70858
72902
|
*
|
|
70859
72903
|
* @param request RecoverPhysicalConnectionRequest
|
|
@@ -70897,6 +72941,7 @@ export default class Client extends OpenApi {
|
|
|
70897
72941
|
}
|
|
70898
72942
|
|
|
70899
72943
|
/**
|
|
72944
|
+
* # [](#)Description
|
|
70900
72945
|
* You can call this API operation to resume a suspended Express Connect circuit. You can resume only shared Express Connect circuits by calling this API operation.
|
|
70901
72946
|
*
|
|
70902
72947
|
* @param request RecoverPhysicalConnectionRequest
|
|
@@ -70908,7 +72953,7 @@ export default class Client extends OpenApi {
|
|
|
70908
72953
|
}
|
|
70909
72954
|
|
|
70910
72955
|
/**
|
|
70911
|
-
* After the operation is called, the
|
|
72956
|
+
* After the operation is called, the VBR changes from the **terminated** state to the **recovering** state. When the VBR recovers, it enters the **active** state.
|
|
70912
72957
|
* When you call this operation, take note of the following items:
|
|
70913
72958
|
* * Only the owner of the Express Connect circuit can call this operation.
|
|
70914
72959
|
* * The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
|
|
@@ -70966,7 +73011,7 @@ export default class Client extends OpenApi {
|
|
|
70966
73011
|
}
|
|
70967
73012
|
|
|
70968
73013
|
/**
|
|
70969
|
-
* After the operation is called, the
|
|
73014
|
+
* After the operation is called, the VBR changes from the **terminated** state to the **recovering** state. When the VBR recovers, it enters the **active** state.
|
|
70970
73015
|
* When you call this operation, take note of the following items:
|
|
70971
73016
|
* * Only the owner of the Express Connect circuit can call this operation.
|
|
70972
73017
|
* * The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
|
|
@@ -71545,6 +73590,7 @@ export default class Client extends OpenApi {
|
|
|
71545
73590
|
}
|
|
71546
73591
|
|
|
71547
73592
|
/**
|
|
73593
|
+
* ## [](#)Usage notes
|
|
71548
73594
|
* * **RevokeInstanceFromCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com` as the domain name when you call this operation. The API version is `2016-04-28`.
|
|
71549
73595
|
* * You cannot repeatedly call the **RevokeInstanceFromCen** operation to revoke the permissions on a network instance that is attached to a CEN instance within the specified period of time. The network instance can be a VPC, virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
|
|
71550
73596
|
*
|
|
@@ -71613,6 +73659,7 @@ export default class Client extends OpenApi {
|
|
|
71613
73659
|
}
|
|
71614
73660
|
|
|
71615
73661
|
/**
|
|
73662
|
+
* ## [](#)Usage notes
|
|
71616
73663
|
* * **RevokeInstanceFromCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com` as the domain name when you call this operation. The API version is `2016-04-28`.
|
|
71617
73664
|
* * You cannot repeatedly call the **RevokeInstanceFromCen** operation to revoke the permissions on a network instance that is attached to a CEN instance within the specified period of time. The network instance can be a VPC, virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
|
|
71618
73665
|
*
|
|
@@ -71838,8 +73885,113 @@ export default class Client extends OpenApi {
|
|
|
71838
73885
|
return await this.setHighDefinitionMonitorLogStatusWithOptions(request, runtime);
|
|
71839
73886
|
}
|
|
71840
73887
|
|
|
73888
|
+
async startFailoverTestJobWithOptions(request: StartFailoverTestJobRequest, runtime: $Util.RuntimeOptions): Promise<StartFailoverTestJobResponse> {
|
|
73889
|
+
Util.validateModel(request);
|
|
73890
|
+
let query = { };
|
|
73891
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
73892
|
+
query["ClientToken"] = request.clientToken;
|
|
73893
|
+
}
|
|
73894
|
+
|
|
73895
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
73896
|
+
query["ClientToken"] = request.clientToken;
|
|
73897
|
+
}
|
|
73898
|
+
|
|
73899
|
+
if (!Util.isUnset(request.jobId)) {
|
|
73900
|
+
query["JobId"] = request.jobId;
|
|
73901
|
+
}
|
|
73902
|
+
|
|
73903
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
73904
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
73905
|
+
}
|
|
73906
|
+
|
|
73907
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
73908
|
+
query["OwnerId"] = request.ownerId;
|
|
73909
|
+
}
|
|
73910
|
+
|
|
73911
|
+
if (!Util.isUnset(request.regionId)) {
|
|
73912
|
+
query["RegionId"] = request.regionId;
|
|
73913
|
+
}
|
|
73914
|
+
|
|
73915
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
73916
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
73917
|
+
}
|
|
73918
|
+
|
|
73919
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
73920
|
+
query: OpenApiUtil.query(query),
|
|
73921
|
+
});
|
|
73922
|
+
let params = new $OpenApi.Params({
|
|
73923
|
+
action: "StartFailoverTestJob",
|
|
73924
|
+
version: "2016-04-28",
|
|
73925
|
+
protocol: "HTTPS",
|
|
73926
|
+
pathname: "/",
|
|
73927
|
+
method: "POST",
|
|
73928
|
+
authType: "AK",
|
|
73929
|
+
style: "RPC",
|
|
73930
|
+
reqBodyType: "formData",
|
|
73931
|
+
bodyType: "json",
|
|
73932
|
+
});
|
|
73933
|
+
return $tea.cast<StartFailoverTestJobResponse>(await this.callApi(params, req, runtime), new StartFailoverTestJobResponse({}));
|
|
73934
|
+
}
|
|
73935
|
+
|
|
73936
|
+
async startFailoverTestJob(request: StartFailoverTestJobRequest): Promise<StartFailoverTestJobResponse> {
|
|
73937
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
73938
|
+
return await this.startFailoverTestJobWithOptions(request, runtime);
|
|
73939
|
+
}
|
|
73940
|
+
|
|
73941
|
+
async stopFailoverTestJobWithOptions(request: StopFailoverTestJobRequest, runtime: $Util.RuntimeOptions): Promise<StopFailoverTestJobResponse> {
|
|
73942
|
+
Util.validateModel(request);
|
|
73943
|
+
let query = { };
|
|
73944
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
73945
|
+
query["ClientToken"] = request.clientToken;
|
|
73946
|
+
}
|
|
73947
|
+
|
|
73948
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
73949
|
+
query["ClientToken"] = request.clientToken;
|
|
73950
|
+
}
|
|
73951
|
+
|
|
73952
|
+
if (!Util.isUnset(request.jobId)) {
|
|
73953
|
+
query["JobId"] = request.jobId;
|
|
73954
|
+
}
|
|
73955
|
+
|
|
73956
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
73957
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
73958
|
+
}
|
|
73959
|
+
|
|
73960
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
73961
|
+
query["OwnerId"] = request.ownerId;
|
|
73962
|
+
}
|
|
73963
|
+
|
|
73964
|
+
if (!Util.isUnset(request.regionId)) {
|
|
73965
|
+
query["RegionId"] = request.regionId;
|
|
73966
|
+
}
|
|
73967
|
+
|
|
73968
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
73969
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
73970
|
+
}
|
|
73971
|
+
|
|
73972
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
73973
|
+
query: OpenApiUtil.query(query),
|
|
73974
|
+
});
|
|
73975
|
+
let params = new $OpenApi.Params({
|
|
73976
|
+
action: "StopFailoverTestJob",
|
|
73977
|
+
version: "2016-04-28",
|
|
73978
|
+
protocol: "HTTPS",
|
|
73979
|
+
pathname: "/",
|
|
73980
|
+
method: "POST",
|
|
73981
|
+
authType: "AK",
|
|
73982
|
+
style: "RPC",
|
|
73983
|
+
reqBodyType: "formData",
|
|
73984
|
+
bodyType: "json",
|
|
73985
|
+
});
|
|
73986
|
+
return $tea.cast<StopFailoverTestJobResponse>(await this.callApi(params, req, runtime), new StopFailoverTestJobResponse({}));
|
|
73987
|
+
}
|
|
73988
|
+
|
|
73989
|
+
async stopFailoverTestJob(request: StopFailoverTestJobRequest): Promise<StopFailoverTestJobResponse> {
|
|
73990
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
73991
|
+
return await this.stopFailoverTestJobWithOptions(request, runtime);
|
|
73992
|
+
}
|
|
73993
|
+
|
|
71841
73994
|
/**
|
|
71842
|
-
* ## Usage notes
|
|
71843
73995
|
* Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:
|
|
71844
73996
|
* * The keys of tags that are added to the same instance must be unique.
|
|
71845
73997
|
* * You cannot create tags without adding them to instances. All tags must be added to instances.
|
|
@@ -71906,7 +74058,6 @@ export default class Client extends OpenApi {
|
|
|
71906
74058
|
}
|
|
71907
74059
|
|
|
71908
74060
|
/**
|
|
71909
|
-
* ## Usage notes
|
|
71910
74061
|
* Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:
|
|
71911
74062
|
* * The keys of tags that are added to the same instance must be unique.
|
|
71912
74063
|
* * You cannot create tags without adding them to instances. All tags must be added to instances.
|
|
@@ -71925,12 +74076,13 @@ export default class Client extends OpenApi {
|
|
|
71925
74076
|
}
|
|
71926
74077
|
|
|
71927
74078
|
/**
|
|
71928
|
-
*
|
|
71929
|
-
*
|
|
74079
|
+
* ## [](#)
|
|
74080
|
+
* Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following items:
|
|
74081
|
+
* * Each tag key that is added to an instance must be unique.
|
|
71930
74082
|
* * You cannot create tags without adding them to instances. All tags must be added to instances.
|
|
71931
74083
|
* * Tag information is not shared across regions.
|
|
71932
74084
|
* For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.
|
|
71933
|
-
* * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags.
|
|
74085
|
+
* * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached.
|
|
71934
74086
|
*
|
|
71935
74087
|
* @param request TagResourcesForExpressConnectRequest
|
|
71936
74088
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -71989,12 +74141,13 @@ export default class Client extends OpenApi {
|
|
|
71989
74141
|
}
|
|
71990
74142
|
|
|
71991
74143
|
/**
|
|
71992
|
-
*
|
|
71993
|
-
*
|
|
74144
|
+
* ## [](#)
|
|
74145
|
+
* Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following items:
|
|
74146
|
+
* * Each tag key that is added to an instance must be unique.
|
|
71994
74147
|
* * You cannot create tags without adding them to instances. All tags must be added to instances.
|
|
71995
74148
|
* * Tag information is not shared across regions.
|
|
71996
74149
|
* For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.
|
|
71997
|
-
* * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags.
|
|
74150
|
+
* * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached.
|
|
71998
74151
|
*
|
|
71999
74152
|
* @param request TagResourcesForExpressConnectRequest
|
|
72000
74153
|
* @return TagResourcesForExpressConnectResponse
|
|
@@ -72005,9 +74158,8 @@ export default class Client extends OpenApi {
|
|
|
72005
74158
|
}
|
|
72006
74159
|
|
|
72007
74160
|
/**
|
|
72008
|
-
* After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state.
|
|
72009
|
-
*
|
|
72010
|
-
* * You can only terminate an Express Connect circuit that is in the **Enabled** state.
|
|
74161
|
+
* After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state. When you call this operation, take note of the following limits:
|
|
74162
|
+
* * You can only disable an Express Connect circuit that is in the **Enabled** state.
|
|
72011
74163
|
* * Before you disable an Express Connect circuit, you must delete the virtual border routers (VBRs) associated with it.
|
|
72012
74164
|
*
|
|
72013
74165
|
* @param request TerminatePhysicalConnectionRequest
|
|
@@ -72063,9 +74215,8 @@ export default class Client extends OpenApi {
|
|
|
72063
74215
|
}
|
|
72064
74216
|
|
|
72065
74217
|
/**
|
|
72066
|
-
* After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state.
|
|
72067
|
-
*
|
|
72068
|
-
* * You can only terminate an Express Connect circuit that is in the **Enabled** state.
|
|
74218
|
+
* After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state. When you call this operation, take note of the following limits:
|
|
74219
|
+
* * You can only disable an Express Connect circuit that is in the **Enabled** state.
|
|
72069
74220
|
* * Before you disable an Express Connect circuit, you must delete the virtual border routers (VBRs) associated with it.
|
|
72070
74221
|
*
|
|
72071
74222
|
* @param request TerminatePhysicalConnectionRequest
|
|
@@ -72077,7 +74228,7 @@ export default class Client extends OpenApi {
|
|
|
72077
74228
|
}
|
|
72078
74229
|
|
|
72079
74230
|
/**
|
|
72080
|
-
* After the operation is
|
|
74231
|
+
* After the operation is performed, the VBR changes from the **active** state to the **terminating** state. After the VBR is terminated, it enters the **terminated** state.
|
|
72081
74232
|
* > Only the owner of an Express Connect circuit can call this operation.
|
|
72082
74233
|
*
|
|
72083
74234
|
* @param request TerminateVirtualBorderRouterRequest
|
|
@@ -72133,7 +74284,7 @@ export default class Client extends OpenApi {
|
|
|
72133
74284
|
}
|
|
72134
74285
|
|
|
72135
74286
|
/**
|
|
72136
|
-
* After the operation is
|
|
74287
|
+
* After the operation is performed, the VBR changes from the **active** state to the **terminating** state. After the VBR is terminated, it enters the **terminated** state.
|
|
72137
74288
|
* > Only the owner of an Express Connect circuit can call this operation.
|
|
72138
74289
|
*
|
|
72139
74290
|
* @param request TerminateVirtualBorderRouterRequest
|
|
@@ -72347,10 +74498,11 @@ export default class Client extends OpenApi {
|
|
|
72347
74498
|
}
|
|
72348
74499
|
|
|
72349
74500
|
/**
|
|
74501
|
+
* ## [](#)
|
|
72350
74502
|
* When you call this operation, take note of the following limits:
|
|
72351
74503
|
* * The ECS instance must be in the **Running** or **Stopped** state.
|
|
72352
74504
|
* * The HAVIP must be in the **Available** or **InUse** state.
|
|
72353
|
-
* *
|
|
74505
|
+
* * **UnassociateHaVip** is an asynchronous operation. After a request is sent, the system returns a request ID and an instance ID and runs the task in the background. You can call the [DescribeHaVips](~~114611~~) operation to query the status of an HAVIP:
|
|
72354
74506
|
* * If the HAVIP is in the **Unassociating** state, the HAVIP is being disassociated.
|
|
72355
74507
|
* * If the HAVIP is in the **Inuse** or **Available** state, the HAVIP is disassociated.
|
|
72356
74508
|
* * You cannot repeatedly call the **UnassociateHaVip** operation to disassociate an HAVIP within the specified period of time.
|
|
@@ -72420,10 +74572,11 @@ export default class Client extends OpenApi {
|
|
|
72420
74572
|
}
|
|
72421
74573
|
|
|
72422
74574
|
/**
|
|
74575
|
+
* ## [](#)
|
|
72423
74576
|
* When you call this operation, take note of the following limits:
|
|
72424
74577
|
* * The ECS instance must be in the **Running** or **Stopped** state.
|
|
72425
74578
|
* * The HAVIP must be in the **Available** or **InUse** state.
|
|
72426
|
-
* *
|
|
74579
|
+
* * **UnassociateHaVip** is an asynchronous operation. After a request is sent, the system returns a request ID and an instance ID and runs the task in the background. You can call the [DescribeHaVips](~~114611~~) operation to query the status of an HAVIP:
|
|
72427
74580
|
* * If the HAVIP is in the **Unassociating** state, the HAVIP is being disassociated.
|
|
72428
74581
|
* * If the HAVIP is in the **Inuse** or **Available** state, the HAVIP is disassociated.
|
|
72429
74582
|
* * You cannot repeatedly call the **UnassociateHaVip** operation to disassociate an HAVIP within the specified period of time.
|
|
@@ -72437,7 +74590,8 @@ export default class Client extends OpenApi {
|
|
|
72437
74590
|
}
|
|
72438
74591
|
|
|
72439
74592
|
/**
|
|
72440
|
-
*
|
|
74593
|
+
* ## [](#)Description
|
|
74594
|
+
* * **UnassociateNetworkAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
72441
74595
|
* * If the network ACL is in the **UNBINDING** state, the network ACL is being disassociated from the vSwitch.
|
|
72442
74596
|
* * If the network ACL is in the **UNBINDED** state, the network ACL is disassociated from the vSwitch.
|
|
72443
74597
|
* * You cannot repeatedly call the **UnassociateNetworkAcl** operation to disassociate a network ACL from a vSwitch within the specified period of time.
|
|
@@ -72499,7 +74653,8 @@ export default class Client extends OpenApi {
|
|
|
72499
74653
|
}
|
|
72500
74654
|
|
|
72501
74655
|
/**
|
|
72502
|
-
*
|
|
74656
|
+
* ## [](#)Description
|
|
74657
|
+
* * **UnassociateNetworkAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
72503
74658
|
* * If the network ACL is in the **UNBINDING** state, the network ACL is being disassociated from the vSwitch.
|
|
72504
74659
|
* * If the network ACL is in the **UNBINDED** state, the network ACL is disassociated from the vSwitch.
|
|
72505
74660
|
* * You cannot repeatedly call the **UnassociateNetworkAcl** operation to disassociate a network ACL from a vSwitch within the specified period of time.
|
|
@@ -72570,7 +74725,8 @@ export default class Client extends OpenApi {
|
|
|
72570
74725
|
}
|
|
72571
74726
|
|
|
72572
74727
|
/**
|
|
72573
|
-
*
|
|
74728
|
+
* ## [](#)References
|
|
74729
|
+
* * **UnassociateRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task.
|
|
72574
74730
|
* * If the vSwitch is in the **Pending** state, the route table is being disassociated.
|
|
72575
74731
|
* * If the vSwitch is in the **Available** state, the route table is disassociated.
|
|
72576
74732
|
* * You cannot repeatedly call the **UnassociateRouteTable** operation to disassociate a route table from a vSwitch within the specified period of time.
|
|
@@ -72636,7 +74792,8 @@ export default class Client extends OpenApi {
|
|
|
72636
74792
|
}
|
|
72637
74793
|
|
|
72638
74794
|
/**
|
|
72639
|
-
*
|
|
74795
|
+
* ## [](#)References
|
|
74796
|
+
* * **UnassociateRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task.
|
|
72640
74797
|
* * If the vSwitch is in the **Pending** state, the route table is being disassociated.
|
|
72641
74798
|
* * If the vSwitch is in the **Available** state, the route table is disassociated.
|
|
72642
74799
|
* * You cannot repeatedly call the **UnassociateRouteTable** operation to disassociate a route table from a vSwitch within the specified period of time.
|
|
@@ -72867,6 +75024,75 @@ export default class Client extends OpenApi {
|
|
|
72867
75024
|
return await this.updateDhcpOptionsSetAttributeWithOptions(request, runtime);
|
|
72868
75025
|
}
|
|
72869
75026
|
|
|
75027
|
+
async updateFailoverTestJobWithOptions(request: UpdateFailoverTestJobRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFailoverTestJobResponse> {
|
|
75028
|
+
Util.validateModel(request);
|
|
75029
|
+
let query = { };
|
|
75030
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
75031
|
+
query["ClientToken"] = request.clientToken;
|
|
75032
|
+
}
|
|
75033
|
+
|
|
75034
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
75035
|
+
query["ClientToken"] = request.clientToken;
|
|
75036
|
+
}
|
|
75037
|
+
|
|
75038
|
+
if (!Util.isUnset(request.description)) {
|
|
75039
|
+
query["Description"] = request.description;
|
|
75040
|
+
}
|
|
75041
|
+
|
|
75042
|
+
if (!Util.isUnset(request.jobDuration)) {
|
|
75043
|
+
query["JobDuration"] = request.jobDuration;
|
|
75044
|
+
}
|
|
75045
|
+
|
|
75046
|
+
if (!Util.isUnset(request.jobId)) {
|
|
75047
|
+
query["JobId"] = request.jobId;
|
|
75048
|
+
}
|
|
75049
|
+
|
|
75050
|
+
if (!Util.isUnset(request.name)) {
|
|
75051
|
+
query["Name"] = request.name;
|
|
75052
|
+
}
|
|
75053
|
+
|
|
75054
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
75055
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
75056
|
+
}
|
|
75057
|
+
|
|
75058
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
75059
|
+
query["OwnerId"] = request.ownerId;
|
|
75060
|
+
}
|
|
75061
|
+
|
|
75062
|
+
if (!Util.isUnset(request.regionId)) {
|
|
75063
|
+
query["RegionId"] = request.regionId;
|
|
75064
|
+
}
|
|
75065
|
+
|
|
75066
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
75067
|
+
query["ResourceId"] = request.resourceId;
|
|
75068
|
+
}
|
|
75069
|
+
|
|
75070
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
75071
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
75072
|
+
}
|
|
75073
|
+
|
|
75074
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
75075
|
+
query: OpenApiUtil.query(query),
|
|
75076
|
+
});
|
|
75077
|
+
let params = new $OpenApi.Params({
|
|
75078
|
+
action: "UpdateFailoverTestJob",
|
|
75079
|
+
version: "2016-04-28",
|
|
75080
|
+
protocol: "HTTPS",
|
|
75081
|
+
pathname: "/",
|
|
75082
|
+
method: "POST",
|
|
75083
|
+
authType: "AK",
|
|
75084
|
+
style: "RPC",
|
|
75085
|
+
reqBodyType: "formData",
|
|
75086
|
+
bodyType: "json",
|
|
75087
|
+
});
|
|
75088
|
+
return $tea.cast<UpdateFailoverTestJobResponse>(await this.callApi(params, req, runtime), new UpdateFailoverTestJobResponse({}));
|
|
75089
|
+
}
|
|
75090
|
+
|
|
75091
|
+
async updateFailoverTestJob(request: UpdateFailoverTestJobRequest): Promise<UpdateFailoverTestJobResponse> {
|
|
75092
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
75093
|
+
return await this.updateFailoverTestJobWithOptions(request, runtime);
|
|
75094
|
+
}
|
|
75095
|
+
|
|
72870
75096
|
async updateGatewayRouteTableEntryAttributeWithOptions(request: UpdateGatewayRouteTableEntryAttributeRequest, runtime: $Util.RuntimeOptions): Promise<UpdateGatewayRouteTableEntryAttributeResponse> {
|
|
72871
75097
|
Util.validateModel(request);
|
|
72872
75098
|
let query = { };
|
|
@@ -73227,7 +75453,7 @@ export default class Client extends OpenApi {
|
|
|
73227
75453
|
}
|
|
73228
75454
|
|
|
73229
75455
|
/**
|
|
73230
|
-
* *
|
|
75456
|
+
* * **UpdateNetworkAclEntries** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
|
|
73231
75457
|
* * If the network ACL is in the **Modifying** state, the rules of the network ACL are being updated.
|
|
73232
75458
|
* * If the network ACL is in the **Available** state, the rules of the network ACL are updated.
|
|
73233
75459
|
* * You cannot repeatedly call the **UpdateNetworkAclEntries** operation to update the rules of a network ACL within the specified period of time.
|
|
@@ -73301,7 +75527,7 @@ export default class Client extends OpenApi {
|
|
|
73301
75527
|
}
|
|
73302
75528
|
|
|
73303
75529
|
/**
|
|
73304
|
-
* *
|
|
75530
|
+
* * **UpdateNetworkAclEntries** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
|
|
73305
75531
|
* * If the network ACL is in the **Modifying** state, the rules of the network ACL are being updated.
|
|
73306
75532
|
* * If the network ACL is in the **Available** state, the rules of the network ACL are updated.
|
|
73307
75533
|
* * You cannot repeatedly call the **UpdateNetworkAclEntries** operation to update the rules of a network ACL within the specified period of time.
|