@alicloud/sas20181203 1.1.25 → 1.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +4 -0
- package/dist/client.js +20 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +28 -0
package/dist/client.d.ts
CHANGED
|
@@ -6094,6 +6094,9 @@ export declare class DescribeWarningExportInfoResponse extends $tea.Model {
|
|
|
6094
6094
|
});
|
|
6095
6095
|
}
|
|
6096
6096
|
export declare class DescribeWarningMachinesRequest extends $tea.Model {
|
|
6097
|
+
clusterId?: string;
|
|
6098
|
+
containerFieldName?: string;
|
|
6099
|
+
containerFieldValue?: string;
|
|
6097
6100
|
currentPage?: number;
|
|
6098
6101
|
lang?: string;
|
|
6099
6102
|
machineName?: string;
|
|
@@ -6101,6 +6104,7 @@ export declare class DescribeWarningMachinesRequest extends $tea.Model {
|
|
|
6101
6104
|
riskId?: number;
|
|
6102
6105
|
sourceIp?: string;
|
|
6103
6106
|
strategyId?: number;
|
|
6107
|
+
targetType?: string;
|
|
6104
6108
|
uuids?: string;
|
|
6105
6109
|
static names(): {
|
|
6106
6110
|
[key: string]: string;
|
package/dist/client.js
CHANGED
|
@@ -8519,6 +8519,9 @@ class DescribeWarningMachinesRequest extends $tea.Model {
|
|
|
8519
8519
|
}
|
|
8520
8520
|
static names() {
|
|
8521
8521
|
return {
|
|
8522
|
+
clusterId: 'ClusterId',
|
|
8523
|
+
containerFieldName: 'ContainerFieldName',
|
|
8524
|
+
containerFieldValue: 'ContainerFieldValue',
|
|
8522
8525
|
currentPage: 'CurrentPage',
|
|
8523
8526
|
lang: 'Lang',
|
|
8524
8527
|
machineName: 'MachineName',
|
|
@@ -8526,11 +8529,15 @@ class DescribeWarningMachinesRequest extends $tea.Model {
|
|
|
8526
8529
|
riskId: 'RiskId',
|
|
8527
8530
|
sourceIp: 'SourceIp',
|
|
8528
8531
|
strategyId: 'StrategyId',
|
|
8532
|
+
targetType: 'TargetType',
|
|
8529
8533
|
uuids: 'Uuids',
|
|
8530
8534
|
};
|
|
8531
8535
|
}
|
|
8532
8536
|
static types() {
|
|
8533
8537
|
return {
|
|
8538
|
+
clusterId: 'string',
|
|
8539
|
+
containerFieldName: 'string',
|
|
8540
|
+
containerFieldValue: 'string',
|
|
8534
8541
|
currentPage: 'number',
|
|
8535
8542
|
lang: 'string',
|
|
8536
8543
|
machineName: 'string',
|
|
@@ -8538,6 +8545,7 @@ class DescribeWarningMachinesRequest extends $tea.Model {
|
|
|
8538
8545
|
riskId: 'number',
|
|
8539
8546
|
sourceIp: 'string',
|
|
8540
8547
|
strategyId: 'number',
|
|
8548
|
+
targetType: 'string',
|
|
8541
8549
|
uuids: 'string',
|
|
8542
8550
|
};
|
|
8543
8551
|
}
|
|
@@ -23336,6 +23344,15 @@ class Client extends openapi_client_1.default {
|
|
|
23336
23344
|
async describeWarningMachinesWithOptions(request, runtime) {
|
|
23337
23345
|
tea_util_1.default.validateModel(request);
|
|
23338
23346
|
let query = {};
|
|
23347
|
+
if (!tea_util_1.default.isUnset(request.clusterId)) {
|
|
23348
|
+
query["ClusterId"] = request.clusterId;
|
|
23349
|
+
}
|
|
23350
|
+
if (!tea_util_1.default.isUnset(request.containerFieldName)) {
|
|
23351
|
+
query["ContainerFieldName"] = request.containerFieldName;
|
|
23352
|
+
}
|
|
23353
|
+
if (!tea_util_1.default.isUnset(request.containerFieldValue)) {
|
|
23354
|
+
query["ContainerFieldValue"] = request.containerFieldValue;
|
|
23355
|
+
}
|
|
23339
23356
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
23340
23357
|
query["CurrentPage"] = request.currentPage;
|
|
23341
23358
|
}
|
|
@@ -23357,6 +23374,9 @@ class Client extends openapi_client_1.default {
|
|
|
23357
23374
|
if (!tea_util_1.default.isUnset(request.strategyId)) {
|
|
23358
23375
|
query["StrategyId"] = request.strategyId;
|
|
23359
23376
|
}
|
|
23377
|
+
if (!tea_util_1.default.isUnset(request.targetType)) {
|
|
23378
|
+
query["TargetType"] = request.targetType;
|
|
23379
|
+
}
|
|
23360
23380
|
if (!tea_util_1.default.isUnset(request.uuids)) {
|
|
23361
23381
|
query["Uuids"] = request.uuids;
|
|
23362
23382
|
}
|