@alicloud/ddosbgp20180720 2.6.5 → 2.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ddosbgp20180720",
3
- "version": "2.6.5",
3
+ "version": "2.7.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -2315,12 +2315,13 @@ export class DescribeDdosOriginInstanceBillRequest extends $tea.Model {
2315
2315
  * @remarks
2316
2316
  * The bill type. Valid values:
2317
2317
  *
2318
- * * **flow_cn**: the bill for the clean bandwidth of elastic IP addresses (EIPs) with Anti-DDoS (Enhanced) enabled in the Chinese mainland
2319
- * * **flow_ov**: the bill for the clean bandwidth of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland
2320
- * * **standard_assets_flow_cn**: the bill for the clean bandwidth of regular Alibaba Cloud services in the Chinese mainland
2321
- * * **standard_assets_flow_ov**: the bill for the clean bandwidth of regular Alibaba Cloud services outside the Chinese mainland
2322
- * * **function**: the bill for the basic fee
2323
- * * **ip_count**: the bill for protected IP addresses
2318
+ * * **flow_cn**: the bill for the clean bandwidth of elastic IP addresses (EIPs) with Anti-DDoS (Enhanced) enabled in the Chinese mainland.
2319
+ * * **flow_ov**: the bill for the clean bandwidth of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland.
2320
+ * * **standard_assets_flow_cn**: the bill for the clean bandwidth of regular Alibaba Cloud services in the Chinese mainland.
2321
+ * * **standard_assets_flow_ov**: the bill for the clean bandwidth of regular Alibaba Cloud services outside the Chinese mainland.
2322
+ * * **function**: the bill for the basic fee.
2323
+ * * **ip_count**: the bill for protected IP addresses.
2324
+ * * **monthly_summary**: the monthly summary bill.
2324
2325
  *
2325
2326
  * @example
2326
2327
  * function
@@ -2419,6 +2420,10 @@ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
2419
2420
  * {\\"eipCnIpCount\\":6,\\"eipOvIpCount\\":17,\\"standardAssetsCnIpCount\\":2,\\"standardAssetsOvIpCount\\":0}
2420
2421
  */
2421
2422
  ipInfo?: string;
2423
+ /**
2424
+ * @remarks
2425
+ * The information about the monthly summary bills.
2426
+ */
2422
2427
  monthlySummaryList?: DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList[];
2423
2428
  /**
2424
2429
  * @remarks
@@ -5873,6 +5878,110 @@ export class ModifyRemarkResponse extends $tea.Model {
5873
5878
  }
5874
5879
  }
5875
5880
 
5881
+ export class MoveResourceGroupRequest extends $tea.Model {
5882
+ /**
5883
+ * @remarks
5884
+ * This parameter is required.
5885
+ *
5886
+ * @example
5887
+ * rg-acfm3peow3k****
5888
+ */
5889
+ resourceGroupId?: string;
5890
+ /**
5891
+ * @remarks
5892
+ * This parameter is required.
5893
+ *
5894
+ * @example
5895
+ * ddos_originpre_public_cn-7213kxxxxx
5896
+ */
5897
+ resourceId?: string;
5898
+ /**
5899
+ * @remarks
5900
+ * This parameter is required.
5901
+ *
5902
+ * @example
5903
+ * cn-hangzhou
5904
+ */
5905
+ resourceRegionId?: string;
5906
+ /**
5907
+ * @remarks
5908
+ * This parameter is required.
5909
+ *
5910
+ * @example
5911
+ * instance
5912
+ */
5913
+ resourceType?: string;
5914
+ static names(): { [key: string]: string } {
5915
+ return {
5916
+ resourceGroupId: 'ResourceGroupId',
5917
+ resourceId: 'ResourceId',
5918
+ resourceRegionId: 'ResourceRegionId',
5919
+ resourceType: 'ResourceType',
5920
+ };
5921
+ }
5922
+
5923
+ static types(): { [key: string]: any } {
5924
+ return {
5925
+ resourceGroupId: 'string',
5926
+ resourceId: 'string',
5927
+ resourceRegionId: 'string',
5928
+ resourceType: 'string',
5929
+ };
5930
+ }
5931
+
5932
+ constructor(map?: { [key: string]: any }) {
5933
+ super(map);
5934
+ }
5935
+ }
5936
+
5937
+ export class MoveResourceGroupResponseBody extends $tea.Model {
5938
+ /**
5939
+ * @example
5940
+ * 16A78396-936F-5481-91D7-591BF7981246
5941
+ */
5942
+ requestId?: string;
5943
+ static names(): { [key: string]: string } {
5944
+ return {
5945
+ requestId: 'RequestId',
5946
+ };
5947
+ }
5948
+
5949
+ static types(): { [key: string]: any } {
5950
+ return {
5951
+ requestId: 'string',
5952
+ };
5953
+ }
5954
+
5955
+ constructor(map?: { [key: string]: any }) {
5956
+ super(map);
5957
+ }
5958
+ }
5959
+
5960
+ export class MoveResourceGroupResponse extends $tea.Model {
5961
+ headers?: { [key: string]: string };
5962
+ statusCode?: number;
5963
+ body?: MoveResourceGroupResponseBody;
5964
+ static names(): { [key: string]: string } {
5965
+ return {
5966
+ headers: 'headers',
5967
+ statusCode: 'statusCode',
5968
+ body: 'body',
5969
+ };
5970
+ }
5971
+
5972
+ static types(): { [key: string]: any } {
5973
+ return {
5974
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5975
+ statusCode: 'number',
5976
+ body: MoveResourceGroupResponseBody,
5977
+ };
5978
+ }
5979
+
5980
+ constructor(map?: { [key: string]: any }) {
5981
+ super(map);
5982
+ }
5983
+ }
5984
+
5876
5985
  export class QuerySchedruleOnDemandRequest extends $tea.Model {
5877
5986
  /**
5878
5987
  * @remarks
@@ -6956,14 +7065,81 @@ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList ext
6956
7065
  }
6957
7066
 
6958
7067
  export class DescribeDdosOriginInstanceBillResponseBodyMonthlySummaryList extends $tea.Model {
7068
+ /**
7069
+ * @remarks
7070
+ * The number of days that the instance is activated.
7071
+ *
7072
+ * @example
7073
+ * 30
7074
+ */
6959
7075
  enableDays?: number;
7076
+ /**
7077
+ * @remarks
7078
+ * The total traffic of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland. Unit: bytes.
7079
+ *
7080
+ * @example
7081
+ * 123456
7082
+ */
6960
7083
  flowCn?: number;
7084
+ /**
7085
+ * @remarks
7086
+ * The total traffic of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland. Unit: bytes.
7087
+ *
7088
+ * @example
7089
+ * 123456
7090
+ */
6961
7091
  flowIntl?: number;
7092
+ /**
7093
+ * @remarks
7094
+ * The total number of protected IP addresses in the Chinese mainland.
7095
+ *
7096
+ * > The total number of protected IP addresses is the sum of the daily numbers of protected IP addresses in a month.
7097
+ *
7098
+ * @example
7099
+ * 28
7100
+ */
6962
7101
  ipCountCn?: number;
7102
+ /**
7103
+ * @remarks
7104
+ * The total number of protected IP addresses outside the Chinese mainland.
7105
+ *
7106
+ * > The total number of protected IP addresses is the sum of the daily numbers of protected IP addresses in a month.
7107
+ *
7108
+ * @example
7109
+ * 30
7110
+ */
6963
7111
  ipCountIntl?: number;
7112
+ /**
7113
+ * @remarks
7114
+ * The ID of the member.
7115
+ *
7116
+ * @example
7117
+ * 112873971277****
7118
+ */
6964
7119
  memberUid?: string;
7120
+ /**
7121
+ * @remarks
7122
+ * The total traffic of regular Alibaba Cloud services in the Chinese mainland. Unit: bytes.
7123
+ *
7124
+ * @example
7125
+ * 123456
7126
+ */
6965
7127
  standardAssetsFlowCn?: number;
7128
+ /**
7129
+ * @remarks
7130
+ * The total traffic of regular Alibaba Cloud services outside the Chinese mainland. Unit: bytes.
7131
+ *
7132
+ * @example
7133
+ * 123456
7134
+ */
6966
7135
  standardAssetsFlowIntl?: number;
7136
+ /**
7137
+ * @remarks
7138
+ * The ID of the administrator account.
7139
+ *
7140
+ * @example
7141
+ * 102518028277****
7142
+ */
6967
7143
  uid?: string;
6968
7144
  static names(): { [key: string]: string } {
6969
7145
  return {
@@ -13413,6 +13589,60 @@ export default class Client extends OpenApi {
13413
13589
  return await this.modifyRemarkWithOptions(request, runtime);
13414
13590
  }
13415
13591
 
13592
+ /**
13593
+ * 移动资源组
13594
+ *
13595
+ * @param request - MoveResourceGroupRequest
13596
+ * @param runtime - runtime options for this request RuntimeOptions
13597
+ * @returns MoveResourceGroupResponse
13598
+ */
13599
+ async moveResourceGroupWithOptions(request: MoveResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<MoveResourceGroupResponse> {
13600
+ Util.validateModel(request);
13601
+ let query = { };
13602
+ if (!Util.isUnset(request.resourceGroupId)) {
13603
+ query["ResourceGroupId"] = request.resourceGroupId;
13604
+ }
13605
+
13606
+ if (!Util.isUnset(request.resourceId)) {
13607
+ query["ResourceId"] = request.resourceId;
13608
+ }
13609
+
13610
+ if (!Util.isUnset(request.resourceRegionId)) {
13611
+ query["ResourceRegionId"] = request.resourceRegionId;
13612
+ }
13613
+
13614
+ if (!Util.isUnset(request.resourceType)) {
13615
+ query["ResourceType"] = request.resourceType;
13616
+ }
13617
+
13618
+ let req = new $OpenApi.OpenApiRequest({
13619
+ query: OpenApiUtil.query(query),
13620
+ });
13621
+ let params = new $OpenApi.Params({
13622
+ action: "MoveResourceGroup",
13623
+ version: "2018-07-20",
13624
+ protocol: "HTTPS",
13625
+ pathname: "/",
13626
+ method: "POST",
13627
+ authType: "AK",
13628
+ style: "RPC",
13629
+ reqBodyType: "formData",
13630
+ bodyType: "json",
13631
+ });
13632
+ return $tea.cast<MoveResourceGroupResponse>(await this.callApi(params, req, runtime), new MoveResourceGroupResponse({}));
13633
+ }
13634
+
13635
+ /**
13636
+ * 移动资源组
13637
+ *
13638
+ * @param request - MoveResourceGroupRequest
13639
+ * @returns MoveResourceGroupResponse
13640
+ */
13641
+ async moveResourceGroup(request: MoveResourceGroupRequest): Promise<MoveResourceGroupResponse> {
13642
+ let runtime = new $Util.RuntimeOptions({ });
13643
+ return await this.moveResourceGroupWithOptions(request, runtime);
13644
+ }
13645
+
13416
13646
  /**
13417
13647
  * Queries the scheduling rule of an on-demand instance.
13418
13648
  *