tencentcloud-sdk-nodejs-igtm 4.1.158 → 4.1.249
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/package.json
CHANGED
|
@@ -332,7 +332,7 @@ export interface DescribeAddressPoolListRequest {
|
|
|
332
332
|
*/
|
|
333
333
|
export interface ModifyStrategyResponse {
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* <p>是否成功</p>
|
|
336
336
|
*/
|
|
337
337
|
Msg?: string;
|
|
338
338
|
/**
|
|
@@ -619,20 +619,20 @@ export interface DescribeQuotasRequest {
|
|
|
619
619
|
*/
|
|
620
620
|
export interface MainAddressPool {
|
|
621
621
|
/**
|
|
622
|
-
*
|
|
622
|
+
* <p>集合中的地址池id与权重,数组</p>
|
|
623
623
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
624
624
|
*/
|
|
625
625
|
AddressPools: Array<MainPoolWeight>;
|
|
626
626
|
/**
|
|
627
|
-
*
|
|
627
|
+
* <p>地址池集合id</p>
|
|
628
628
|
*/
|
|
629
629
|
MainAddressPoolId?: number;
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* <p>切换阈值,不能大于主力集合内地址总数</p>
|
|
632
632
|
*/
|
|
633
633
|
MinSurviveNum?: number;
|
|
634
634
|
/**
|
|
635
|
-
*
|
|
635
|
+
* <p>切换策略:ALL解析所有地址;WEIGHT:负载均衡。当为ALL时,解析地址的权重值为1;当为WEIGHT时;权重为地址池权重*地址权重</p>
|
|
636
636
|
*/
|
|
637
637
|
TrafficStrategy?: string;
|
|
638
638
|
}
|
|
@@ -878,41 +878,45 @@ export interface Instance {
|
|
|
878
878
|
*/
|
|
879
879
|
export interface ModifyStrategyRequest {
|
|
880
880
|
/**
|
|
881
|
-
*
|
|
881
|
+
* <p>实例id</p>
|
|
882
882
|
*/
|
|
883
883
|
InstanceId: string;
|
|
884
884
|
/**
|
|
885
|
-
*
|
|
885
|
+
* <p>策略id</p>
|
|
886
886
|
*/
|
|
887
887
|
StrategyId: number;
|
|
888
888
|
/**
|
|
889
|
-
*
|
|
889
|
+
* <p>解析线路,需要全量传参</p>
|
|
890
890
|
*/
|
|
891
891
|
Source: Array<Source>;
|
|
892
892
|
/**
|
|
893
|
-
*
|
|
893
|
+
* <p>主力地址池集合,需要全量传参</p>
|
|
894
894
|
*/
|
|
895
895
|
MainAddressPoolSet: Array<MainAddressPool>;
|
|
896
896
|
/**
|
|
897
|
-
*
|
|
897
|
+
* <p>兜底地址池集合,需要全量传参</p>
|
|
898
898
|
*/
|
|
899
899
|
FallbackAddressPoolSet: Array<MainAddressPool>;
|
|
900
900
|
/**
|
|
901
|
-
*
|
|
901
|
+
* <p>策略名称,不允许重复</p>
|
|
902
902
|
*/
|
|
903
903
|
StrategyName?: string;
|
|
904
904
|
/**
|
|
905
|
-
*
|
|
905
|
+
* <p>策略开启状态:ENABLED开启;DISABLED关闭</p>
|
|
906
906
|
*/
|
|
907
907
|
IsEnabled?: string;
|
|
908
908
|
/**
|
|
909
|
-
*
|
|
909
|
+
* <p>是否开启策略强制保留默认线路 disabled, enabled,默认不开启且只有一个策略能开启</p>
|
|
910
910
|
*/
|
|
911
911
|
KeepDomainRecords?: string;
|
|
912
912
|
/**
|
|
913
|
-
*
|
|
913
|
+
* <p>调度模式:AUTO默认;STOP仅暂停不切换</p>
|
|
914
914
|
*/
|
|
915
915
|
SwitchPoolType?: string;
|
|
916
|
+
/**
|
|
917
|
+
* <p>是否保留资源</p><p>枚举值:</p><ul><li>false: 全量操作,会有删除逻辑</li><li>true: 不会删除原有资源</li></ul>
|
|
918
|
+
*/
|
|
919
|
+
KeepResource?: boolean;
|
|
916
920
|
}
|
|
917
921
|
/**
|
|
918
922
|
* DescribeDetectors请求参数结构体
|
|
@@ -1737,25 +1741,29 @@ export interface DeleteStrategyResponse {
|
|
|
1737
1741
|
*/
|
|
1738
1742
|
export interface ModifyAddressPoolRequest {
|
|
1739
1743
|
/**
|
|
1740
|
-
*
|
|
1744
|
+
* <p>地址池id</p>
|
|
1741
1745
|
*/
|
|
1742
1746
|
PoolId: number;
|
|
1743
1747
|
/**
|
|
1744
|
-
*
|
|
1748
|
+
* <p>地址池名称,不允许重复</p>
|
|
1745
1749
|
*/
|
|
1746
1750
|
PoolName?: string;
|
|
1747
1751
|
/**
|
|
1748
|
-
*
|
|
1752
|
+
* <p>流量策略: WEIGHT负载均衡,ALL解析全部</p>
|
|
1749
1753
|
*/
|
|
1750
1754
|
TrafficStrategy?: string;
|
|
1751
1755
|
/**
|
|
1752
|
-
*
|
|
1756
|
+
* <p>监控器id,当监控器已关联策略时,此字段必传</p>
|
|
1753
1757
|
*/
|
|
1754
1758
|
MonitorId?: number;
|
|
1755
1759
|
/**
|
|
1756
|
-
*
|
|
1760
|
+
* <p>地址列表,全量更新逻辑,对于存量不需要修改的地址信息也需要带上(其中参数里的AddressId需传入正确的值),否则会被删除。</p>
|
|
1757
1761
|
*/
|
|
1758
1762
|
AddressSet?: Array<Address>;
|
|
1763
|
+
/**
|
|
1764
|
+
* <p>是否保留资源</p><p>枚举值:</p><ul><li>false: 全量操作,会有删除逻辑</li><li>true: 不会删除原有资源</li></ul>
|
|
1765
|
+
*/
|
|
1766
|
+
KeepResource?: boolean;
|
|
1759
1767
|
}
|
|
1760
1768
|
/**
|
|
1761
1769
|
* 实例配置详情
|
|
@@ -1848,7 +1856,7 @@ export interface StrategyDetail {
|
|
|
1848
1856
|
*/
|
|
1849
1857
|
export interface ModifyAddressPoolResponse {
|
|
1850
1858
|
/**
|
|
1851
|
-
*
|
|
1859
|
+
* <p>是否修改成功</p>
|
|
1852
1860
|
*/
|
|
1853
1861
|
Msg?: string;
|
|
1854
1862
|
/**
|