@alicloud/eas20210701 6.0.1 → 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 +1533 -32
- package/dist/client.js +1451 -72
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2383 -75
package/src/client.ts
CHANGED
|
@@ -577,6 +577,127 @@ export class Service extends $tea.Model {
|
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
+
export class AttachGatewayDomainRequest extends $tea.Model {
|
|
581
|
+
/**
|
|
582
|
+
* @remarks
|
|
583
|
+
* The custom domain name information.
|
|
584
|
+
*
|
|
585
|
+
* This parameter is required.
|
|
586
|
+
*/
|
|
587
|
+
customDomain?: AttachGatewayDomainRequestCustomDomain;
|
|
588
|
+
static names(): { [key: string]: string } {
|
|
589
|
+
return {
|
|
590
|
+
customDomain: 'CustomDomain',
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
static types(): { [key: string]: any } {
|
|
595
|
+
return {
|
|
596
|
+
customDomain: AttachGatewayDomainRequestCustomDomain,
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
constructor(map?: { [key: string]: any }) {
|
|
601
|
+
super(map);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export class AttachGatewayDomainShrinkRequest extends $tea.Model {
|
|
606
|
+
/**
|
|
607
|
+
* @remarks
|
|
608
|
+
* The custom domain name information.
|
|
609
|
+
*
|
|
610
|
+
* This parameter is required.
|
|
611
|
+
*/
|
|
612
|
+
customDomainShrink?: string;
|
|
613
|
+
static names(): { [key: string]: string } {
|
|
614
|
+
return {
|
|
615
|
+
customDomainShrink: 'CustomDomain',
|
|
616
|
+
};
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
static types(): { [key: string]: any } {
|
|
620
|
+
return {
|
|
621
|
+
customDomainShrink: 'string',
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
constructor(map?: { [key: string]: any }) {
|
|
626
|
+
super(map);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export class AttachGatewayDomainResponseBody extends $tea.Model {
|
|
631
|
+
/**
|
|
632
|
+
* @remarks
|
|
633
|
+
* The ID of the private gateway. To obtain the private gateway ID, see the GatewayId parameter in the response parameters of the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) operation.
|
|
634
|
+
*
|
|
635
|
+
* @example
|
|
636
|
+
* gw-1uhcqmsc7x22******
|
|
637
|
+
*/
|
|
638
|
+
gatewayId?: string;
|
|
639
|
+
/**
|
|
640
|
+
* @remarks
|
|
641
|
+
* The error message.
|
|
642
|
+
*
|
|
643
|
+
* @example
|
|
644
|
+
* Successfully update custom endpoint for gateway gw-1uhcqmsc7x22******
|
|
645
|
+
*/
|
|
646
|
+
message?: string;
|
|
647
|
+
/**
|
|
648
|
+
* @remarks
|
|
649
|
+
* The ID of the request.
|
|
650
|
+
*
|
|
651
|
+
* @example
|
|
652
|
+
* 40325405-579C-4D82****
|
|
653
|
+
*/
|
|
654
|
+
requestId?: string;
|
|
655
|
+
static names(): { [key: string]: string } {
|
|
656
|
+
return {
|
|
657
|
+
gatewayId: 'GatewayId',
|
|
658
|
+
message: 'Message',
|
|
659
|
+
requestId: 'RequestId',
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
static types(): { [key: string]: any } {
|
|
664
|
+
return {
|
|
665
|
+
gatewayId: 'string',
|
|
666
|
+
message: 'string',
|
|
667
|
+
requestId: 'string',
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
constructor(map?: { [key: string]: any }) {
|
|
672
|
+
super(map);
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export class AttachGatewayDomainResponse extends $tea.Model {
|
|
677
|
+
headers?: { [key: string]: string };
|
|
678
|
+
statusCode?: number;
|
|
679
|
+
body?: AttachGatewayDomainResponseBody;
|
|
680
|
+
static names(): { [key: string]: string } {
|
|
681
|
+
return {
|
|
682
|
+
headers: 'headers',
|
|
683
|
+
statusCode: 'statusCode',
|
|
684
|
+
body: 'body',
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
static types(): { [key: string]: any } {
|
|
689
|
+
return {
|
|
690
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
691
|
+
statusCode: 'number',
|
|
692
|
+
body: AttachGatewayDomainResponseBody,
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
constructor(map?: { [key: string]: any }) {
|
|
697
|
+
super(map);
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
580
701
|
export class CloneServiceRequest extends $tea.Model {
|
|
581
702
|
/**
|
|
582
703
|
* @remarks
|
|
@@ -809,6 +930,8 @@ export class CreateAclPolicyRequest extends $tea.Model {
|
|
|
809
930
|
/**
|
|
810
931
|
* @remarks
|
|
811
932
|
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
933
|
+
*
|
|
934
|
+
* This parameter is required.
|
|
812
935
|
*/
|
|
813
936
|
aclPolicyList?: CreateAclPolicyRequestAclPolicyList[];
|
|
814
937
|
/**
|
|
@@ -842,6 +965,8 @@ export class CreateAclPolicyShrinkRequest extends $tea.Model {
|
|
|
842
965
|
/**
|
|
843
966
|
* @remarks
|
|
844
967
|
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
968
|
+
*
|
|
969
|
+
* This parameter is required.
|
|
845
970
|
*/
|
|
846
971
|
aclPolicyListShrink?: string;
|
|
847
972
|
/**
|
|
@@ -1306,6 +1431,25 @@ export class CreateGatewayRequest extends $tea.Model {
|
|
|
1306
1431
|
* eas-r-4gt8twzwllfo******
|
|
1307
1432
|
*/
|
|
1308
1433
|
resourceName?: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* @remarks
|
|
1436
|
+
* Specifies whether to enable auto-renewal. Valid values:
|
|
1437
|
+
*
|
|
1438
|
+
* * false (default)
|
|
1439
|
+
* * true
|
|
1440
|
+
*/
|
|
1441
|
+
autoRenewal?: boolean;
|
|
1442
|
+
/**
|
|
1443
|
+
* @remarks
|
|
1444
|
+
* The billing method. Valid values:
|
|
1445
|
+
*
|
|
1446
|
+
* * PrePaid: subscription.
|
|
1447
|
+
* * PostPaid: pay-as-you-go.
|
|
1448
|
+
*
|
|
1449
|
+
* @example
|
|
1450
|
+
* PostPaid
|
|
1451
|
+
*/
|
|
1452
|
+
chargeType?: string;
|
|
1309
1453
|
/**
|
|
1310
1454
|
* @remarks
|
|
1311
1455
|
* Specifies whether to enable Internet access. Default value: false.
|
|
@@ -1366,6 +1510,8 @@ export class CreateGatewayRequest extends $tea.Model {
|
|
|
1366
1510
|
static names(): { [key: string]: string } {
|
|
1367
1511
|
return {
|
|
1368
1512
|
resourceName: 'ResourceName',
|
|
1513
|
+
autoRenewal: 'AutoRenewal',
|
|
1514
|
+
chargeType: 'ChargeType',
|
|
1369
1515
|
enableInternet: 'EnableInternet',
|
|
1370
1516
|
enableIntranet: 'EnableIntranet',
|
|
1371
1517
|
instanceType: 'InstanceType',
|
|
@@ -1377,6 +1523,8 @@ export class CreateGatewayRequest extends $tea.Model {
|
|
|
1377
1523
|
static types(): { [key: string]: any } {
|
|
1378
1524
|
return {
|
|
1379
1525
|
resourceName: 'string',
|
|
1526
|
+
autoRenewal: 'boolean',
|
|
1527
|
+
chargeType: 'string',
|
|
1380
1528
|
enableInternet: 'boolean',
|
|
1381
1529
|
enableIntranet: 'boolean',
|
|
1382
1530
|
instanceType: 'string',
|
|
@@ -1578,6 +1726,120 @@ export class CreateGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
|
1578
1726
|
}
|
|
1579
1727
|
}
|
|
1580
1728
|
|
|
1729
|
+
export class CreateGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
1730
|
+
peerVpcs?: CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs[];
|
|
1731
|
+
/**
|
|
1732
|
+
* @example
|
|
1733
|
+
* vpc-2zetuli9ws0qgjd******
|
|
1734
|
+
*/
|
|
1735
|
+
vpcId?: string;
|
|
1736
|
+
static names(): { [key: string]: string } {
|
|
1737
|
+
return {
|
|
1738
|
+
peerVpcs: 'PeerVpcs',
|
|
1739
|
+
vpcId: 'VpcId',
|
|
1740
|
+
};
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
static types(): { [key: string]: any } {
|
|
1744
|
+
return {
|
|
1745
|
+
peerVpcs: { 'type': 'array', 'itemType': CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs },
|
|
1746
|
+
vpcId: 'string',
|
|
1747
|
+
};
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
constructor(map?: { [key: string]: any }) {
|
|
1751
|
+
super(map);
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
export class CreateGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model {
|
|
1756
|
+
peerVpcsShrink?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* @example
|
|
1759
|
+
* vpc-2zetuli9ws0qgjd******
|
|
1760
|
+
*/
|
|
1761
|
+
vpcId?: string;
|
|
1762
|
+
static names(): { [key: string]: string } {
|
|
1763
|
+
return {
|
|
1764
|
+
peerVpcsShrink: 'PeerVpcs',
|
|
1765
|
+
vpcId: 'VpcId',
|
|
1766
|
+
};
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
static types(): { [key: string]: any } {
|
|
1770
|
+
return {
|
|
1771
|
+
peerVpcsShrink: 'string',
|
|
1772
|
+
vpcId: 'string',
|
|
1773
|
+
};
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
constructor(map?: { [key: string]: any }) {
|
|
1777
|
+
super(map);
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
export class CreateGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
|
|
1782
|
+
/**
|
|
1783
|
+
* @example
|
|
1784
|
+
* gw-1uhcqmsc7x22******
|
|
1785
|
+
*/
|
|
1786
|
+
gatewayId?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* @example
|
|
1789
|
+
* Successfully add intranet linked vpc Peer for gateway
|
|
1790
|
+
*/
|
|
1791
|
+
message?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* @example
|
|
1794
|
+
* 40325405-579C-4D82****
|
|
1795
|
+
*/
|
|
1796
|
+
requestId?: string;
|
|
1797
|
+
static names(): { [key: string]: string } {
|
|
1798
|
+
return {
|
|
1799
|
+
gatewayId: 'GatewayId',
|
|
1800
|
+
message: 'Message',
|
|
1801
|
+
requestId: 'requestId',
|
|
1802
|
+
};
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
static types(): { [key: string]: any } {
|
|
1806
|
+
return {
|
|
1807
|
+
gatewayId: 'string',
|
|
1808
|
+
message: 'string',
|
|
1809
|
+
requestId: 'string',
|
|
1810
|
+
};
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
constructor(map?: { [key: string]: any }) {
|
|
1814
|
+
super(map);
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
export class CreateGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
|
|
1819
|
+
headers?: { [key: string]: string };
|
|
1820
|
+
statusCode?: number;
|
|
1821
|
+
body?: CreateGatewayIntranetLinkedVpcPeerResponseBody;
|
|
1822
|
+
static names(): { [key: string]: string } {
|
|
1823
|
+
return {
|
|
1824
|
+
headers: 'headers',
|
|
1825
|
+
statusCode: 'statusCode',
|
|
1826
|
+
body: 'body',
|
|
1827
|
+
};
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
static types(): { [key: string]: any } {
|
|
1831
|
+
return {
|
|
1832
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1833
|
+
statusCode: 'number',
|
|
1834
|
+
body: CreateGatewayIntranetLinkedVpcPeerResponseBody,
|
|
1835
|
+
};
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
constructor(map?: { [key: string]: any }) {
|
|
1839
|
+
super(map);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1581
1843
|
export class CreateResourceRequest extends $tea.Model {
|
|
1582
1844
|
/**
|
|
1583
1845
|
* @remarks
|
|
@@ -2750,31 +3012,31 @@ export class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
2750
3012
|
}
|
|
2751
3013
|
}
|
|
2752
3014
|
|
|
2753
|
-
export class
|
|
3015
|
+
export class CreateVirtualResourceRequest extends $tea.Model {
|
|
2754
3016
|
/**
|
|
2755
3017
|
* @remarks
|
|
2756
|
-
* The
|
|
3018
|
+
* The list of resources in the virtual resource group.
|
|
2757
3019
|
*/
|
|
2758
|
-
|
|
3020
|
+
resources?: CreateVirtualResourceRequestResources[];
|
|
2759
3021
|
/**
|
|
2760
3022
|
* @remarks
|
|
2761
|
-
* The
|
|
3023
|
+
* The name of the virtual resource group. Default value: the ID of the virtual resource group.
|
|
2762
3024
|
*
|
|
2763
3025
|
* @example
|
|
2764
|
-
*
|
|
3026
|
+
* MyVirtualResource
|
|
2765
3027
|
*/
|
|
2766
|
-
|
|
3028
|
+
virtualResourceName?: string;
|
|
2767
3029
|
static names(): { [key: string]: string } {
|
|
2768
3030
|
return {
|
|
2769
|
-
|
|
2770
|
-
|
|
3031
|
+
resources: 'Resources',
|
|
3032
|
+
virtualResourceName: 'VirtualResourceName',
|
|
2771
3033
|
};
|
|
2772
3034
|
}
|
|
2773
3035
|
|
|
2774
3036
|
static types(): { [key: string]: any } {
|
|
2775
3037
|
return {
|
|
2776
|
-
|
|
2777
|
-
|
|
3038
|
+
resources: { 'type': 'array', 'itemType': CreateVirtualResourceRequestResources },
|
|
3039
|
+
virtualResourceName: 'string',
|
|
2778
3040
|
};
|
|
2779
3041
|
}
|
|
2780
3042
|
|
|
@@ -2783,21 +3045,125 @@ export class DeleteAclPolicyRequest extends $tea.Model {
|
|
|
2783
3045
|
}
|
|
2784
3046
|
}
|
|
2785
3047
|
|
|
2786
|
-
export class
|
|
3048
|
+
export class CreateVirtualResourceResponseBody extends $tea.Model {
|
|
2787
3049
|
/**
|
|
2788
3050
|
* @remarks
|
|
2789
|
-
* The
|
|
3051
|
+
* The returned message.
|
|
3052
|
+
*
|
|
3053
|
+
* @example
|
|
3054
|
+
* Successfully created virtual resource eas-vr-npovr28onap1xxxxxx
|
|
2790
3055
|
*/
|
|
2791
|
-
|
|
3056
|
+
message?: string;
|
|
2792
3057
|
/**
|
|
2793
3058
|
* @remarks
|
|
2794
|
-
* The ID of the
|
|
3059
|
+
* The ID of the request.
|
|
2795
3060
|
*
|
|
2796
3061
|
* @example
|
|
2797
|
-
*
|
|
3062
|
+
* 40325405-579C-4D82***
|
|
2798
3063
|
*/
|
|
2799
|
-
|
|
2800
|
-
|
|
3064
|
+
requestId?: string;
|
|
3065
|
+
/**
|
|
3066
|
+
* @remarks
|
|
3067
|
+
* The ID of the virtual resource group.
|
|
3068
|
+
*
|
|
3069
|
+
* @example
|
|
3070
|
+
* eas-vr-npovr28onap1xxxxxx
|
|
3071
|
+
*/
|
|
3072
|
+
virtualResourceId?: string;
|
|
3073
|
+
static names(): { [key: string]: string } {
|
|
3074
|
+
return {
|
|
3075
|
+
message: 'Message',
|
|
3076
|
+
requestId: 'RequestId',
|
|
3077
|
+
virtualResourceId: 'VirtualResourceId',
|
|
3078
|
+
};
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
static types(): { [key: string]: any } {
|
|
3082
|
+
return {
|
|
3083
|
+
message: 'string',
|
|
3084
|
+
requestId: 'string',
|
|
3085
|
+
virtualResourceId: 'string',
|
|
3086
|
+
};
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
constructor(map?: { [key: string]: any }) {
|
|
3090
|
+
super(map);
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
export class CreateVirtualResourceResponse extends $tea.Model {
|
|
3095
|
+
headers?: { [key: string]: string };
|
|
3096
|
+
statusCode?: number;
|
|
3097
|
+
body?: CreateVirtualResourceResponseBody;
|
|
3098
|
+
static names(): { [key: string]: string } {
|
|
3099
|
+
return {
|
|
3100
|
+
headers: 'headers',
|
|
3101
|
+
statusCode: 'statusCode',
|
|
3102
|
+
body: 'body',
|
|
3103
|
+
};
|
|
3104
|
+
}
|
|
3105
|
+
|
|
3106
|
+
static types(): { [key: string]: any } {
|
|
3107
|
+
return {
|
|
3108
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3109
|
+
statusCode: 'number',
|
|
3110
|
+
body: CreateVirtualResourceResponseBody,
|
|
3111
|
+
};
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
constructor(map?: { [key: string]: any }) {
|
|
3115
|
+
super(map);
|
|
3116
|
+
}
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
export class DeleteAclPolicyRequest extends $tea.Model {
|
|
3120
|
+
/**
|
|
3121
|
+
* @remarks
|
|
3122
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
3123
|
+
*/
|
|
3124
|
+
aclPolicyList?: DeleteAclPolicyRequestAclPolicyList[];
|
|
3125
|
+
/**
|
|
3126
|
+
* @remarks
|
|
3127
|
+
* The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
3128
|
+
*
|
|
3129
|
+
* @example
|
|
3130
|
+
* vpc-uf66uio7md****
|
|
3131
|
+
*/
|
|
3132
|
+
vpcId?: string;
|
|
3133
|
+
static names(): { [key: string]: string } {
|
|
3134
|
+
return {
|
|
3135
|
+
aclPolicyList: 'AclPolicyList',
|
|
3136
|
+
vpcId: 'VpcId',
|
|
3137
|
+
};
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
static types(): { [key: string]: any } {
|
|
3141
|
+
return {
|
|
3142
|
+
aclPolicyList: { 'type': 'array', 'itemType': DeleteAclPolicyRequestAclPolicyList },
|
|
3143
|
+
vpcId: 'string',
|
|
3144
|
+
};
|
|
3145
|
+
}
|
|
3146
|
+
|
|
3147
|
+
constructor(map?: { [key: string]: any }) {
|
|
3148
|
+
super(map);
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3152
|
+
export class DeleteAclPolicyShrinkRequest extends $tea.Model {
|
|
3153
|
+
/**
|
|
3154
|
+
* @remarks
|
|
3155
|
+
* The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
|
|
3156
|
+
*/
|
|
3157
|
+
aclPolicyListShrink?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* @remarks
|
|
3160
|
+
* The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
|
|
3161
|
+
*
|
|
3162
|
+
* @example
|
|
3163
|
+
* vpc-uf66uio7md****
|
|
3164
|
+
*/
|
|
3165
|
+
vpcId?: string;
|
|
3166
|
+
static names(): { [key: string]: string } {
|
|
2801
3167
|
return {
|
|
2802
3168
|
aclPolicyListShrink: 'AclPolicyList',
|
|
2803
3169
|
vpcId: 'VpcId',
|
|
@@ -3126,6 +3492,120 @@ export class DeleteGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
|
3126
3492
|
}
|
|
3127
3493
|
}
|
|
3128
3494
|
|
|
3495
|
+
export class DeleteGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
3496
|
+
peerVpcs?: DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs[];
|
|
3497
|
+
/**
|
|
3498
|
+
* @example
|
|
3499
|
+
* vpc-2zetuli9ws0qgjd******
|
|
3500
|
+
*/
|
|
3501
|
+
vpcId?: string;
|
|
3502
|
+
static names(): { [key: string]: string } {
|
|
3503
|
+
return {
|
|
3504
|
+
peerVpcs: 'PeerVpcs',
|
|
3505
|
+
vpcId: 'VpcId',
|
|
3506
|
+
};
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
static types(): { [key: string]: any } {
|
|
3510
|
+
return {
|
|
3511
|
+
peerVpcs: { 'type': 'array', 'itemType': DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs },
|
|
3512
|
+
vpcId: 'string',
|
|
3513
|
+
};
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3516
|
+
constructor(map?: { [key: string]: any }) {
|
|
3517
|
+
super(map);
|
|
3518
|
+
}
|
|
3519
|
+
}
|
|
3520
|
+
|
|
3521
|
+
export class DeleteGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model {
|
|
3522
|
+
peerVpcsShrink?: string;
|
|
3523
|
+
/**
|
|
3524
|
+
* @example
|
|
3525
|
+
* vpc-2zetuli9ws0qgjd******
|
|
3526
|
+
*/
|
|
3527
|
+
vpcId?: string;
|
|
3528
|
+
static names(): { [key: string]: string } {
|
|
3529
|
+
return {
|
|
3530
|
+
peerVpcsShrink: 'PeerVpcs',
|
|
3531
|
+
vpcId: 'VpcId',
|
|
3532
|
+
};
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
static types(): { [key: string]: any } {
|
|
3536
|
+
return {
|
|
3537
|
+
peerVpcsShrink: 'string',
|
|
3538
|
+
vpcId: 'string',
|
|
3539
|
+
};
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
constructor(map?: { [key: string]: any }) {
|
|
3543
|
+
super(map);
|
|
3544
|
+
}
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
export class DeleteGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
|
|
3548
|
+
/**
|
|
3549
|
+
* @example
|
|
3550
|
+
* gw-1uhcqmsc7x22******
|
|
3551
|
+
*/
|
|
3552
|
+
gatewayId?: string;
|
|
3553
|
+
/**
|
|
3554
|
+
* @example
|
|
3555
|
+
* Successfully delete intranet linked vpc Peer for gateway
|
|
3556
|
+
*/
|
|
3557
|
+
message?: string;
|
|
3558
|
+
/**
|
|
3559
|
+
* @example
|
|
3560
|
+
* 40325405-579C-4D82****
|
|
3561
|
+
*/
|
|
3562
|
+
requestId?: string;
|
|
3563
|
+
static names(): { [key: string]: string } {
|
|
3564
|
+
return {
|
|
3565
|
+
gatewayId: 'GatewayId',
|
|
3566
|
+
message: 'Message',
|
|
3567
|
+
requestId: 'requestId',
|
|
3568
|
+
};
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
static types(): { [key: string]: any } {
|
|
3572
|
+
return {
|
|
3573
|
+
gatewayId: 'string',
|
|
3574
|
+
message: 'string',
|
|
3575
|
+
requestId: 'string',
|
|
3576
|
+
};
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
constructor(map?: { [key: string]: any }) {
|
|
3580
|
+
super(map);
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
export class DeleteGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
|
|
3585
|
+
headers?: { [key: string]: string };
|
|
3586
|
+
statusCode?: number;
|
|
3587
|
+
body?: DeleteGatewayIntranetLinkedVpcPeerResponseBody;
|
|
3588
|
+
static names(): { [key: string]: string } {
|
|
3589
|
+
return {
|
|
3590
|
+
headers: 'headers',
|
|
3591
|
+
statusCode: 'statusCode',
|
|
3592
|
+
body: 'body',
|
|
3593
|
+
};
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
static types(): { [key: string]: any } {
|
|
3597
|
+
return {
|
|
3598
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3599
|
+
statusCode: 'number',
|
|
3600
|
+
body: DeleteGatewayIntranetLinkedVpcPeerResponseBody,
|
|
3601
|
+
};
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
constructor(map?: { [key: string]: any }) {
|
|
3605
|
+
super(map);
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3129
3609
|
export class DeleteResourceResponseBody extends $tea.Model {
|
|
3130
3610
|
/**
|
|
3131
3611
|
* @remarks
|
|
@@ -3873,6 +4353,67 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
3873
4353
|
}
|
|
3874
4354
|
}
|
|
3875
4355
|
|
|
4356
|
+
export class DeleteVirtualResourceResponseBody extends $tea.Model {
|
|
4357
|
+
/**
|
|
4358
|
+
* @remarks
|
|
4359
|
+
* The information about the operation result.
|
|
4360
|
+
*
|
|
4361
|
+
* @example
|
|
4362
|
+
* Successfully deleted virtual resource eas-vr-npovr28onap1xxxxxx
|
|
4363
|
+
*/
|
|
4364
|
+
message?: string;
|
|
4365
|
+
/**
|
|
4366
|
+
* @remarks
|
|
4367
|
+
* The ID of the request.
|
|
4368
|
+
*
|
|
4369
|
+
* @example
|
|
4370
|
+
* 40325405-579C-4D82***
|
|
4371
|
+
*/
|
|
4372
|
+
requestId?: string;
|
|
4373
|
+
static names(): { [key: string]: string } {
|
|
4374
|
+
return {
|
|
4375
|
+
message: 'Message',
|
|
4376
|
+
requestId: 'RequestId',
|
|
4377
|
+
};
|
|
4378
|
+
}
|
|
4379
|
+
|
|
4380
|
+
static types(): { [key: string]: any } {
|
|
4381
|
+
return {
|
|
4382
|
+
message: 'string',
|
|
4383
|
+
requestId: 'string',
|
|
4384
|
+
};
|
|
4385
|
+
}
|
|
4386
|
+
|
|
4387
|
+
constructor(map?: { [key: string]: any }) {
|
|
4388
|
+
super(map);
|
|
4389
|
+
}
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
export class DeleteVirtualResourceResponse extends $tea.Model {
|
|
4393
|
+
headers?: { [key: string]: string };
|
|
4394
|
+
statusCode?: number;
|
|
4395
|
+
body?: DeleteVirtualResourceResponseBody;
|
|
4396
|
+
static names(): { [key: string]: string } {
|
|
4397
|
+
return {
|
|
4398
|
+
headers: 'headers',
|
|
4399
|
+
statusCode: 'statusCode',
|
|
4400
|
+
body: 'body',
|
|
4401
|
+
};
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
static types(): { [key: string]: any } {
|
|
4405
|
+
return {
|
|
4406
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4407
|
+
statusCode: 'number',
|
|
4408
|
+
body: DeleteVirtualResourceResponseBody,
|
|
4409
|
+
};
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
constructor(map?: { [key: string]: any }) {
|
|
4413
|
+
super(map);
|
|
4414
|
+
}
|
|
4415
|
+
}
|
|
4416
|
+
|
|
3876
4417
|
export class DescribeBenchmarkTaskResponseBody extends $tea.Model {
|
|
3877
4418
|
/**
|
|
3878
4419
|
* @remarks
|
|
@@ -5767,16 +6308,235 @@ export class DescribeSpotDiscountHistoryResponse extends $tea.Model {
|
|
|
5767
6308
|
}
|
|
5768
6309
|
}
|
|
5769
6310
|
|
|
5770
|
-
export class
|
|
6311
|
+
export class DescribeVirtualResourceResponseBody extends $tea.Model {
|
|
5771
6312
|
/**
|
|
5772
6313
|
* @remarks
|
|
5773
|
-
*
|
|
5774
|
-
*
|
|
5775
|
-
* * true: exits development mode.
|
|
5776
|
-
* * false (default): enters development mode.
|
|
6314
|
+
* The time when the virtual resource group was created.
|
|
5777
6315
|
*
|
|
5778
6316
|
* @example
|
|
5779
|
-
*
|
|
6317
|
+
* 2024-10-16T17:52:49Z
|
|
6318
|
+
*/
|
|
6319
|
+
createTime?: string;
|
|
6320
|
+
/**
|
|
6321
|
+
* @remarks
|
|
6322
|
+
* The ID of the request.
|
|
6323
|
+
*
|
|
6324
|
+
* @example
|
|
6325
|
+
* 40325405-579C-4D82****
|
|
6326
|
+
*/
|
|
6327
|
+
requestId?: string;
|
|
6328
|
+
/**
|
|
6329
|
+
* @remarks
|
|
6330
|
+
* The list of resources in the virtual resource group.
|
|
6331
|
+
*/
|
|
6332
|
+
resources?: DescribeVirtualResourceResponseBodyResources[];
|
|
6333
|
+
/**
|
|
6334
|
+
* @remarks
|
|
6335
|
+
* The time when the virtual resource group was last updated.
|
|
6336
|
+
*
|
|
6337
|
+
* @example
|
|
6338
|
+
* 2024-10-16T19:52:49Z
|
|
6339
|
+
*/
|
|
6340
|
+
updateTime?: string;
|
|
6341
|
+
/**
|
|
6342
|
+
* @remarks
|
|
6343
|
+
* The ID of the virtual resource group.
|
|
6344
|
+
*
|
|
6345
|
+
* @example
|
|
6346
|
+
* eas-vr-npovr28onap1xxxxxx
|
|
6347
|
+
*/
|
|
6348
|
+
virtualResourceId?: string;
|
|
6349
|
+
/**
|
|
6350
|
+
* @remarks
|
|
6351
|
+
* The name of the virtual resource group.
|
|
6352
|
+
*
|
|
6353
|
+
* @example
|
|
6354
|
+
* MyVirtualResource
|
|
6355
|
+
*/
|
|
6356
|
+
virtualResourceName?: string;
|
|
6357
|
+
static names(): { [key: string]: string } {
|
|
6358
|
+
return {
|
|
6359
|
+
createTime: 'CreateTime',
|
|
6360
|
+
requestId: 'RequestId',
|
|
6361
|
+
resources: 'Resources',
|
|
6362
|
+
updateTime: 'UpdateTime',
|
|
6363
|
+
virtualResourceId: 'VirtualResourceId',
|
|
6364
|
+
virtualResourceName: 'VirtualResourceName',
|
|
6365
|
+
};
|
|
6366
|
+
}
|
|
6367
|
+
|
|
6368
|
+
static types(): { [key: string]: any } {
|
|
6369
|
+
return {
|
|
6370
|
+
createTime: 'string',
|
|
6371
|
+
requestId: 'string',
|
|
6372
|
+
resources: { 'type': 'array', 'itemType': DescribeVirtualResourceResponseBodyResources },
|
|
6373
|
+
updateTime: 'string',
|
|
6374
|
+
virtualResourceId: 'string',
|
|
6375
|
+
virtualResourceName: 'string',
|
|
6376
|
+
};
|
|
6377
|
+
}
|
|
6378
|
+
|
|
6379
|
+
constructor(map?: { [key: string]: any }) {
|
|
6380
|
+
super(map);
|
|
6381
|
+
}
|
|
6382
|
+
}
|
|
6383
|
+
|
|
6384
|
+
export class DescribeVirtualResourceResponse extends $tea.Model {
|
|
6385
|
+
headers?: { [key: string]: string };
|
|
6386
|
+
statusCode?: number;
|
|
6387
|
+
body?: DescribeVirtualResourceResponseBody;
|
|
6388
|
+
static names(): { [key: string]: string } {
|
|
6389
|
+
return {
|
|
6390
|
+
headers: 'headers',
|
|
6391
|
+
statusCode: 'statusCode',
|
|
6392
|
+
body: 'body',
|
|
6393
|
+
};
|
|
6394
|
+
}
|
|
6395
|
+
|
|
6396
|
+
static types(): { [key: string]: any } {
|
|
6397
|
+
return {
|
|
6398
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6399
|
+
statusCode: 'number',
|
|
6400
|
+
body: DescribeVirtualResourceResponseBody,
|
|
6401
|
+
};
|
|
6402
|
+
}
|
|
6403
|
+
|
|
6404
|
+
constructor(map?: { [key: string]: any }) {
|
|
6405
|
+
super(map);
|
|
6406
|
+
}
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6409
|
+
export class DetachGatewayDomainRequest extends $tea.Model {
|
|
6410
|
+
/**
|
|
6411
|
+
* @remarks
|
|
6412
|
+
* The custom domain name information.
|
|
6413
|
+
*
|
|
6414
|
+
* This parameter is required.
|
|
6415
|
+
*/
|
|
6416
|
+
customDomain?: DetachGatewayDomainRequestCustomDomain;
|
|
6417
|
+
static names(): { [key: string]: string } {
|
|
6418
|
+
return {
|
|
6419
|
+
customDomain: 'CustomDomain',
|
|
6420
|
+
};
|
|
6421
|
+
}
|
|
6422
|
+
|
|
6423
|
+
static types(): { [key: string]: any } {
|
|
6424
|
+
return {
|
|
6425
|
+
customDomain: DetachGatewayDomainRequestCustomDomain,
|
|
6426
|
+
};
|
|
6427
|
+
}
|
|
6428
|
+
|
|
6429
|
+
constructor(map?: { [key: string]: any }) {
|
|
6430
|
+
super(map);
|
|
6431
|
+
}
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
export class DetachGatewayDomainShrinkRequest extends $tea.Model {
|
|
6435
|
+
/**
|
|
6436
|
+
* @remarks
|
|
6437
|
+
* The custom domain name information.
|
|
6438
|
+
*
|
|
6439
|
+
* This parameter is required.
|
|
6440
|
+
*/
|
|
6441
|
+
customDomainShrink?: string;
|
|
6442
|
+
static names(): { [key: string]: string } {
|
|
6443
|
+
return {
|
|
6444
|
+
customDomainShrink: 'CustomDomain',
|
|
6445
|
+
};
|
|
6446
|
+
}
|
|
6447
|
+
|
|
6448
|
+
static types(): { [key: string]: any } {
|
|
6449
|
+
return {
|
|
6450
|
+
customDomainShrink: 'string',
|
|
6451
|
+
};
|
|
6452
|
+
}
|
|
6453
|
+
|
|
6454
|
+
constructor(map?: { [key: string]: any }) {
|
|
6455
|
+
super(map);
|
|
6456
|
+
}
|
|
6457
|
+
}
|
|
6458
|
+
|
|
6459
|
+
export class DetachGatewayDomainResponseBody extends $tea.Model {
|
|
6460
|
+
/**
|
|
6461
|
+
* @remarks
|
|
6462
|
+
* The ID of the private gateway. To obtain the private gateway ID, see the GatewayId parameter in the response parameters of the [ListGateway](https://apiworkbench.aliyun-inc.com/document/eas/2021-07-01/ListGateway?spm=openapi-amp.newDocPublishment.0.0.765e281fL2IcjJ\\&Env=online) operation.
|
|
6463
|
+
*
|
|
6464
|
+
* @example
|
|
6465
|
+
* gw-1uhcqmsc7x22******
|
|
6466
|
+
*/
|
|
6467
|
+
gatewayId?: string;
|
|
6468
|
+
/**
|
|
6469
|
+
* @remarks
|
|
6470
|
+
* The message that is returned.
|
|
6471
|
+
*
|
|
6472
|
+
* @example
|
|
6473
|
+
* Successfully delete custom endpoint for gateway gw-1uhcqmsc7x22******
|
|
6474
|
+
*/
|
|
6475
|
+
message?: string;
|
|
6476
|
+
/**
|
|
6477
|
+
* @remarks
|
|
6478
|
+
* The ID of the request.
|
|
6479
|
+
*
|
|
6480
|
+
* @example
|
|
6481
|
+
* 40325405-579C-4D82****
|
|
6482
|
+
*/
|
|
6483
|
+
requestId?: string;
|
|
6484
|
+
static names(): { [key: string]: string } {
|
|
6485
|
+
return {
|
|
6486
|
+
gatewayId: 'GatewayId',
|
|
6487
|
+
message: 'Message',
|
|
6488
|
+
requestId: 'RequestId',
|
|
6489
|
+
};
|
|
6490
|
+
}
|
|
6491
|
+
|
|
6492
|
+
static types(): { [key: string]: any } {
|
|
6493
|
+
return {
|
|
6494
|
+
gatewayId: 'string',
|
|
6495
|
+
message: 'string',
|
|
6496
|
+
requestId: 'string',
|
|
6497
|
+
};
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6500
|
+
constructor(map?: { [key: string]: any }) {
|
|
6501
|
+
super(map);
|
|
6502
|
+
}
|
|
6503
|
+
}
|
|
6504
|
+
|
|
6505
|
+
export class DetachGatewayDomainResponse extends $tea.Model {
|
|
6506
|
+
headers?: { [key: string]: string };
|
|
6507
|
+
statusCode?: number;
|
|
6508
|
+
body?: DetachGatewayDomainResponseBody;
|
|
6509
|
+
static names(): { [key: string]: string } {
|
|
6510
|
+
return {
|
|
6511
|
+
headers: 'headers',
|
|
6512
|
+
statusCode: 'statusCode',
|
|
6513
|
+
body: 'body',
|
|
6514
|
+
};
|
|
6515
|
+
}
|
|
6516
|
+
|
|
6517
|
+
static types(): { [key: string]: any } {
|
|
6518
|
+
return {
|
|
6519
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6520
|
+
statusCode: 'number',
|
|
6521
|
+
body: DetachGatewayDomainResponseBody,
|
|
6522
|
+
};
|
|
6523
|
+
}
|
|
6524
|
+
|
|
6525
|
+
constructor(map?: { [key: string]: any }) {
|
|
6526
|
+
super(map);
|
|
6527
|
+
}
|
|
6528
|
+
}
|
|
6529
|
+
|
|
6530
|
+
export class DevelopServiceRequest extends $tea.Model {
|
|
6531
|
+
/**
|
|
6532
|
+
* @remarks
|
|
6533
|
+
* Specifies whether to exit development mode. Valid values:
|
|
6534
|
+
*
|
|
6535
|
+
* * true: exits development mode.
|
|
6536
|
+
* * false (default): enters development mode.
|
|
6537
|
+
*
|
|
6538
|
+
* @example
|
|
6539
|
+
* true
|
|
5780
6540
|
*/
|
|
5781
6541
|
exit?: string;
|
|
5782
6542
|
static names(): { [key: string]: string } {
|
|
@@ -6135,12 +6895,21 @@ export class ListGatewayRequest extends $tea.Model {
|
|
|
6135
6895
|
* 100
|
|
6136
6896
|
*/
|
|
6137
6897
|
pageSize?: number;
|
|
6898
|
+
/**
|
|
6899
|
+
* @remarks
|
|
6900
|
+
* The ID of the resource group. To obtain a resource group ID, see the ResourceId field in the response of the [ListResources](https://help.aliyun.com/document_detail/412133.html) operation.
|
|
6901
|
+
*
|
|
6902
|
+
* @example
|
|
6903
|
+
* eas-r-4gt8twzwllfo******
|
|
6904
|
+
*/
|
|
6905
|
+
resourceName?: string;
|
|
6138
6906
|
static names(): { [key: string]: string } {
|
|
6139
6907
|
return {
|
|
6140
6908
|
gatewayId: 'GatewayId',
|
|
6141
6909
|
gatewayName: 'GatewayName',
|
|
6142
6910
|
pageNumber: 'PageNumber',
|
|
6143
6911
|
pageSize: 'PageSize',
|
|
6912
|
+
resourceName: 'ResourceName',
|
|
6144
6913
|
};
|
|
6145
6914
|
}
|
|
6146
6915
|
|
|
@@ -6150,6 +6919,7 @@ export class ListGatewayRequest extends $tea.Model {
|
|
|
6150
6919
|
gatewayName: 'string',
|
|
6151
6920
|
pageNumber: 'number',
|
|
6152
6921
|
pageSize: 'number',
|
|
6922
|
+
resourceName: 'string',
|
|
6153
6923
|
};
|
|
6154
6924
|
}
|
|
6155
6925
|
|
|
@@ -6246,6 +7016,74 @@ export class ListGatewayResponse extends $tea.Model {
|
|
|
6246
7016
|
}
|
|
6247
7017
|
}
|
|
6248
7018
|
|
|
7019
|
+
export class ListGatewayDomainsResponseBody extends $tea.Model {
|
|
7020
|
+
/**
|
|
7021
|
+
* @remarks
|
|
7022
|
+
* The list of custom domain names.
|
|
7023
|
+
*/
|
|
7024
|
+
customDomains?: ListGatewayDomainsResponseBodyCustomDomains[];
|
|
7025
|
+
/**
|
|
7026
|
+
* @remarks
|
|
7027
|
+
* The message that is returned.
|
|
7028
|
+
*
|
|
7029
|
+
* @example
|
|
7030
|
+
* Successfully get custom domains
|
|
7031
|
+
*/
|
|
7032
|
+
message?: string;
|
|
7033
|
+
/**
|
|
7034
|
+
* @remarks
|
|
7035
|
+
* The ID of the request.
|
|
7036
|
+
*
|
|
7037
|
+
* @example
|
|
7038
|
+
* 40325405-579C-4D82****
|
|
7039
|
+
*/
|
|
7040
|
+
requestId?: string;
|
|
7041
|
+
static names(): { [key: string]: string } {
|
|
7042
|
+
return {
|
|
7043
|
+
customDomains: 'CustomDomains',
|
|
7044
|
+
message: 'Message',
|
|
7045
|
+
requestId: 'RequestId',
|
|
7046
|
+
};
|
|
7047
|
+
}
|
|
7048
|
+
|
|
7049
|
+
static types(): { [key: string]: any } {
|
|
7050
|
+
return {
|
|
7051
|
+
customDomains: { 'type': 'array', 'itemType': ListGatewayDomainsResponseBodyCustomDomains },
|
|
7052
|
+
message: 'string',
|
|
7053
|
+
requestId: 'string',
|
|
7054
|
+
};
|
|
7055
|
+
}
|
|
7056
|
+
|
|
7057
|
+
constructor(map?: { [key: string]: any }) {
|
|
7058
|
+
super(map);
|
|
7059
|
+
}
|
|
7060
|
+
}
|
|
7061
|
+
|
|
7062
|
+
export class ListGatewayDomainsResponse extends $tea.Model {
|
|
7063
|
+
headers?: { [key: string]: string };
|
|
7064
|
+
statusCode?: number;
|
|
7065
|
+
body?: ListGatewayDomainsResponseBody;
|
|
7066
|
+
static names(): { [key: string]: string } {
|
|
7067
|
+
return {
|
|
7068
|
+
headers: 'headers',
|
|
7069
|
+
statusCode: 'statusCode',
|
|
7070
|
+
body: 'body',
|
|
7071
|
+
};
|
|
7072
|
+
}
|
|
7073
|
+
|
|
7074
|
+
static types(): { [key: string]: any } {
|
|
7075
|
+
return {
|
|
7076
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7077
|
+
statusCode: 'number',
|
|
7078
|
+
body: ListGatewayDomainsResponseBody,
|
|
7079
|
+
};
|
|
7080
|
+
}
|
|
7081
|
+
|
|
7082
|
+
constructor(map?: { [key: string]: any }) {
|
|
7083
|
+
super(map);
|
|
7084
|
+
}
|
|
7085
|
+
}
|
|
7086
|
+
|
|
6249
7087
|
export class ListGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
|
|
6250
7088
|
/**
|
|
6251
7089
|
* @remarks
|
|
@@ -6314,6 +7152,87 @@ export class ListGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
|
6314
7152
|
}
|
|
6315
7153
|
}
|
|
6316
7154
|
|
|
7155
|
+
export class ListGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
7156
|
+
/**
|
|
7157
|
+
* @example
|
|
7158
|
+
* vpc-2zetuli9ws0qgjd******
|
|
7159
|
+
*/
|
|
7160
|
+
vpcId?: string;
|
|
7161
|
+
static names(): { [key: string]: string } {
|
|
7162
|
+
return {
|
|
7163
|
+
vpcId: 'VpcId',
|
|
7164
|
+
};
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7167
|
+
static types(): { [key: string]: any } {
|
|
7168
|
+
return {
|
|
7169
|
+
vpcId: 'string',
|
|
7170
|
+
};
|
|
7171
|
+
}
|
|
7172
|
+
|
|
7173
|
+
constructor(map?: { [key: string]: any }) {
|
|
7174
|
+
super(map);
|
|
7175
|
+
}
|
|
7176
|
+
}
|
|
7177
|
+
|
|
7178
|
+
export class ListGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
|
|
7179
|
+
/**
|
|
7180
|
+
* @example
|
|
7181
|
+
* gw-1uhcqmsc7x22******
|
|
7182
|
+
*/
|
|
7183
|
+
gatewayId?: string;
|
|
7184
|
+
peerVpcList?: ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList[];
|
|
7185
|
+
/**
|
|
7186
|
+
* @example
|
|
7187
|
+
* 40325405-579C-4D82****
|
|
7188
|
+
*/
|
|
7189
|
+
requestId?: string;
|
|
7190
|
+
static names(): { [key: string]: string } {
|
|
7191
|
+
return {
|
|
7192
|
+
gatewayId: 'GatewayId',
|
|
7193
|
+
peerVpcList: 'PeerVpcList',
|
|
7194
|
+
requestId: 'requestId',
|
|
7195
|
+
};
|
|
7196
|
+
}
|
|
7197
|
+
|
|
7198
|
+
static types(): { [key: string]: any } {
|
|
7199
|
+
return {
|
|
7200
|
+
gatewayId: 'string',
|
|
7201
|
+
peerVpcList: { 'type': 'array', 'itemType': ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList },
|
|
7202
|
+
requestId: 'string',
|
|
7203
|
+
};
|
|
7204
|
+
}
|
|
7205
|
+
|
|
7206
|
+
constructor(map?: { [key: string]: any }) {
|
|
7207
|
+
super(map);
|
|
7208
|
+
}
|
|
7209
|
+
}
|
|
7210
|
+
|
|
7211
|
+
export class ListGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
|
|
7212
|
+
headers?: { [key: string]: string };
|
|
7213
|
+
statusCode?: number;
|
|
7214
|
+
body?: ListGatewayIntranetLinkedVpcPeerResponseBody;
|
|
7215
|
+
static names(): { [key: string]: string } {
|
|
7216
|
+
return {
|
|
7217
|
+
headers: 'headers',
|
|
7218
|
+
statusCode: 'statusCode',
|
|
7219
|
+
body: 'body',
|
|
7220
|
+
};
|
|
7221
|
+
}
|
|
7222
|
+
|
|
7223
|
+
static types(): { [key: string]: any } {
|
|
7224
|
+
return {
|
|
7225
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7226
|
+
statusCode: 'number',
|
|
7227
|
+
body: ListGatewayIntranetLinkedVpcPeerResponseBody,
|
|
7228
|
+
};
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
constructor(map?: { [key: string]: any }) {
|
|
7232
|
+
super(map);
|
|
7233
|
+
}
|
|
7234
|
+
}
|
|
7235
|
+
|
|
6317
7236
|
export class ListGroupsRequest extends $tea.Model {
|
|
6318
7237
|
/**
|
|
6319
7238
|
* @remarks
|
|
@@ -7795,7 +8714,7 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
7795
8714
|
filter?: string;
|
|
7796
8715
|
/**
|
|
7797
8716
|
* @remarks
|
|
7798
|
-
* The
|
|
8717
|
+
* The private gateway ID.
|
|
7799
8718
|
*
|
|
7800
8719
|
* @example
|
|
7801
8720
|
* gw-1uhcqmsc7x22******
|
|
@@ -7865,6 +8784,25 @@ export class ListServicesRequest extends $tea.Model {
|
|
|
7865
8784
|
* eas-r-hd0qwy8cxxxx
|
|
7866
8785
|
*/
|
|
7867
8786
|
resourceName?: string;
|
|
8787
|
+
/**
|
|
8788
|
+
* @remarks
|
|
8789
|
+
* The server role.
|
|
8790
|
+
*
|
|
8791
|
+
* Valid values:
|
|
8792
|
+
*
|
|
8793
|
+
* * DataLoader
|
|
8794
|
+
* * FrontEnd
|
|
8795
|
+
* * DataSet
|
|
8796
|
+
* * SDProxy
|
|
8797
|
+
* * LLMSscheduler
|
|
8798
|
+
* * ScalableJob
|
|
8799
|
+
* * LLMGateway
|
|
8800
|
+
* * Job
|
|
8801
|
+
* * Queue
|
|
8802
|
+
*
|
|
8803
|
+
* @example
|
|
8804
|
+
* LLMGateway
|
|
8805
|
+
*/
|
|
7868
8806
|
role?: string;
|
|
7869
8807
|
/**
|
|
7870
8808
|
* @remarks
|
|
@@ -8159,7 +9097,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
8159
9097
|
filter?: string;
|
|
8160
9098
|
/**
|
|
8161
9099
|
* @remarks
|
|
8162
|
-
* The
|
|
9100
|
+
* The private gateway ID.
|
|
8163
9101
|
*
|
|
8164
9102
|
* @example
|
|
8165
9103
|
* gw-1uhcqmsc7x22******
|
|
@@ -8229,6 +9167,25 @@ export class ListServicesShrinkRequest extends $tea.Model {
|
|
|
8229
9167
|
* eas-r-hd0qwy8cxxxx
|
|
8230
9168
|
*/
|
|
8231
9169
|
resourceName?: string;
|
|
9170
|
+
/**
|
|
9171
|
+
* @remarks
|
|
9172
|
+
* The server role.
|
|
9173
|
+
*
|
|
9174
|
+
* Valid values:
|
|
9175
|
+
*
|
|
9176
|
+
* * DataLoader
|
|
9177
|
+
* * FrontEnd
|
|
9178
|
+
* * DataSet
|
|
9179
|
+
* * SDProxy
|
|
9180
|
+
* * LLMSscheduler
|
|
9181
|
+
* * ScalableJob
|
|
9182
|
+
* * LLMGateway
|
|
9183
|
+
* * Job
|
|
9184
|
+
* * Queue
|
|
9185
|
+
*
|
|
9186
|
+
* @example
|
|
9187
|
+
* LLMGateway
|
|
9188
|
+
*/
|
|
8232
9189
|
role?: string;
|
|
8233
9190
|
/**
|
|
8234
9191
|
* @remarks
|
|
@@ -8600,31 +9557,175 @@ export class ListServicesResponse extends $tea.Model {
|
|
|
8600
9557
|
}
|
|
8601
9558
|
}
|
|
8602
9559
|
|
|
8603
|
-
export class ListTenantAddonsResponseBody extends $tea.Model {
|
|
9560
|
+
export class ListTenantAddonsResponseBody extends $tea.Model {
|
|
9561
|
+
/**
|
|
9562
|
+
* @remarks
|
|
9563
|
+
* The information about the plug-in.
|
|
9564
|
+
*/
|
|
9565
|
+
addons?: ListTenantAddonsResponseBodyAddons[];
|
|
9566
|
+
/**
|
|
9567
|
+
* @remarks
|
|
9568
|
+
* The request ID.
|
|
9569
|
+
*
|
|
9570
|
+
* @example
|
|
9571
|
+
* 40325405-579C-4D82****
|
|
9572
|
+
*/
|
|
9573
|
+
requestId?: string;
|
|
9574
|
+
static names(): { [key: string]: string } {
|
|
9575
|
+
return {
|
|
9576
|
+
addons: 'Addons',
|
|
9577
|
+
requestId: 'RequestId',
|
|
9578
|
+
};
|
|
9579
|
+
}
|
|
9580
|
+
|
|
9581
|
+
static types(): { [key: string]: any } {
|
|
9582
|
+
return {
|
|
9583
|
+
addons: { 'type': 'array', 'itemType': ListTenantAddonsResponseBodyAddons },
|
|
9584
|
+
requestId: 'string',
|
|
9585
|
+
};
|
|
9586
|
+
}
|
|
9587
|
+
|
|
9588
|
+
constructor(map?: { [key: string]: any }) {
|
|
9589
|
+
super(map);
|
|
9590
|
+
}
|
|
9591
|
+
}
|
|
9592
|
+
|
|
9593
|
+
export class ListTenantAddonsResponse extends $tea.Model {
|
|
9594
|
+
headers?: { [key: string]: string };
|
|
9595
|
+
statusCode?: number;
|
|
9596
|
+
body?: ListTenantAddonsResponseBody;
|
|
9597
|
+
static names(): { [key: string]: string } {
|
|
9598
|
+
return {
|
|
9599
|
+
headers: 'headers',
|
|
9600
|
+
statusCode: 'statusCode',
|
|
9601
|
+
body: 'body',
|
|
9602
|
+
};
|
|
9603
|
+
}
|
|
9604
|
+
|
|
9605
|
+
static types(): { [key: string]: any } {
|
|
9606
|
+
return {
|
|
9607
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9608
|
+
statusCode: 'number',
|
|
9609
|
+
body: ListTenantAddonsResponseBody,
|
|
9610
|
+
};
|
|
9611
|
+
}
|
|
9612
|
+
|
|
9613
|
+
constructor(map?: { [key: string]: any }) {
|
|
9614
|
+
super(map);
|
|
9615
|
+
}
|
|
9616
|
+
}
|
|
9617
|
+
|
|
9618
|
+
export class ListVirtualResourceRequest extends $tea.Model {
|
|
9619
|
+
/**
|
|
9620
|
+
* @remarks
|
|
9621
|
+
* The page number. Pages start from page 1. Default value: 1.
|
|
9622
|
+
*
|
|
9623
|
+
* @example
|
|
9624
|
+
* 1
|
|
9625
|
+
*/
|
|
9626
|
+
pageNumber?: number;
|
|
9627
|
+
/**
|
|
9628
|
+
* @remarks
|
|
9629
|
+
* The number of entries per page. Default value: 100.
|
|
9630
|
+
*
|
|
9631
|
+
* @example
|
|
9632
|
+
* 20
|
|
9633
|
+
*/
|
|
9634
|
+
pageSize?: number;
|
|
9635
|
+
/**
|
|
9636
|
+
* @remarks
|
|
9637
|
+
* The ID of the virtual resource group.
|
|
9638
|
+
*
|
|
9639
|
+
* @example
|
|
9640
|
+
* eas-vr-npovr28onap1xxxxxx
|
|
9641
|
+
*/
|
|
9642
|
+
virtualResourceId?: string;
|
|
9643
|
+
/**
|
|
9644
|
+
* @remarks
|
|
9645
|
+
* The name of the virtual resource group.
|
|
9646
|
+
*
|
|
9647
|
+
* @example
|
|
9648
|
+
* MyVirtualResource
|
|
9649
|
+
*/
|
|
9650
|
+
virtualResourceName?: string;
|
|
9651
|
+
static names(): { [key: string]: string } {
|
|
9652
|
+
return {
|
|
9653
|
+
pageNumber: 'PageNumber',
|
|
9654
|
+
pageSize: 'PageSize',
|
|
9655
|
+
virtualResourceId: 'VirtualResourceId',
|
|
9656
|
+
virtualResourceName: 'VirtualResourceName',
|
|
9657
|
+
};
|
|
9658
|
+
}
|
|
9659
|
+
|
|
9660
|
+
static types(): { [key: string]: any } {
|
|
9661
|
+
return {
|
|
9662
|
+
pageNumber: 'number',
|
|
9663
|
+
pageSize: 'number',
|
|
9664
|
+
virtualResourceId: 'string',
|
|
9665
|
+
virtualResourceName: 'string',
|
|
9666
|
+
};
|
|
9667
|
+
}
|
|
9668
|
+
|
|
9669
|
+
constructor(map?: { [key: string]: any }) {
|
|
9670
|
+
super(map);
|
|
9671
|
+
}
|
|
9672
|
+
}
|
|
9673
|
+
|
|
9674
|
+
export class ListVirtualResourceResponseBody extends $tea.Model {
|
|
8604
9675
|
/**
|
|
8605
9676
|
* @remarks
|
|
8606
|
-
* The
|
|
9677
|
+
* The page number.
|
|
9678
|
+
*
|
|
9679
|
+
* @example
|
|
9680
|
+
* 1
|
|
8607
9681
|
*/
|
|
8608
|
-
|
|
9682
|
+
pageNumber?: number;
|
|
8609
9683
|
/**
|
|
8610
9684
|
* @remarks
|
|
8611
|
-
* The
|
|
9685
|
+
* The number of entries per page.
|
|
9686
|
+
*
|
|
9687
|
+
* @example
|
|
9688
|
+
* 20
|
|
9689
|
+
*/
|
|
9690
|
+
pageSize?: number;
|
|
9691
|
+
/**
|
|
9692
|
+
* @remarks
|
|
9693
|
+
* The ID of the request.
|
|
8612
9694
|
*
|
|
8613
9695
|
* @example
|
|
8614
9696
|
* 40325405-579C-4D82****
|
|
8615
9697
|
*/
|
|
8616
9698
|
requestId?: string;
|
|
9699
|
+
/**
|
|
9700
|
+
* @remarks
|
|
9701
|
+
* The total number of entries returned.
|
|
9702
|
+
*
|
|
9703
|
+
* @example
|
|
9704
|
+
* 100
|
|
9705
|
+
*/
|
|
9706
|
+
totalCount?: number;
|
|
9707
|
+
/**
|
|
9708
|
+
* @remarks
|
|
9709
|
+
* The list of virtual resource groups.
|
|
9710
|
+
*/
|
|
9711
|
+
virtualResources?: ListVirtualResourceResponseBodyVirtualResources[];
|
|
8617
9712
|
static names(): { [key: string]: string } {
|
|
8618
9713
|
return {
|
|
8619
|
-
|
|
9714
|
+
pageNumber: 'PageNumber',
|
|
9715
|
+
pageSize: 'PageSize',
|
|
8620
9716
|
requestId: 'RequestId',
|
|
9717
|
+
totalCount: 'TotalCount',
|
|
9718
|
+
virtualResources: 'VirtualResources',
|
|
8621
9719
|
};
|
|
8622
9720
|
}
|
|
8623
9721
|
|
|
8624
9722
|
static types(): { [key: string]: any } {
|
|
8625
9723
|
return {
|
|
8626
|
-
|
|
9724
|
+
pageNumber: 'number',
|
|
9725
|
+
pageSize: 'number',
|
|
8627
9726
|
requestId: 'string',
|
|
9727
|
+
totalCount: 'number',
|
|
9728
|
+
virtualResources: { 'type': 'array', 'itemType': ListVirtualResourceResponseBodyVirtualResources },
|
|
8628
9729
|
};
|
|
8629
9730
|
}
|
|
8630
9731
|
|
|
@@ -8633,10 +9734,10 @@ export class ListTenantAddonsResponseBody extends $tea.Model {
|
|
|
8633
9734
|
}
|
|
8634
9735
|
}
|
|
8635
9736
|
|
|
8636
|
-
export class
|
|
9737
|
+
export class ListVirtualResourceResponse extends $tea.Model {
|
|
8637
9738
|
headers?: { [key: string]: string };
|
|
8638
9739
|
statusCode?: number;
|
|
8639
|
-
body?:
|
|
9740
|
+
body?: ListVirtualResourceResponseBody;
|
|
8640
9741
|
static names(): { [key: string]: string } {
|
|
8641
9742
|
return {
|
|
8642
9743
|
headers: 'headers',
|
|
@@ -8649,7 +9750,7 @@ export class ListTenantAddonsResponse extends $tea.Model {
|
|
|
8649
9750
|
return {
|
|
8650
9751
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8651
9752
|
statusCode: 'number',
|
|
8652
|
-
body:
|
|
9753
|
+
body: ListVirtualResourceResponseBody,
|
|
8653
9754
|
};
|
|
8654
9755
|
}
|
|
8655
9756
|
|
|
@@ -10632,6 +11733,102 @@ export class UpdateServiceVersionResponse extends $tea.Model {
|
|
|
10632
11733
|
}
|
|
10633
11734
|
}
|
|
10634
11735
|
|
|
11736
|
+
export class UpdateVirtualResourceRequest extends $tea.Model {
|
|
11737
|
+
/**
|
|
11738
|
+
* @remarks
|
|
11739
|
+
* The list of resources in the virtual resource group.
|
|
11740
|
+
*
|
|
11741
|
+
* > If you specify this parameter, previous data are overwritten.
|
|
11742
|
+
*/
|
|
11743
|
+
resources?: UpdateVirtualResourceRequestResources[];
|
|
11744
|
+
/**
|
|
11745
|
+
* @remarks
|
|
11746
|
+
* The new name for the virtual resource group.
|
|
11747
|
+
*
|
|
11748
|
+
* @example
|
|
11749
|
+
* NewMyVirtualResource
|
|
11750
|
+
*/
|
|
11751
|
+
virtualResourceName?: string;
|
|
11752
|
+
static names(): { [key: string]: string } {
|
|
11753
|
+
return {
|
|
11754
|
+
resources: 'Resources',
|
|
11755
|
+
virtualResourceName: 'VirtualResourceName',
|
|
11756
|
+
};
|
|
11757
|
+
}
|
|
11758
|
+
|
|
11759
|
+
static types(): { [key: string]: any } {
|
|
11760
|
+
return {
|
|
11761
|
+
resources: { 'type': 'array', 'itemType': UpdateVirtualResourceRequestResources },
|
|
11762
|
+
virtualResourceName: 'string',
|
|
11763
|
+
};
|
|
11764
|
+
}
|
|
11765
|
+
|
|
11766
|
+
constructor(map?: { [key: string]: any }) {
|
|
11767
|
+
super(map);
|
|
11768
|
+
}
|
|
11769
|
+
}
|
|
11770
|
+
|
|
11771
|
+
export class UpdateVirtualResourceResponseBody extends $tea.Model {
|
|
11772
|
+
/**
|
|
11773
|
+
* @remarks
|
|
11774
|
+
* The returned message.
|
|
11775
|
+
*
|
|
11776
|
+
* @example
|
|
11777
|
+
* Successfully updated virtual resource eas-vr-npovr28onap1xxxxxx
|
|
11778
|
+
*/
|
|
11779
|
+
message?: string;
|
|
11780
|
+
/**
|
|
11781
|
+
* @remarks
|
|
11782
|
+
* The ID of the request.
|
|
11783
|
+
*
|
|
11784
|
+
* @example
|
|
11785
|
+
* 40325405-579C-4D82****
|
|
11786
|
+
*/
|
|
11787
|
+
requestId?: string;
|
|
11788
|
+
static names(): { [key: string]: string } {
|
|
11789
|
+
return {
|
|
11790
|
+
message: 'Message',
|
|
11791
|
+
requestId: 'RequestId',
|
|
11792
|
+
};
|
|
11793
|
+
}
|
|
11794
|
+
|
|
11795
|
+
static types(): { [key: string]: any } {
|
|
11796
|
+
return {
|
|
11797
|
+
message: 'string',
|
|
11798
|
+
requestId: 'string',
|
|
11799
|
+
};
|
|
11800
|
+
}
|
|
11801
|
+
|
|
11802
|
+
constructor(map?: { [key: string]: any }) {
|
|
11803
|
+
super(map);
|
|
11804
|
+
}
|
|
11805
|
+
}
|
|
11806
|
+
|
|
11807
|
+
export class UpdateVirtualResourceResponse extends $tea.Model {
|
|
11808
|
+
headers?: { [key: string]: string };
|
|
11809
|
+
statusCode?: number;
|
|
11810
|
+
body?: UpdateVirtualResourceResponseBody;
|
|
11811
|
+
static names(): { [key: string]: string } {
|
|
11812
|
+
return {
|
|
11813
|
+
headers: 'headers',
|
|
11814
|
+
statusCode: 'statusCode',
|
|
11815
|
+
body: 'body',
|
|
11816
|
+
};
|
|
11817
|
+
}
|
|
11818
|
+
|
|
11819
|
+
static types(): { [key: string]: any } {
|
|
11820
|
+
return {
|
|
11821
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11822
|
+
statusCode: 'number',
|
|
11823
|
+
body: UpdateVirtualResourceResponseBody,
|
|
11824
|
+
};
|
|
11825
|
+
}
|
|
11826
|
+
|
|
11827
|
+
constructor(map?: { [key: string]: any }) {
|
|
11828
|
+
super(map);
|
|
11829
|
+
}
|
|
11830
|
+
}
|
|
11831
|
+
|
|
10635
11832
|
export class ServiceLabels extends $tea.Model {
|
|
10636
11833
|
labelKey?: string;
|
|
10637
11834
|
labelValue?: string;
|
|
@@ -10654,6 +11851,61 @@ export class ServiceLabels extends $tea.Model {
|
|
|
10654
11851
|
}
|
|
10655
11852
|
}
|
|
10656
11853
|
|
|
11854
|
+
export class AttachGatewayDomainRequestCustomDomain extends $tea.Model {
|
|
11855
|
+
/**
|
|
11856
|
+
* @remarks
|
|
11857
|
+
* The ID of the SSL certificate bound to the domain name. Obtain the certificate ID after you upload or purchase a certificate in the [Certificate Management Service](https://yundunnext.console.aliyun.com/?spm=5176.2020520163.console-base_help.2.4b3baJixaJixOc\\&p=cas) console.
|
|
11858
|
+
*
|
|
11859
|
+
* @example
|
|
11860
|
+
* 1473**25
|
|
11861
|
+
*/
|
|
11862
|
+
certificateId?: string;
|
|
11863
|
+
/**
|
|
11864
|
+
* @remarks
|
|
11865
|
+
* The custom domain name.
|
|
11866
|
+
*
|
|
11867
|
+
* This parameter is required.
|
|
11868
|
+
*
|
|
11869
|
+
* @example
|
|
11870
|
+
* test.com
|
|
11871
|
+
*/
|
|
11872
|
+
domain?: string;
|
|
11873
|
+
/**
|
|
11874
|
+
* @remarks
|
|
11875
|
+
* The domain name type.
|
|
11876
|
+
*
|
|
11877
|
+
* Valid value:
|
|
11878
|
+
*
|
|
11879
|
+
* * intranet: internal network.
|
|
11880
|
+
* * internet: public network.
|
|
11881
|
+
*
|
|
11882
|
+
* This parameter is required.
|
|
11883
|
+
*
|
|
11884
|
+
* @example
|
|
11885
|
+
* intranet
|
|
11886
|
+
*/
|
|
11887
|
+
type?: string;
|
|
11888
|
+
static names(): { [key: string]: string } {
|
|
11889
|
+
return {
|
|
11890
|
+
certificateId: 'CertificateId',
|
|
11891
|
+
domain: 'Domain',
|
|
11892
|
+
type: 'Type',
|
|
11893
|
+
};
|
|
11894
|
+
}
|
|
11895
|
+
|
|
11896
|
+
static types(): { [key: string]: any } {
|
|
11897
|
+
return {
|
|
11898
|
+
certificateId: 'string',
|
|
11899
|
+
domain: 'string',
|
|
11900
|
+
type: 'string',
|
|
11901
|
+
};
|
|
11902
|
+
}
|
|
11903
|
+
|
|
11904
|
+
constructor(map?: { [key: string]: any }) {
|
|
11905
|
+
super(map);
|
|
11906
|
+
}
|
|
11907
|
+
}
|
|
11908
|
+
|
|
10657
11909
|
export class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
10658
11910
|
/**
|
|
10659
11911
|
* @remarks
|
|
@@ -10667,6 +11919,8 @@ export class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
|
10667
11919
|
* @remarks
|
|
10668
11920
|
* The IP CIDR block in the VPC that can access the private gateway.
|
|
10669
11921
|
*
|
|
11922
|
+
* This parameter is required.
|
|
11923
|
+
*
|
|
10670
11924
|
* @example
|
|
10671
11925
|
* 10.23.XX.XX/32
|
|
10672
11926
|
*/
|
|
@@ -10690,6 +11944,36 @@ export class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
|
10690
11944
|
}
|
|
10691
11945
|
}
|
|
10692
11946
|
|
|
11947
|
+
export class CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Model {
|
|
11948
|
+
/**
|
|
11949
|
+
* @example
|
|
11950
|
+
* cn-shanghai
|
|
11951
|
+
*/
|
|
11952
|
+
region?: string;
|
|
11953
|
+
/**
|
|
11954
|
+
* @example
|
|
11955
|
+
* vpc-uf66uio7md****
|
|
11956
|
+
*/
|
|
11957
|
+
vpcId?: string;
|
|
11958
|
+
static names(): { [key: string]: string } {
|
|
11959
|
+
return {
|
|
11960
|
+
region: 'Region',
|
|
11961
|
+
vpcId: 'VpcId',
|
|
11962
|
+
};
|
|
11963
|
+
}
|
|
11964
|
+
|
|
11965
|
+
static types(): { [key: string]: any } {
|
|
11966
|
+
return {
|
|
11967
|
+
region: 'string',
|
|
11968
|
+
vpcId: 'string',
|
|
11969
|
+
};
|
|
11970
|
+
}
|
|
11971
|
+
|
|
11972
|
+
constructor(map?: { [key: string]: any }) {
|
|
11973
|
+
super(map);
|
|
11974
|
+
}
|
|
11975
|
+
}
|
|
11976
|
+
|
|
10693
11977
|
export class CreateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
|
|
10694
11978
|
/**
|
|
10695
11979
|
* @remarks
|
|
@@ -11029,9 +12313,93 @@ export class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
11029
12313
|
|
|
11030
12314
|
static types(): { [key: string]: any } {
|
|
11031
12315
|
return {
|
|
11032
|
-
name: 'string',
|
|
11033
|
-
schedule: 'string',
|
|
11034
|
-
targetSize: 'number',
|
|
12316
|
+
name: 'string',
|
|
12317
|
+
schedule: 'string',
|
|
12318
|
+
targetSize: 'number',
|
|
12319
|
+
};
|
|
12320
|
+
}
|
|
12321
|
+
|
|
12322
|
+
constructor(map?: { [key: string]: any }) {
|
|
12323
|
+
super(map);
|
|
12324
|
+
}
|
|
12325
|
+
}
|
|
12326
|
+
|
|
12327
|
+
export class CreateVirtualResourceRequestResources extends $tea.Model {
|
|
12328
|
+
/**
|
|
12329
|
+
* @remarks
|
|
12330
|
+
* The instance type of the public resource group.
|
|
12331
|
+
*
|
|
12332
|
+
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
12333
|
+
*
|
|
12334
|
+
* @example
|
|
12335
|
+
* ecs.s6-c1m2.xlarge
|
|
12336
|
+
*/
|
|
12337
|
+
instanceType?: string;
|
|
12338
|
+
/**
|
|
12339
|
+
* @remarks
|
|
12340
|
+
* The priority of resource scheduling. A greater number specifies a higher priority.
|
|
12341
|
+
*
|
|
12342
|
+
* @example
|
|
12343
|
+
* 6
|
|
12344
|
+
*/
|
|
12345
|
+
priority?: number;
|
|
12346
|
+
/**
|
|
12347
|
+
* @remarks
|
|
12348
|
+
* Lingjun Resource Quota ID.
|
|
12349
|
+
*
|
|
12350
|
+
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
12351
|
+
*
|
|
12352
|
+
* @example
|
|
12353
|
+
* quota185lqxxxxxx
|
|
12354
|
+
*/
|
|
12355
|
+
quotaId?: string;
|
|
12356
|
+
/**
|
|
12357
|
+
* @remarks
|
|
12358
|
+
* The region where the resource resides.
|
|
12359
|
+
*
|
|
12360
|
+
* @example
|
|
12361
|
+
* cn-hangzhou
|
|
12362
|
+
*/
|
|
12363
|
+
region?: string;
|
|
12364
|
+
/**
|
|
12365
|
+
* @remarks
|
|
12366
|
+
* The ID of the dedicated resource group. For information about how to query the ID of a dedicated resource group, see [ListResources](https://help.aliyun.com/document_detail/412133.html).
|
|
12367
|
+
*
|
|
12368
|
+
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
12369
|
+
*
|
|
12370
|
+
* @example
|
|
12371
|
+
* eas-r-g55ieatgg3buxxxxxx
|
|
12372
|
+
*/
|
|
12373
|
+
resourceId?: string;
|
|
12374
|
+
/**
|
|
12375
|
+
* @remarks
|
|
12376
|
+
* The maximum price of preemptible instances in a public resource group.
|
|
12377
|
+
*
|
|
12378
|
+
* > If you do not set this value, preemptible instances are not used.
|
|
12379
|
+
*
|
|
12380
|
+
* @example
|
|
12381
|
+
* 10.05
|
|
12382
|
+
*/
|
|
12383
|
+
spotPriceLimit?: number;
|
|
12384
|
+
static names(): { [key: string]: string } {
|
|
12385
|
+
return {
|
|
12386
|
+
instanceType: 'InstanceType',
|
|
12387
|
+
priority: 'Priority',
|
|
12388
|
+
quotaId: 'QuotaId',
|
|
12389
|
+
region: 'Region',
|
|
12390
|
+
resourceId: 'ResourceId',
|
|
12391
|
+
spotPriceLimit: 'SpotPriceLimit',
|
|
12392
|
+
};
|
|
12393
|
+
}
|
|
12394
|
+
|
|
12395
|
+
static types(): { [key: string]: any } {
|
|
12396
|
+
return {
|
|
12397
|
+
instanceType: 'string',
|
|
12398
|
+
priority: 'number',
|
|
12399
|
+
quotaId: 'string',
|
|
12400
|
+
region: 'string',
|
|
12401
|
+
resourceId: 'string',
|
|
12402
|
+
spotPriceLimit: 'number',
|
|
11035
12403
|
};
|
|
11036
12404
|
}
|
|
11037
12405
|
|
|
@@ -11076,6 +12444,36 @@ export class DeleteAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
|
11076
12444
|
}
|
|
11077
12445
|
}
|
|
11078
12446
|
|
|
12447
|
+
export class DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Model {
|
|
12448
|
+
/**
|
|
12449
|
+
* @example
|
|
12450
|
+
* cn-shanghai
|
|
12451
|
+
*/
|
|
12452
|
+
region?: string;
|
|
12453
|
+
/**
|
|
12454
|
+
* @example
|
|
12455
|
+
* vpc-uf66uio7md****
|
|
12456
|
+
*/
|
|
12457
|
+
vpcId?: string;
|
|
12458
|
+
static names(): { [key: string]: string } {
|
|
12459
|
+
return {
|
|
12460
|
+
region: 'Region',
|
|
12461
|
+
vpcId: 'VpcId',
|
|
12462
|
+
};
|
|
12463
|
+
}
|
|
12464
|
+
|
|
12465
|
+
static types(): { [key: string]: any } {
|
|
12466
|
+
return {
|
|
12467
|
+
region: 'string',
|
|
12468
|
+
vpcId: 'string',
|
|
12469
|
+
};
|
|
12470
|
+
}
|
|
12471
|
+
|
|
12472
|
+
constructor(map?: { [key: string]: any }) {
|
|
12473
|
+
super(map);
|
|
12474
|
+
}
|
|
12475
|
+
}
|
|
12476
|
+
|
|
11079
12477
|
export class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
|
|
11080
12478
|
/**
|
|
11081
12479
|
* @remarks
|
|
@@ -11458,6 +12856,127 @@ export class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.M
|
|
|
11458
12856
|
}
|
|
11459
12857
|
}
|
|
11460
12858
|
|
|
12859
|
+
export class DescribeVirtualResourceResponseBodyResources extends $tea.Model {
|
|
12860
|
+
/**
|
|
12861
|
+
* @remarks
|
|
12862
|
+
* The instance type of the public resource group.
|
|
12863
|
+
*
|
|
12864
|
+
* @example
|
|
12865
|
+
* ecs.s6-c1m2.xlarge
|
|
12866
|
+
*/
|
|
12867
|
+
instanceType?: string;
|
|
12868
|
+
/**
|
|
12869
|
+
* @remarks
|
|
12870
|
+
* The priority of resource scheduling. A greater number specifies a higher priority.
|
|
12871
|
+
*
|
|
12872
|
+
* @example
|
|
12873
|
+
* 3
|
|
12874
|
+
*/
|
|
12875
|
+
priority?: number;
|
|
12876
|
+
/**
|
|
12877
|
+
* @remarks
|
|
12878
|
+
* The instance type of the public resource group.
|
|
12879
|
+
*
|
|
12880
|
+
* @example
|
|
12881
|
+
* quota185lqxxxxxx
|
|
12882
|
+
*/
|
|
12883
|
+
quotaId?: string;
|
|
12884
|
+
/**
|
|
12885
|
+
* @remarks
|
|
12886
|
+
* The region where the resource resides.
|
|
12887
|
+
*
|
|
12888
|
+
* @example
|
|
12889
|
+
* cn-hangzhou
|
|
12890
|
+
*/
|
|
12891
|
+
region?: string;
|
|
12892
|
+
/**
|
|
12893
|
+
* @remarks
|
|
12894
|
+
* The ID of the dedicated resource group.
|
|
12895
|
+
*
|
|
12896
|
+
* @example
|
|
12897
|
+
* eas-r-g55ieatgg3buxxxxxx
|
|
12898
|
+
*/
|
|
12899
|
+
resourceId?: string;
|
|
12900
|
+
/**
|
|
12901
|
+
* @remarks
|
|
12902
|
+
* The maximum price of preemptible instances in a public resource group.
|
|
12903
|
+
*
|
|
12904
|
+
* @example
|
|
12905
|
+
* 10.05
|
|
12906
|
+
*/
|
|
12907
|
+
spotPriceLimit?: number;
|
|
12908
|
+
static names(): { [key: string]: string } {
|
|
12909
|
+
return {
|
|
12910
|
+
instanceType: 'InstanceType',
|
|
12911
|
+
priority: 'Priority',
|
|
12912
|
+
quotaId: 'QuotaId',
|
|
12913
|
+
region: 'Region',
|
|
12914
|
+
resourceId: 'ResourceId',
|
|
12915
|
+
spotPriceLimit: 'SpotPriceLimit',
|
|
12916
|
+
};
|
|
12917
|
+
}
|
|
12918
|
+
|
|
12919
|
+
static types(): { [key: string]: any } {
|
|
12920
|
+
return {
|
|
12921
|
+
instanceType: 'string',
|
|
12922
|
+
priority: 'number',
|
|
12923
|
+
quotaId: 'string',
|
|
12924
|
+
region: 'string',
|
|
12925
|
+
resourceId: 'string',
|
|
12926
|
+
spotPriceLimit: 'number',
|
|
12927
|
+
};
|
|
12928
|
+
}
|
|
12929
|
+
|
|
12930
|
+
constructor(map?: { [key: string]: any }) {
|
|
12931
|
+
super(map);
|
|
12932
|
+
}
|
|
12933
|
+
}
|
|
12934
|
+
|
|
12935
|
+
export class DetachGatewayDomainRequestCustomDomain extends $tea.Model {
|
|
12936
|
+
/**
|
|
12937
|
+
* @remarks
|
|
12938
|
+
* The custom domain name.
|
|
12939
|
+
*
|
|
12940
|
+
* This parameter is required.
|
|
12941
|
+
*
|
|
12942
|
+
* @example
|
|
12943
|
+
* test.com
|
|
12944
|
+
*/
|
|
12945
|
+
domain?: string;
|
|
12946
|
+
/**
|
|
12947
|
+
* @remarks
|
|
12948
|
+
* The domain name type.
|
|
12949
|
+
*
|
|
12950
|
+
* Valid value:
|
|
12951
|
+
*
|
|
12952
|
+
* * intranet: internal network.
|
|
12953
|
+
* * internet: public network.
|
|
12954
|
+
*
|
|
12955
|
+
* This parameter is required.
|
|
12956
|
+
*
|
|
12957
|
+
* @example
|
|
12958
|
+
* intranet
|
|
12959
|
+
*/
|
|
12960
|
+
type?: string;
|
|
12961
|
+
static names(): { [key: string]: string } {
|
|
12962
|
+
return {
|
|
12963
|
+
domain: 'Domain',
|
|
12964
|
+
type: 'Type',
|
|
12965
|
+
};
|
|
12966
|
+
}
|
|
12967
|
+
|
|
12968
|
+
static types(): { [key: string]: any } {
|
|
12969
|
+
return {
|
|
12970
|
+
domain: 'string',
|
|
12971
|
+
type: 'string',
|
|
12972
|
+
};
|
|
12973
|
+
}
|
|
12974
|
+
|
|
12975
|
+
constructor(map?: { [key: string]: any }) {
|
|
12976
|
+
super(map);
|
|
12977
|
+
}
|
|
12978
|
+
}
|
|
12979
|
+
|
|
11461
12980
|
export class ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList extends $tea.Model {
|
|
11462
12981
|
/**
|
|
11463
12982
|
* @remarks
|
|
@@ -11767,6 +13286,17 @@ export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
|
11767
13286
|
}
|
|
11768
13287
|
|
|
11769
13288
|
export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
13289
|
+
/**
|
|
13290
|
+
* @remarks
|
|
13291
|
+
* The billing method. Valid values:
|
|
13292
|
+
*
|
|
13293
|
+
* * PrePaid: subscription.
|
|
13294
|
+
* * PostPaid: pay-as-you-go.
|
|
13295
|
+
*
|
|
13296
|
+
* @example
|
|
13297
|
+
* PostPaid
|
|
13298
|
+
*/
|
|
13299
|
+
chargeType?: string;
|
|
11770
13300
|
/**
|
|
11771
13301
|
* @remarks
|
|
11772
13302
|
* The time when the private gateway was created. The time is displayed in UTC.
|
|
@@ -11867,6 +13397,7 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
11867
13397
|
updateTime?: string;
|
|
11868
13398
|
static names(): { [key: string]: string } {
|
|
11869
13399
|
return {
|
|
13400
|
+
chargeType: 'ChargeType',
|
|
11870
13401
|
createTime: 'CreateTime',
|
|
11871
13402
|
gatewayId: 'GatewayId',
|
|
11872
13403
|
gatewayName: 'GatewayName',
|
|
@@ -11883,6 +13414,7 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
11883
13414
|
|
|
11884
13415
|
static types(): { [key: string]: any } {
|
|
11885
13416
|
return {
|
|
13417
|
+
chargeType: 'string',
|
|
11886
13418
|
createTime: 'string',
|
|
11887
13419
|
gatewayId: 'string',
|
|
11888
13420
|
gatewayName: 'string',
|
|
@@ -11902,6 +13434,57 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
11902
13434
|
}
|
|
11903
13435
|
}
|
|
11904
13436
|
|
|
13437
|
+
export class ListGatewayDomainsResponseBodyCustomDomains extends $tea.Model {
|
|
13438
|
+
/**
|
|
13439
|
+
* @remarks
|
|
13440
|
+
* The ID of the SSL certificate bound to the domain name. Obtain the certificate ID after you upload or purchase a certificate in the [Certificate Management Service](https://yundunnext.console.aliyun.com/?spm=5176.2020520163.console-base_help.2.4b3baJixaJixOc\\&p=cas) console.
|
|
13441
|
+
*
|
|
13442
|
+
* @example
|
|
13443
|
+
* 1473**25
|
|
13444
|
+
*/
|
|
13445
|
+
certificateId?: string;
|
|
13446
|
+
/**
|
|
13447
|
+
* @remarks
|
|
13448
|
+
* The custom domain name.
|
|
13449
|
+
*
|
|
13450
|
+
* @example
|
|
13451
|
+
* test.com
|
|
13452
|
+
*/
|
|
13453
|
+
domain?: string;
|
|
13454
|
+
/**
|
|
13455
|
+
* @remarks
|
|
13456
|
+
* The domain name type.
|
|
13457
|
+
*
|
|
13458
|
+
* Valid value:
|
|
13459
|
+
*
|
|
13460
|
+
* * intranet: internal network.
|
|
13461
|
+
* * internet: public network.
|
|
13462
|
+
*
|
|
13463
|
+
* @example
|
|
13464
|
+
* intranet
|
|
13465
|
+
*/
|
|
13466
|
+
type?: string;
|
|
13467
|
+
static names(): { [key: string]: string } {
|
|
13468
|
+
return {
|
|
13469
|
+
certificateId: 'CertificateId',
|
|
13470
|
+
domain: 'Domain',
|
|
13471
|
+
type: 'Type',
|
|
13472
|
+
};
|
|
13473
|
+
}
|
|
13474
|
+
|
|
13475
|
+
static types(): { [key: string]: any } {
|
|
13476
|
+
return {
|
|
13477
|
+
certificateId: 'string',
|
|
13478
|
+
domain: 'string',
|
|
13479
|
+
type: 'string',
|
|
13480
|
+
};
|
|
13481
|
+
}
|
|
13482
|
+
|
|
13483
|
+
constructor(map?: { [key: string]: any }) {
|
|
13484
|
+
super(map);
|
|
13485
|
+
}
|
|
13486
|
+
}
|
|
13487
|
+
|
|
11905
13488
|
export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $tea.Model {
|
|
11906
13489
|
/**
|
|
11907
13490
|
* @remarks
|
|
@@ -11994,6 +13577,62 @@ export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList exten
|
|
|
11994
13577
|
}
|
|
11995
13578
|
}
|
|
11996
13579
|
|
|
13580
|
+
export class ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs extends $tea.Model {
|
|
13581
|
+
/**
|
|
13582
|
+
* @example
|
|
13583
|
+
* cn-shanghai
|
|
13584
|
+
*/
|
|
13585
|
+
region?: string;
|
|
13586
|
+
/**
|
|
13587
|
+
* @example
|
|
13588
|
+
* vpc-uf66uio7md****
|
|
13589
|
+
*/
|
|
13590
|
+
vpcId?: string;
|
|
13591
|
+
static names(): { [key: string]: string } {
|
|
13592
|
+
return {
|
|
13593
|
+
region: 'Region',
|
|
13594
|
+
vpcId: 'VpcId',
|
|
13595
|
+
};
|
|
13596
|
+
}
|
|
13597
|
+
|
|
13598
|
+
static types(): { [key: string]: any } {
|
|
13599
|
+
return {
|
|
13600
|
+
region: 'string',
|
|
13601
|
+
vpcId: 'string',
|
|
13602
|
+
};
|
|
13603
|
+
}
|
|
13604
|
+
|
|
13605
|
+
constructor(map?: { [key: string]: any }) {
|
|
13606
|
+
super(map);
|
|
13607
|
+
}
|
|
13608
|
+
}
|
|
13609
|
+
|
|
13610
|
+
export class ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList extends $tea.Model {
|
|
13611
|
+
peerVpcs?: ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs[];
|
|
13612
|
+
/**
|
|
13613
|
+
* @example
|
|
13614
|
+
* vpc-2zetuli9ws0qgjd******
|
|
13615
|
+
*/
|
|
13616
|
+
vpcId?: string;
|
|
13617
|
+
static names(): { [key: string]: string } {
|
|
13618
|
+
return {
|
|
13619
|
+
peerVpcs: 'PeerVpcs',
|
|
13620
|
+
vpcId: 'VpcId',
|
|
13621
|
+
};
|
|
13622
|
+
}
|
|
13623
|
+
|
|
13624
|
+
static types(): { [key: string]: any } {
|
|
13625
|
+
return {
|
|
13626
|
+
peerVpcs: { 'type': 'array', 'itemType': ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs },
|
|
13627
|
+
vpcId: 'string',
|
|
13628
|
+
};
|
|
13629
|
+
}
|
|
13630
|
+
|
|
13631
|
+
constructor(map?: { [key: string]: any }) {
|
|
13632
|
+
super(map);
|
|
13633
|
+
}
|
|
13634
|
+
}
|
|
13635
|
+
|
|
11997
13636
|
export class ListServiceVersionsResponseBodyVersions extends $tea.Model {
|
|
11998
13637
|
/**
|
|
11999
13638
|
* @remarks
|
|
@@ -12085,31 +13724,87 @@ export class ListServiceVersionsResponseBodyVersions extends $tea.Model {
|
|
|
12085
13724
|
}
|
|
12086
13725
|
}
|
|
12087
13726
|
|
|
12088
|
-
export class ListTenantAddonsResponseBodyAddons extends $tea.Model {
|
|
13727
|
+
export class ListTenantAddonsResponseBodyAddons extends $tea.Model {
|
|
13728
|
+
/**
|
|
13729
|
+
* @remarks
|
|
13730
|
+
* The attributes of the plug-in.
|
|
13731
|
+
*/
|
|
13732
|
+
attributes?: { [key: string]: string };
|
|
13733
|
+
/**
|
|
13734
|
+
* @remarks
|
|
13735
|
+
* The name of the plug-in.
|
|
13736
|
+
*
|
|
13737
|
+
* @example
|
|
13738
|
+
* prometheus_discovery
|
|
13739
|
+
*/
|
|
13740
|
+
name?: string;
|
|
13741
|
+
static names(): { [key: string]: string } {
|
|
13742
|
+
return {
|
|
13743
|
+
attributes: 'Attributes',
|
|
13744
|
+
name: 'Name',
|
|
13745
|
+
};
|
|
13746
|
+
}
|
|
13747
|
+
|
|
13748
|
+
static types(): { [key: string]: any } {
|
|
13749
|
+
return {
|
|
13750
|
+
attributes: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13751
|
+
name: 'string',
|
|
13752
|
+
};
|
|
13753
|
+
}
|
|
13754
|
+
|
|
13755
|
+
constructor(map?: { [key: string]: any }) {
|
|
13756
|
+
super(map);
|
|
13757
|
+
}
|
|
13758
|
+
}
|
|
13759
|
+
|
|
13760
|
+
export class ListVirtualResourceResponseBodyVirtualResources extends $tea.Model {
|
|
12089
13761
|
/**
|
|
12090
13762
|
* @remarks
|
|
12091
|
-
* The
|
|
13763
|
+
* The time when the virtual resource group was created.
|
|
13764
|
+
*
|
|
13765
|
+
* @example
|
|
13766
|
+
* 2024-10-16T17:52:49Z
|
|
12092
13767
|
*/
|
|
12093
|
-
|
|
13768
|
+
createTime?: string;
|
|
12094
13769
|
/**
|
|
12095
13770
|
* @remarks
|
|
12096
|
-
* The
|
|
13771
|
+
* The time when the virtual resource group was last updated.
|
|
12097
13772
|
*
|
|
12098
13773
|
* @example
|
|
12099
|
-
*
|
|
13774
|
+
* 2024-10-16T19:52:49Z
|
|
12100
13775
|
*/
|
|
12101
|
-
|
|
13776
|
+
updateTime?: string;
|
|
13777
|
+
/**
|
|
13778
|
+
* @remarks
|
|
13779
|
+
* The ID of the virtual resource group.
|
|
13780
|
+
*
|
|
13781
|
+
* @example
|
|
13782
|
+
* eas-vr-npovr28onap1xxxxxx
|
|
13783
|
+
*/
|
|
13784
|
+
virtualResourceId?: string;
|
|
13785
|
+
/**
|
|
13786
|
+
* @remarks
|
|
13787
|
+
* The name of the virtual resource group.
|
|
13788
|
+
*
|
|
13789
|
+
* @example
|
|
13790
|
+
* MyVirtualResource
|
|
13791
|
+
*/
|
|
13792
|
+
virtualResourceName?: string;
|
|
12102
13793
|
static names(): { [key: string]: string } {
|
|
12103
13794
|
return {
|
|
12104
|
-
|
|
12105
|
-
|
|
13795
|
+
createTime: 'CreateTime',
|
|
13796
|
+
updateTime: 'UpdateTime',
|
|
13797
|
+
virtualResourceId: 'VirtualResourceId',
|
|
13798
|
+
virtualResourceName: 'VirtualResourceName',
|
|
12106
13799
|
};
|
|
12107
13800
|
}
|
|
12108
13801
|
|
|
12109
13802
|
static types(): { [key: string]: any } {
|
|
12110
13803
|
return {
|
|
12111
|
-
|
|
12112
|
-
|
|
13804
|
+
createTime: 'string',
|
|
13805
|
+
updateTime: 'string',
|
|
13806
|
+
virtualResourceId: 'string',
|
|
13807
|
+
virtualResourceName: 'string',
|
|
12113
13808
|
};
|
|
12114
13809
|
}
|
|
12115
13810
|
|
|
@@ -12442,6 +14137,90 @@ export class UpdateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
12442
14137
|
}
|
|
12443
14138
|
}
|
|
12444
14139
|
|
|
14140
|
+
export class UpdateVirtualResourceRequestResources extends $tea.Model {
|
|
14141
|
+
/**
|
|
14142
|
+
* @remarks
|
|
14143
|
+
* The instance type of the public resource group.
|
|
14144
|
+
*
|
|
14145
|
+
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
14146
|
+
*
|
|
14147
|
+
* @example
|
|
14148
|
+
* ecs.s6-c1m2.xlarge
|
|
14149
|
+
*/
|
|
14150
|
+
instanceType?: string;
|
|
14151
|
+
/**
|
|
14152
|
+
* @remarks
|
|
14153
|
+
* The priority of resource scheduling. A greater number specifies a higher priority.
|
|
14154
|
+
*
|
|
14155
|
+
* @example
|
|
14156
|
+
* 6
|
|
14157
|
+
*/
|
|
14158
|
+
priority?: number;
|
|
14159
|
+
/**
|
|
14160
|
+
* @remarks
|
|
14161
|
+
* The Lingjun resource quota ID.
|
|
14162
|
+
*
|
|
14163
|
+
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
14164
|
+
*
|
|
14165
|
+
* @example
|
|
14166
|
+
* quota185lqf994k6
|
|
14167
|
+
*/
|
|
14168
|
+
quotaId?: string;
|
|
14169
|
+
/**
|
|
14170
|
+
* @remarks
|
|
14171
|
+
* The region where the resource resides.
|
|
14172
|
+
*
|
|
14173
|
+
* @example
|
|
14174
|
+
* cn-hangzhou
|
|
14175
|
+
*/
|
|
14176
|
+
region?: string;
|
|
14177
|
+
/**
|
|
14178
|
+
* @remarks
|
|
14179
|
+
* The ID of the dedicated resource group. For information about how to query the ID of a dedicated resource group, see [ListResources](https://help.aliyun.com/document_detail/412133.html).
|
|
14180
|
+
*
|
|
14181
|
+
* > You must specify one and only one of the InstanceType, ResourceId, and QuotaId parameters.
|
|
14182
|
+
*
|
|
14183
|
+
* @example
|
|
14184
|
+
* eas-r-g55ieatgg3butwrn7a
|
|
14185
|
+
*/
|
|
14186
|
+
resourceId?: string;
|
|
14187
|
+
/**
|
|
14188
|
+
* @remarks
|
|
14189
|
+
* The maximum price of preemptible instances in a public resource group.
|
|
14190
|
+
*
|
|
14191
|
+
* > If you do not specify this parameter, preemptible instances are not used.
|
|
14192
|
+
*
|
|
14193
|
+
* @example
|
|
14194
|
+
* 10.05
|
|
14195
|
+
*/
|
|
14196
|
+
spotPriceLimit?: number;
|
|
14197
|
+
static names(): { [key: string]: string } {
|
|
14198
|
+
return {
|
|
14199
|
+
instanceType: 'InstanceType',
|
|
14200
|
+
priority: 'Priority',
|
|
14201
|
+
quotaId: 'QuotaId',
|
|
14202
|
+
region: 'Region',
|
|
14203
|
+
resourceId: 'ResourceId',
|
|
14204
|
+
spotPriceLimit: 'SpotPriceLimit',
|
|
14205
|
+
};
|
|
14206
|
+
}
|
|
14207
|
+
|
|
14208
|
+
static types(): { [key: string]: any } {
|
|
14209
|
+
return {
|
|
14210
|
+
instanceType: 'string',
|
|
14211
|
+
priority: 'number',
|
|
14212
|
+
quotaId: 'string',
|
|
14213
|
+
region: 'string',
|
|
14214
|
+
resourceId: 'string',
|
|
14215
|
+
spotPriceLimit: 'number',
|
|
14216
|
+
};
|
|
14217
|
+
}
|
|
14218
|
+
|
|
14219
|
+
constructor(map?: { [key: string]: any }) {
|
|
14220
|
+
super(map);
|
|
14221
|
+
}
|
|
14222
|
+
}
|
|
14223
|
+
|
|
12445
14224
|
|
|
12446
14225
|
export default class Client extends OpenApi {
|
|
12447
14226
|
|
|
@@ -12482,6 +14261,57 @@ export default class Client extends OpenApi {
|
|
|
12482
14261
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
12483
14262
|
}
|
|
12484
14263
|
|
|
14264
|
+
/**
|
|
14265
|
+
* Binds a custom domain name to a private gateway.
|
|
14266
|
+
*
|
|
14267
|
+
* @param tmpReq - AttachGatewayDomainRequest
|
|
14268
|
+
* @param headers - map
|
|
14269
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14270
|
+
* @returns AttachGatewayDomainResponse
|
|
14271
|
+
*/
|
|
14272
|
+
async attachGatewayDomainWithOptions(ClusterId: string, GatewayId: string, tmpReq: AttachGatewayDomainRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AttachGatewayDomainResponse> {
|
|
14273
|
+
Util.validateModel(tmpReq);
|
|
14274
|
+
let request = new AttachGatewayDomainShrinkRequest({ });
|
|
14275
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
14276
|
+
if (!Util.isUnset(tmpReq.customDomain)) {
|
|
14277
|
+
request.customDomainShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.customDomain, "CustomDomain", "json");
|
|
14278
|
+
}
|
|
14279
|
+
|
|
14280
|
+
let query : {[key: string ]: any} = { };
|
|
14281
|
+
if (!Util.isUnset(request.customDomainShrink)) {
|
|
14282
|
+
query["CustomDomain"] = request.customDomainShrink;
|
|
14283
|
+
}
|
|
14284
|
+
|
|
14285
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14286
|
+
headers: headers,
|
|
14287
|
+
query: OpenApiUtil.query(query),
|
|
14288
|
+
});
|
|
14289
|
+
let params = new $OpenApi.Params({
|
|
14290
|
+
action: "AttachGatewayDomain",
|
|
14291
|
+
version: "2021-07-01",
|
|
14292
|
+
protocol: "HTTPS",
|
|
14293
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/domain/attach`,
|
|
14294
|
+
method: "PUT",
|
|
14295
|
+
authType: "AK",
|
|
14296
|
+
style: "ROA",
|
|
14297
|
+
reqBodyType: "json",
|
|
14298
|
+
bodyType: "json",
|
|
14299
|
+
});
|
|
14300
|
+
return $tea.cast<AttachGatewayDomainResponse>(await this.callApi(params, req, runtime), new AttachGatewayDomainResponse({}));
|
|
14301
|
+
}
|
|
14302
|
+
|
|
14303
|
+
/**
|
|
14304
|
+
* Binds a custom domain name to a private gateway.
|
|
14305
|
+
*
|
|
14306
|
+
* @param request - AttachGatewayDomainRequest
|
|
14307
|
+
* @returns AttachGatewayDomainResponse
|
|
14308
|
+
*/
|
|
14309
|
+
async attachGatewayDomain(ClusterId: string, GatewayId: string, request: AttachGatewayDomainRequest): Promise<AttachGatewayDomainResponse> {
|
|
14310
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14311
|
+
let headers : {[key: string ]: string} = { };
|
|
14312
|
+
return await this.attachGatewayDomainWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
14313
|
+
}
|
|
14314
|
+
|
|
12485
14315
|
/**
|
|
12486
14316
|
* Clones a service.
|
|
12487
14317
|
*
|
|
@@ -12740,7 +14570,7 @@ export default class Client extends OpenApi {
|
|
|
12740
14570
|
}
|
|
12741
14571
|
|
|
12742
14572
|
/**
|
|
12743
|
-
* Creates a
|
|
14573
|
+
* Creates a gateway.
|
|
12744
14574
|
*
|
|
12745
14575
|
* @param request - CreateGatewayRequest
|
|
12746
14576
|
* @param headers - map
|
|
@@ -12755,6 +14585,14 @@ export default class Client extends OpenApi {
|
|
|
12755
14585
|
}
|
|
12756
14586
|
|
|
12757
14587
|
let body : {[key: string ]: any} = { };
|
|
14588
|
+
if (!Util.isUnset(request.autoRenewal)) {
|
|
14589
|
+
body["AutoRenewal"] = request.autoRenewal;
|
|
14590
|
+
}
|
|
14591
|
+
|
|
14592
|
+
if (!Util.isUnset(request.chargeType)) {
|
|
14593
|
+
body["ChargeType"] = request.chargeType;
|
|
14594
|
+
}
|
|
14595
|
+
|
|
12758
14596
|
if (!Util.isUnset(request.enableInternet)) {
|
|
12759
14597
|
body["EnableInternet"] = request.enableInternet;
|
|
12760
14598
|
}
|
|
@@ -12795,7 +14633,7 @@ export default class Client extends OpenApi {
|
|
|
12795
14633
|
}
|
|
12796
14634
|
|
|
12797
14635
|
/**
|
|
12798
|
-
* Creates a
|
|
14636
|
+
* Creates a gateway.
|
|
12799
14637
|
*
|
|
12800
14638
|
* @param request - CreateGatewayRequest
|
|
12801
14639
|
* @returns CreateGatewayResponse
|
|
@@ -12855,6 +14693,61 @@ export default class Client extends OpenApi {
|
|
|
12855
14693
|
return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
12856
14694
|
}
|
|
12857
14695
|
|
|
14696
|
+
/**
|
|
14697
|
+
* 创建网关内网访问端点跨VPC连接
|
|
14698
|
+
*
|
|
14699
|
+
* @param tmpReq - CreateGatewayIntranetLinkedVpcPeerRequest
|
|
14700
|
+
* @param headers - map
|
|
14701
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14702
|
+
* @returns CreateGatewayIntranetLinkedVpcPeerResponse
|
|
14703
|
+
*/
|
|
14704
|
+
async createGatewayIntranetLinkedVpcPeerWithOptions(ClusterId: string, GatewayId: string, tmpReq: CreateGatewayIntranetLinkedVpcPeerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateGatewayIntranetLinkedVpcPeerResponse> {
|
|
14705
|
+
Util.validateModel(tmpReq);
|
|
14706
|
+
let request = new CreateGatewayIntranetLinkedVpcPeerShrinkRequest({ });
|
|
14707
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
14708
|
+
if (!Util.isUnset(tmpReq.peerVpcs)) {
|
|
14709
|
+
request.peerVpcsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.peerVpcs, "PeerVpcs", "json");
|
|
14710
|
+
}
|
|
14711
|
+
|
|
14712
|
+
let query : {[key: string ]: any} = { };
|
|
14713
|
+
if (!Util.isUnset(request.peerVpcsShrink)) {
|
|
14714
|
+
query["PeerVpcs"] = request.peerVpcsShrink;
|
|
14715
|
+
}
|
|
14716
|
+
|
|
14717
|
+
if (!Util.isUnset(request.vpcId)) {
|
|
14718
|
+
query["VpcId"] = request.vpcId;
|
|
14719
|
+
}
|
|
14720
|
+
|
|
14721
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14722
|
+
headers: headers,
|
|
14723
|
+
query: OpenApiUtil.query(query),
|
|
14724
|
+
});
|
|
14725
|
+
let params = new $OpenApi.Params({
|
|
14726
|
+
action: "CreateGatewayIntranetLinkedVpcPeer",
|
|
14727
|
+
version: "2021-07-01",
|
|
14728
|
+
protocol: "HTTPS",
|
|
14729
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc_peer`,
|
|
14730
|
+
method: "POST",
|
|
14731
|
+
authType: "AK",
|
|
14732
|
+
style: "ROA",
|
|
14733
|
+
reqBodyType: "json",
|
|
14734
|
+
bodyType: "json",
|
|
14735
|
+
});
|
|
14736
|
+
return $tea.cast<CreateGatewayIntranetLinkedVpcPeerResponse>(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcPeerResponse({}));
|
|
14737
|
+
}
|
|
14738
|
+
|
|
14739
|
+
/**
|
|
14740
|
+
* 创建网关内网访问端点跨VPC连接
|
|
14741
|
+
*
|
|
14742
|
+
* @param request - CreateGatewayIntranetLinkedVpcPeerRequest
|
|
14743
|
+
* @returns CreateGatewayIntranetLinkedVpcPeerResponse
|
|
14744
|
+
*/
|
|
14745
|
+
async createGatewayIntranetLinkedVpcPeer(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcPeerRequest): Promise<CreateGatewayIntranetLinkedVpcPeerResponse> {
|
|
14746
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14747
|
+
let headers : {[key: string ]: string} = { };
|
|
14748
|
+
return await this.createGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
14749
|
+
}
|
|
14750
|
+
|
|
12858
14751
|
/**
|
|
12859
14752
|
* Creates a resource group.
|
|
12860
14753
|
*
|
|
@@ -13273,6 +15166,55 @@ export default class Client extends OpenApi {
|
|
|
13273
15166
|
return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
13274
15167
|
}
|
|
13275
15168
|
|
|
15169
|
+
/**
|
|
15170
|
+
* Creates a virtual resource group.
|
|
15171
|
+
*
|
|
15172
|
+
* @param request - CreateVirtualResourceRequest
|
|
15173
|
+
* @param headers - map
|
|
15174
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15175
|
+
* @returns CreateVirtualResourceResponse
|
|
15176
|
+
*/
|
|
15177
|
+
async createVirtualResourceWithOptions(request: CreateVirtualResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateVirtualResourceResponse> {
|
|
15178
|
+
Util.validateModel(request);
|
|
15179
|
+
let body : {[key: string ]: any} = { };
|
|
15180
|
+
if (!Util.isUnset(request.resources)) {
|
|
15181
|
+
body["Resources"] = request.resources;
|
|
15182
|
+
}
|
|
15183
|
+
|
|
15184
|
+
if (!Util.isUnset(request.virtualResourceName)) {
|
|
15185
|
+
body["VirtualResourceName"] = request.virtualResourceName;
|
|
15186
|
+
}
|
|
15187
|
+
|
|
15188
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15189
|
+
headers: headers,
|
|
15190
|
+
body: OpenApiUtil.parseToMap(body),
|
|
15191
|
+
});
|
|
15192
|
+
let params = new $OpenApi.Params({
|
|
15193
|
+
action: "CreateVirtualResource",
|
|
15194
|
+
version: "2021-07-01",
|
|
15195
|
+
protocol: "HTTPS",
|
|
15196
|
+
pathname: `/api/v2/virtualresources`,
|
|
15197
|
+
method: "POST",
|
|
15198
|
+
authType: "AK",
|
|
15199
|
+
style: "ROA",
|
|
15200
|
+
reqBodyType: "json",
|
|
15201
|
+
bodyType: "json",
|
|
15202
|
+
});
|
|
15203
|
+
return $tea.cast<CreateVirtualResourceResponse>(await this.callApi(params, req, runtime), new CreateVirtualResourceResponse({}));
|
|
15204
|
+
}
|
|
15205
|
+
|
|
15206
|
+
/**
|
|
15207
|
+
* Creates a virtual resource group.
|
|
15208
|
+
*
|
|
15209
|
+
* @param request - CreateVirtualResourceRequest
|
|
15210
|
+
* @returns CreateVirtualResourceResponse
|
|
15211
|
+
*/
|
|
15212
|
+
async createVirtualResource(request: CreateVirtualResourceRequest): Promise<CreateVirtualResourceResponse> {
|
|
15213
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15214
|
+
let headers : {[key: string ]: string} = { };
|
|
15215
|
+
return await this.createVirtualResourceWithOptions(request, headers, runtime);
|
|
15216
|
+
}
|
|
15217
|
+
|
|
13276
15218
|
/**
|
|
13277
15219
|
* Deletes an access control list (ACL) for a private gateway. The IP CIDR block that is deleted from the ACL cannot access the private gateway.
|
|
13278
15220
|
*
|
|
@@ -13375,42 +15317,97 @@ export default class Client extends OpenApi {
|
|
|
13375
15317
|
headers: headers,
|
|
13376
15318
|
});
|
|
13377
15319
|
let params = new $OpenApi.Params({
|
|
13378
|
-
action: "DeleteGateway",
|
|
15320
|
+
action: "DeleteGateway",
|
|
15321
|
+
version: "2021-07-01",
|
|
15322
|
+
protocol: "HTTPS",
|
|
15323
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}`,
|
|
15324
|
+
method: "DELETE",
|
|
15325
|
+
authType: "AK",
|
|
15326
|
+
style: "ROA",
|
|
15327
|
+
reqBodyType: "json",
|
|
15328
|
+
bodyType: "json",
|
|
15329
|
+
});
|
|
15330
|
+
return $tea.cast<DeleteGatewayResponse>(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
|
|
15331
|
+
}
|
|
15332
|
+
|
|
15333
|
+
/**
|
|
15334
|
+
* Deletes a private gateway.
|
|
15335
|
+
* @returns DeleteGatewayResponse
|
|
15336
|
+
*/
|
|
15337
|
+
async deleteGateway(ClusterId: string, GatewayId: string): Promise<DeleteGatewayResponse> {
|
|
15338
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15339
|
+
let headers : {[key: string ]: string} = { };
|
|
15340
|
+
return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
15341
|
+
}
|
|
15342
|
+
|
|
15343
|
+
/**
|
|
15344
|
+
* 删除网关内网访问端点
|
|
15345
|
+
*
|
|
15346
|
+
* @param request - DeleteGatewayIntranetLinkedVpcRequest
|
|
15347
|
+
* @param headers - map
|
|
15348
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15349
|
+
* @returns DeleteGatewayIntranetLinkedVpcResponse
|
|
15350
|
+
*/
|
|
15351
|
+
async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
15352
|
+
Util.validateModel(request);
|
|
15353
|
+
let query : {[key: string ]: any} = { };
|
|
15354
|
+
if (!Util.isUnset(request.vSwitchId)) {
|
|
15355
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
15356
|
+
}
|
|
15357
|
+
|
|
15358
|
+
if (!Util.isUnset(request.vpcId)) {
|
|
15359
|
+
query["VpcId"] = request.vpcId;
|
|
15360
|
+
}
|
|
15361
|
+
|
|
15362
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15363
|
+
headers: headers,
|
|
15364
|
+
query: OpenApiUtil.query(query),
|
|
15365
|
+
});
|
|
15366
|
+
let params = new $OpenApi.Params({
|
|
15367
|
+
action: "DeleteGatewayIntranetLinkedVpc",
|
|
13379
15368
|
version: "2021-07-01",
|
|
13380
15369
|
protocol: "HTTPS",
|
|
13381
|
-
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}`,
|
|
15370
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
|
|
13382
15371
|
method: "DELETE",
|
|
13383
15372
|
authType: "AK",
|
|
13384
15373
|
style: "ROA",
|
|
13385
15374
|
reqBodyType: "json",
|
|
13386
15375
|
bodyType: "json",
|
|
13387
15376
|
});
|
|
13388
|
-
return $tea.cast<
|
|
15377
|
+
return $tea.cast<DeleteGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
|
|
13389
15378
|
}
|
|
13390
15379
|
|
|
13391
15380
|
/**
|
|
13392
|
-
*
|
|
13393
|
-
*
|
|
15381
|
+
* 删除网关内网访问端点
|
|
15382
|
+
*
|
|
15383
|
+
* @param request - DeleteGatewayIntranetLinkedVpcRequest
|
|
15384
|
+
* @returns DeleteGatewayIntranetLinkedVpcResponse
|
|
13394
15385
|
*/
|
|
13395
|
-
async
|
|
15386
|
+
async deleteGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
13396
15387
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13397
15388
|
let headers : {[key: string ]: string} = { };
|
|
13398
|
-
return await this.
|
|
15389
|
+
return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
13399
15390
|
}
|
|
13400
15391
|
|
|
13401
15392
|
/**
|
|
13402
|
-
*
|
|
15393
|
+
* 删除网关内网访问端点跨VPC连接
|
|
13403
15394
|
*
|
|
13404
|
-
* @param
|
|
15395
|
+
* @param tmpReq - DeleteGatewayIntranetLinkedVpcPeerRequest
|
|
13405
15396
|
* @param headers - map
|
|
13406
15397
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
13407
|
-
* @returns
|
|
15398
|
+
* @returns DeleteGatewayIntranetLinkedVpcPeerResponse
|
|
13408
15399
|
*/
|
|
13409
|
-
async
|
|
13410
|
-
Util.validateModel(
|
|
15400
|
+
async deleteGatewayIntranetLinkedVpcPeerWithOptions(ClusterId: string, GatewayId: string, tmpReq: DeleteGatewayIntranetLinkedVpcPeerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayIntranetLinkedVpcPeerResponse> {
|
|
15401
|
+
Util.validateModel(tmpReq);
|
|
15402
|
+
let request = new DeleteGatewayIntranetLinkedVpcPeerShrinkRequest({ });
|
|
15403
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
15404
|
+
if (!Util.isUnset(tmpReq.peerVpcs)) {
|
|
15405
|
+
request.peerVpcsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.peerVpcs, "PeerVpcs", "json");
|
|
15406
|
+
}
|
|
15407
|
+
|
|
13411
15408
|
let query : {[key: string ]: any} = { };
|
|
13412
|
-
if (!Util.isUnset(request.
|
|
13413
|
-
query["
|
|
15409
|
+
if (!Util.isUnset(request.peerVpcsShrink)) {
|
|
15410
|
+
query["PeerVpcs"] = request.peerVpcsShrink;
|
|
13414
15411
|
}
|
|
13415
15412
|
|
|
13416
15413
|
if (!Util.isUnset(request.vpcId)) {
|
|
@@ -13422,29 +15419,29 @@ export default class Client extends OpenApi {
|
|
|
13422
15419
|
query: OpenApiUtil.query(query),
|
|
13423
15420
|
});
|
|
13424
15421
|
let params = new $OpenApi.Params({
|
|
13425
|
-
action: "
|
|
15422
|
+
action: "DeleteGatewayIntranetLinkedVpcPeer",
|
|
13426
15423
|
version: "2021-07-01",
|
|
13427
15424
|
protocol: "HTTPS",
|
|
13428
|
-
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/
|
|
15425
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc_peer`,
|
|
13429
15426
|
method: "DELETE",
|
|
13430
15427
|
authType: "AK",
|
|
13431
15428
|
style: "ROA",
|
|
13432
15429
|
reqBodyType: "json",
|
|
13433
15430
|
bodyType: "json",
|
|
13434
15431
|
});
|
|
13435
|
-
return $tea.cast<
|
|
15432
|
+
return $tea.cast<DeleteGatewayIntranetLinkedVpcPeerResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcPeerResponse({}));
|
|
13436
15433
|
}
|
|
13437
15434
|
|
|
13438
15435
|
/**
|
|
13439
|
-
*
|
|
15436
|
+
* 删除网关内网访问端点跨VPC连接
|
|
13440
15437
|
*
|
|
13441
|
-
* @param request -
|
|
13442
|
-
* @returns
|
|
15438
|
+
* @param request - DeleteGatewayIntranetLinkedVpcPeerRequest
|
|
15439
|
+
* @returns DeleteGatewayIntranetLinkedVpcPeerResponse
|
|
13443
15440
|
*/
|
|
13444
|
-
async
|
|
15441
|
+
async deleteGatewayIntranetLinkedVpcPeer(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcPeerRequest): Promise<DeleteGatewayIntranetLinkedVpcPeerResponse> {
|
|
13445
15442
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13446
15443
|
let headers : {[key: string ]: string} = { };
|
|
13447
|
-
return await this.
|
|
15444
|
+
return await this.deleteGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
13448
15445
|
}
|
|
13449
15446
|
|
|
13450
15447
|
/**
|
|
@@ -13845,6 +15842,41 @@ export default class Client extends OpenApi {
|
|
|
13845
15842
|
return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
13846
15843
|
}
|
|
13847
15844
|
|
|
15845
|
+
/**
|
|
15846
|
+
* Deletes a virtual resource group that contains no resources or instances.
|
|
15847
|
+
*
|
|
15848
|
+
* @param headers - map
|
|
15849
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15850
|
+
* @returns DeleteVirtualResourceResponse
|
|
15851
|
+
*/
|
|
15852
|
+
async deleteVirtualResourceWithOptions(ClusterId: string, VirtualResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteVirtualResourceResponse> {
|
|
15853
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15854
|
+
headers: headers,
|
|
15855
|
+
});
|
|
15856
|
+
let params = new $OpenApi.Params({
|
|
15857
|
+
action: "DeleteVirtualResource",
|
|
15858
|
+
version: "2021-07-01",
|
|
15859
|
+
protocol: "HTTPS",
|
|
15860
|
+
pathname: `/api/v2/virtualresources/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(VirtualResourceId)}`,
|
|
15861
|
+
method: "DELETE",
|
|
15862
|
+
authType: "AK",
|
|
15863
|
+
style: "ROA",
|
|
15864
|
+
reqBodyType: "json",
|
|
15865
|
+
bodyType: "json",
|
|
15866
|
+
});
|
|
15867
|
+
return $tea.cast<DeleteVirtualResourceResponse>(await this.callApi(params, req, runtime), new DeleteVirtualResourceResponse({}));
|
|
15868
|
+
}
|
|
15869
|
+
|
|
15870
|
+
/**
|
|
15871
|
+
* Deletes a virtual resource group that contains no resources or instances.
|
|
15872
|
+
* @returns DeleteVirtualResourceResponse
|
|
15873
|
+
*/
|
|
15874
|
+
async deleteVirtualResource(ClusterId: string, VirtualResourceId: string): Promise<DeleteVirtualResourceResponse> {
|
|
15875
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15876
|
+
let headers : {[key: string ]: string} = { };
|
|
15877
|
+
return await this.deleteVirtualResourceWithOptions(ClusterId, VirtualResourceId, headers, runtime);
|
|
15878
|
+
}
|
|
15879
|
+
|
|
13848
15880
|
/**
|
|
13849
15881
|
* Queries details about the configurations of a stress testing task.
|
|
13850
15882
|
*
|
|
@@ -14501,6 +16533,92 @@ export default class Client extends OpenApi {
|
|
|
14501
16533
|
return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
|
|
14502
16534
|
}
|
|
14503
16535
|
|
|
16536
|
+
/**
|
|
16537
|
+
* Views the details of a virtual resource group.
|
|
16538
|
+
*
|
|
16539
|
+
* @param headers - map
|
|
16540
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16541
|
+
* @returns DescribeVirtualResourceResponse
|
|
16542
|
+
*/
|
|
16543
|
+
async describeVirtualResourceWithOptions(ClusterId: string, VirtualResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeVirtualResourceResponse> {
|
|
16544
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16545
|
+
headers: headers,
|
|
16546
|
+
});
|
|
16547
|
+
let params = new $OpenApi.Params({
|
|
16548
|
+
action: "DescribeVirtualResource",
|
|
16549
|
+
version: "2021-07-01",
|
|
16550
|
+
protocol: "HTTPS",
|
|
16551
|
+
pathname: `/api/v2/virtualresources/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(VirtualResourceId)}`,
|
|
16552
|
+
method: "GET",
|
|
16553
|
+
authType: "AK",
|
|
16554
|
+
style: "ROA",
|
|
16555
|
+
reqBodyType: "json",
|
|
16556
|
+
bodyType: "json",
|
|
16557
|
+
});
|
|
16558
|
+
return $tea.cast<DescribeVirtualResourceResponse>(await this.callApi(params, req, runtime), new DescribeVirtualResourceResponse({}));
|
|
16559
|
+
}
|
|
16560
|
+
|
|
16561
|
+
/**
|
|
16562
|
+
* Views the details of a virtual resource group.
|
|
16563
|
+
* @returns DescribeVirtualResourceResponse
|
|
16564
|
+
*/
|
|
16565
|
+
async describeVirtualResource(ClusterId: string, VirtualResourceId: string): Promise<DescribeVirtualResourceResponse> {
|
|
16566
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16567
|
+
let headers : {[key: string ]: string} = { };
|
|
16568
|
+
return await this.describeVirtualResourceWithOptions(ClusterId, VirtualResourceId, headers, runtime);
|
|
16569
|
+
}
|
|
16570
|
+
|
|
16571
|
+
/**
|
|
16572
|
+
* Unbinds a custom domain name from a private gateway.
|
|
16573
|
+
*
|
|
16574
|
+
* @param tmpReq - DetachGatewayDomainRequest
|
|
16575
|
+
* @param headers - map
|
|
16576
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16577
|
+
* @returns DetachGatewayDomainResponse
|
|
16578
|
+
*/
|
|
16579
|
+
async detachGatewayDomainWithOptions(ClusterId: string, GatewayId: string, tmpReq: DetachGatewayDomainRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetachGatewayDomainResponse> {
|
|
16580
|
+
Util.validateModel(tmpReq);
|
|
16581
|
+
let request = new DetachGatewayDomainShrinkRequest({ });
|
|
16582
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
16583
|
+
if (!Util.isUnset(tmpReq.customDomain)) {
|
|
16584
|
+
request.customDomainShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.customDomain, "CustomDomain", "json");
|
|
16585
|
+
}
|
|
16586
|
+
|
|
16587
|
+
let query : {[key: string ]: any} = { };
|
|
16588
|
+
if (!Util.isUnset(request.customDomainShrink)) {
|
|
16589
|
+
query["CustomDomain"] = request.customDomainShrink;
|
|
16590
|
+
}
|
|
16591
|
+
|
|
16592
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16593
|
+
headers: headers,
|
|
16594
|
+
query: OpenApiUtil.query(query),
|
|
16595
|
+
});
|
|
16596
|
+
let params = new $OpenApi.Params({
|
|
16597
|
+
action: "DetachGatewayDomain",
|
|
16598
|
+
version: "2021-07-01",
|
|
16599
|
+
protocol: "HTTPS",
|
|
16600
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/domain/detach`,
|
|
16601
|
+
method: "PUT",
|
|
16602
|
+
authType: "AK",
|
|
16603
|
+
style: "ROA",
|
|
16604
|
+
reqBodyType: "json",
|
|
16605
|
+
bodyType: "json",
|
|
16606
|
+
});
|
|
16607
|
+
return $tea.cast<DetachGatewayDomainResponse>(await this.callApi(params, req, runtime), new DetachGatewayDomainResponse({}));
|
|
16608
|
+
}
|
|
16609
|
+
|
|
16610
|
+
/**
|
|
16611
|
+
* Unbinds a custom domain name from a private gateway.
|
|
16612
|
+
*
|
|
16613
|
+
* @param request - DetachGatewayDomainRequest
|
|
16614
|
+
* @returns DetachGatewayDomainResponse
|
|
16615
|
+
*/
|
|
16616
|
+
async detachGatewayDomain(ClusterId: string, GatewayId: string, request: DetachGatewayDomainRequest): Promise<DetachGatewayDomainResponse> {
|
|
16617
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16618
|
+
let headers : {[key: string ]: string} = { };
|
|
16619
|
+
return await this.detachGatewayDomainWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
16620
|
+
}
|
|
16621
|
+
|
|
14504
16622
|
/**
|
|
14505
16623
|
* Switches a container service to development mode or exits development mode.
|
|
14506
16624
|
*
|
|
@@ -14675,6 +16793,10 @@ export default class Client extends OpenApi {
|
|
|
14675
16793
|
query["PageSize"] = request.pageSize;
|
|
14676
16794
|
}
|
|
14677
16795
|
|
|
16796
|
+
if (!Util.isUnset(request.resourceName)) {
|
|
16797
|
+
query["ResourceName"] = request.resourceName;
|
|
16798
|
+
}
|
|
16799
|
+
|
|
14678
16800
|
let req = new $OpenApi.OpenApiRequest({
|
|
14679
16801
|
headers: headers,
|
|
14680
16802
|
query: OpenApiUtil.query(query),
|
|
@@ -14705,6 +16827,41 @@ export default class Client extends OpenApi {
|
|
|
14705
16827
|
return await this.listGatewayWithOptions(request, headers, runtime);
|
|
14706
16828
|
}
|
|
14707
16829
|
|
|
16830
|
+
/**
|
|
16831
|
+
* Queries a list of custom domain names of a private gateway.
|
|
16832
|
+
*
|
|
16833
|
+
* @param headers - map
|
|
16834
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16835
|
+
* @returns ListGatewayDomainsResponse
|
|
16836
|
+
*/
|
|
16837
|
+
async listGatewayDomainsWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGatewayDomainsResponse> {
|
|
16838
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16839
|
+
headers: headers,
|
|
16840
|
+
});
|
|
16841
|
+
let params = new $OpenApi.Params({
|
|
16842
|
+
action: "ListGatewayDomains",
|
|
16843
|
+
version: "2021-07-01",
|
|
16844
|
+
protocol: "HTTPS",
|
|
16845
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/domains`,
|
|
16846
|
+
method: "GET",
|
|
16847
|
+
authType: "AK",
|
|
16848
|
+
style: "ROA",
|
|
16849
|
+
reqBodyType: "json",
|
|
16850
|
+
bodyType: "json",
|
|
16851
|
+
});
|
|
16852
|
+
return $tea.cast<ListGatewayDomainsResponse>(await this.callApi(params, req, runtime), new ListGatewayDomainsResponse({}));
|
|
16853
|
+
}
|
|
16854
|
+
|
|
16855
|
+
/**
|
|
16856
|
+
* Queries a list of custom domain names of a private gateway.
|
|
16857
|
+
* @returns ListGatewayDomainsResponse
|
|
16858
|
+
*/
|
|
16859
|
+
async listGatewayDomains(ClusterId: string, GatewayId: string): Promise<ListGatewayDomainsResponse> {
|
|
16860
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16861
|
+
let headers : {[key: string ]: string} = { };
|
|
16862
|
+
return await this.listGatewayDomainsWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
16863
|
+
}
|
|
16864
|
+
|
|
14708
16865
|
/**
|
|
14709
16866
|
* Queries a list of the internal endpoints of a private gateway.
|
|
14710
16867
|
*
|
|
@@ -14740,6 +16897,51 @@ export default class Client extends OpenApi {
|
|
|
14740
16897
|
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
14741
16898
|
}
|
|
14742
16899
|
|
|
16900
|
+
/**
|
|
16901
|
+
* 获取网关内网访问端点跨VPC连接列表
|
|
16902
|
+
*
|
|
16903
|
+
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
16904
|
+
* @param headers - map
|
|
16905
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16906
|
+
* @returns ListGatewayIntranetLinkedVpcPeerResponse
|
|
16907
|
+
*/
|
|
16908
|
+
async listGatewayIntranetLinkedVpcPeerWithOptions(ClusterId: string, GatewayId: string, request: ListGatewayIntranetLinkedVpcPeerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGatewayIntranetLinkedVpcPeerResponse> {
|
|
16909
|
+
Util.validateModel(request);
|
|
16910
|
+
let query : {[key: string ]: any} = { };
|
|
16911
|
+
if (!Util.isUnset(request.vpcId)) {
|
|
16912
|
+
query["VpcId"] = request.vpcId;
|
|
16913
|
+
}
|
|
16914
|
+
|
|
16915
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16916
|
+
headers: headers,
|
|
16917
|
+
query: OpenApiUtil.query(query),
|
|
16918
|
+
});
|
|
16919
|
+
let params = new $OpenApi.Params({
|
|
16920
|
+
action: "ListGatewayIntranetLinkedVpcPeer",
|
|
16921
|
+
version: "2021-07-01",
|
|
16922
|
+
protocol: "HTTPS",
|
|
16923
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc_peer`,
|
|
16924
|
+
method: "GET",
|
|
16925
|
+
authType: "AK",
|
|
16926
|
+
style: "ROA",
|
|
16927
|
+
reqBodyType: "json",
|
|
16928
|
+
bodyType: "json",
|
|
16929
|
+
});
|
|
16930
|
+
return $tea.cast<ListGatewayIntranetLinkedVpcPeerResponse>(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcPeerResponse({}));
|
|
16931
|
+
}
|
|
16932
|
+
|
|
16933
|
+
/**
|
|
16934
|
+
* 获取网关内网访问端点跨VPC连接列表
|
|
16935
|
+
*
|
|
16936
|
+
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
16937
|
+
* @returns ListGatewayIntranetLinkedVpcPeerResponse
|
|
16938
|
+
*/
|
|
16939
|
+
async listGatewayIntranetLinkedVpcPeer(ClusterId: string, GatewayId: string, request: ListGatewayIntranetLinkedVpcPeerRequest): Promise<ListGatewayIntranetLinkedVpcPeerResponse> {
|
|
16940
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16941
|
+
let headers : {[key: string ]: string} = { };
|
|
16942
|
+
return await this.listGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
16943
|
+
}
|
|
16944
|
+
|
|
14743
16945
|
/**
|
|
14744
16946
|
* Queries created service groups.
|
|
14745
16947
|
*
|
|
@@ -15221,7 +17423,7 @@ export default class Client extends OpenApi {
|
|
|
15221
17423
|
}
|
|
15222
17424
|
|
|
15223
17425
|
/**
|
|
15224
|
-
*
|
|
17426
|
+
* Lists services.
|
|
15225
17427
|
*
|
|
15226
17428
|
* @param tmpReq - ListServicesRequest
|
|
15227
17429
|
* @param headers - map
|
|
@@ -15324,7 +17526,7 @@ export default class Client extends OpenApi {
|
|
|
15324
17526
|
}
|
|
15325
17527
|
|
|
15326
17528
|
/**
|
|
15327
|
-
*
|
|
17529
|
+
* Lists services.
|
|
15328
17530
|
*
|
|
15329
17531
|
* @param request - ListServicesRequest
|
|
15330
17532
|
* @returns ListServicesResponse
|
|
@@ -15371,7 +17573,64 @@ export default class Client extends OpenApi {
|
|
|
15371
17573
|
}
|
|
15372
17574
|
|
|
15373
17575
|
/**
|
|
15374
|
-
*
|
|
17576
|
+
* Queries a list of virtual resource groups for the current user.
|
|
17577
|
+
*
|
|
17578
|
+
* @param request - ListVirtualResourceRequest
|
|
17579
|
+
* @param headers - map
|
|
17580
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17581
|
+
* @returns ListVirtualResourceResponse
|
|
17582
|
+
*/
|
|
17583
|
+
async listVirtualResourceWithOptions(request: ListVirtualResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListVirtualResourceResponse> {
|
|
17584
|
+
Util.validateModel(request);
|
|
17585
|
+
let query : {[key: string ]: any} = { };
|
|
17586
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
17587
|
+
query["PageNumber"] = request.pageNumber;
|
|
17588
|
+
}
|
|
17589
|
+
|
|
17590
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
17591
|
+
query["PageSize"] = request.pageSize;
|
|
17592
|
+
}
|
|
17593
|
+
|
|
17594
|
+
if (!Util.isUnset(request.virtualResourceId)) {
|
|
17595
|
+
query["VirtualResourceId"] = request.virtualResourceId;
|
|
17596
|
+
}
|
|
17597
|
+
|
|
17598
|
+
if (!Util.isUnset(request.virtualResourceName)) {
|
|
17599
|
+
query["VirtualResourceName"] = request.virtualResourceName;
|
|
17600
|
+
}
|
|
17601
|
+
|
|
17602
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17603
|
+
headers: headers,
|
|
17604
|
+
query: OpenApiUtil.query(query),
|
|
17605
|
+
});
|
|
17606
|
+
let params = new $OpenApi.Params({
|
|
17607
|
+
action: "ListVirtualResource",
|
|
17608
|
+
version: "2021-07-01",
|
|
17609
|
+
protocol: "HTTPS",
|
|
17610
|
+
pathname: `/api/v2/virtualresources`,
|
|
17611
|
+
method: "GET",
|
|
17612
|
+
authType: "AK",
|
|
17613
|
+
style: "ROA",
|
|
17614
|
+
reqBodyType: "json",
|
|
17615
|
+
bodyType: "json",
|
|
17616
|
+
});
|
|
17617
|
+
return $tea.cast<ListVirtualResourceResponse>(await this.callApi(params, req, runtime), new ListVirtualResourceResponse({}));
|
|
17618
|
+
}
|
|
17619
|
+
|
|
17620
|
+
/**
|
|
17621
|
+
* Queries a list of virtual resource groups for the current user.
|
|
17622
|
+
*
|
|
17623
|
+
* @param request - ListVirtualResourceRequest
|
|
17624
|
+
* @returns ListVirtualResourceResponse
|
|
17625
|
+
*/
|
|
17626
|
+
async listVirtualResource(request: ListVirtualResourceRequest): Promise<ListVirtualResourceResponse> {
|
|
17627
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17628
|
+
let headers : {[key: string ]: string} = { };
|
|
17629
|
+
return await this.listVirtualResourceWithOptions(request, headers, runtime);
|
|
17630
|
+
}
|
|
17631
|
+
|
|
17632
|
+
/**
|
|
17633
|
+
* Resets tenant configurations.
|
|
15375
17634
|
*
|
|
15376
17635
|
* @param headers - map
|
|
15377
17636
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15396,7 +17655,7 @@ export default class Client extends OpenApi {
|
|
|
15396
17655
|
}
|
|
15397
17656
|
|
|
15398
17657
|
/**
|
|
15399
|
-
*
|
|
17658
|
+
* Resets tenant configurations.
|
|
15400
17659
|
* @returns ReinstallTenantAddonResponse
|
|
15401
17660
|
*/
|
|
15402
17661
|
async reinstallTenantAddon(ClusterId: string, TenantAddonName: string): Promise<ReinstallTenantAddonResponse> {
|
|
@@ -16337,4 +18596,53 @@ export default class Client extends OpenApi {
|
|
|
16337
18596
|
return await this.updateServiceVersionWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
16338
18597
|
}
|
|
16339
18598
|
|
|
18599
|
+
/**
|
|
18600
|
+
* Updates the information about a virtual resource group.
|
|
18601
|
+
*
|
|
18602
|
+
* @param request - UpdateVirtualResourceRequest
|
|
18603
|
+
* @param headers - map
|
|
18604
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18605
|
+
* @returns UpdateVirtualResourceResponse
|
|
18606
|
+
*/
|
|
18607
|
+
async updateVirtualResourceWithOptions(ClusterId: string, VirtualResourceId: string, request: UpdateVirtualResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateVirtualResourceResponse> {
|
|
18608
|
+
Util.validateModel(request);
|
|
18609
|
+
let body : {[key: string ]: any} = { };
|
|
18610
|
+
if (!Util.isUnset(request.resources)) {
|
|
18611
|
+
body["Resources"] = request.resources;
|
|
18612
|
+
}
|
|
18613
|
+
|
|
18614
|
+
if (!Util.isUnset(request.virtualResourceName)) {
|
|
18615
|
+
body["VirtualResourceName"] = request.virtualResourceName;
|
|
18616
|
+
}
|
|
18617
|
+
|
|
18618
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18619
|
+
headers: headers,
|
|
18620
|
+
body: OpenApiUtil.parseToMap(body),
|
|
18621
|
+
});
|
|
18622
|
+
let params = new $OpenApi.Params({
|
|
18623
|
+
action: "UpdateVirtualResource",
|
|
18624
|
+
version: "2021-07-01",
|
|
18625
|
+
protocol: "HTTPS",
|
|
18626
|
+
pathname: `/api/v2/virtualresources/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(VirtualResourceId)}`,
|
|
18627
|
+
method: "PUT",
|
|
18628
|
+
authType: "AK",
|
|
18629
|
+
style: "ROA",
|
|
18630
|
+
reqBodyType: "json",
|
|
18631
|
+
bodyType: "json",
|
|
18632
|
+
});
|
|
18633
|
+
return $tea.cast<UpdateVirtualResourceResponse>(await this.callApi(params, req, runtime), new UpdateVirtualResourceResponse({}));
|
|
18634
|
+
}
|
|
18635
|
+
|
|
18636
|
+
/**
|
|
18637
|
+
* Updates the information about a virtual resource group.
|
|
18638
|
+
*
|
|
18639
|
+
* @param request - UpdateVirtualResourceRequest
|
|
18640
|
+
* @returns UpdateVirtualResourceResponse
|
|
18641
|
+
*/
|
|
18642
|
+
async updateVirtualResource(ClusterId: string, VirtualResourceId: string, request: UpdateVirtualResourceRequest): Promise<UpdateVirtualResourceResponse> {
|
|
18643
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18644
|
+
let headers : {[key: string ]: string} = { };
|
|
18645
|
+
return await this.updateVirtualResourceWithOptions(ClusterId, VirtualResourceId, request, headers, runtime);
|
|
18646
|
+
}
|
|
18647
|
+
|
|
16340
18648
|
}
|