@alicloud/ddosbgp20180720 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +151 -0
- package/dist/client.js +631 -370
- package/dist/client.js.map +1 -1
- package/package.json +6 -6
- package/src/client.ts +334 -0
package/dist/client.d.ts
CHANGED
|
@@ -563,6 +563,67 @@ export declare class DescribeDdosEventResponse extends $tea.Model {
|
|
|
563
563
|
[key: string]: any;
|
|
564
564
|
});
|
|
565
565
|
}
|
|
566
|
+
export declare class DescribeDdosOriginInstanceBillRequest extends $tea.Model {
|
|
567
|
+
endTime?: number;
|
|
568
|
+
isShowList?: boolean;
|
|
569
|
+
startTime?: number;
|
|
570
|
+
type?: string;
|
|
571
|
+
static names(): {
|
|
572
|
+
[key: string]: string;
|
|
573
|
+
};
|
|
574
|
+
static types(): {
|
|
575
|
+
[key: string]: any;
|
|
576
|
+
};
|
|
577
|
+
constructor(map?: {
|
|
578
|
+
[key: string]: any;
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
export declare class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
|
|
582
|
+
debtStatus?: number;
|
|
583
|
+
flowList?: DescribeDdosOriginInstanceBillResponseBodyFlowList[];
|
|
584
|
+
flowRegion?: {
|
|
585
|
+
[key: string]: any;
|
|
586
|
+
};
|
|
587
|
+
instanceId?: string;
|
|
588
|
+
ipCount?: number;
|
|
589
|
+
ipCountOrFunctionList?: DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList[];
|
|
590
|
+
ipInfo?: string;
|
|
591
|
+
requestId?: string;
|
|
592
|
+
standardAssetsFlowList?: DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList[];
|
|
593
|
+
standardAssetsFlowRegion?: {
|
|
594
|
+
[key: string]: any;
|
|
595
|
+
};
|
|
596
|
+
standardAssetsTotalFlowCn?: number;
|
|
597
|
+
standardAssetsTotalFlowOv?: number;
|
|
598
|
+
status?: number;
|
|
599
|
+
totalFlowCn?: number;
|
|
600
|
+
totalFlowOv?: number;
|
|
601
|
+
static names(): {
|
|
602
|
+
[key: string]: string;
|
|
603
|
+
};
|
|
604
|
+
static types(): {
|
|
605
|
+
[key: string]: any;
|
|
606
|
+
};
|
|
607
|
+
constructor(map?: {
|
|
608
|
+
[key: string]: any;
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
export declare class DescribeDdosOriginInstanceBillResponse extends $tea.Model {
|
|
612
|
+
headers?: {
|
|
613
|
+
[key: string]: string;
|
|
614
|
+
};
|
|
615
|
+
statusCode?: number;
|
|
616
|
+
body?: DescribeDdosOriginInstanceBillResponseBody;
|
|
617
|
+
static names(): {
|
|
618
|
+
[key: string]: string;
|
|
619
|
+
};
|
|
620
|
+
static types(): {
|
|
621
|
+
[key: string]: any;
|
|
622
|
+
};
|
|
623
|
+
constructor(map?: {
|
|
624
|
+
[key: string]: any;
|
|
625
|
+
});
|
|
626
|
+
}
|
|
566
627
|
export declare class DescribeExcpetionCountRequest extends $tea.Model {
|
|
567
628
|
regionId?: string;
|
|
568
629
|
resourceGroupId?: string;
|
|
@@ -1315,6 +1376,46 @@ export declare class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
|
1315
1376
|
[key: string]: any;
|
|
1316
1377
|
});
|
|
1317
1378
|
}
|
|
1379
|
+
export declare class ReleaseDdosOriginInstanceRequest extends $tea.Model {
|
|
1380
|
+
instanceId?: string;
|
|
1381
|
+
static names(): {
|
|
1382
|
+
[key: string]: string;
|
|
1383
|
+
};
|
|
1384
|
+
static types(): {
|
|
1385
|
+
[key: string]: any;
|
|
1386
|
+
};
|
|
1387
|
+
constructor(map?: {
|
|
1388
|
+
[key: string]: any;
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
export declare class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
|
|
1392
|
+
requestId?: string;
|
|
1393
|
+
static names(): {
|
|
1394
|
+
[key: string]: string;
|
|
1395
|
+
};
|
|
1396
|
+
static types(): {
|
|
1397
|
+
[key: string]: any;
|
|
1398
|
+
};
|
|
1399
|
+
constructor(map?: {
|
|
1400
|
+
[key: string]: any;
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
export declare class ReleaseDdosOriginInstanceResponse extends $tea.Model {
|
|
1404
|
+
headers?: {
|
|
1405
|
+
[key: string]: string;
|
|
1406
|
+
};
|
|
1407
|
+
statusCode?: number;
|
|
1408
|
+
body?: ReleaseDdosOriginInstanceResponseBody;
|
|
1409
|
+
static names(): {
|
|
1410
|
+
[key: string]: string;
|
|
1411
|
+
};
|
|
1412
|
+
static types(): {
|
|
1413
|
+
[key: string]: any;
|
|
1414
|
+
};
|
|
1415
|
+
constructor(map?: {
|
|
1416
|
+
[key: string]: any;
|
|
1417
|
+
});
|
|
1418
|
+
}
|
|
1318
1419
|
export declare class SetInstanceModeOnDemandRequest extends $tea.Model {
|
|
1319
1420
|
instanceIdList?: string[];
|
|
1320
1421
|
mode?: string;
|
|
@@ -1508,6 +1609,52 @@ export declare class DescribeDdosEventResponseBodyEvents extends $tea.Model {
|
|
|
1508
1609
|
[key: string]: any;
|
|
1509
1610
|
});
|
|
1510
1611
|
}
|
|
1612
|
+
export declare class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
|
|
1613
|
+
memberFlow?: string;
|
|
1614
|
+
regionFlow?: string;
|
|
1615
|
+
time?: number;
|
|
1616
|
+
totalFlow?: number;
|
|
1617
|
+
static names(): {
|
|
1618
|
+
[key: string]: string;
|
|
1619
|
+
};
|
|
1620
|
+
static types(): {
|
|
1621
|
+
[key: string]: any;
|
|
1622
|
+
};
|
|
1623
|
+
constructor(map?: {
|
|
1624
|
+
[key: string]: any;
|
|
1625
|
+
});
|
|
1626
|
+
}
|
|
1627
|
+
export declare class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
|
|
1628
|
+
coverage?: string;
|
|
1629
|
+
ipCntCn?: number;
|
|
1630
|
+
ipCntOv?: number;
|
|
1631
|
+
memberIpCnt?: string;
|
|
1632
|
+
time?: number;
|
|
1633
|
+
static names(): {
|
|
1634
|
+
[key: string]: string;
|
|
1635
|
+
};
|
|
1636
|
+
static types(): {
|
|
1637
|
+
[key: string]: any;
|
|
1638
|
+
};
|
|
1639
|
+
constructor(map?: {
|
|
1640
|
+
[key: string]: any;
|
|
1641
|
+
});
|
|
1642
|
+
}
|
|
1643
|
+
export declare class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
|
|
1644
|
+
memberFlow?: string;
|
|
1645
|
+
regionFlow?: string;
|
|
1646
|
+
time?: number;
|
|
1647
|
+
totalFlow?: number;
|
|
1648
|
+
static names(): {
|
|
1649
|
+
[key: string]: string;
|
|
1650
|
+
};
|
|
1651
|
+
static types(): {
|
|
1652
|
+
[key: string]: any;
|
|
1653
|
+
};
|
|
1654
|
+
constructor(map?: {
|
|
1655
|
+
[key: string]: any;
|
|
1656
|
+
});
|
|
1657
|
+
}
|
|
1511
1658
|
export declare class DescribeInstanceListRequestTag extends $tea.Model {
|
|
1512
1659
|
key?: string;
|
|
1513
1660
|
value?: string;
|
|
@@ -1919,6 +2066,8 @@ export default class Client extends OpenApi {
|
|
|
1919
2066
|
* @return DescribeDdosEventResponse
|
|
1920
2067
|
*/
|
|
1921
2068
|
describeDdosEvent(request: DescribeDdosEventRequest): Promise<DescribeDdosEventResponse>;
|
|
2069
|
+
describeDdosOriginInstanceBillWithOptions(request: DescribeDdosOriginInstanceBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosOriginInstanceBillResponse>;
|
|
2070
|
+
describeDdosOriginInstanceBill(request: DescribeDdosOriginInstanceBillRequest): Promise<DescribeDdosOriginInstanceBillResponse>;
|
|
1922
2071
|
/**
|
|
1923
2072
|
* ## Usage notes
|
|
1924
2073
|
* You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
|
|
@@ -2075,6 +2224,8 @@ export default class Client extends OpenApi {
|
|
|
2075
2224
|
modifyRemark(request: ModifyRemarkRequest): Promise<ModifyRemarkResponse>;
|
|
2076
2225
|
querySchedruleOnDemandWithOptions(request: QuerySchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<QuerySchedruleOnDemandResponse>;
|
|
2077
2226
|
querySchedruleOnDemand(request: QuerySchedruleOnDemandRequest): Promise<QuerySchedruleOnDemandResponse>;
|
|
2227
|
+
releaseDdosOriginInstanceWithOptions(request: ReleaseDdosOriginInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDdosOriginInstanceResponse>;
|
|
2228
|
+
releaseDdosOriginInstance(request: ReleaseDdosOriginInstanceRequest): Promise<ReleaseDdosOriginInstanceResponse>;
|
|
2078
2229
|
setInstanceModeOnDemandWithOptions(request: SetInstanceModeOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceModeOnDemandResponse>;
|
|
2079
2230
|
setInstanceModeOnDemand(request: SetInstanceModeOnDemandRequest): Promise<SetInstanceModeOnDemandResponse>;
|
|
2080
2231
|
/**
|