tencentcloud-sdk-nodejs-ioa 4.1.329 → 4.1.334
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
|
@@ -143,7 +143,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
143
143
|
*/
|
|
144
144
|
GrantResourcesByAccountGroups(req: GrantResourcesByAccountGroupsRequest, cb?: (error: string, rep: GrantResourcesByAccountGroupsResponse) => void): Promise<GrantResourcesByAccountGroupsResponse>;
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
146
|
+
* 创建业务资源
|
|
147
147
|
*/
|
|
148
148
|
CreateBusinessResource(req: CreateBusinessResourceRequest, cb?: (error: string, rep: CreateBusinessResourceResponse) => void): Promise<CreateBusinessResourceResponse>;
|
|
149
149
|
/**
|
|
@@ -193,7 +193,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
193
193
|
*/
|
|
194
194
|
DescribeLocalAccounts(req: DescribeLocalAccountsRequest, cb?: (error: string, rep: DescribeLocalAccountsResponse) => void): Promise<DescribeLocalAccountsResponse>;
|
|
195
195
|
/**
|
|
196
|
-
*
|
|
196
|
+
* 修改业务资源
|
|
197
197
|
*/
|
|
198
198
|
ModifyBusinessResource(req: ModifyBusinessResourceRequest, cb?: (error: string, rep: ModifyBusinessResourceResponse) => void): Promise<ModifyBusinessResourceResponse>;
|
|
199
199
|
/**
|
|
@@ -229,7 +229,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
229
229
|
*/
|
|
230
230
|
ModifyVirtualDeviceGroups(req: ModifyVirtualDeviceGroupsRequest, cb?: (error: string, rep: ModifyVirtualDeviceGroupsResponse) => void): Promise<ModifyVirtualDeviceGroupsResponse>;
|
|
231
231
|
/**
|
|
232
|
-
*
|
|
232
|
+
* 获取业务资源列表
|
|
233
233
|
*/
|
|
234
234
|
DescribeBusinessResources(req: DescribeBusinessResourcesRequest, cb?: (error: string, rep: DescribeBusinessResourcesResponse) => void): Promise<DescribeBusinessResourcesResponse>;
|
|
235
235
|
/**
|
|
@@ -233,7 +233,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
233
233
|
return this.request("GrantResourcesByAccountGroups", req, cb);
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
*
|
|
236
|
+
* 创建业务资源
|
|
237
237
|
*/
|
|
238
238
|
async CreateBusinessResource(req, cb) {
|
|
239
239
|
return this.request("CreateBusinessResource", req, cb);
|
|
@@ -307,7 +307,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
307
307
|
return this.request("DescribeLocalAccounts", req, cb);
|
|
308
308
|
}
|
|
309
309
|
/**
|
|
310
|
-
*
|
|
310
|
+
* 修改业务资源
|
|
311
311
|
*/
|
|
312
312
|
async ModifyBusinessResource(req, cb) {
|
|
313
313
|
return this.request("ModifyBusinessResource", req, cb);
|
|
@@ -361,7 +361,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
361
361
|
return this.request("ModifyVirtualDeviceGroups", req, cb);
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
|
-
*
|
|
364
|
+
* 获取业务资源列表
|
|
365
365
|
*/
|
|
366
366
|
async DescribeBusinessResources(req, cb) {
|
|
367
367
|
return this.request("DescribeBusinessResources", req, cb);
|
|
@@ -191,41 +191,77 @@ export interface ModifyCompanyDirectoryConfigRequest {
|
|
|
191
191
|
*/
|
|
192
192
|
export interface ModifyBusinessResourceRequest {
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* <p>业务资源所在的模块id,没有资源模块先创建资源模块(只支持32位)</p>
|
|
195
195
|
*/
|
|
196
196
|
AreaId: number;
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* <p>业务资源协议类型,3:所有,2:UDP,1:TCP(只支持32位)</p>
|
|
199
199
|
*/
|
|
200
200
|
Protocol: number;
|
|
201
201
|
/**
|
|
202
|
-
*
|
|
202
|
+
* <p>业务资源名称,同一个资源模块下面不可重复</p>
|
|
203
203
|
*/
|
|
204
204
|
ServiceName: string;
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
206
|
+
* <p>业务资源优先级 1-65535(只支持32位)</p>
|
|
207
207
|
*/
|
|
208
208
|
Levels: number;
|
|
209
209
|
/**
|
|
210
|
-
*
|
|
210
|
+
* <p>业务资源类型:ip,domain,ip_section,对应ip、域名、ip段</p>
|
|
211
211
|
*/
|
|
212
212
|
ServiceType: string;
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
214
|
+
* <p>业务资源端口 all,1-65535</p>
|
|
215
215
|
*/
|
|
216
216
|
ServicePort: string;
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* <p>修改业务资源的id(只支持32位)</p>
|
|
219
219
|
*/
|
|
220
220
|
ServiceId: number;
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* <p>业务资源地址(ip、域名、ip段)</p>
|
|
223
223
|
*/
|
|
224
224
|
ServiceAddress: string;
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* <p>是否走代理,该参数不传,默认为0, 2:内外网直连,1:内网直连, 0:不启用代理配置(只支持32位)</p>
|
|
227
227
|
*/
|
|
228
228
|
DirectConn?: number;
|
|
229
|
+
/**
|
|
230
|
+
* <p>连通性检查开关,0-关闭 1-开启,默认1(只支持32位)</p>
|
|
231
|
+
*/
|
|
232
|
+
ConnectivityCheckSwitch?: number;
|
|
233
|
+
/**
|
|
234
|
+
* <p>连通性检查测试间隔数值,最小为1,默认1(只支持32位)</p>
|
|
235
|
+
*/
|
|
236
|
+
ConnectivityCheckInterval?: number;
|
|
237
|
+
/**
|
|
238
|
+
* <p>连通性检查测试间隔单位 minutes/hours/days,默认hours</p>
|
|
239
|
+
*/
|
|
240
|
+
ConnectivityCheckIntervalUnit?: string;
|
|
241
|
+
/**
|
|
242
|
+
* <p>资源网络类型:1-内网资源 2-外网资源,默认1</p>
|
|
243
|
+
*/
|
|
244
|
+
ServiceNetwork?: number;
|
|
245
|
+
/**
|
|
246
|
+
* <p>是否启用L3网络:1-不启用 2-启用,默认1</p>
|
|
247
|
+
*/
|
|
248
|
+
WireGuardTunnel?: number;
|
|
249
|
+
/**
|
|
250
|
+
* <p>资源描述</p>
|
|
251
|
+
*/
|
|
252
|
+
Description?: string;
|
|
253
|
+
/**
|
|
254
|
+
* <p>URL审计开关:0-关闭 1-开启,默认0</p>
|
|
255
|
+
*/
|
|
256
|
+
URLAuditState?: number;
|
|
257
|
+
/**
|
|
258
|
+
* <p>URL审计证书ID列表,多个用分号分隔</p>
|
|
259
|
+
*/
|
|
260
|
+
URLAuditId?: string;
|
|
261
|
+
/**
|
|
262
|
+
* <p>URL审计路径,多个用分号分隔</p>
|
|
263
|
+
*/
|
|
264
|
+
URLPath?: string;
|
|
229
265
|
}
|
|
230
266
|
/**
|
|
231
267
|
* 业务响应数据
|
|
@@ -818,7 +854,7 @@ export interface DescribeDeviceVirtualGroupsResponse {
|
|
|
818
854
|
*/
|
|
819
855
|
export interface CreateBusinessResourceResponse {
|
|
820
856
|
/**
|
|
821
|
-
*
|
|
857
|
+
* <p>创建业务资源响应的数据</p>
|
|
822
858
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
823
859
|
*/
|
|
824
860
|
Data?: CreateBusinessResourceData;
|
|
@@ -2043,37 +2079,77 @@ export interface ModifyBusinessResourceResponse {
|
|
|
2043
2079
|
*/
|
|
2044
2080
|
export interface CreateBusinessResourceRequest {
|
|
2045
2081
|
/**
|
|
2046
|
-
*
|
|
2082
|
+
* <p>业务资源所在的模块id,没有资源模块先创建资源模块(只支持32位)</p>
|
|
2047
2083
|
*/
|
|
2048
2084
|
AreaId: number;
|
|
2049
2085
|
/**
|
|
2050
|
-
*
|
|
2086
|
+
* <p>业务资源协议类型, 1:UDP, 2:TCP, 3:所有协议(只支持32位)</p>
|
|
2051
2087
|
*/
|
|
2052
2088
|
Protocol: number;
|
|
2053
2089
|
/**
|
|
2054
|
-
*
|
|
2090
|
+
* <p>业务资源名称,同一个资源模块下面不可重复</p>
|
|
2055
2091
|
*/
|
|
2056
2092
|
ServiceName: string;
|
|
2057
2093
|
/**
|
|
2058
|
-
*
|
|
2094
|
+
* <p>业务资源类型:ip,domain,ip_section,对应ip、域名、ip段</p>
|
|
2059
2095
|
*/
|
|
2060
2096
|
ServiceType: string;
|
|
2061
2097
|
/**
|
|
2062
|
-
*
|
|
2098
|
+
* <p>业务资源端口 all,1-65535</p>
|
|
2063
2099
|
*/
|
|
2064
2100
|
ServicePort: string;
|
|
2065
2101
|
/**
|
|
2066
|
-
*
|
|
2102
|
+
* <p>业务资源优先级 1-65535(只支持32位)</p>
|
|
2067
2103
|
*/
|
|
2068
2104
|
Levels: number;
|
|
2069
2105
|
/**
|
|
2070
|
-
*
|
|
2106
|
+
* <p>业务资源地址(ip、域名、ip段)</p>
|
|
2071
2107
|
*/
|
|
2072
2108
|
ServiceAddress: string;
|
|
2073
2109
|
/**
|
|
2074
|
-
*
|
|
2110
|
+
* <p>是否走代理,该参数不传,默认为0, 2:内外网直连,1:内网直连, 0:不启用代理配置(只支持32位)</p>
|
|
2075
2111
|
*/
|
|
2076
2112
|
DirectConn?: number;
|
|
2113
|
+
/**
|
|
2114
|
+
* <p>连通性检查开关,0-关闭 1-开启,默认1(只支持32位)</p>
|
|
2115
|
+
*/
|
|
2116
|
+
ConnectivityCheckSwitch?: number;
|
|
2117
|
+
/**
|
|
2118
|
+
* <p>连通性检查测试间隔数值,最小为1,默认1(只支持32位)</p>
|
|
2119
|
+
*/
|
|
2120
|
+
ConnectivityCheckInterval?: number;
|
|
2121
|
+
/**
|
|
2122
|
+
* <p>连通性检查测试间隔单位 minutes/hours/days,默认hours</p>
|
|
2123
|
+
*/
|
|
2124
|
+
ConnectivityCheckIntervalUnit?: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* <p>资源网络类型:1-内网资源 2-外网资源,默认1</p>
|
|
2127
|
+
*/
|
|
2128
|
+
ServiceNetwork?: number;
|
|
2129
|
+
/**
|
|
2130
|
+
* <p>是否启用L3网络:1-不启用 2-启用,默认1</p>
|
|
2131
|
+
*/
|
|
2132
|
+
WireGuardTunnel?: number;
|
|
2133
|
+
/**
|
|
2134
|
+
* <p>资源描述</p>
|
|
2135
|
+
*/
|
|
2136
|
+
Description?: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* <p>URL审计开关:0-关闭 1-开启,默认0</p><p>枚举值:</p><ul><li>0: 关闭</li><li>1: 开启</li></ul>
|
|
2139
|
+
*/
|
|
2140
|
+
URLAuditState?: number;
|
|
2141
|
+
/**
|
|
2142
|
+
* <p>URL审计证书ID列表,多个用分号分隔</p>
|
|
2143
|
+
*/
|
|
2144
|
+
URLAuditId?: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* <p>URL审计路径,多个用分号分隔</p>
|
|
2147
|
+
*/
|
|
2148
|
+
URLPath?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* <p>证书Id</p>
|
|
2151
|
+
*/
|
|
2152
|
+
SSLCertId?: string;
|
|
2077
2153
|
}
|
|
2078
2154
|
/**
|
|
2079
2155
|
* DescribeDeviceInfo请求参数结构体
|
|
@@ -2723,39 +2799,35 @@ export interface FilterGroup {
|
|
|
2723
2799
|
*/
|
|
2724
2800
|
export interface DescribeBusinessResourcesRequest {
|
|
2725
2801
|
/**
|
|
2726
|
-
*
|
|
2802
|
+
* <p>滤条件、分页参数。分页内容不传,默认获取第1页,10条数据<br>排序条件</p><li>CreateTime - string - 是否必填:否 - 排序支持:是 - 按业务资源创建时间排序。</li><li>Levels - int - 是否必填:否 - 排序支持:是 - 按业务资源优先级排序。</li><li>ReachableState - int - 是否必填:否 - 排序支持:是 - 按业务资源连通性排序(私有化版本不支持)。</li>
|
|
2727
2803
|
*/
|
|
2728
|
-
|
|
2804
|
+
Condition?: Condition;
|
|
2729
2805
|
/**
|
|
2730
|
-
*
|
|
2806
|
+
* <p>资源模块Id</p>
|
|
2731
2807
|
*/
|
|
2732
|
-
|
|
2808
|
+
AreaId?: number;
|
|
2733
2809
|
/**
|
|
2734
|
-
*
|
|
2810
|
+
* <p>服务名称</p>
|
|
2735
2811
|
*/
|
|
2736
|
-
|
|
2812
|
+
ServiceName?: string;
|
|
2737
2813
|
/**
|
|
2738
|
-
*
|
|
2814
|
+
* <p>搜索关键字</p>
|
|
2739
2815
|
*/
|
|
2740
2816
|
Keywords?: string;
|
|
2741
2817
|
/**
|
|
2742
|
-
*
|
|
2818
|
+
* <p>获取业务资源列表的开始时间,时间格式:2006-01-02</p>
|
|
2743
2819
|
*/
|
|
2744
|
-
|
|
2820
|
+
StartTime?: string;
|
|
2745
2821
|
/**
|
|
2746
|
-
*
|
|
2747
|
-
排序条件
|
|
2748
|
-
<li>CreateTime - string - 是否必填:否 - 排序支持:是 - 按业务资源创建时间排序。</li>
|
|
2749
|
-
<li>Levels - int - 是否必填:否 - 排序支持:是 - 按业务资源优先级排序。</li>
|
|
2750
|
-
<li>ReachableState - int - 是否必填:否 - 排序支持:是 - 按业务资源连通性排序(私有化版本不支持)。</li>
|
|
2822
|
+
* <p>获取业务资源列表的结束时间,时间格式:2006-01-02</p>
|
|
2751
2823
|
*/
|
|
2752
|
-
|
|
2824
|
+
EndTime?: string;
|
|
2753
2825
|
/**
|
|
2754
|
-
*
|
|
2826
|
+
* <p>资源类型</p>
|
|
2755
2827
|
*/
|
|
2756
2828
|
AccessType?: string;
|
|
2757
2829
|
/**
|
|
2758
|
-
* web
|
|
2830
|
+
* <p>web资源前端地址</p>
|
|
2759
2831
|
*/
|
|
2760
2832
|
FrontAddr?: string;
|
|
2761
2833
|
}
|
|
@@ -3065,10 +3137,10 @@ export interface SoftwareInformationData {
|
|
|
3065
3137
|
*/
|
|
3066
3138
|
export interface DescribeBusinessResourcesResponse {
|
|
3067
3139
|
/**
|
|
3068
|
-
*
|
|
3140
|
+
* <p>业务资源分页返回对象</p>
|
|
3069
3141
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3070
3142
|
*/
|
|
3071
|
-
Data
|
|
3143
|
+
Data?: DescribeBusinessResourcePageRsp;
|
|
3072
3144
|
/**
|
|
3073
3145
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3074
3146
|
*/
|
|
@@ -3079,15 +3151,15 @@ export interface DescribeBusinessResourcesResponse {
|
|
|
3079
3151
|
*/
|
|
3080
3152
|
export interface DescribeBusinessResourcePageRsp {
|
|
3081
3153
|
/**
|
|
3082
|
-
*
|
|
3154
|
+
* 分页公共对象
|
|
3083
3155
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3084
3156
|
*/
|
|
3085
|
-
|
|
3157
|
+
Page?: Paging;
|
|
3086
3158
|
/**
|
|
3087
|
-
*
|
|
3159
|
+
* 业务资源列表数据对象集合
|
|
3088
3160
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3089
3161
|
*/
|
|
3090
|
-
|
|
3162
|
+
Items?: Array<DescribeBusinessResourceData>;
|
|
3091
3163
|
}
|
|
3092
3164
|
/**
|
|
3093
3165
|
* DeleteDeliveryStrategy请求参数结构体
|