@alicloud/eas20210701 6.0.0 → 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/src/client.ts CHANGED
@@ -577,7 +577,132 @@ 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\\&ampEnv=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 {
702
+ /**
703
+ * @remarks
704
+ * The label of the service to be cloned.
705
+ */
581
706
  labels?: { [key: string]: string };
582
707
  /**
583
708
  * @remarks
@@ -607,6 +732,10 @@ export class CloneServiceRequest extends $tea.Model {
607
732
  }
608
733
 
609
734
  export class CloneServiceShrinkRequest extends $tea.Model {
735
+ /**
736
+ * @remarks
737
+ * The label of the service to be cloned.
738
+ */
610
739
  labelsShrink?: string;
611
740
  /**
612
741
  * @remarks
@@ -798,8 +927,17 @@ export class CommitServiceResponse extends $tea.Model {
798
927
  }
799
928
 
800
929
  export class CreateAclPolicyRequest extends $tea.Model {
930
+ /**
931
+ * @remarks
932
+ * The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
933
+ *
934
+ * This parameter is required.
935
+ */
801
936
  aclPolicyList?: CreateAclPolicyRequestAclPolicyList[];
802
937
  /**
938
+ * @remarks
939
+ * The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
940
+ *
803
941
  * @example
804
942
  * vpc-uf66uio7md****
805
943
  */
@@ -824,8 +962,17 @@ export class CreateAclPolicyRequest extends $tea.Model {
824
962
  }
825
963
 
826
964
  export class CreateAclPolicyShrinkRequest extends $tea.Model {
965
+ /**
966
+ * @remarks
967
+ * The whitelisted IP CIDR blocks in the VPC that can access the private gateway.
968
+ *
969
+ * This parameter is required.
970
+ */
827
971
  aclPolicyListShrink?: string;
828
972
  /**
973
+ * @remarks
974
+ * The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
975
+ *
829
976
  * @example
830
977
  * vpc-uf66uio7md****
831
978
  */
@@ -851,16 +998,25 @@ export class CreateAclPolicyShrinkRequest extends $tea.Model {
851
998
 
852
999
  export class CreateAclPolicyResponseBody extends $tea.Model {
853
1000
  /**
1001
+ * @remarks
1002
+ * The private gateway ID.
1003
+ *
854
1004
  * @example
855
1005
  * gw-1uhcqmsc7x22******
856
1006
  */
857
1007
  gatewayId?: string;
858
1008
  /**
1009
+ * @remarks
1010
+ * The returned message.
1011
+ *
859
1012
  * @example
860
1013
  * Successfully add acl policy for gateway
861
1014
  */
862
1015
  message?: string;
863
1016
  /**
1017
+ * @remarks
1018
+ * The request ID.
1019
+ *
864
1020
  * @example
865
1021
  * 40325405-579C-4D82****
866
1022
  */
@@ -1275,6 +1431,25 @@ export class CreateGatewayRequest extends $tea.Model {
1275
1431
  * eas-r-4gt8twzwllfo******
1276
1432
  */
1277
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;
1278
1453
  /**
1279
1454
  * @remarks
1280
1455
  * Specifies whether to enable Internet access. Default value: false.
@@ -1335,6 +1510,8 @@ export class CreateGatewayRequest extends $tea.Model {
1335
1510
  static names(): { [key: string]: string } {
1336
1511
  return {
1337
1512
  resourceName: 'ResourceName',
1513
+ autoRenewal: 'AutoRenewal',
1514
+ chargeType: 'ChargeType',
1338
1515
  enableInternet: 'EnableInternet',
1339
1516
  enableIntranet: 'EnableIntranet',
1340
1517
  instanceType: 'InstanceType',
@@ -1346,6 +1523,8 @@ export class CreateGatewayRequest extends $tea.Model {
1346
1523
  static types(): { [key: string]: any } {
1347
1524
  return {
1348
1525
  resourceName: 'string',
1526
+ autoRenewal: 'boolean',
1527
+ chargeType: 'string',
1349
1528
  enableInternet: 'boolean',
1350
1529
  enableIntranet: 'boolean',
1351
1530
  instanceType: 'string',
@@ -1547,108 +1726,24 @@ export class CreateGatewayIntranetLinkedVpcResponse extends $tea.Model {
1547
1726
  }
1548
1727
  }
1549
1728
 
1550
- export class CreateResourceRequest extends $tea.Model {
1551
- /**
1552
- * @remarks
1553
- * Specifies whether to enable auto-renewal. Valid values:
1554
- *
1555
- * * false (default)
1556
- * * true
1557
- *
1558
- * @example
1559
- * false
1560
- */
1561
- autoRenewal?: boolean;
1562
- /**
1563
- * @remarks
1564
- * The billing method. Valid values:
1565
- *
1566
- * * PrePaid: the subscription billing method.
1567
- * * PostPaid: the pay-as-you-go billing method.
1568
- *
1569
- * > This parameter is required when the ResourceType parameter is set to Dedicated.
1570
- *
1571
- * @example
1572
- * PostPaid
1573
- */
1574
- chargeType?: string;
1575
- /**
1576
- * @remarks
1577
- * The number of ECS instances.
1578
- *
1579
- * > This parameter is required when the ResourceType parameter is set to Dedicated.
1580
- *
1581
- * @example
1582
- * 5
1583
- */
1584
- ecsInstanceCount?: number;
1729
+ export class CreateGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
1730
+ peerVpcs?: CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs[];
1585
1731
  /**
1586
- * @remarks
1587
- * The type of the Elastic Compute Service (ECS) instance.
1588
- *
1589
- * > This parameter is required when the ResourceType parameter is set to Dedicated.
1590
- *
1591
- * @example
1592
- * ecs.c6.8xlarge
1593
- */
1594
- ecsInstanceType?: string;
1595
- /**
1596
- * @remarks
1597
- * The type of the resource group. Valid values:
1598
- *
1599
- * * Dedicated: the dedicated resource group.
1600
- * * SelfManaged: the self-managed resource group.
1601
- *
1602
- * > If you use a self-managed resource group, you must configure a whitelist.
1603
- *
1604
- * @example
1605
- * Dedicated
1606
- */
1607
- resourceType?: string;
1608
- /**
1609
- * @remarks
1610
- * The configurations of the self-managed resource group.
1611
- */
1612
- selfManagedResourceOptions?: CreateResourceRequestSelfManagedResourceOptions;
1613
- /**
1614
- * @remarks
1615
- * The size of the system disk. Unit: GiB. Valid values: 200 to 2000. Default value: 200.
1616
- *
1617
- * @example
1618
- * 200
1619
- */
1620
- systemDiskSize?: number;
1621
- /**
1622
- * @remarks
1623
- * The ID of the zone in which the instance resides.
1624
- *
1625
1732
  * @example
1626
- * cn-shanghai-f
1733
+ * vpc-2zetuli9ws0qgjd******
1627
1734
  */
1628
- zone?: string;
1735
+ vpcId?: string;
1629
1736
  static names(): { [key: string]: string } {
1630
1737
  return {
1631
- autoRenewal: 'AutoRenewal',
1632
- chargeType: 'ChargeType',
1633
- ecsInstanceCount: 'EcsInstanceCount',
1634
- ecsInstanceType: 'EcsInstanceType',
1635
- resourceType: 'ResourceType',
1636
- selfManagedResourceOptions: 'SelfManagedResourceOptions',
1637
- systemDiskSize: 'SystemDiskSize',
1638
- zone: 'Zone',
1738
+ peerVpcs: 'PeerVpcs',
1739
+ vpcId: 'VpcId',
1639
1740
  };
1640
1741
  }
1641
1742
 
1642
1743
  static types(): { [key: string]: any } {
1643
1744
  return {
1644
- autoRenewal: 'boolean',
1645
- chargeType: 'string',
1646
- ecsInstanceCount: 'number',
1647
- ecsInstanceType: 'string',
1648
- resourceType: 'string',
1649
- selfManagedResourceOptions: CreateResourceRequestSelfManagedResourceOptions,
1650
- systemDiskSize: 'number',
1651
- zone: 'string',
1745
+ peerVpcs: { 'type': 'array', 'itemType': CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs },
1746
+ vpcId: 'string',
1652
1747
  };
1653
1748
  }
1654
1749
 
@@ -1657,10 +1752,208 @@ export class CreateResourceRequest extends $tea.Model {
1657
1752
  }
1658
1753
  }
1659
1754
 
1660
- export class CreateResourceResponseBody extends $tea.Model {
1755
+ export class CreateGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model {
1756
+ peerVpcsShrink?: string;
1661
1757
  /**
1662
- * @remarks
1663
- * The ID of the cluster to which the resource group belongs.
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
+
1843
+ export class CreateResourceRequest extends $tea.Model {
1844
+ /**
1845
+ * @remarks
1846
+ * Specifies whether to enable auto-renewal. Valid values:
1847
+ *
1848
+ * * false (default)
1849
+ * * true
1850
+ *
1851
+ * @example
1852
+ * false
1853
+ */
1854
+ autoRenewal?: boolean;
1855
+ /**
1856
+ * @remarks
1857
+ * The billing method. Valid values:
1858
+ *
1859
+ * * PrePaid: the subscription billing method.
1860
+ * * PostPaid: the pay-as-you-go billing method.
1861
+ *
1862
+ * > This parameter is required when the ResourceType parameter is set to Dedicated.
1863
+ *
1864
+ * @example
1865
+ * PostPaid
1866
+ */
1867
+ chargeType?: string;
1868
+ /**
1869
+ * @remarks
1870
+ * The number of ECS instances.
1871
+ *
1872
+ * > This parameter is required when the ResourceType parameter is set to Dedicated.
1873
+ *
1874
+ * @example
1875
+ * 5
1876
+ */
1877
+ ecsInstanceCount?: number;
1878
+ /**
1879
+ * @remarks
1880
+ * The type of the Elastic Compute Service (ECS) instance.
1881
+ *
1882
+ * > This parameter is required when the ResourceType parameter is set to Dedicated.
1883
+ *
1884
+ * @example
1885
+ * ecs.c6.8xlarge
1886
+ */
1887
+ ecsInstanceType?: string;
1888
+ /**
1889
+ * @remarks
1890
+ * The type of the resource group. Valid values:
1891
+ *
1892
+ * * Dedicated: the dedicated resource group.
1893
+ * * SelfManaged: the self-managed resource group.
1894
+ *
1895
+ * > If you use a self-managed resource group, you must configure a whitelist.
1896
+ *
1897
+ * @example
1898
+ * Dedicated
1899
+ */
1900
+ resourceType?: string;
1901
+ /**
1902
+ * @remarks
1903
+ * The configurations of the self-managed resource group.
1904
+ */
1905
+ selfManagedResourceOptions?: CreateResourceRequestSelfManagedResourceOptions;
1906
+ /**
1907
+ * @remarks
1908
+ * The size of the system disk. Unit: GiB. Valid values: 200 to 2000. Default value: 200.
1909
+ *
1910
+ * @example
1911
+ * 200
1912
+ */
1913
+ systemDiskSize?: number;
1914
+ /**
1915
+ * @remarks
1916
+ * The ID of the zone in which the instance resides.
1917
+ *
1918
+ * @example
1919
+ * cn-shanghai-f
1920
+ */
1921
+ zone?: string;
1922
+ static names(): { [key: string]: string } {
1923
+ return {
1924
+ autoRenewal: 'AutoRenewal',
1925
+ chargeType: 'ChargeType',
1926
+ ecsInstanceCount: 'EcsInstanceCount',
1927
+ ecsInstanceType: 'EcsInstanceType',
1928
+ resourceType: 'ResourceType',
1929
+ selfManagedResourceOptions: 'SelfManagedResourceOptions',
1930
+ systemDiskSize: 'SystemDiskSize',
1931
+ zone: 'Zone',
1932
+ };
1933
+ }
1934
+
1935
+ static types(): { [key: string]: any } {
1936
+ return {
1937
+ autoRenewal: 'boolean',
1938
+ chargeType: 'string',
1939
+ ecsInstanceCount: 'number',
1940
+ ecsInstanceType: 'string',
1941
+ resourceType: 'string',
1942
+ selfManagedResourceOptions: CreateResourceRequestSelfManagedResourceOptions,
1943
+ systemDiskSize: 'number',
1944
+ zone: 'string',
1945
+ };
1946
+ }
1947
+
1948
+ constructor(map?: { [key: string]: any }) {
1949
+ super(map);
1950
+ }
1951
+ }
1952
+
1953
+ export class CreateResourceResponseBody extends $tea.Model {
1954
+ /**
1955
+ * @remarks
1956
+ * The ID of the cluster to which the resource group belongs.
1664
1957
  *
1665
1958
  * @example
1666
1959
  * cn-shanghai
@@ -2719,50 +3012,31 @@ export class CreateServiceMirrorResponse extends $tea.Model {
2719
3012
  }
2720
3013
  }
2721
3014
 
2722
- export class DeleteAclPolicyRequest extends $tea.Model {
2723
- aclPolicyList?: DeleteAclPolicyRequestAclPolicyList[];
3015
+ export class CreateVirtualResourceRequest extends $tea.Model {
2724
3016
  /**
2725
- * @example
2726
- * vpc-uf66uio7md****
3017
+ * @remarks
3018
+ * The list of resources in the virtual resource group.
2727
3019
  */
2728
- vpcId?: string;
2729
- static names(): { [key: string]: string } {
2730
- return {
2731
- aclPolicyList: 'AclPolicyList',
2732
- vpcId: 'VpcId',
2733
- };
2734
- }
2735
-
2736
- static types(): { [key: string]: any } {
2737
- return {
2738
- aclPolicyList: { 'type': 'array', 'itemType': DeleteAclPolicyRequestAclPolicyList },
2739
- vpcId: 'string',
2740
- };
2741
- }
2742
-
2743
- constructor(map?: { [key: string]: any }) {
2744
- super(map);
2745
- }
2746
- }
2747
-
2748
- export class DeleteAclPolicyShrinkRequest extends $tea.Model {
2749
- aclPolicyListShrink?: string;
3020
+ resources?: CreateVirtualResourceRequestResources[];
2750
3021
  /**
3022
+ * @remarks
3023
+ * The name of the virtual resource group. Default value: the ID of the virtual resource group.
3024
+ *
2751
3025
  * @example
2752
- * vpc-uf66uio7md****
3026
+ * MyVirtualResource
2753
3027
  */
2754
- vpcId?: string;
3028
+ virtualResourceName?: string;
2755
3029
  static names(): { [key: string]: string } {
2756
3030
  return {
2757
- aclPolicyListShrink: 'AclPolicyList',
2758
- vpcId: 'VpcId',
3031
+ resources: 'Resources',
3032
+ virtualResourceName: 'VirtualResourceName',
2759
3033
  };
2760
3034
  }
2761
3035
 
2762
3036
  static types(): { [key: string]: any } {
2763
3037
  return {
2764
- aclPolicyListShrink: 'string',
2765
- vpcId: 'string',
3038
+ resources: { 'type': 'array', 'itemType': CreateVirtualResourceRequestResources },
3039
+ virtualResourceName: 'string',
2766
3040
  };
2767
3041
  }
2768
3042
 
@@ -2771,35 +3045,44 @@ export class DeleteAclPolicyShrinkRequest extends $tea.Model {
2771
3045
  }
2772
3046
  }
2773
3047
 
2774
- export class DeleteAclPolicyResponseBody extends $tea.Model {
3048
+ export class CreateVirtualResourceResponseBody extends $tea.Model {
2775
3049
  /**
3050
+ * @remarks
3051
+ * The returned message.
3052
+ *
2776
3053
  * @example
2777
- * gw-1uhcqmsc7x22******
3054
+ * Successfully created virtual resource eas-vr-npovr28onap1xxxxxx
2778
3055
  */
2779
- gatewayId?: string;
3056
+ message?: string;
2780
3057
  /**
3058
+ * @remarks
3059
+ * The ID of the request.
3060
+ *
2781
3061
  * @example
2782
- * Successfully delete acl policy for gateway
3062
+ * 40325405-579C-4D82***
2783
3063
  */
2784
- message?: string;
3064
+ requestId?: string;
2785
3065
  /**
3066
+ * @remarks
3067
+ * The ID of the virtual resource group.
3068
+ *
2786
3069
  * @example
2787
- * 40325405-579C-4D82****
3070
+ * eas-vr-npovr28onap1xxxxxx
2788
3071
  */
2789
- requestId?: string;
3072
+ virtualResourceId?: string;
2790
3073
  static names(): { [key: string]: string } {
2791
3074
  return {
2792
- gatewayId: 'GatewayId',
2793
3075
  message: 'Message',
2794
3076
  requestId: 'RequestId',
3077
+ virtualResourceId: 'VirtualResourceId',
2795
3078
  };
2796
3079
  }
2797
3080
 
2798
3081
  static types(): { [key: string]: any } {
2799
3082
  return {
2800
- gatewayId: 'string',
2801
3083
  message: 'string',
2802
3084
  requestId: 'string',
3085
+ virtualResourceId: 'string',
2803
3086
  };
2804
3087
  }
2805
3088
 
@@ -2808,10 +3091,10 @@ export class DeleteAclPolicyResponseBody extends $tea.Model {
2808
3091
  }
2809
3092
  }
2810
3093
 
2811
- export class DeleteAclPolicyResponse extends $tea.Model {
3094
+ export class CreateVirtualResourceResponse extends $tea.Model {
2812
3095
  headers?: { [key: string]: string };
2813
3096
  statusCode?: number;
2814
- body?: DeleteAclPolicyResponseBody;
3097
+ body?: CreateVirtualResourceResponseBody;
2815
3098
  static names(): { [key: string]: string } {
2816
3099
  return {
2817
3100
  headers: 'headers',
@@ -2824,7 +3107,7 @@ export class DeleteAclPolicyResponse extends $tea.Model {
2824
3107
  return {
2825
3108
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2826
3109
  statusCode: 'number',
2827
- body: DeleteAclPolicyResponseBody,
3110
+ body: CreateVirtualResourceResponseBody,
2828
3111
  };
2829
3112
  }
2830
3113
 
@@ -2833,13 +3116,150 @@ export class DeleteAclPolicyResponse extends $tea.Model {
2833
3116
  }
2834
3117
  }
2835
3118
 
2836
- export class DeleteBenchmarkTaskResponseBody extends $tea.Model {
3119
+ export class DeleteAclPolicyRequest extends $tea.Model {
2837
3120
  /**
2838
3121
  * @remarks
2839
- * The returned message.
2840
- *
2841
- * @example
2842
- * Benchmark task [benchmark-test-service-234c] is Deleting
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 } {
3167
+ return {
3168
+ aclPolicyListShrink: 'AclPolicyList',
3169
+ vpcId: 'VpcId',
3170
+ };
3171
+ }
3172
+
3173
+ static types(): { [key: string]: any } {
3174
+ return {
3175
+ aclPolicyListShrink: 'string',
3176
+ vpcId: 'string',
3177
+ };
3178
+ }
3179
+
3180
+ constructor(map?: { [key: string]: any }) {
3181
+ super(map);
3182
+ }
3183
+ }
3184
+
3185
+ export class DeleteAclPolicyResponseBody extends $tea.Model {
3186
+ /**
3187
+ * @remarks
3188
+ * The private gateway ID.
3189
+ *
3190
+ * @example
3191
+ * gw-1uhcqmsc7x22******
3192
+ */
3193
+ gatewayId?: string;
3194
+ /**
3195
+ * @remarks
3196
+ * The returned message.
3197
+ *
3198
+ * @example
3199
+ * Successfully delete acl policy for gateway
3200
+ */
3201
+ message?: string;
3202
+ /**
3203
+ * @remarks
3204
+ * The request ID.
3205
+ *
3206
+ * @example
3207
+ * 40325405-579C-4D82****
3208
+ */
3209
+ requestId?: string;
3210
+ static names(): { [key: string]: string } {
3211
+ return {
3212
+ gatewayId: 'GatewayId',
3213
+ message: 'Message',
3214
+ requestId: 'RequestId',
3215
+ };
3216
+ }
3217
+
3218
+ static types(): { [key: string]: any } {
3219
+ return {
3220
+ gatewayId: 'string',
3221
+ message: 'string',
3222
+ requestId: 'string',
3223
+ };
3224
+ }
3225
+
3226
+ constructor(map?: { [key: string]: any }) {
3227
+ super(map);
3228
+ }
3229
+ }
3230
+
3231
+ export class DeleteAclPolicyResponse extends $tea.Model {
3232
+ headers?: { [key: string]: string };
3233
+ statusCode?: number;
3234
+ body?: DeleteAclPolicyResponseBody;
3235
+ static names(): { [key: string]: string } {
3236
+ return {
3237
+ headers: 'headers',
3238
+ statusCode: 'statusCode',
3239
+ body: 'body',
3240
+ };
3241
+ }
3242
+
3243
+ static types(): { [key: string]: any } {
3244
+ return {
3245
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3246
+ statusCode: 'number',
3247
+ body: DeleteAclPolicyResponseBody,
3248
+ };
3249
+ }
3250
+
3251
+ constructor(map?: { [key: string]: any }) {
3252
+ super(map);
3253
+ }
3254
+ }
3255
+
3256
+ export class DeleteBenchmarkTaskResponseBody extends $tea.Model {
3257
+ /**
3258
+ * @remarks
3259
+ * The returned message.
3260
+ *
3261
+ * @example
3262
+ * Benchmark task [benchmark-test-service-234c] is Deleting
2843
3263
  */
2844
3264
  message?: string;
2845
3265
  /**
@@ -3072,6 +3492,120 @@ export class DeleteGatewayIntranetLinkedVpcResponse extends $tea.Model {
3072
3492
  }
3073
3493
  }
3074
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
+
3075
3609
  export class DeleteResourceResponseBody extends $tea.Model {
3076
3610
  /**
3077
3611
  * @remarks
@@ -3819,32 +4353,93 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
3819
4353
  }
3820
4354
  }
3821
4355
 
3822
- export class DescribeBenchmarkTaskResponseBody extends $tea.Model {
3823
- /**
3824
- * @remarks
3825
- * The number of instances that you can test.
3826
- *
3827
- * @example
3828
- * 4
3829
- */
3830
- availableAgent?: number;
4356
+ export class DeleteVirtualResourceResponseBody extends $tea.Model {
3831
4357
  /**
3832
4358
  * @remarks
3833
- * The ID of the operation caller.
4359
+ * The information about the operation result.
3834
4360
  *
3835
4361
  * @example
3836
- * 1640133467****
4362
+ * Successfully deleted virtual resource eas-vr-npovr28onap1xxxxxx
3837
4363
  */
3838
- callerUid?: string;
4364
+ message?: string;
3839
4365
  /**
3840
4366
  * @remarks
3841
- * The number of instances that you want to test.
4367
+ * The ID of the request.
3842
4368
  *
3843
4369
  * @example
3844
- * 4
4370
+ * 40325405-579C-4D82***
3845
4371
  */
3846
- desiredAgent?: number;
3847
- /**
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
+
4417
+ export class DescribeBenchmarkTaskResponseBody extends $tea.Model {
4418
+ /**
4419
+ * @remarks
4420
+ * The number of instances that you can test.
4421
+ *
4422
+ * @example
4423
+ * 4
4424
+ */
4425
+ availableAgent?: number;
4426
+ /**
4427
+ * @remarks
4428
+ * The ID of the operation caller.
4429
+ *
4430
+ * @example
4431
+ * 1640133467****
4432
+ */
4433
+ callerUid?: string;
4434
+ /**
4435
+ * @remarks
4436
+ * The number of instances that you want to test.
4437
+ *
4438
+ * @example
4439
+ * 4
4440
+ */
4441
+ desiredAgent?: number;
4442
+ /**
3848
4443
  * @remarks
3849
4444
  * The endpoint of the service gateway.
3850
4445
  *
@@ -5713,63 +6308,71 @@ export class DescribeSpotDiscountHistoryResponse extends $tea.Model {
5713
6308
  }
5714
6309
  }
5715
6310
 
5716
- export class DevelopServiceRequest extends $tea.Model {
6311
+ export class DescribeVirtualResourceResponseBody extends $tea.Model {
5717
6312
  /**
5718
6313
  * @remarks
5719
- * Specifies whether to exit development mode. Valid values:
6314
+ * The time when the virtual resource group was created.
5720
6315
  *
5721
- * * true: exits development mode.
5722
- * * false (default): enters development mode.
6316
+ * @example
6317
+ * 2024-10-16T17:52:49Z
6318
+ */
6319
+ createTime?: string;
6320
+ /**
6321
+ * @remarks
6322
+ * The ID of the request.
5723
6323
  *
5724
6324
  * @example
5725
- * true
6325
+ * 40325405-579C-4D82****
5726
6326
  */
5727
- exit?: string;
5728
- static names(): { [key: string]: string } {
5729
- return {
5730
- exit: 'Exit',
5731
- };
5732
- }
5733
-
5734
- static types(): { [key: string]: any } {
5735
- return {
5736
- exit: 'string',
5737
- };
5738
- }
5739
-
5740
- constructor(map?: { [key: string]: any }) {
5741
- super(map);
5742
- }
5743
- }
5744
-
5745
- export class DevelopServiceResponseBody extends $tea.Model {
6327
+ requestId?: string;
5746
6328
  /**
5747
6329
  * @remarks
5748
- * The returned message.
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.
5749
6336
  *
5750
6337
  * @example
5751
- * Success
6338
+ * 2024-10-16T19:52:49Z
5752
6339
  */
5753
- message?: string;
6340
+ updateTime?: string;
5754
6341
  /**
5755
6342
  * @remarks
5756
- * The request ID.
6343
+ * The ID of the virtual resource group.
5757
6344
  *
5758
6345
  * @example
5759
- * 40325405-579C-4D82****
6346
+ * eas-vr-npovr28onap1xxxxxx
5760
6347
  */
5761
- requestId?: string;
6348
+ virtualResourceId?: string;
6349
+ /**
6350
+ * @remarks
6351
+ * The name of the virtual resource group.
6352
+ *
6353
+ * @example
6354
+ * MyVirtualResource
6355
+ */
6356
+ virtualResourceName?: string;
5762
6357
  static names(): { [key: string]: string } {
5763
6358
  return {
5764
- message: 'Message',
6359
+ createTime: 'CreateTime',
5765
6360
  requestId: 'RequestId',
6361
+ resources: 'Resources',
6362
+ updateTime: 'UpdateTime',
6363
+ virtualResourceId: 'VirtualResourceId',
6364
+ virtualResourceName: 'VirtualResourceName',
5766
6365
  };
5767
6366
  }
5768
6367
 
5769
6368
  static types(): { [key: string]: any } {
5770
6369
  return {
5771
- message: 'string',
6370
+ createTime: 'string',
5772
6371
  requestId: 'string',
6372
+ resources: { 'type': 'array', 'itemType': DescribeVirtualResourceResponseBodyResources },
6373
+ updateTime: 'string',
6374
+ virtualResourceId: 'string',
6375
+ virtualResourceName: 'string',
5773
6376
  };
5774
6377
  }
5775
6378
 
@@ -5778,10 +6381,10 @@ export class DevelopServiceResponseBody extends $tea.Model {
5778
6381
  }
5779
6382
  }
5780
6383
 
5781
- export class DevelopServiceResponse extends $tea.Model {
6384
+ export class DescribeVirtualResourceResponse extends $tea.Model {
5782
6385
  headers?: { [key: string]: string };
5783
6386
  statusCode?: number;
5784
- body?: DevelopServiceResponseBody;
6387
+ body?: DescribeVirtualResourceResponseBody;
5785
6388
  static names(): { [key: string]: string } {
5786
6389
  return {
5787
6390
  headers: 'headers',
@@ -5794,7 +6397,7 @@ export class DevelopServiceResponse extends $tea.Model {
5794
6397
  return {
5795
6398
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5796
6399
  statusCode: 'number',
5797
- body: DevelopServiceResponseBody,
6400
+ body: DescribeVirtualResourceResponseBody,
5798
6401
  };
5799
6402
  }
5800
6403
 
@@ -5803,21 +6406,23 @@ export class DevelopServiceResponse extends $tea.Model {
5803
6406
  }
5804
6407
  }
5805
6408
 
5806
- export class ListAclPolicyRequest extends $tea.Model {
6409
+ export class DetachGatewayDomainRequest extends $tea.Model {
5807
6410
  /**
5808
- * @example
5809
- * vpc-uf66uio7md****
6411
+ * @remarks
6412
+ * The custom domain name information.
6413
+ *
6414
+ * This parameter is required.
5810
6415
  */
5811
- vpcId?: string;
6416
+ customDomain?: DetachGatewayDomainRequestCustomDomain;
5812
6417
  static names(): { [key: string]: string } {
5813
6418
  return {
5814
- vpcId: 'VpcId',
6419
+ customDomain: 'CustomDomain',
5815
6420
  };
5816
6421
  }
5817
6422
 
5818
6423
  static types(): { [key: string]: any } {
5819
6424
  return {
5820
- vpcId: 'string',
6425
+ customDomain: DetachGatewayDomainRequestCustomDomain,
5821
6426
  };
5822
6427
  }
5823
6428
 
@@ -5826,15 +6431,52 @@ export class ListAclPolicyRequest extends $tea.Model {
5826
6431
  }
5827
6432
  }
5828
6433
 
5829
- export class ListAclPolicyResponseBody extends $tea.Model {
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 {
5830
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\\&ampEnv=online) operation.
6463
+ *
5831
6464
  * @example
5832
6465
  * gw-1uhcqmsc7x22******
5833
6466
  */
5834
6467
  gatewayId?: string;
5835
- internetAclPolicyList?: ListAclPolicyResponseBodyInternetAclPolicyList[];
5836
- intranetVpcAclPolicyList?: ListAclPolicyResponseBodyIntranetVpcAclPolicyList[];
5837
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
+ *
5838
6480
  * @example
5839
6481
  * 40325405-579C-4D82****
5840
6482
  */
@@ -5842,8 +6484,7 @@ export class ListAclPolicyResponseBody extends $tea.Model {
5842
6484
  static names(): { [key: string]: string } {
5843
6485
  return {
5844
6486
  gatewayId: 'GatewayId',
5845
- internetAclPolicyList: 'InternetAclPolicyList',
5846
- intranetVpcAclPolicyList: 'IntranetVpcAclPolicyList',
6487
+ message: 'Message',
5847
6488
  requestId: 'RequestId',
5848
6489
  };
5849
6490
  }
@@ -5851,8 +6492,7 @@ export class ListAclPolicyResponseBody extends $tea.Model {
5851
6492
  static types(): { [key: string]: any } {
5852
6493
  return {
5853
6494
  gatewayId: 'string',
5854
- internetAclPolicyList: { 'type': 'array', 'itemType': ListAclPolicyResponseBodyInternetAclPolicyList },
5855
- intranetVpcAclPolicyList: { 'type': 'array', 'itemType': ListAclPolicyResponseBodyIntranetVpcAclPolicyList },
6495
+ message: 'string',
5856
6496
  requestId: 'string',
5857
6497
  };
5858
6498
  }
@@ -5862,10 +6502,10 @@ export class ListAclPolicyResponseBody extends $tea.Model {
5862
6502
  }
5863
6503
  }
5864
6504
 
5865
- export class ListAclPolicyResponse extends $tea.Model {
6505
+ export class DetachGatewayDomainResponse extends $tea.Model {
5866
6506
  headers?: { [key: string]: string };
5867
6507
  statusCode?: number;
5868
- body?: ListAclPolicyResponseBody;
6508
+ body?: DetachGatewayDomainResponseBody;
5869
6509
  static names(): { [key: string]: string } {
5870
6510
  return {
5871
6511
  headers: 'headers',
@@ -5878,7 +6518,7 @@ export class ListAclPolicyResponse extends $tea.Model {
5878
6518
  return {
5879
6519
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5880
6520
  statusCode: 'number',
5881
- body: ListAclPolicyResponseBody,
6521
+ body: DetachGatewayDomainResponseBody,
5882
6522
  };
5883
6523
  }
5884
6524
 
@@ -5887,54 +6527,27 @@ export class ListAclPolicyResponse extends $tea.Model {
5887
6527
  }
5888
6528
  }
5889
6529
 
5890
- export class ListBenchmarkTaskRequest extends $tea.Model {
5891
- /**
5892
- * @remarks
5893
- * The keyword used to query required stress testing tasks. If this parameter is specified, the system returns stress testing tasks based on the names of the stress testing tasks in the matched Elastic Algorithm Service (EAS).
5894
- *
5895
- * @example
5896
- * test_bench
5897
- */
5898
- filter?: string;
5899
- /**
5900
- * @remarks
5901
- * The page number. Pages start from page 1. Default value: 1.
5902
- *
5903
- * @example
5904
- * 1
5905
- */
5906
- pageNumber?: string;
6530
+ export class DevelopServiceRequest extends $tea.Model {
5907
6531
  /**
5908
6532
  * @remarks
5909
- * The number of entries per page. Default value: 100.
6533
+ * Specifies whether to exit development mode. Valid values:
5910
6534
  *
5911
- * @example
5912
- * 10
5913
- */
5914
- pageSize?: string;
5915
- /**
5916
- * @remarks
5917
- * The name of the EAS service that corresponds to the stress testing task. For more information about how to query the service name, see [ListServices](https://help.aliyun.com/document_detail/412109.html).
6535
+ * * true: exits development mode.
6536
+ * * false (default): enters development mode.
5918
6537
  *
5919
6538
  * @example
5920
- * test_bench_srv
6539
+ * true
5921
6540
  */
5922
- serviceName?: string;
6541
+ exit?: string;
5923
6542
  static names(): { [key: string]: string } {
5924
6543
  return {
5925
- filter: 'Filter',
5926
- pageNumber: 'PageNumber',
5927
- pageSize: 'PageSize',
5928
- serviceName: 'ServiceName',
6544
+ exit: 'Exit',
5929
6545
  };
5930
6546
  }
5931
6547
 
5932
6548
  static types(): { [key: string]: any } {
5933
6549
  return {
5934
- filter: 'string',
5935
- pageNumber: 'string',
5936
- pageSize: 'string',
5937
- serviceName: 'string',
6550
+ exit: 'string',
5938
6551
  };
5939
6552
  }
5940
6553
 
@@ -5943,23 +6556,15 @@ export class ListBenchmarkTaskRequest extends $tea.Model {
5943
6556
  }
5944
6557
  }
5945
6558
 
5946
- export class ListBenchmarkTaskResponseBody extends $tea.Model {
5947
- /**
5948
- * @remarks
5949
- * The page number.
5950
- *
5951
- * @example
5952
- * 1
5953
- */
5954
- pageNumber?: number;
6559
+ export class DevelopServiceResponseBody extends $tea.Model {
5955
6560
  /**
5956
6561
  * @remarks
5957
- * The number of entries per page.
6562
+ * The returned message.
5958
6563
  *
5959
6564
  * @example
5960
- * 20
6565
+ * Success
5961
6566
  */
5962
- pageSize?: number;
6567
+ message?: string;
5963
6568
  /**
5964
6569
  * @remarks
5965
6570
  * The request ID.
@@ -5968,33 +6573,259 @@ export class ListBenchmarkTaskResponseBody extends $tea.Model {
5968
6573
  * 40325405-579C-4D82****
5969
6574
  */
5970
6575
  requestId?: string;
5971
- /**
5972
- * @remarks
5973
- * The stress testing tasks.
5974
- */
5975
- tasks?: ListBenchmarkTaskResponseBodyTasks[];
5976
- /**
5977
- * @remarks
5978
- * The total number of entries returned.
5979
- *
5980
- * @example
5981
- * 2
5982
- */
5983
- totalCount?: number;
5984
6576
  static names(): { [key: string]: string } {
5985
6577
  return {
5986
- pageNumber: 'PageNumber',
5987
- pageSize: 'PageSize',
6578
+ message: 'Message',
5988
6579
  requestId: 'RequestId',
5989
- tasks: 'Tasks',
5990
- totalCount: 'TotalCount',
5991
6580
  };
5992
6581
  }
5993
6582
 
5994
6583
  static types(): { [key: string]: any } {
5995
6584
  return {
5996
- pageNumber: 'number',
5997
- pageSize: 'number',
6585
+ message: 'string',
6586
+ requestId: 'string',
6587
+ };
6588
+ }
6589
+
6590
+ constructor(map?: { [key: string]: any }) {
6591
+ super(map);
6592
+ }
6593
+ }
6594
+
6595
+ export class DevelopServiceResponse extends $tea.Model {
6596
+ headers?: { [key: string]: string };
6597
+ statusCode?: number;
6598
+ body?: DevelopServiceResponseBody;
6599
+ static names(): { [key: string]: string } {
6600
+ return {
6601
+ headers: 'headers',
6602
+ statusCode: 'statusCode',
6603
+ body: 'body',
6604
+ };
6605
+ }
6606
+
6607
+ static types(): { [key: string]: any } {
6608
+ return {
6609
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6610
+ statusCode: 'number',
6611
+ body: DevelopServiceResponseBody,
6612
+ };
6613
+ }
6614
+
6615
+ constructor(map?: { [key: string]: any }) {
6616
+ super(map);
6617
+ }
6618
+ }
6619
+
6620
+ export class ListAclPolicyRequest extends $tea.Model {
6621
+ /**
6622
+ * @remarks
6623
+ * The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.
6624
+ *
6625
+ * @example
6626
+ * vpc-uf66uio7md****
6627
+ */
6628
+ vpcId?: string;
6629
+ static names(): { [key: string]: string } {
6630
+ return {
6631
+ vpcId: 'VpcId',
6632
+ };
6633
+ }
6634
+
6635
+ static types(): { [key: string]: any } {
6636
+ return {
6637
+ vpcId: 'string',
6638
+ };
6639
+ }
6640
+
6641
+ constructor(map?: { [key: string]: any }) {
6642
+ super(map);
6643
+ }
6644
+ }
6645
+
6646
+ export class ListAclPolicyResponseBody extends $tea.Model {
6647
+ /**
6648
+ * @remarks
6649
+ * The private gateway ID.
6650
+ *
6651
+ * @example
6652
+ * gw-1uhcqmsc7x22******
6653
+ */
6654
+ gatewayId?: string;
6655
+ /**
6656
+ * @remarks
6657
+ * The access control policies of the private gateway over the Internet.
6658
+ */
6659
+ internetAclPolicyList?: ListAclPolicyResponseBodyInternetAclPolicyList[];
6660
+ /**
6661
+ * @remarks
6662
+ * The access control policies of the private gateway over the internal network.
6663
+ */
6664
+ intranetVpcAclPolicyList?: ListAclPolicyResponseBodyIntranetVpcAclPolicyList[];
6665
+ /**
6666
+ * @remarks
6667
+ * The request ID.
6668
+ *
6669
+ * @example
6670
+ * 40325405-579C-4D82****
6671
+ */
6672
+ requestId?: string;
6673
+ static names(): { [key: string]: string } {
6674
+ return {
6675
+ gatewayId: 'GatewayId',
6676
+ internetAclPolicyList: 'InternetAclPolicyList',
6677
+ intranetVpcAclPolicyList: 'IntranetVpcAclPolicyList',
6678
+ requestId: 'RequestId',
6679
+ };
6680
+ }
6681
+
6682
+ static types(): { [key: string]: any } {
6683
+ return {
6684
+ gatewayId: 'string',
6685
+ internetAclPolicyList: { 'type': 'array', 'itemType': ListAclPolicyResponseBodyInternetAclPolicyList },
6686
+ intranetVpcAclPolicyList: { 'type': 'array', 'itemType': ListAclPolicyResponseBodyIntranetVpcAclPolicyList },
6687
+ requestId: 'string',
6688
+ };
6689
+ }
6690
+
6691
+ constructor(map?: { [key: string]: any }) {
6692
+ super(map);
6693
+ }
6694
+ }
6695
+
6696
+ export class ListAclPolicyResponse extends $tea.Model {
6697
+ headers?: { [key: string]: string };
6698
+ statusCode?: number;
6699
+ body?: ListAclPolicyResponseBody;
6700
+ static names(): { [key: string]: string } {
6701
+ return {
6702
+ headers: 'headers',
6703
+ statusCode: 'statusCode',
6704
+ body: 'body',
6705
+ };
6706
+ }
6707
+
6708
+ static types(): { [key: string]: any } {
6709
+ return {
6710
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6711
+ statusCode: 'number',
6712
+ body: ListAclPolicyResponseBody,
6713
+ };
6714
+ }
6715
+
6716
+ constructor(map?: { [key: string]: any }) {
6717
+ super(map);
6718
+ }
6719
+ }
6720
+
6721
+ export class ListBenchmarkTaskRequest extends $tea.Model {
6722
+ /**
6723
+ * @remarks
6724
+ * The keyword used to query required stress testing tasks. If this parameter is specified, the system returns stress testing tasks based on the names of the stress testing tasks in the matched Elastic Algorithm Service (EAS).
6725
+ *
6726
+ * @example
6727
+ * test_bench
6728
+ */
6729
+ filter?: string;
6730
+ /**
6731
+ * @remarks
6732
+ * The page number. Pages start from page 1. Default value: 1.
6733
+ *
6734
+ * @example
6735
+ * 1
6736
+ */
6737
+ pageNumber?: string;
6738
+ /**
6739
+ * @remarks
6740
+ * The number of entries per page. Default value: 100.
6741
+ *
6742
+ * @example
6743
+ * 10
6744
+ */
6745
+ pageSize?: string;
6746
+ /**
6747
+ * @remarks
6748
+ * The name of the EAS service that corresponds to the stress testing task. For more information about how to query the service name, see [ListServices](https://help.aliyun.com/document_detail/412109.html).
6749
+ *
6750
+ * @example
6751
+ * test_bench_srv
6752
+ */
6753
+ serviceName?: string;
6754
+ static names(): { [key: string]: string } {
6755
+ return {
6756
+ filter: 'Filter',
6757
+ pageNumber: 'PageNumber',
6758
+ pageSize: 'PageSize',
6759
+ serviceName: 'ServiceName',
6760
+ };
6761
+ }
6762
+
6763
+ static types(): { [key: string]: any } {
6764
+ return {
6765
+ filter: 'string',
6766
+ pageNumber: 'string',
6767
+ pageSize: 'string',
6768
+ serviceName: 'string',
6769
+ };
6770
+ }
6771
+
6772
+ constructor(map?: { [key: string]: any }) {
6773
+ super(map);
6774
+ }
6775
+ }
6776
+
6777
+ export class ListBenchmarkTaskResponseBody extends $tea.Model {
6778
+ /**
6779
+ * @remarks
6780
+ * The page number.
6781
+ *
6782
+ * @example
6783
+ * 1
6784
+ */
6785
+ pageNumber?: number;
6786
+ /**
6787
+ * @remarks
6788
+ * The number of entries per page.
6789
+ *
6790
+ * @example
6791
+ * 20
6792
+ */
6793
+ pageSize?: number;
6794
+ /**
6795
+ * @remarks
6796
+ * The request ID.
6797
+ *
6798
+ * @example
6799
+ * 40325405-579C-4D82****
6800
+ */
6801
+ requestId?: string;
6802
+ /**
6803
+ * @remarks
6804
+ * The stress testing tasks.
6805
+ */
6806
+ tasks?: ListBenchmarkTaskResponseBodyTasks[];
6807
+ /**
6808
+ * @remarks
6809
+ * The total number of entries returned.
6810
+ *
6811
+ * @example
6812
+ * 2
6813
+ */
6814
+ totalCount?: number;
6815
+ static names(): { [key: string]: string } {
6816
+ return {
6817
+ pageNumber: 'PageNumber',
6818
+ pageSize: 'PageSize',
6819
+ requestId: 'RequestId',
6820
+ tasks: 'Tasks',
6821
+ totalCount: 'TotalCount',
6822
+ };
6823
+ }
6824
+
6825
+ static types(): { [key: string]: any } {
6826
+ return {
6827
+ pageNumber: 'number',
6828
+ pageSize: 'number',
5998
6829
  requestId: 'string',
5999
6830
  tasks: { 'type': 'array', 'itemType': ListBenchmarkTaskResponseBodyTasks },
6000
6831
  totalCount: 'number',
@@ -6033,31 +6864,52 @@ export class ListBenchmarkTaskResponse extends $tea.Model {
6033
6864
 
6034
6865
  export class ListGatewayRequest extends $tea.Model {
6035
6866
  /**
6867
+ * @remarks
6868
+ * The private gateway ID. To obtain the private gateway ID, see the private_gateway_id parameter in the response parameters of the ListResources operation.
6869
+ *
6036
6870
  * @example
6037
6871
  * gw-1uhcqmsc7x22******
6038
6872
  */
6039
6873
  gatewayId?: string;
6040
6874
  /**
6875
+ * @remarks
6876
+ * The private gateway alias.
6877
+ *
6041
6878
  * @example
6042
6879
  * mygateway1
6043
6880
  */
6044
6881
  gatewayName?: string;
6045
6882
  /**
6883
+ * @remarks
6884
+ * The page number. Default value: 1.
6885
+ *
6046
6886
  * @example
6047
6887
  * 1
6048
6888
  */
6049
6889
  pageNumber?: number;
6050
6890
  /**
6891
+ * @remarks
6892
+ * The number of entries per page. Default value: 100.
6893
+ *
6051
6894
  * @example
6052
6895
  * 100
6053
6896
  */
6054
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;
6055
6906
  static names(): { [key: string]: string } {
6056
6907
  return {
6057
6908
  gatewayId: 'GatewayId',
6058
6909
  gatewayName: 'GatewayName',
6059
6910
  pageNumber: 'PageNumber',
6060
6911
  pageSize: 'PageSize',
6912
+ resourceName: 'ResourceName',
6061
6913
  };
6062
6914
  }
6063
6915
 
@@ -6067,6 +6919,7 @@ export class ListGatewayRequest extends $tea.Model {
6067
6919
  gatewayName: 'string',
6068
6920
  pageNumber: 'number',
6069
6921
  pageSize: 'number',
6922
+ resourceName: 'string',
6070
6923
  };
6071
6924
  }
6072
6925
 
@@ -6076,23 +6929,39 @@ export class ListGatewayRequest extends $tea.Model {
6076
6929
  }
6077
6930
 
6078
6931
  export class ListGatewayResponseBody extends $tea.Model {
6932
+ /**
6933
+ * @remarks
6934
+ * The private gateways.
6935
+ */
6079
6936
  gateways?: ListGatewayResponseBodyGateways[];
6080
6937
  /**
6938
+ * @remarks
6939
+ * The page number.
6940
+ *
6081
6941
  * @example
6082
6942
  * 1
6083
6943
  */
6084
6944
  pageNumber?: number;
6085
6945
  /**
6946
+ * @remarks
6947
+ * The number of entries per page.
6948
+ *
6086
6949
  * @example
6087
6950
  * 100
6088
6951
  */
6089
6952
  pageSize?: number;
6090
6953
  /**
6954
+ * @remarks
6955
+ * The request ID.
6956
+ *
6091
6957
  * @example
6092
6958
  * 40325405-579C-4D82****
6093
6959
  */
6094
6960
  requestId?: string;
6095
6961
  /**
6962
+ * @remarks
6963
+ * The total number of private gateways returned.
6964
+ *
6096
6965
  * @example
6097
6966
  * 5
6098
6967
  */
@@ -6147,6 +7016,74 @@ export class ListGatewayResponse extends $tea.Model {
6147
7016
  }
6148
7017
  }
6149
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
+
6150
7087
  export class ListGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
6151
7088
  /**
6152
7089
  * @remarks
@@ -6215,6 +7152,87 @@ export class ListGatewayIntranetLinkedVpcResponse extends $tea.Model {
6215
7152
  }
6216
7153
  }
6217
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
+
6218
7236
  export class ListGroupsRequest extends $tea.Model {
6219
7237
  /**
6220
7238
  * @remarks
@@ -7696,7 +8714,7 @@ export class ListServicesRequest extends $tea.Model {
7696
8714
  filter?: string;
7697
8715
  /**
7698
8716
  * @remarks
7699
- * The ID of the private gateway.
8717
+ * The private gateway ID.
7700
8718
  *
7701
8719
  * @example
7702
8720
  * gw-1uhcqmsc7x22******
@@ -7766,6 +8784,26 @@ export class ListServicesRequest extends $tea.Model {
7766
8784
  * eas-r-hd0qwy8cxxxx
7767
8785
  */
7768
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
+ */
8806
+ role?: string;
7769
8807
  /**
7770
8808
  * @remarks
7771
8809
  * The service name.
@@ -8011,6 +9049,7 @@ export class ListServicesRequest extends $tea.Model {
8011
9049
  parentServiceUid: 'ParentServiceUid',
8012
9050
  quotaId: 'QuotaId',
8013
9051
  resourceName: 'ResourceName',
9052
+ role: 'Role',
8014
9053
  serviceName: 'ServiceName',
8015
9054
  serviceStatus: 'ServiceStatus',
8016
9055
  serviceType: 'ServiceType',
@@ -8032,6 +9071,7 @@ export class ListServicesRequest extends $tea.Model {
8032
9071
  parentServiceUid: 'string',
8033
9072
  quotaId: 'string',
8034
9073
  resourceName: 'string',
9074
+ role: 'string',
8035
9075
  serviceName: 'string',
8036
9076
  serviceStatus: 'string',
8037
9077
  serviceType: 'string',
@@ -8057,7 +9097,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
8057
9097
  filter?: string;
8058
9098
  /**
8059
9099
  * @remarks
8060
- * The ID of the private gateway.
9100
+ * The private gateway ID.
8061
9101
  *
8062
9102
  * @example
8063
9103
  * gw-1uhcqmsc7x22******
@@ -8127,6 +9167,26 @@ export class ListServicesShrinkRequest extends $tea.Model {
8127
9167
  * eas-r-hd0qwy8cxxxx
8128
9168
  */
8129
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
+ */
9189
+ role?: string;
8130
9190
  /**
8131
9191
  * @remarks
8132
9192
  * The service name.
@@ -8372,6 +9432,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
8372
9432
  parentServiceUid: 'ParentServiceUid',
8373
9433
  quotaId: 'QuotaId',
8374
9434
  resourceName: 'ResourceName',
9435
+ role: 'Role',
8375
9436
  serviceName: 'ServiceName',
8376
9437
  serviceStatus: 'ServiceStatus',
8377
9438
  serviceType: 'ServiceType',
@@ -8393,6 +9454,7 @@ export class ListServicesShrinkRequest extends $tea.Model {
8393
9454
  parentServiceUid: 'string',
8394
9455
  quotaId: 'string',
8395
9456
  resourceName: 'string',
9457
+ role: 'string',
8396
9458
  serviceName: 'string',
8397
9459
  serviceStatus: 'string',
8398
9460
  serviceType: 'string',
@@ -8496,8 +9558,15 @@ export class ListServicesResponse extends $tea.Model {
8496
9558
  }
8497
9559
 
8498
9560
  export class ListTenantAddonsResponseBody extends $tea.Model {
9561
+ /**
9562
+ * @remarks
9563
+ * The information about the plug-in.
9564
+ */
8499
9565
  addons?: ListTenantAddonsResponseBodyAddons[];
8500
9566
  /**
9567
+ * @remarks
9568
+ * The request ID.
9569
+ *
8501
9570
  * @example
8502
9571
  * 40325405-579C-4D82****
8503
9572
  */
@@ -8546,13 +9615,163 @@ export class ListTenantAddonsResponse extends $tea.Model {
8546
9615
  }
8547
9616
  }
8548
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 {
9675
+ /**
9676
+ * @remarks
9677
+ * The page number.
9678
+ *
9679
+ * @example
9680
+ * 1
9681
+ */
9682
+ pageNumber?: number;
9683
+ /**
9684
+ * @remarks
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.
9694
+ *
9695
+ * @example
9696
+ * 40325405-579C-4D82****
9697
+ */
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[];
9712
+ static names(): { [key: string]: string } {
9713
+ return {
9714
+ pageNumber: 'PageNumber',
9715
+ pageSize: 'PageSize',
9716
+ requestId: 'RequestId',
9717
+ totalCount: 'TotalCount',
9718
+ virtualResources: 'VirtualResources',
9719
+ };
9720
+ }
9721
+
9722
+ static types(): { [key: string]: any } {
9723
+ return {
9724
+ pageNumber: 'number',
9725
+ pageSize: 'number',
9726
+ requestId: 'string',
9727
+ totalCount: 'number',
9728
+ virtualResources: { 'type': 'array', 'itemType': ListVirtualResourceResponseBodyVirtualResources },
9729
+ };
9730
+ }
9731
+
9732
+ constructor(map?: { [key: string]: any }) {
9733
+ super(map);
9734
+ }
9735
+ }
9736
+
9737
+ export class ListVirtualResourceResponse extends $tea.Model {
9738
+ headers?: { [key: string]: string };
9739
+ statusCode?: number;
9740
+ body?: ListVirtualResourceResponseBody;
9741
+ static names(): { [key: string]: string } {
9742
+ return {
9743
+ headers: 'headers',
9744
+ statusCode: 'statusCode',
9745
+ body: 'body',
9746
+ };
9747
+ }
9748
+
9749
+ static types(): { [key: string]: any } {
9750
+ return {
9751
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9752
+ statusCode: 'number',
9753
+ body: ListVirtualResourceResponseBody,
9754
+ };
9755
+ }
9756
+
9757
+ constructor(map?: { [key: string]: any }) {
9758
+ super(map);
9759
+ }
9760
+ }
9761
+
8549
9762
  export class ReinstallTenantAddonResponseBody extends $tea.Model {
8550
9763
  /**
9764
+ * @remarks
9765
+ * The returned message.
9766
+ *
8551
9767
  * @example
8552
9768
  * Addon prometheus_discovery is successfully reinstalled
8553
9769
  */
8554
9770
  message?: string;
8555
9771
  /**
9772
+ * @remarks
9773
+ * The request ID.
9774
+ *
8556
9775
  * @example
8557
9776
  * 40325405-579C-4D82****
8558
9777
  */
@@ -10514,20 +11733,171 @@ export class UpdateServiceVersionResponse extends $tea.Model {
10514
11733
  }
10515
11734
  }
10516
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
+
10517
11832
  export class ServiceLabels extends $tea.Model {
10518
11833
  labelKey?: string;
10519
11834
  labelValue?: string;
10520
11835
  static names(): { [key: string]: string } {
10521
11836
  return {
10522
- labelKey: 'LabelKey',
10523
- labelValue: 'LabelValue',
11837
+ labelKey: 'LabelKey',
11838
+ labelValue: 'LabelValue',
11839
+ };
11840
+ }
11841
+
11842
+ static types(): { [key: string]: any } {
11843
+ return {
11844
+ labelKey: 'string',
11845
+ labelValue: 'string',
11846
+ };
11847
+ }
11848
+
11849
+ constructor(map?: { [key: string]: any }) {
11850
+ super(map);
11851
+ }
11852
+ }
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',
10524
11893
  };
10525
11894
  }
10526
11895
 
10527
11896
  static types(): { [key: string]: any } {
10528
11897
  return {
10529
- labelKey: 'string',
10530
- labelValue: 'string',
11898
+ certificateId: 'string',
11899
+ domain: 'string',
11900
+ type: 'string',
10531
11901
  };
10532
11902
  }
10533
11903
 
@@ -10538,11 +11908,19 @@ export class ServiceLabels extends $tea.Model {
10538
11908
 
10539
11909
  export class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
10540
11910
  /**
11911
+ * @remarks
11912
+ * The comment on the IP CIDR block in the VPC that can access the private gateway.
11913
+ *
10541
11914
  * @example
10542
11915
  * default
10543
11916
  */
10544
11917
  comment?: string;
10545
11918
  /**
11919
+ * @remarks
11920
+ * The IP CIDR block in the VPC that can access the private gateway.
11921
+ *
11922
+ * This parameter is required.
11923
+ *
10546
11924
  * @example
10547
11925
  * 10.23.XX.XX/32
10548
11926
  */
@@ -10566,6 +11944,36 @@ export class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
10566
11944
  }
10567
11945
  }
10568
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
+
10569
11977
  export class CreateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
10570
11978
  /**
10571
11979
  * @remarks
@@ -10916,13 +12324,103 @@ export class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
10916
12324
  }
10917
12325
  }
10918
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',
12403
+ };
12404
+ }
12405
+
12406
+ constructor(map?: { [key: string]: any }) {
12407
+ super(map);
12408
+ }
12409
+ }
12410
+
10919
12411
  export class DeleteAclPolicyRequestAclPolicyList extends $tea.Model {
10920
12412
  /**
12413
+ * @remarks
12414
+ * The comment on the IP CIDR block in the VPC that can access the private gateway.
12415
+ *
10921
12416
  * @example
10922
12417
  * default
10923
12418
  */
10924
12419
  comment?: string;
10925
12420
  /**
12421
+ * @remarks
12422
+ * The IP CIDR block in the VPC that can access the private gateway.
12423
+ *
10926
12424
  * @example
10927
12425
  * 10.23.XX.XX/32
10928
12426
  */
@@ -10946,6 +12444,36 @@ export class DeleteAclPolicyRequestAclPolicyList extends $tea.Model {
10946
12444
  }
10947
12445
  }
10948
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
+
10949
12477
  export class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
10950
12478
  /**
10951
12479
  * @remarks
@@ -11242,28 +12770,160 @@ export class DescribeServiceInstanceDiagnosisResponseBodyDiagnosis extends $tea.
11242
12770
  * @remarks
11243
12771
  * The causes of the errors.
11244
12772
  */
11245
- causes?: string[];
12773
+ causes?: string[];
12774
+ /**
12775
+ * @remarks
12776
+ * The error message.
12777
+ *
12778
+ * @example
12779
+ * Container worker0 failed to pull image.
12780
+ */
12781
+ error?: string;
12782
+ static names(): { [key: string]: string } {
12783
+ return {
12784
+ advices: 'Advices',
12785
+ causes: 'Causes',
12786
+ error: 'Error',
12787
+ };
12788
+ }
12789
+
12790
+ static types(): { [key: string]: any } {
12791
+ return {
12792
+ advices: { 'type': 'array', 'itemType': 'string' },
12793
+ causes: { 'type': 'array', 'itemType': 'string' },
12794
+ error: 'string',
12795
+ };
12796
+ }
12797
+
12798
+ constructor(map?: { [key: string]: any }) {
12799
+ super(map);
12800
+ }
12801
+ }
12802
+
12803
+ export class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.Model {
12804
+ /**
12805
+ * @remarks
12806
+ * The type of the ECS instance.
12807
+ *
12808
+ * @example
12809
+ * ecs.c7.large
12810
+ */
12811
+ instanceType?: string;
12812
+ /**
12813
+ * @remarks
12814
+ * The discount for the preemptible instance. For example, 0.1 represents a 90% discount.
12815
+ *
12816
+ * @example
12817
+ * 0.1
12818
+ */
12819
+ spotDiscount?: string;
12820
+ /**
12821
+ * @remarks
12822
+ * The time when the discount is available. The time must be in UTC.
12823
+ *
12824
+ * @example
12825
+ * 2024-04-10T10:00:00Z
12826
+ */
12827
+ timestamp?: string;
12828
+ /**
12829
+ * @remarks
12830
+ * The zone ID.
12831
+ *
12832
+ * @example
12833
+ * cn-hangzhou-i
12834
+ */
12835
+ zoneId?: string;
12836
+ static names(): { [key: string]: string } {
12837
+ return {
12838
+ instanceType: 'InstanceType',
12839
+ spotDiscount: 'SpotDiscount',
12840
+ timestamp: 'Timestamp',
12841
+ zoneId: 'ZoneId',
12842
+ };
12843
+ }
12844
+
12845
+ static types(): { [key: string]: any } {
12846
+ return {
12847
+ instanceType: 'string',
12848
+ spotDiscount: 'string',
12849
+ timestamp: 'string',
12850
+ zoneId: 'string',
12851
+ };
12852
+ }
12853
+
12854
+ constructor(map?: { [key: string]: any }) {
12855
+ super(map);
12856
+ }
12857
+ }
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;
11246
12900
  /**
11247
12901
  * @remarks
11248
- * The error message.
12902
+ * The maximum price of preemptible instances in a public resource group.
11249
12903
  *
11250
12904
  * @example
11251
- * Container worker0 failed to pull image.
12905
+ * 10.05
11252
12906
  */
11253
- error?: string;
12907
+ spotPriceLimit?: number;
11254
12908
  static names(): { [key: string]: string } {
11255
12909
  return {
11256
- advices: 'Advices',
11257
- causes: 'Causes',
11258
- error: 'Error',
12910
+ instanceType: 'InstanceType',
12911
+ priority: 'Priority',
12912
+ quotaId: 'QuotaId',
12913
+ region: 'Region',
12914
+ resourceId: 'ResourceId',
12915
+ spotPriceLimit: 'SpotPriceLimit',
11259
12916
  };
11260
12917
  }
11261
12918
 
11262
12919
  static types(): { [key: string]: any } {
11263
12920
  return {
11264
- advices: { 'type': 'array', 'itemType': 'string' },
11265
- causes: { 'type': 'array', 'itemType': 'string' },
11266
- error: 'string',
12921
+ instanceType: 'string',
12922
+ priority: 'number',
12923
+ quotaId: 'string',
12924
+ region: 'string',
12925
+ resourceId: 'string',
12926
+ spotPriceLimit: 'number',
11267
12927
  };
11268
12928
  }
11269
12929
 
@@ -11272,54 +12932,43 @@ export class DescribeServiceInstanceDiagnosisResponseBodyDiagnosis extends $tea.
11272
12932
  }
11273
12933
  }
11274
12934
 
11275
- export class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.Model {
12935
+ export class DetachGatewayDomainRequestCustomDomain extends $tea.Model {
11276
12936
  /**
11277
12937
  * @remarks
11278
- * The type of the ECS instance.
12938
+ * The custom domain name.
11279
12939
  *
11280
- * @example
11281
- * ecs.c7.large
11282
- */
11283
- instanceType?: string;
11284
- /**
11285
- * @remarks
11286
- * The discount for the preemptible instance. For example, 0.1 represents a 90% discount.
12940
+ * This parameter is required.
11287
12941
  *
11288
12942
  * @example
11289
- * 0.1
12943
+ * test.com
11290
12944
  */
11291
- spotDiscount?: string;
12945
+ domain?: string;
11292
12946
  /**
11293
12947
  * @remarks
11294
- * The time when the discount is available. The time must be in UTC.
12948
+ * The domain name type.
11295
12949
  *
11296
- * @example
11297
- * 2024-04-10T10:00:00Z
11298
- */
11299
- timestamp?: string;
11300
- /**
11301
- * @remarks
11302
- * The zone ID.
12950
+ * Valid value:
12951
+ *
12952
+ * * intranet: internal network.
12953
+ * * internet: public network.
12954
+ *
12955
+ * This parameter is required.
11303
12956
  *
11304
12957
  * @example
11305
- * cn-hangzhou-i
12958
+ * intranet
11306
12959
  */
11307
- zoneId?: string;
12960
+ type?: string;
11308
12961
  static names(): { [key: string]: string } {
11309
12962
  return {
11310
- instanceType: 'InstanceType',
11311
- spotDiscount: 'SpotDiscount',
11312
- timestamp: 'Timestamp',
11313
- zoneId: 'ZoneId',
12963
+ domain: 'Domain',
12964
+ type: 'Type',
11314
12965
  };
11315
12966
  }
11316
12967
 
11317
12968
  static types(): { [key: string]: any } {
11318
12969
  return {
11319
- instanceType: 'string',
11320
- spotDiscount: 'string',
11321
- timestamp: 'string',
11322
- zoneId: 'string',
12970
+ domain: 'string',
12971
+ type: 'string',
11323
12972
  };
11324
12973
  }
11325
12974
 
@@ -11329,7 +12978,21 @@ export class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.M
11329
12978
  }
11330
12979
 
11331
12980
  export class ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList extends $tea.Model {
12981
+ /**
12982
+ * @remarks
12983
+ * The comment on the IP CIDR block in the VPC that can access the private gateway over the Internet.
12984
+ *
12985
+ * @example
12986
+ * default
12987
+ */
11332
12988
  comment?: string;
12989
+ /**
12990
+ * @remarks
12991
+ * The IP CIDR block in the VPC that can access the private gateway over the Internet.
12992
+ *
12993
+ * @example
12994
+ * 10.23.XX.XX/32
12995
+ */
11333
12996
  entry?: string;
11334
12997
  static names(): { [key: string]: string } {
11335
12998
  return {
@@ -11351,6 +13014,10 @@ export class ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList extends
11351
13014
  }
11352
13015
 
11353
13016
  export class ListAclPolicyResponseBodyInternetAclPolicyList extends $tea.Model {
13017
+ /**
13018
+ * @remarks
13019
+ * The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the Internet.
13020
+ */
11354
13021
  aclPolicyList?: ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList[];
11355
13022
  static names(): { [key: string]: string } {
11356
13023
  return {
@@ -11370,7 +13037,21 @@ export class ListAclPolicyResponseBodyInternetAclPolicyList extends $tea.Model {
11370
13037
  }
11371
13038
 
11372
13039
  export class ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList extends $tea.Model {
13040
+ /**
13041
+ * @remarks
13042
+ * The comment on the IP CIDR block in the VPC that can access the private gateway over the internal network.
13043
+ *
13044
+ * @example
13045
+ * Test Entry
13046
+ */
11373
13047
  comment?: string;
13048
+ /**
13049
+ * @remarks
13050
+ * The IP CIDR block in the VPC that can access the private gateway over the internal network.
13051
+ *
13052
+ * @example
13053
+ * 192.168.XX.XX/24
13054
+ */
11374
13055
  entry?: string;
11375
13056
  static names(): { [key: string]: string } {
11376
13057
  return {
@@ -11392,8 +13073,15 @@ export class ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList exte
11392
13073
  }
11393
13074
 
11394
13075
  export class ListAclPolicyResponseBodyIntranetVpcAclPolicyList extends $tea.Model {
13076
+ /**
13077
+ * @remarks
13078
+ * The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the internal network.
13079
+ */
11395
13080
  aclPolicyList?: ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList[];
11396
13081
  /**
13082
+ * @remarks
13083
+ * The VPC ID. For more information about how to obtain the VPC ID, see DescribeVpcs.
13084
+ *
11397
13085
  * @example
11398
13086
  * vpc-uf66uio7md****
11399
13087
  */
@@ -11599,62 +13287,117 @@ export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
11599
13287
 
11600
13288
  export class ListGatewayResponseBodyGateways extends $tea.Model {
11601
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;
13300
+ /**
13301
+ * @remarks
13302
+ * The time when the private gateway was created. The time is displayed in UTC.
13303
+ *
11602
13304
  * @example
11603
13305
  * 2020-05-19T14:19:42Z
11604
13306
  */
11605
13307
  createTime?: string;
11606
13308
  /**
13309
+ * @remarks
13310
+ * The private gateway ID.
13311
+ *
11607
13312
  * @example
11608
13313
  * gw-1uhcqmsc7x22******
11609
13314
  */
11610
13315
  gatewayId?: string;
11611
13316
  /**
13317
+ * @remarks
13318
+ * The private gateway alias.
13319
+ *
11612
13320
  * @example
11613
13321
  * mygateway1
11614
13322
  */
11615
13323
  gatewayName?: string;
11616
13324
  /**
13325
+ * @remarks
13326
+ * The type of instances used for the private gateway.
13327
+ *
11617
13328
  * @example
11618
13329
  * 2c4g
11619
13330
  */
11620
13331
  instanceType?: string;
11621
13332
  /**
13333
+ * @remarks
13334
+ * The public endpoint.
13335
+ *
11622
13336
  * @example
11623
13337
  * gw-1uhcqmsc7x22******-1801786532******.cn-wulanchabu.pai-eas.aliyuncs.com
11624
13338
  */
11625
13339
  internetDomain?: string;
11626
13340
  /**
13341
+ * @remarks
13342
+ * Indicates whether Internet access is enabled.
13343
+ *
11627
13344
  * @example
11628
13345
  * true
11629
13346
  */
11630
13347
  internetEnabled?: boolean;
11631
13348
  /**
13349
+ * @remarks
13350
+ * The internal endpoint.
13351
+ *
11632
13352
  * @example
11633
13353
  * gw-1uhcqmsc7x22******-1801786532******-vpc.cn-wulanchabu.pai-eas.aliyuncs.com
11634
13354
  */
11635
13355
  intranetDomain?: string;
11636
13356
  /**
13357
+ * @remarks
13358
+ * Indicates whether it is the default private gateway.
13359
+ *
11637
13360
  * @example
11638
13361
  * true
11639
13362
  */
11640
13363
  isDefault?: boolean;
11641
13364
  /**
13365
+ * @remarks
13366
+ * The number of nodes in the private gateway.
13367
+ *
11642
13368
  * @example
11643
13369
  * 2
11644
13370
  */
11645
13371
  replicas?: number;
11646
13372
  /**
13373
+ * @remarks
13374
+ * The state of the private gateway.
13375
+ *
13376
+ * Valid values:
13377
+ *
13378
+ * * Creating
13379
+ * * Stopped
13380
+ * * Failed
13381
+ * * Running
13382
+ * * Deleted
13383
+ * * Deleting
13384
+ * * Waiting
13385
+ *
11647
13386
  * @example
11648
13387
  * Running
11649
13388
  */
11650
13389
  status?: string;
11651
13390
  /**
13391
+ * @remarks
13392
+ * The time when the private gateway was updated. The time is displayed in UTC.
13393
+ *
11652
13394
  * @example
11653
13395
  * 2021-02-24T11:52:17Z
11654
13396
  */
11655
13397
  updateTime?: string;
11656
13398
  static names(): { [key: string]: string } {
11657
13399
  return {
13400
+ chargeType: 'ChargeType',
11658
13401
  createTime: 'CreateTime',
11659
13402
  gatewayId: 'GatewayId',
11660
13403
  gatewayName: 'GatewayName',
@@ -11671,6 +13414,7 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
11671
13414
 
11672
13415
  static types(): { [key: string]: any } {
11673
13416
  return {
13417
+ chargeType: 'string',
11674
13418
  createTime: 'string',
11675
13419
  gatewayId: 'string',
11676
13420
  gatewayName: 'string',
@@ -11690,6 +13434,57 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
11690
13434
  }
11691
13435
  }
11692
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
+
11693
13488
  export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $tea.Model {
11694
13489
  /**
11695
13490
  * @remarks
@@ -11782,6 +13577,62 @@ export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList exten
11782
13577
  }
11783
13578
  }
11784
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
+
11785
13636
  export class ListServiceVersionsResponseBodyVersions extends $tea.Model {
11786
13637
  /**
11787
13638
  * @remarks
@@ -11873,24 +13724,87 @@ export class ListServiceVersionsResponseBodyVersions extends $tea.Model {
11873
13724
  }
11874
13725
  }
11875
13726
 
11876
- export class ListTenantAddonsResponseBodyAddons extends $tea.Model {
11877
- attributes?: { [key: string]: string };
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 {
11878
13761
  /**
13762
+ * @remarks
13763
+ * The time when the virtual resource group was created.
13764
+ *
11879
13765
  * @example
11880
- * prometheus_discovery
13766
+ * 2024-10-16T17:52:49Z
11881
13767
  */
11882
- name?: string;
13768
+ createTime?: string;
13769
+ /**
13770
+ * @remarks
13771
+ * The time when the virtual resource group was last updated.
13772
+ *
13773
+ * @example
13774
+ * 2024-10-16T19:52:49Z
13775
+ */
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;
11883
13793
  static names(): { [key: string]: string } {
11884
13794
  return {
11885
- attributes: 'Attributes',
11886
- name: 'Name',
13795
+ createTime: 'CreateTime',
13796
+ updateTime: 'UpdateTime',
13797
+ virtualResourceId: 'VirtualResourceId',
13798
+ virtualResourceName: 'VirtualResourceName',
11887
13799
  };
11888
13800
  }
11889
13801
 
11890
13802
  static types(): { [key: string]: any } {
11891
13803
  return {
11892
- attributes: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11893
- name: 'string',
13804
+ createTime: 'string',
13805
+ updateTime: 'string',
13806
+ virtualResourceId: 'string',
13807
+ virtualResourceName: 'string',
11894
13808
  };
11895
13809
  }
11896
13810
 
@@ -12223,6 +14137,90 @@ export class UpdateServiceCronScalerRequestScaleJobs extends $tea.Model {
12223
14137
  }
12224
14138
  }
12225
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
+
12226
14224
 
12227
14225
  export default class Client extends OpenApi {
12228
14226
 
@@ -12263,6 +14261,57 @@ export default class Client extends OpenApi {
12263
14261
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
12264
14262
  }
12265
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
+
12266
14315
  /**
12267
14316
  * Clones a service.
12268
14317
  *
@@ -12351,7 +14400,7 @@ export default class Client extends OpenApi {
12351
14400
  }
12352
14401
 
12353
14402
  /**
12354
- * 创建网关访问权限ACL Policy
14403
+ * Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.
12355
14404
  *
12356
14405
  * @param tmpReq - CreateAclPolicyRequest
12357
14406
  * @param headers - map
@@ -12394,7 +14443,7 @@ export default class Client extends OpenApi {
12394
14443
  }
12395
14444
 
12396
14445
  /**
12397
- * 创建网关访问权限ACL Policy
14446
+ * Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.
12398
14447
  *
12399
14448
  * @param request - CreateAclPolicyRequest
12400
14449
  * @returns CreateAclPolicyResponse
@@ -12521,7 +14570,7 @@ export default class Client extends OpenApi {
12521
14570
  }
12522
14571
 
12523
14572
  /**
12524
- * Creates a private gateway. You can create a private gateway only in a self-managed resource group.
14573
+ * Creates a gateway.
12525
14574
  *
12526
14575
  * @param request - CreateGatewayRequest
12527
14576
  * @param headers - map
@@ -12536,6 +14585,14 @@ export default class Client extends OpenApi {
12536
14585
  }
12537
14586
 
12538
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
+
12539
14596
  if (!Util.isUnset(request.enableInternet)) {
12540
14597
  body["EnableInternet"] = request.enableInternet;
12541
14598
  }
@@ -12576,7 +14633,7 @@ export default class Client extends OpenApi {
12576
14633
  }
12577
14634
 
12578
14635
  /**
12579
- * Creates a private gateway. You can create a private gateway only in a self-managed resource group.
14636
+ * Creates a gateway.
12580
14637
  *
12581
14638
  * @param request - CreateGatewayRequest
12582
14639
  * @returns CreateGatewayResponse
@@ -12636,6 +14693,61 @@ export default class Client extends OpenApi {
12636
14693
  return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
12637
14694
  }
12638
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
+
12639
14751
  /**
12640
14752
  * Creates a resource group.
12641
14753
  *
@@ -13055,7 +15167,56 @@ export default class Client extends OpenApi {
13055
15167
  }
13056
15168
 
13057
15169
  /**
13058
- * 移除网关acl policy entry
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
+
15218
+ /**
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.
13059
15220
  *
13060
15221
  * @param tmpReq - DeleteAclPolicyRequest
13061
15222
  * @param headers - map
@@ -13098,7 +15259,7 @@ export default class Client extends OpenApi {
13098
15259
  }
13099
15260
 
13100
15261
  /**
13101
- * 移除网关acl policy entry
15262
+ * 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.
13102
15263
  *
13103
15264
  * @param request - DeleteAclPolicyRequest
13104
15265
  * @returns DeleteAclPolicyResponse
@@ -13166,32 +15327,87 @@ export default class Client extends OpenApi {
13166
15327
  reqBodyType: "json",
13167
15328
  bodyType: "json",
13168
15329
  });
13169
- return $tea.cast<DeleteGatewayResponse>(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
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",
15368
+ version: "2021-07-01",
15369
+ protocol: "HTTPS",
15370
+ pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
15371
+ method: "DELETE",
15372
+ authType: "AK",
15373
+ style: "ROA",
15374
+ reqBodyType: "json",
15375
+ bodyType: "json",
15376
+ });
15377
+ return $tea.cast<DeleteGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
13170
15378
  }
13171
15379
 
13172
15380
  /**
13173
- * Deletes a private gateway.
13174
- * @returns DeleteGatewayResponse
15381
+ * 删除网关内网访问端点
15382
+ *
15383
+ * @param request - DeleteGatewayIntranetLinkedVpcRequest
15384
+ * @returns DeleteGatewayIntranetLinkedVpcResponse
13175
15385
  */
13176
- async deleteGateway(ClusterId: string, GatewayId: string): Promise<DeleteGatewayResponse> {
15386
+ async deleteGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
13177
15387
  let runtime = new $Util.RuntimeOptions({ });
13178
15388
  let headers : {[key: string ]: string} = { };
13179
- return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
15389
+ return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
13180
15390
  }
13181
15391
 
13182
15392
  /**
13183
- * 删除网关内网访问端点
15393
+ * 删除网关内网访问端点跨VPC连接
13184
15394
  *
13185
- * @param request - DeleteGatewayIntranetLinkedVpcRequest
15395
+ * @param tmpReq - DeleteGatewayIntranetLinkedVpcPeerRequest
13186
15396
  * @param headers - map
13187
15397
  * @param runtime - runtime options for this request RuntimeOptions
13188
- * @returns DeleteGatewayIntranetLinkedVpcResponse
15398
+ * @returns DeleteGatewayIntranetLinkedVpcPeerResponse
13189
15399
  */
13190
- async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
13191
- Util.validateModel(request);
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
+
13192
15408
  let query : {[key: string ]: any} = { };
13193
- if (!Util.isUnset(request.vSwitchId)) {
13194
- query["VSwitchId"] = request.vSwitchId;
15409
+ if (!Util.isUnset(request.peerVpcsShrink)) {
15410
+ query["PeerVpcs"] = request.peerVpcsShrink;
13195
15411
  }
13196
15412
 
13197
15413
  if (!Util.isUnset(request.vpcId)) {
@@ -13203,29 +15419,29 @@ export default class Client extends OpenApi {
13203
15419
  query: OpenApiUtil.query(query),
13204
15420
  });
13205
15421
  let params = new $OpenApi.Params({
13206
- action: "DeleteGatewayIntranetLinkedVpc",
15422
+ action: "DeleteGatewayIntranetLinkedVpcPeer",
13207
15423
  version: "2021-07-01",
13208
15424
  protocol: "HTTPS",
13209
- pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc`,
15425
+ pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc_peer`,
13210
15426
  method: "DELETE",
13211
15427
  authType: "AK",
13212
15428
  style: "ROA",
13213
15429
  reqBodyType: "json",
13214
15430
  bodyType: "json",
13215
15431
  });
13216
- return $tea.cast<DeleteGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
15432
+ return $tea.cast<DeleteGatewayIntranetLinkedVpcPeerResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcPeerResponse({}));
13217
15433
  }
13218
15434
 
13219
15435
  /**
13220
- * 删除网关内网访问端点
15436
+ * 删除网关内网访问端点跨VPC连接
13221
15437
  *
13222
- * @param request - DeleteGatewayIntranetLinkedVpcRequest
13223
- * @returns DeleteGatewayIntranetLinkedVpcResponse
15438
+ * @param request - DeleteGatewayIntranetLinkedVpcPeerRequest
15439
+ * @returns DeleteGatewayIntranetLinkedVpcPeerResponse
13224
15440
  */
13225
- async deleteGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
15441
+ async deleteGatewayIntranetLinkedVpcPeer(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcPeerRequest): Promise<DeleteGatewayIntranetLinkedVpcPeerResponse> {
13226
15442
  let runtime = new $Util.RuntimeOptions({ });
13227
15443
  let headers : {[key: string ]: string} = { };
13228
- return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
15444
+ return await this.deleteGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
13229
15445
  }
13230
15446
 
13231
15447
  /**
@@ -13626,6 +15842,41 @@ export default class Client extends OpenApi {
13626
15842
  return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
13627
15843
  }
13628
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
+
13629
15880
  /**
13630
15881
  * Queries details about the configurations of a stress testing task.
13631
15882
  *
@@ -14282,6 +16533,92 @@ export default class Client extends OpenApi {
14282
16533
  return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
14283
16534
  }
14284
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
+
14285
16622
  /**
14286
16623
  * Switches a container service to development mode or exits development mode.
14287
16624
  *
@@ -14328,7 +16665,7 @@ export default class Client extends OpenApi {
14328
16665
  }
14329
16666
 
14330
16667
  /**
14331
- * 查询网关所有ACL Policy
16668
+ * Queries access control lists (ACLs) created for a private gateway.
14332
16669
  *
14333
16670
  * @param request - ListAclPolicyRequest
14334
16671
  * @param headers - map
@@ -14361,7 +16698,7 @@ export default class Client extends OpenApi {
14361
16698
  }
14362
16699
 
14363
16700
  /**
14364
- * 查询网关所有ACL Policy
16701
+ * Queries access control lists (ACLs) created for a private gateway.
14365
16702
  *
14366
16703
  * @param request - ListAclPolicyRequest
14367
16704
  * @returns ListAclPolicyResponse
@@ -14430,7 +16767,7 @@ export default class Client extends OpenApi {
14430
16767
  }
14431
16768
 
14432
16769
  /**
14433
- * 列举gateway
16770
+ * Queries a list of private gateways.
14434
16771
  *
14435
16772
  * @param request - ListGatewayRequest
14436
16773
  * @param headers - map
@@ -14456,6 +16793,10 @@ export default class Client extends OpenApi {
14456
16793
  query["PageSize"] = request.pageSize;
14457
16794
  }
14458
16795
 
16796
+ if (!Util.isUnset(request.resourceName)) {
16797
+ query["ResourceName"] = request.resourceName;
16798
+ }
16799
+
14459
16800
  let req = new $OpenApi.OpenApiRequest({
14460
16801
  headers: headers,
14461
16802
  query: OpenApiUtil.query(query),
@@ -14475,7 +16816,7 @@ export default class Client extends OpenApi {
14475
16816
  }
14476
16817
 
14477
16818
  /**
14478
- * 列举gateway
16819
+ * Queries a list of private gateways.
14479
16820
  *
14480
16821
  * @param request - ListGatewayRequest
14481
16822
  * @returns ListGatewayResponse
@@ -14486,6 +16827,41 @@ export default class Client extends OpenApi {
14486
16827
  return await this.listGatewayWithOptions(request, headers, runtime);
14487
16828
  }
14488
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
+
14489
16865
  /**
14490
16866
  * Queries a list of the internal endpoints of a private gateway.
14491
16867
  *
@@ -14521,6 +16897,51 @@ export default class Client extends OpenApi {
14521
16897
  return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
14522
16898
  }
14523
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
+
14524
16945
  /**
14525
16946
  * Queries created service groups.
14526
16947
  *
@@ -15002,7 +17423,7 @@ export default class Client extends OpenApi {
15002
17423
  }
15003
17424
 
15004
17425
  /**
15005
- * Queries a list of services that are created by the current user.
17426
+ * Lists services.
15006
17427
  *
15007
17428
  * @param tmpReq - ListServicesRequest
15008
17429
  * @param headers - map
@@ -15058,6 +17479,10 @@ export default class Client extends OpenApi {
15058
17479
  query["ResourceName"] = request.resourceName;
15059
17480
  }
15060
17481
 
17482
+ if (!Util.isUnset(request.role)) {
17483
+ query["Role"] = request.role;
17484
+ }
17485
+
15061
17486
  if (!Util.isUnset(request.serviceName)) {
15062
17487
  query["ServiceName"] = request.serviceName;
15063
17488
  }
@@ -15101,7 +17526,7 @@ export default class Client extends OpenApi {
15101
17526
  }
15102
17527
 
15103
17528
  /**
15104
- * Queries a list of services that are created by the current user.
17529
+ * Lists services.
15105
17530
  *
15106
17531
  * @param request - ListServicesRequest
15107
17532
  * @returns ListServicesResponse
@@ -15113,7 +17538,7 @@ export default class Client extends OpenApi {
15113
17538
  }
15114
17539
 
15115
17540
  /**
15116
- * 获取租户配置列表
17541
+ * Queries a list of tenant plug-ins.
15117
17542
  *
15118
17543
  * @param headers - map
15119
17544
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15138,7 +17563,7 @@ export default class Client extends OpenApi {
15138
17563
  }
15139
17564
 
15140
17565
  /**
15141
- * 获取租户配置列表
17566
+ * Queries a list of tenant plug-ins.
15142
17567
  * @returns ListTenantAddonsResponse
15143
17568
  */
15144
17569
  async listTenantAddons(): Promise<ListTenantAddonsResponse> {
@@ -15148,7 +17573,64 @@ export default class Client extends OpenApi {
15148
17573
  }
15149
17574
 
15150
17575
  /**
15151
- * 重置租户配置
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.
15152
17634
  *
15153
17635
  * @param headers - map
15154
17636
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15173,7 +17655,7 @@ export default class Client extends OpenApi {
15173
17655
  }
15174
17656
 
15175
17657
  /**
15176
- * 重置租户配置
17658
+ * Resets tenant configurations.
15177
17659
  * @returns ReinstallTenantAddonResponse
15178
17660
  */
15179
17661
  async reinstallTenantAddon(ClusterId: string, TenantAddonName: string): Promise<ReinstallTenantAddonResponse> {
@@ -16114,4 +18596,53 @@ export default class Client extends OpenApi {
16114
18596
  return await this.updateServiceVersionWithOptions(ClusterId, ServiceName, request, headers, runtime);
16115
18597
  }
16116
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
+
16117
18648
  }