@huaweicloud/huaweicloud-sdk-cfw 3.1.18 → 3.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/package.json +2 -2
  2. package/v1/CfwClient.d.ts +87 -1
  3. package/v1/CfwClient.js +659 -1
  4. package/v1/model/AddAddressItemsUsingPostRequest.d.ts +8 -0
  5. package/v1/model/AddAddressItemsUsingPostRequest.js +28 -0
  6. package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +8 -0
  7. package/v1/model/AddAddressSetInfoUsingPostRequest.js +28 -0
  8. package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +8 -0
  9. package/v1/model/AddBlackWhiteListUsingPostRequest.js +28 -0
  10. package/v1/model/AddRuleAclUsingPostRequest.d.ts +8 -0
  11. package/v1/model/AddRuleAclUsingPostRequest.js +28 -0
  12. package/v1/model/AddServiceItemsUsingPostRequest.d.ts +8 -0
  13. package/v1/model/AddServiceItemsUsingPostRequest.js +28 -0
  14. package/v1/model/AddServiceSetUsingPostRequest.d.ts +8 -0
  15. package/v1/model/AddServiceSetUsingPostRequest.js +28 -0
  16. package/v1/model/ChangeEwProtectStatusRequest.d.ts +8 -0
  17. package/v1/model/ChangeEwProtectStatusRequest.js +28 -0
  18. package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +8 -0
  19. package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +28 -0
  20. package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +8 -0
  21. package/v1/model/ChangeIpsSwitchUsingPostRequest.js +28 -0
  22. package/v1/model/ChangeProtectEipRequest.d.ts +8 -0
  23. package/v1/model/ChangeProtectEipRequest.js +28 -0
  24. package/v1/model/CountEipsRequest.d.ts +8 -0
  25. package/v1/model/CountEipsRequest.js +28 -0
  26. package/v1/model/DeleteAclRuleCountRequest.d.ts +8 -0
  27. package/v1/model/DeleteAclRuleCountRequest.js +28 -0
  28. package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +8 -0
  29. package/v1/model/DeleteAddressItemUsingDeleteRequest.js +28 -0
  30. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +8 -0
  31. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +28 -0
  32. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +8 -0
  33. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +28 -0
  34. package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +8 -0
  35. package/v1/model/DeleteRuleAclUsingDeleteRequest.js +28 -0
  36. package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +8 -0
  37. package/v1/model/DeleteServiceItemUsingDeleteRequest.js +28 -0
  38. package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +8 -0
  39. package/v1/model/DeleteServiceSetUsingDeleteRequest.js +28 -0
  40. package/v1/model/EipResource.d.ts +12 -0
  41. package/v1/model/EipResource.js +42 -0
  42. package/v1/model/GetFirewallInstanceResponseRecord.d.ts +8 -0
  43. package/v1/model/GetFirewallInstanceResponseRecord.js +28 -0
  44. package/v1/model/ListAccessControlLogsRequest.d.ts +4 -0
  45. package/v1/model/ListAccessControlLogsRequest.js +14 -0
  46. package/v1/model/ListAddressItemsUsingGetRequest.d.ts +8 -0
  47. package/v1/model/ListAddressItemsUsingGetRequest.js +28 -0
  48. package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +8 -0
  49. package/v1/model/ListAddressSetDetailUsingGetRequest.js +28 -0
  50. package/v1/model/ListAddressSetListUsingGetRequest.d.ts +8 -0
  51. package/v1/model/ListAddressSetListUsingGetRequest.js +28 -0
  52. package/v1/model/ListAttackLogsRequest.d.ts +4 -0
  53. package/v1/model/ListAttackLogsRequest.js +14 -0
  54. package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +8 -0
  55. package/v1/model/ListBlackWhiteListsUsingGetRequest.js +28 -0
  56. package/v1/model/ListDnsServersRequest.d.ts +8 -0
  57. package/v1/model/ListDnsServersRequest.js +28 -0
  58. package/v1/model/ListEastWestFirewallRequest.d.ts +8 -0
  59. package/v1/model/ListEastWestFirewallRequest.js +28 -0
  60. package/v1/model/ListEipResourcesRequest.d.ts +12 -0
  61. package/v1/model/ListEipResourcesRequest.js +42 -0
  62. package/v1/model/ListFirewallUsingGetRequest.d.ts +8 -0
  63. package/v1/model/ListFirewallUsingGetRequest.js +28 -0
  64. package/v1/model/ListFlowLogsRequest.d.ts +4 -0
  65. package/v1/model/ListFlowLogsRequest.js +14 -0
  66. package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +8 -0
  67. package/v1/model/ListIpsProtectModeUsingPostRequest.js +28 -0
  68. package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +8 -0
  69. package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +28 -0
  70. package/v1/model/ListParseDomainDetailsRequest.d.ts +8 -0
  71. package/v1/model/ListParseDomainDetailsRequest.js +28 -0
  72. package/v1/model/ListRuleAclUsingPutRequest.d.ts +8 -0
  73. package/v1/model/ListRuleAclUsingPutRequest.js +28 -0
  74. package/v1/model/ListRuleAclsUsingGetRequest.d.ts +8 -0
  75. package/v1/model/ListRuleAclsUsingGetRequest.js +28 -0
  76. package/v1/model/ListRuleHitCountRequest.d.ts +8 -0
  77. package/v1/model/ListRuleHitCountRequest.js +28 -0
  78. package/v1/model/ListServiceItemsDetailsRequest.d.ts +8 -0
  79. package/v1/model/ListServiceItemsDetailsRequest.js +28 -0
  80. package/v1/model/ListServiceSetDetailsRequest.d.ts +8 -0
  81. package/v1/model/ListServiceSetDetailsRequest.js +28 -0
  82. package/v1/model/ListServiceSetRequest.d.ts +8 -0
  83. package/v1/model/ListServiceSetRequest.js +28 -0
  84. package/v1/model/ListVpcProtectsRequest.d.ts +8 -0
  85. package/v1/model/ListVpcProtectsRequest.js +28 -0
  86. package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +8 -0
  87. package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +28 -0
  88. package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +8 -0
  89. package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +28 -0
  90. package/v1/model/UpdateDnsServersRequest.d.ts +8 -0
  91. package/v1/model/UpdateDnsServersRequest.js +28 -0
  92. package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +8 -0
  93. package/v1/model/UpdateRuleAclUsingPutRequest.js +28 -0
  94. package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +8 -0
  95. package/v1/model/UpdateServiceSetUsingPutRequest.js +28 -0
@@ -1,10 +1,18 @@
1
1
  import { AddAddressItemsInfoDto } from './AddAddressItemsInfoDto';
2
2
  export declare class AddAddressItemsUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: AddAddressItemsInfoDto;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): AddAddressItemsUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): AddAddressItemsUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): AddAddressItemsUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: AddAddressItemsInfoDto): AddAddressItemsUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var AddAddressItemsUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ AddAddressItemsUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(AddAddressItemsUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ AddAddressItemsUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(AddAddressItemsUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  AddAddressItemsUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { AddAddressSetDto } from './AddAddressSetDto';
2
2
  export declare class AddAddressSetInfoUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: AddAddressSetDto;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): AddAddressSetInfoUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): AddAddressSetInfoUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): AddAddressSetInfoUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: AddAddressSetDto): AddAddressSetInfoUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var AddAddressSetInfoUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ AddAddressSetInfoUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(AddAddressSetInfoUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ AddAddressSetInfoUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(AddAddressSetInfoUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  AddAddressSetInfoUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { AddBlackWhiteListDto } from './AddBlackWhiteListDto';
2
2
  export declare class AddBlackWhiteListUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: AddBlackWhiteListDto;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): AddBlackWhiteListUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): AddBlackWhiteListUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): AddBlackWhiteListUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: AddBlackWhiteListDto): AddBlackWhiteListUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var AddBlackWhiteListUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ AddBlackWhiteListUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(AddBlackWhiteListUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ AddBlackWhiteListUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(AddBlackWhiteListUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  AddBlackWhiteListUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { AddRuleAclDto } from './AddRuleAclDto';
2
2
  export declare class AddRuleAclUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: AddRuleAclDto;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): AddRuleAclUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): AddRuleAclUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): AddRuleAclUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: AddRuleAclDto): AddRuleAclUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var AddRuleAclUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ AddRuleAclUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(AddRuleAclUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ AddRuleAclUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(AddRuleAclUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  AddRuleAclUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { AddServiceItemsUsingPOSTRequestBody } from './AddServiceItemsUsingPOSTRequestBody';
2
2
  export declare class AddServiceItemsUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: AddServiceItemsUsingPOSTRequestBody;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): AddServiceItemsUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): AddServiceItemsUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): AddServiceItemsUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: AddServiceItemsUsingPOSTRequestBody): AddServiceItemsUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var AddServiceItemsUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ AddServiceItemsUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(AddServiceItemsUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ AddServiceItemsUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(AddServiceItemsUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  AddServiceItemsUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { AddServiceSetUsingPOSTRequestBody } from './AddServiceSetUsingPOSTRequestBody';
2
2
  export declare class AddServiceSetUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: AddServiceSetUsingPOSTRequestBody;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): AddServiceSetUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): AddServiceSetUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): AddServiceSetUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: AddServiceSetUsingPOSTRequestBody): AddServiceSetUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var AddServiceSetUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ AddServiceSetUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(AddServiceSetUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ AddServiceSetUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(AddServiceSetUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  AddServiceSetUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { ChangeProtectStatusRequestBody } from './ChangeProtectStatusRequestBody';
2
2
  export declare class ChangeEwProtectStatusRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: ChangeProtectStatusRequestBody;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): ChangeEwProtectStatusRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): ChangeEwProtectStatusRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): ChangeEwProtectStatusRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: ChangeProtectStatusRequestBody): ChangeEwProtectStatusRequest;
10
18
  }
@@ -19,6 +19,34 @@ var ChangeEwProtectStatusRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ ChangeEwProtectStatusRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(ChangeEwProtectStatusRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ ChangeEwProtectStatusRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(ChangeEwProtectStatusRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  ChangeEwProtectStatusRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { IpsProtectDTO } from './IpsProtectDTO';
2
2
  export declare class ChangeIpsProtectModeUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: IpsProtectDTO;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): ChangeIpsProtectModeUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): ChangeIpsProtectModeUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): ChangeIpsProtectModeUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: IpsProtectDTO): ChangeIpsProtectModeUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var ChangeIpsProtectModeUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ ChangeIpsProtectModeUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(ChangeIpsProtectModeUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ ChangeIpsProtectModeUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(ChangeIpsProtectModeUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  ChangeIpsProtectModeUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { IpsSwitchDTO } from './IpsSwitchDTO';
2
2
  export declare class ChangeIpsSwitchUsingPostRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: IpsSwitchDTO;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): ChangeIpsSwitchUsingPostRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): ChangeIpsSwitchUsingPostRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): ChangeIpsSwitchUsingPostRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: IpsSwitchDTO): ChangeIpsSwitchUsingPostRequest;
10
18
  }
@@ -19,6 +19,34 @@ var ChangeIpsSwitchUsingPostRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ ChangeIpsSwitchUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(ChangeIpsSwitchUsingPostRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ ChangeIpsSwitchUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(ChangeIpsSwitchUsingPostRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  ChangeIpsSwitchUsingPostRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,10 +1,18 @@
1
1
  import { EipOperateProtectReq } from './EipOperateProtectReq';
2
2
  export declare class ChangeProtectEipRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: EipOperateProtectReq;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): ChangeProtectEipRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): ChangeProtectEipRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): ChangeProtectEipRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: EipOperateProtectReq): ChangeProtectEipRequest;
10
18
  }
@@ -19,6 +19,34 @@ var ChangeProtectEipRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ ChangeProtectEipRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(ChangeProtectEipRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ ChangeProtectEipRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(ChangeProtectEipRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  ChangeProtectEipRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;
@@ -1,6 +1,8 @@
1
1
  export declare class CountEipsRequest {
2
2
  private 'project_id';
3
3
  private 'object_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  constructor(projectId?: any, objectId?: any);
5
7
  withProjectId(projectId: string): CountEipsRequest;
6
8
  set projectId(projectId: string | undefined);
@@ -8,4 +10,10 @@ export declare class CountEipsRequest {
8
10
  withObjectId(objectId: string): CountEipsRequest;
9
11
  set objectId(objectId: string | undefined);
10
12
  get objectId(): string | undefined;
13
+ withEnterpriseProjectId(enterpriseProjectId: string): CountEipsRequest;
14
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
15
+ get enterpriseProjectId(): string | undefined;
16
+ withFwInstanceId(fwInstanceId: string): CountEipsRequest;
17
+ set fwInstanceId(fwInstanceId: string | undefined);
18
+ get fwInstanceId(): string | undefined;
11
19
  }
@@ -34,6 +34,34 @@ var CountEipsRequest = /** @class */ (function () {
34
34
  enumerable: false,
35
35
  configurable: true
36
36
  });
37
+ CountEipsRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
38
+ this['enterprise_project_id'] = enterpriseProjectId;
39
+ return this;
40
+ };
41
+ Object.defineProperty(CountEipsRequest.prototype, "enterpriseProjectId", {
42
+ get: function () {
43
+ return this['enterprise_project_id'];
44
+ },
45
+ set: function (enterpriseProjectId) {
46
+ this['enterprise_project_id'] = enterpriseProjectId;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ CountEipsRequest.prototype.withFwInstanceId = function (fwInstanceId) {
52
+ this['fw_instance_id'] = fwInstanceId;
53
+ return this;
54
+ };
55
+ Object.defineProperty(CountEipsRequest.prototype, "fwInstanceId", {
56
+ get: function () {
57
+ return this['fw_instance_id'];
58
+ },
59
+ set: function (fwInstanceId) {
60
+ this['fw_instance_id'] = fwInstanceId;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
37
65
  return CountEipsRequest;
38
66
  }());
39
67
  exports.CountEipsRequest = CountEipsRequest;
@@ -1,10 +1,18 @@
1
1
  import { ClearAccessLogRuleHitCountsDto } from './ClearAccessLogRuleHitCountsDto';
2
2
  export declare class DeleteAclRuleCountRequest {
3
3
  private 'project_id';
4
+ private 'enterprise_project_id'?;
5
+ private 'fw_instance_id'?;
4
6
  body?: ClearAccessLogRuleHitCountsDto;
5
7
  constructor(projectId?: any);
6
8
  withProjectId(projectId: string): DeleteAclRuleCountRequest;
7
9
  set projectId(projectId: string | undefined);
8
10
  get projectId(): string | undefined;
11
+ withEnterpriseProjectId(enterpriseProjectId: string): DeleteAclRuleCountRequest;
12
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
+ get enterpriseProjectId(): string | undefined;
14
+ withFwInstanceId(fwInstanceId: string): DeleteAclRuleCountRequest;
15
+ set fwInstanceId(fwInstanceId: string | undefined);
16
+ get fwInstanceId(): string | undefined;
9
17
  withBody(body: ClearAccessLogRuleHitCountsDto): DeleteAclRuleCountRequest;
10
18
  }
@@ -19,6 +19,34 @@ var DeleteAclRuleCountRequest = /** @class */ (function () {
19
19
  enumerable: false,
20
20
  configurable: true
21
21
  });
22
+ DeleteAclRuleCountRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
+ this['enterprise_project_id'] = enterpriseProjectId;
24
+ return this;
25
+ };
26
+ Object.defineProperty(DeleteAclRuleCountRequest.prototype, "enterpriseProjectId", {
27
+ get: function () {
28
+ return this['enterprise_project_id'];
29
+ },
30
+ set: function (enterpriseProjectId) {
31
+ this['enterprise_project_id'] = enterpriseProjectId;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ DeleteAclRuleCountRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
+ this['fw_instance_id'] = fwInstanceId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(DeleteAclRuleCountRequest.prototype, "fwInstanceId", {
41
+ get: function () {
42
+ return this['fw_instance_id'];
43
+ },
44
+ set: function (fwInstanceId) {
45
+ this['fw_instance_id'] = fwInstanceId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
22
50
  DeleteAclRuleCountRequest.prototype.withBody = function (body) {
23
51
  this['body'] = body;
24
52
  return this;