@huaweicloud/huaweicloud-sdk-cfw 3.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-cfw.d.ts +1 -0
- package/huaweicloud-sdk-cfw.js +17 -0
- package/package.json +19 -0
- package/v1/CfwClient.d.ts +1434 -0
- package/v1/CfwClient.js +3455 -0
- package/v1/CfwRegion.d.ts +16 -0
- package/v1/CfwRegion.js +47 -0
- package/v1/model/AddAddressItemsInfoDto.d.ts +12 -0
- package/v1/model/AddAddressItemsInfoDto.js +37 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +13 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +36 -0
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +10 -0
- package/v1/model/AddAddressItemsUsingPostRequest.js +28 -0
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +7 -0
- package/v1/model/AddAddressItemsUsingPostResponse.js +31 -0
- package/v1/model/AddAddressSetDto.d.ts +23 -0
- package/v1/model/AddAddressSetDto.js +56 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +10 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +28 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +7 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +31 -0
- package/v1/model/AddBlackWhiteListDto.d.ts +23 -0
- package/v1/model/AddBlackWhiteListDto.js +74 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +10 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +28 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +7 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +31 -0
- package/v1/model/AddRuleAclDto.d.ts +21 -0
- package/v1/model/AddRuleAclDto.js +44 -0
- package/v1/model/AddRuleAclDtoRules.d.ts +83 -0
- package/v1/model/AddRuleAclDtoRules.js +189 -0
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +10 -0
- package/v1/model/AddRuleAclUsingPostRequest.js +28 -0
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +7 -0
- package/v1/model/AddRuleAclUsingPostResponse.js +31 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +12 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +39 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +21 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +66 -0
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +10 -0
- package/v1/model/AddServiceItemsUsingPostRequest.js +28 -0
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +7 -0
- package/v1/model/AddServiceItemsUsingPostResponse.js +31 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +11 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +33 -0
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +10 -0
- package/v1/model/AddServiceSetUsingPostRequest.js +28 -0
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +7 -0
- package/v1/model/AddServiceSetUsingPostResponse.js +31 -0
- package/v1/model/AddressItemListResponseDTOData.d.ts +16 -0
- package/v1/model/AddressItemListResponseDTOData.js +39 -0
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +17 -0
- package/v1/model/AddressItemListResponseDTODataRecords.js +49 -0
- package/v1/model/AddressItems.d.ts +6 -0
- package/v1/model/AddressItems.js +13 -0
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +21 -0
- package/v1/model/AddressSetDetailResponseDTOData.js +44 -0
- package/v1/model/AddressSetListResponseDTOData.d.ts +12 -0
- package/v1/model/AddressSetListResponseDTOData.js +25 -0
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +19 -0
- package/v1/model/AddressSetListResponseDTODataRecords.js +59 -0
- package/v1/model/BlackWhiteListResponseData.d.ts +16 -0
- package/v1/model/BlackWhiteListResponseData.js +39 -0
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +19 -0
- package/v1/model/BlackWhiteListResponseDataRecords.js +53 -0
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +10 -0
- package/v1/model/ChangeEwProtectStatusRequest.js +28 -0
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +11 -0
- package/v1/model/ChangeEwProtectStatusResponse.js +45 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +10 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +28 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +7 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +31 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +10 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +28 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +11 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +45 -0
- package/v1/model/ChangeProtectEipRequest.d.ts +10 -0
- package/v1/model/ChangeProtectEipRequest.js +28 -0
- package/v1/model/ChangeProtectEipResponse.d.ts +7 -0
- package/v1/model/ChangeProtectEipResponse.js +31 -0
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +17 -0
- package/v1/model/ChangeProtectStatusRequestBody.js +38 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +7 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +24 -0
- package/v1/model/CommonResponseDTOData.d.ts +5 -0
- package/v1/model/CommonResponseDTOData.js +13 -0
- package/v1/model/CountEipsRequest.d.ts +11 -0
- package/v1/model/CountEipsRequest.js +39 -0
- package/v1/model/CountEipsResponse.d.ts +16 -0
- package/v1/model/CountEipsResponse.js +69 -0
- package/v1/model/DeleteAclRuleCountRequest.d.ts +10 -0
- package/v1/model/DeleteAclRuleCountRequest.js +28 -0
- package/v1/model/DeleteAclRuleCountResponse.d.ts +6 -0
- package/v1/model/DeleteAclRuleCountResponse.js +31 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +31 -0
- package/v1/model/DnsServersResponseDTO.d.ts +17 -0
- package/v1/model/DnsServersResponseDTO.js +55 -0
- package/v1/model/EipOperateProtectReq.d.ts +14 -0
- package/v1/model/EipOperateProtectReq.js +44 -0
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +13 -0
- package/v1/model/EipOperateProtectReqIpInfos.js +41 -0
- package/v1/model/ErInstance.d.ts +21 -0
- package/v1/model/ErInstance.js +63 -0
- package/v1/model/EwProtectResourceInfo.d.ts +27 -0
- package/v1/model/EwProtectResourceInfo.js +96 -0
- package/v1/model/Flavor.d.ts +29 -0
- package/v1/model/Flavor.js +70 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +41 -0
- package/v1/model/GetEastWestFirewallResponseBody.js +113 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +41 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +133 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +70 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +200 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +49 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +136 -0
- package/v1/model/IdObject.d.ts +5 -0
- package/v1/model/IdObject.js +13 -0
- package/v1/model/IpsProtectDTO.d.ts +9 -0
- package/v1/model/IpsProtectDTO.js +27 -0
- package/v1/model/IpsSwitchDTO.d.ts +21 -0
- package/v1/model/IpsSwitchDTO.js +52 -0
- package/v1/model/ListAccessControlLogsRequest.d.ts +68 -0
- package/v1/model/ListAccessControlLogsRequest.js +208 -0
- package/v1/model/ListAccessControlLogsResponse.d.ts +7 -0
- package/v1/model/ListAccessControlLogsResponse.js +31 -0
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +21 -0
- package/v1/model/ListAddressItemsUsingGetRequest.js +67 -0
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressItemsUsingGetResponse.js +31 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +11 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +39 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +31 -0
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +33 -0
- package/v1/model/ListAddressSetListUsingGetRequest.js +90 -0
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressSetListUsingGetResponse.js +31 -0
- package/v1/model/ListAttackLogsRequest.d.ts +93 -0
- package/v1/model/ListAttackLogsRequest.js +242 -0
- package/v1/model/ListAttackLogsResponse.d.ts +7 -0
- package/v1/model/ListAttackLogsResponse.js +31 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +44 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +105 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +31 -0
- package/v1/model/ListDnsServersRequest.d.ts +11 -0
- package/v1/model/ListDnsServersRequest.js +32 -0
- package/v1/model/ListDnsServersResponse.d.ts +9 -0
- package/v1/model/ListDnsServersResponse.js +35 -0
- package/v1/model/ListEastWestFirewallRequest.d.ts +11 -0
- package/v1/model/ListEastWestFirewallRequest.js +34 -0
- package/v1/model/ListEastWestFirewallResponse.d.ts +7 -0
- package/v1/model/ListEastWestFirewallResponse.js +31 -0
- package/v1/model/ListEipResourcesRequest.d.ts +52 -0
- package/v1/model/ListEipResourcesRequest.js +132 -0
- package/v1/model/ListEipResourcesResponse.d.ts +44 -0
- package/v1/model/ListEipResourcesResponse.js +142 -0
- package/v1/model/ListFirewallUsingGetRequest.d.ts +23 -0
- package/v1/model/ListFirewallUsingGetRequest.js +58 -0
- package/v1/model/ListFirewallUsingGetResponse.d.ts +79 -0
- package/v1/model/ListFirewallUsingGetResponse.js +203 -0
- package/v1/model/ListFlowLogsRequest.d.ts +76 -0
- package/v1/model/ListFlowLogsRequest.js +209 -0
- package/v1/model/ListFlowLogsResponse.d.ts +7 -0
- package/v1/model/ListFlowLogsResponse.js +31 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +11 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +39 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +10 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +45 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +11 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +39 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +16 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +69 -0
- package/v1/model/ListParseDomainDetailsRequest.d.ts +11 -0
- package/v1/model/ListParseDomainDetailsRequest.js +39 -0
- package/v1/model/ListParseDomainDetailsResponse.d.ts +6 -0
- package/v1/model/ListParseDomainDetailsResponse.js +31 -0
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +14 -0
- package/v1/model/ListRuleAclUsingPutRequest.js +43 -0
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +7 -0
- package/v1/model/ListRuleAclUsingPutResponse.js +31 -0
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +79 -0
- package/v1/model/ListRuleAclsUsingGetRequest.js +150 -0
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListRuleAclsUsingGetResponse.js +31 -0
- package/v1/model/ListRuleHitCountDto.d.ts +7 -0
- package/v1/model/ListRuleHitCountDto.js +24 -0
- package/v1/model/ListRuleHitCountRequest.d.ts +10 -0
- package/v1/model/ListRuleHitCountRequest.js +28 -0
- package/v1/model/ListRuleHitCountResponse.d.ts +7 -0
- package/v1/model/ListRuleHitCountResponse.js +31 -0
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +19 -0
- package/v1/model/ListServiceItemsDetailsRequest.js +63 -0
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +7 -0
- package/v1/model/ListServiceItemsDetailsResponse.js +31 -0
- package/v1/model/ListServiceSetDetailsRequest.d.ts +11 -0
- package/v1/model/ListServiceSetDetailsRequest.js +39 -0
- package/v1/model/ListServiceSetDetailsResponse.d.ts +10 -0
- package/v1/model/ListServiceSetDetailsResponse.js +39 -0
- package/v1/model/ListServiceSetRequest.d.ts +19 -0
- package/v1/model/ListServiceSetRequest.js +63 -0
- package/v1/model/ListServiceSetResponse.d.ts +7 -0
- package/v1/model/ListServiceSetResponse.js +31 -0
- package/v1/model/ListVpcProtectsRequest.d.ts +11 -0
- package/v1/model/ListVpcProtectsRequest.js +39 -0
- package/v1/model/ListVpcProtectsResponse.d.ts +11 -0
- package/v1/model/ListVpcProtectsResponse.js +45 -0
- package/v1/model/OrderRuleAclDto.d.ts +9 -0
- package/v1/model/OrderRuleAclDto.js +27 -0
- package/v1/model/Packet.d.ts +13 -0
- package/v1/model/Packet.js +41 -0
- package/v1/model/ProtectObjectVO.d.ts +21 -0
- package/v1/model/ProtectObjectVO.js +50 -0
- package/v1/model/RuleAclListResponseDTOData.d.ts +16 -0
- package/v1/model/RuleAclListResponseDTOData.js +39 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +62 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js +162 -0
- package/v1/model/RuleAddressDto.d.ts +23 -0
- package/v1/model/RuleAddressDto.js +74 -0
- package/v1/model/RuleHitCountObject.d.ts +11 -0
- package/v1/model/RuleHitCountObject.js +37 -0
- package/v1/model/RuleHitCountRecords.d.ts +12 -0
- package/v1/model/RuleHitCountRecords.js +25 -0
- package/v1/model/RuleId.d.ts +5 -0
- package/v1/model/RuleId.js +13 -0
- package/v1/model/RuleIdList.d.ts +6 -0
- package/v1/model/RuleIdList.js +13 -0
- package/v1/model/RuleServiceDto.d.ts +23 -0
- package/v1/model/RuleServiceDto.js +74 -0
- package/v1/model/ServiceItemIds.d.ts +6 -0
- package/v1/model/ServiceItemIds.js +13 -0
- package/v1/model/ServiceItemListResponseDtoData.d.ts +12 -0
- package/v1/model/ServiceItemListResponseDtoData.js +25 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +21 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +63 -0
- package/v1/model/ServiceSet.d.ts +17 -0
- package/v1/model/ServiceSet.js +49 -0
- package/v1/model/ServiceSetRecords.d.ts +12 -0
- package/v1/model/ServiceSetRecords.js +25 -0
- package/v1/model/SubnetInfo.d.ts +23 -0
- package/v1/model/SubnetInfo.js +69 -0
- package/v1/model/SuccessRspData.d.ts +5 -0
- package/v1/model/SuccessRspData.js +13 -0
- package/v1/model/Tag.d.ts +7 -0
- package/v1/model/Tag.js +17 -0
- package/v1/model/UpdateAddressSetDto.d.ts +7 -0
- package/v1/model/UpdateAddressSetDto.js +17 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +43 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +31 -0
- package/v1/model/UpdateBlackWhiteListDto.d.ts +15 -0
- package/v1/model/UpdateBlackWhiteListDto.js +39 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +43 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +31 -0
- package/v1/model/UpdateDnsServersRequest.d.ts +10 -0
- package/v1/model/UpdateDnsServersRequest.js +28 -0
- package/v1/model/UpdateDnsServersRequestBody.d.ts +8 -0
- package/v1/model/UpdateDnsServersRequestBody.js +23 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +15 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +51 -0
- package/v1/model/UpdateDnsServersResponse.d.ts +6 -0
- package/v1/model/UpdateDnsServersResponse.js +31 -0
- package/v1/model/UpdateRuleAclDto.d.ts +82 -0
- package/v1/model/UpdateRuleAclDto.js +175 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.js +43 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.js +31 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +7 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +17 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.js +43 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.js +31 -0
- package/v1/model/VPCProtectsVo.d.ts +26 -0
- package/v1/model/VPCProtectsVo.js +83 -0
- package/v1/model/VpcAttachmentDetail.d.ts +42 -0
- package/v1/model/VpcAttachmentDetail.js +127 -0
- package/v1/model/VpcDetail.d.ts +11 -0
- package/v1/model/VpcDetail.js +25 -0
- package/v1/public-api.d.ts +155 -0
- package/v1/public-api.js +171 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare class ErInstance {
|
2
|
+
id?: string;
|
3
|
+
name?: string;
|
4
|
+
state?: string;
|
5
|
+
private 'enterprise_project_id'?;
|
6
|
+
private 'project_id'?;
|
7
|
+
private 'enable_ipv6'?;
|
8
|
+
constructor();
|
9
|
+
withId(id: string): ErInstance;
|
10
|
+
withName(name: string): ErInstance;
|
11
|
+
withState(state: string): ErInstance;
|
12
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ErInstance;
|
13
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
14
|
+
get enterpriseProjectId(): string | undefined;
|
15
|
+
withProjectId(projectId: string): ErInstance;
|
16
|
+
set projectId(projectId: string | undefined);
|
17
|
+
get projectId(): string | undefined;
|
18
|
+
withEnableIpv6(enableIpv6: string): ErInstance;
|
19
|
+
set enableIpv6(enableIpv6: string | undefined);
|
20
|
+
get enableIpv6(): string | undefined;
|
21
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ErInstance = void 0;
|
4
|
+
var ErInstance = /** @class */ (function () {
|
5
|
+
function ErInstance() {
|
6
|
+
}
|
7
|
+
ErInstance.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
ErInstance.prototype.withName = function (name) {
|
12
|
+
this['name'] = name;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
ErInstance.prototype.withState = function (state) {
|
16
|
+
this['state'] = state;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
ErInstance.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
20
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
21
|
+
return this;
|
22
|
+
};
|
23
|
+
Object.defineProperty(ErInstance.prototype, "enterpriseProjectId", {
|
24
|
+
get: function () {
|
25
|
+
return this['enterprise_project_id'];
|
26
|
+
},
|
27
|
+
set: function (enterpriseProjectId) {
|
28
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
29
|
+
},
|
30
|
+
enumerable: false,
|
31
|
+
configurable: true
|
32
|
+
});
|
33
|
+
ErInstance.prototype.withProjectId = function (projectId) {
|
34
|
+
this['project_id'] = projectId;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
Object.defineProperty(ErInstance.prototype, "projectId", {
|
38
|
+
get: function () {
|
39
|
+
return this['project_id'];
|
40
|
+
},
|
41
|
+
set: function (projectId) {
|
42
|
+
this['project_id'] = projectId;
|
43
|
+
},
|
44
|
+
enumerable: false,
|
45
|
+
configurable: true
|
46
|
+
});
|
47
|
+
ErInstance.prototype.withEnableIpv6 = function (enableIpv6) {
|
48
|
+
this['enable_ipv6'] = enableIpv6;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
Object.defineProperty(ErInstance.prototype, "enableIpv6", {
|
52
|
+
get: function () {
|
53
|
+
return this['enable_ipv6'];
|
54
|
+
},
|
55
|
+
set: function (enableIpv6) {
|
56
|
+
this['enable_ipv6'] = enableIpv6;
|
57
|
+
},
|
58
|
+
enumerable: false,
|
59
|
+
configurable: true
|
60
|
+
});
|
61
|
+
return ErInstance;
|
62
|
+
}());
|
63
|
+
exports.ErInstance = ErInstance;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export declare class EwProtectResourceInfo {
|
2
|
+
private 'protected_resource_type';
|
3
|
+
private 'protected_resource_name';
|
4
|
+
private 'protected_resource_id';
|
5
|
+
private 'protected_resource_nat_name'?;
|
6
|
+
private 'protected_resource_nat_id'?;
|
7
|
+
private 'protected_resource_project_id'?;
|
8
|
+
constructor(protectedResourceType?: any, protectedResourceName?: any, protectedResourceId?: any);
|
9
|
+
withProtectedResourceType(protectedResourceType: number): EwProtectResourceInfo;
|
10
|
+
set protectedResourceType(protectedResourceType: number | undefined);
|
11
|
+
get protectedResourceType(): number | undefined;
|
12
|
+
withProtectedResourceName(protectedResourceName: string): EwProtectResourceInfo;
|
13
|
+
set protectedResourceName(protectedResourceName: string | undefined);
|
14
|
+
get protectedResourceName(): string | undefined;
|
15
|
+
withProtectedResourceId(protectedResourceId: string): EwProtectResourceInfo;
|
16
|
+
set protectedResourceId(protectedResourceId: string | undefined);
|
17
|
+
get protectedResourceId(): string | undefined;
|
18
|
+
withProtectedResourceNatName(protectedResourceNatName: string): EwProtectResourceInfo;
|
19
|
+
set protectedResourceNatName(protectedResourceNatName: string | undefined);
|
20
|
+
get protectedResourceNatName(): string | undefined;
|
21
|
+
withProtectedResourceNatId(protectedResourceNatId: string): EwProtectResourceInfo;
|
22
|
+
set protectedResourceNatId(protectedResourceNatId: string | undefined);
|
23
|
+
get protectedResourceNatId(): string | undefined;
|
24
|
+
withProtectedResourceProjectId(protectedResourceProjectId: string): EwProtectResourceInfo;
|
25
|
+
set protectedResourceProjectId(protectedResourceProjectId: string | undefined);
|
26
|
+
get protectedResourceProjectId(): string | undefined;
|
27
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EwProtectResourceInfo = void 0;
|
4
|
+
var EwProtectResourceInfo = /** @class */ (function () {
|
5
|
+
function EwProtectResourceInfo(protectedResourceType, protectedResourceName, protectedResourceId) {
|
6
|
+
this['protected_resource_type'] = protectedResourceType;
|
7
|
+
this['protected_resource_name'] = protectedResourceName;
|
8
|
+
this['protected_resource_id'] = protectedResourceId;
|
9
|
+
}
|
10
|
+
EwProtectResourceInfo.prototype.withProtectedResourceType = function (protectedResourceType) {
|
11
|
+
this['protected_resource_type'] = protectedResourceType;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
Object.defineProperty(EwProtectResourceInfo.prototype, "protectedResourceType", {
|
15
|
+
get: function () {
|
16
|
+
return this['protected_resource_type'];
|
17
|
+
},
|
18
|
+
set: function (protectedResourceType) {
|
19
|
+
this['protected_resource_type'] = protectedResourceType;
|
20
|
+
},
|
21
|
+
enumerable: false,
|
22
|
+
configurable: true
|
23
|
+
});
|
24
|
+
EwProtectResourceInfo.prototype.withProtectedResourceName = function (protectedResourceName) {
|
25
|
+
this['protected_resource_name'] = protectedResourceName;
|
26
|
+
return this;
|
27
|
+
};
|
28
|
+
Object.defineProperty(EwProtectResourceInfo.prototype, "protectedResourceName", {
|
29
|
+
get: function () {
|
30
|
+
return this['protected_resource_name'];
|
31
|
+
},
|
32
|
+
set: function (protectedResourceName) {
|
33
|
+
this['protected_resource_name'] = protectedResourceName;
|
34
|
+
},
|
35
|
+
enumerable: false,
|
36
|
+
configurable: true
|
37
|
+
});
|
38
|
+
EwProtectResourceInfo.prototype.withProtectedResourceId = function (protectedResourceId) {
|
39
|
+
this['protected_resource_id'] = protectedResourceId;
|
40
|
+
return this;
|
41
|
+
};
|
42
|
+
Object.defineProperty(EwProtectResourceInfo.prototype, "protectedResourceId", {
|
43
|
+
get: function () {
|
44
|
+
return this['protected_resource_id'];
|
45
|
+
},
|
46
|
+
set: function (protectedResourceId) {
|
47
|
+
this['protected_resource_id'] = protectedResourceId;
|
48
|
+
},
|
49
|
+
enumerable: false,
|
50
|
+
configurable: true
|
51
|
+
});
|
52
|
+
EwProtectResourceInfo.prototype.withProtectedResourceNatName = function (protectedResourceNatName) {
|
53
|
+
this['protected_resource_nat_name'] = protectedResourceNatName;
|
54
|
+
return this;
|
55
|
+
};
|
56
|
+
Object.defineProperty(EwProtectResourceInfo.prototype, "protectedResourceNatName", {
|
57
|
+
get: function () {
|
58
|
+
return this['protected_resource_nat_name'];
|
59
|
+
},
|
60
|
+
set: function (protectedResourceNatName) {
|
61
|
+
this['protected_resource_nat_name'] = protectedResourceNatName;
|
62
|
+
},
|
63
|
+
enumerable: false,
|
64
|
+
configurable: true
|
65
|
+
});
|
66
|
+
EwProtectResourceInfo.prototype.withProtectedResourceNatId = function (protectedResourceNatId) {
|
67
|
+
this['protected_resource_nat_id'] = protectedResourceNatId;
|
68
|
+
return this;
|
69
|
+
};
|
70
|
+
Object.defineProperty(EwProtectResourceInfo.prototype, "protectedResourceNatId", {
|
71
|
+
get: function () {
|
72
|
+
return this['protected_resource_nat_id'];
|
73
|
+
},
|
74
|
+
set: function (protectedResourceNatId) {
|
75
|
+
this['protected_resource_nat_id'] = protectedResourceNatId;
|
76
|
+
},
|
77
|
+
enumerable: false,
|
78
|
+
configurable: true
|
79
|
+
});
|
80
|
+
EwProtectResourceInfo.prototype.withProtectedResourceProjectId = function (protectedResourceProjectId) {
|
81
|
+
this['protected_resource_project_id'] = protectedResourceProjectId;
|
82
|
+
return this;
|
83
|
+
};
|
84
|
+
Object.defineProperty(EwProtectResourceInfo.prototype, "protectedResourceProjectId", {
|
85
|
+
get: function () {
|
86
|
+
return this['protected_resource_project_id'];
|
87
|
+
},
|
88
|
+
set: function (protectedResourceProjectId) {
|
89
|
+
this['protected_resource_project_id'] = protectedResourceProjectId;
|
90
|
+
},
|
91
|
+
enumerable: false,
|
92
|
+
configurable: true
|
93
|
+
});
|
94
|
+
return EwProtectResourceInfo;
|
95
|
+
}());
|
96
|
+
exports.EwProtectResourceInfo = EwProtectResourceInfo;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export declare class Flavor {
|
2
|
+
version?: FlavorVersionEnum;
|
3
|
+
private 'eip_count'?;
|
4
|
+
private 'vpc_count'?;
|
5
|
+
bandwidth?: number;
|
6
|
+
private 'log_storage'?;
|
7
|
+
constructor();
|
8
|
+
withVersion(version: FlavorVersionEnum): Flavor;
|
9
|
+
withEipCount(eipCount: number): Flavor;
|
10
|
+
set eipCount(eipCount: number | undefined);
|
11
|
+
get eipCount(): number | undefined;
|
12
|
+
withVpcCount(vpcCount: number): Flavor;
|
13
|
+
set vpcCount(vpcCount: number | undefined);
|
14
|
+
get vpcCount(): number | undefined;
|
15
|
+
withBandwidth(bandwidth: number): Flavor;
|
16
|
+
withLogStorage(logStorage: number): Flavor;
|
17
|
+
set logStorage(logStorage: number | undefined);
|
18
|
+
get logStorage(): number | undefined;
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* @export
|
22
|
+
* @enum {string}
|
23
|
+
*/
|
24
|
+
export declare enum FlavorVersionEnum {
|
25
|
+
NUMBER_0 = 0,
|
26
|
+
NUMBER_1 = 1,
|
27
|
+
NUMBER_2 = 2,
|
28
|
+
NUMBER_3 = 3
|
29
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FlavorVersionEnum = exports.Flavor = void 0;
|
4
|
+
var Flavor = /** @class */ (function () {
|
5
|
+
function Flavor() {
|
6
|
+
}
|
7
|
+
Flavor.prototype.withVersion = function (version) {
|
8
|
+
this['version'] = version;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Flavor.prototype.withEipCount = function (eipCount) {
|
12
|
+
this['eip_count'] = eipCount;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(Flavor.prototype, "eipCount", {
|
16
|
+
get: function () {
|
17
|
+
return this['eip_count'];
|
18
|
+
},
|
19
|
+
set: function (eipCount) {
|
20
|
+
this['eip_count'] = eipCount;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
Flavor.prototype.withVpcCount = function (vpcCount) {
|
26
|
+
this['vpc_count'] = vpcCount;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(Flavor.prototype, "vpcCount", {
|
30
|
+
get: function () {
|
31
|
+
return this['vpc_count'];
|
32
|
+
},
|
33
|
+
set: function (vpcCount) {
|
34
|
+
this['vpc_count'] = vpcCount;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
Flavor.prototype.withBandwidth = function (bandwidth) {
|
40
|
+
this['bandwidth'] = bandwidth;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Flavor.prototype.withLogStorage = function (logStorage) {
|
44
|
+
this['log_storage'] = logStorage;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(Flavor.prototype, "logStorage", {
|
48
|
+
get: function () {
|
49
|
+
return this['log_storage'];
|
50
|
+
},
|
51
|
+
set: function (logStorage) {
|
52
|
+
this['log_storage'] = logStorage;
|
53
|
+
},
|
54
|
+
enumerable: false,
|
55
|
+
configurable: true
|
56
|
+
});
|
57
|
+
return Flavor;
|
58
|
+
}());
|
59
|
+
exports.Flavor = Flavor;
|
60
|
+
/**
|
61
|
+
* @export
|
62
|
+
* @enum {string}
|
63
|
+
*/
|
64
|
+
var FlavorVersionEnum;
|
65
|
+
(function (FlavorVersionEnum) {
|
66
|
+
FlavorVersionEnum[FlavorVersionEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
67
|
+
FlavorVersionEnum[FlavorVersionEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
68
|
+
FlavorVersionEnum[FlavorVersionEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
69
|
+
FlavorVersionEnum[FlavorVersionEnum["NUMBER_3"] = 3] = "NUMBER_3";
|
70
|
+
})(FlavorVersionEnum = exports.FlavorVersionEnum || (exports.FlavorVersionEnum = {}));
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { ErInstance } from './ErInstance';
|
2
|
+
import { EwProtectResourceInfo } from './EwProtectResourceInfo';
|
3
|
+
import { SubnetInfo } from './SubnetInfo';
|
4
|
+
import { VpcDetail } from './VpcDetail';
|
5
|
+
export declare class GetEastWestFirewallResponseBody {
|
6
|
+
private 'object_id'?;
|
7
|
+
private 'project_id'?;
|
8
|
+
status?: number;
|
9
|
+
private 'er_associated_subnet'?;
|
10
|
+
private 'firewall_associated_subnets'?;
|
11
|
+
er?: ErInstance;
|
12
|
+
private 'inspection_vpc'?;
|
13
|
+
private 'protected_infos'?;
|
14
|
+
total?: number;
|
15
|
+
offset?: number;
|
16
|
+
limit?: number;
|
17
|
+
constructor();
|
18
|
+
withObjectId(objectId: string): GetEastWestFirewallResponseBody;
|
19
|
+
set objectId(objectId: string | undefined);
|
20
|
+
get objectId(): string | undefined;
|
21
|
+
withProjectId(projectId: string): GetEastWestFirewallResponseBody;
|
22
|
+
set projectId(projectId: string | undefined);
|
23
|
+
get projectId(): string | undefined;
|
24
|
+
withStatus(status: number): GetEastWestFirewallResponseBody;
|
25
|
+
withErAssociatedSubnet(erAssociatedSubnet: SubnetInfo): GetEastWestFirewallResponseBody;
|
26
|
+
set erAssociatedSubnet(erAssociatedSubnet: SubnetInfo | undefined);
|
27
|
+
get erAssociatedSubnet(): SubnetInfo | undefined;
|
28
|
+
withFirewallAssociatedSubnets(firewallAssociatedSubnets: Array<SubnetInfo>): GetEastWestFirewallResponseBody;
|
29
|
+
set firewallAssociatedSubnets(firewallAssociatedSubnets: Array<SubnetInfo> | undefined);
|
30
|
+
get firewallAssociatedSubnets(): Array<SubnetInfo> | undefined;
|
31
|
+
withEr(er: ErInstance): GetEastWestFirewallResponseBody;
|
32
|
+
withInspectionVpc(inspectionVpc: VpcDetail): GetEastWestFirewallResponseBody;
|
33
|
+
set inspectionVpc(inspectionVpc: VpcDetail | undefined);
|
34
|
+
get inspectionVpc(): VpcDetail | undefined;
|
35
|
+
withProtectedInfos(protectedInfos: Array<EwProtectResourceInfo>): GetEastWestFirewallResponseBody;
|
36
|
+
set protectedInfos(protectedInfos: Array<EwProtectResourceInfo> | undefined);
|
37
|
+
get protectedInfos(): Array<EwProtectResourceInfo> | undefined;
|
38
|
+
withTotal(total: number): GetEastWestFirewallResponseBody;
|
39
|
+
withOffset(offset: number): GetEastWestFirewallResponseBody;
|
40
|
+
withLimit(limit: number): GetEastWestFirewallResponseBody;
|
41
|
+
}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetEastWestFirewallResponseBody = void 0;
|
4
|
+
var GetEastWestFirewallResponseBody = /** @class */ (function () {
|
5
|
+
function GetEastWestFirewallResponseBody() {
|
6
|
+
}
|
7
|
+
GetEastWestFirewallResponseBody.prototype.withObjectId = function (objectId) {
|
8
|
+
this['object_id'] = objectId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(GetEastWestFirewallResponseBody.prototype, "objectId", {
|
12
|
+
get: function () {
|
13
|
+
return this['object_id'];
|
14
|
+
},
|
15
|
+
set: function (objectId) {
|
16
|
+
this['object_id'] = objectId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
GetEastWestFirewallResponseBody.prototype.withProjectId = function (projectId) {
|
22
|
+
this['project_id'] = projectId;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(GetEastWestFirewallResponseBody.prototype, "projectId", {
|
26
|
+
get: function () {
|
27
|
+
return this['project_id'];
|
28
|
+
},
|
29
|
+
set: function (projectId) {
|
30
|
+
this['project_id'] = projectId;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
GetEastWestFirewallResponseBody.prototype.withStatus = function (status) {
|
36
|
+
this['status'] = status;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
GetEastWestFirewallResponseBody.prototype.withErAssociatedSubnet = function (erAssociatedSubnet) {
|
40
|
+
this['er_associated_subnet'] = erAssociatedSubnet;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(GetEastWestFirewallResponseBody.prototype, "erAssociatedSubnet", {
|
44
|
+
get: function () {
|
45
|
+
return this['er_associated_subnet'];
|
46
|
+
},
|
47
|
+
set: function (erAssociatedSubnet) {
|
48
|
+
this['er_associated_subnet'] = erAssociatedSubnet;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
GetEastWestFirewallResponseBody.prototype.withFirewallAssociatedSubnets = function (firewallAssociatedSubnets) {
|
54
|
+
this['firewall_associated_subnets'] = firewallAssociatedSubnets;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Object.defineProperty(GetEastWestFirewallResponseBody.prototype, "firewallAssociatedSubnets", {
|
58
|
+
get: function () {
|
59
|
+
return this['firewall_associated_subnets'];
|
60
|
+
},
|
61
|
+
set: function (firewallAssociatedSubnets) {
|
62
|
+
this['firewall_associated_subnets'] = firewallAssociatedSubnets;
|
63
|
+
},
|
64
|
+
enumerable: false,
|
65
|
+
configurable: true
|
66
|
+
});
|
67
|
+
GetEastWestFirewallResponseBody.prototype.withEr = function (er) {
|
68
|
+
this['er'] = er;
|
69
|
+
return this;
|
70
|
+
};
|
71
|
+
GetEastWestFirewallResponseBody.prototype.withInspectionVpc = function (inspectionVpc) {
|
72
|
+
this['inspection_vpc'] = inspectionVpc;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(GetEastWestFirewallResponseBody.prototype, "inspectionVpc", {
|
76
|
+
get: function () {
|
77
|
+
return this['inspection_vpc'];
|
78
|
+
},
|
79
|
+
set: function (inspectionVpc) {
|
80
|
+
this['inspection_vpc'] = inspectionVpc;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
GetEastWestFirewallResponseBody.prototype.withProtectedInfos = function (protectedInfos) {
|
86
|
+
this['protected_infos'] = protectedInfos;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
Object.defineProperty(GetEastWestFirewallResponseBody.prototype, "protectedInfos", {
|
90
|
+
get: function () {
|
91
|
+
return this['protected_infos'];
|
92
|
+
},
|
93
|
+
set: function (protectedInfos) {
|
94
|
+
this['protected_infos'] = protectedInfos;
|
95
|
+
},
|
96
|
+
enumerable: false,
|
97
|
+
configurable: true
|
98
|
+
});
|
99
|
+
GetEastWestFirewallResponseBody.prototype.withTotal = function (total) {
|
100
|
+
this['total'] = total;
|
101
|
+
return this;
|
102
|
+
};
|
103
|
+
GetEastWestFirewallResponseBody.prototype.withOffset = function (offset) {
|
104
|
+
this['offset'] = offset;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
GetEastWestFirewallResponseBody.prototype.withLimit = function (limit) {
|
108
|
+
this['limit'] = limit;
|
109
|
+
return this;
|
110
|
+
};
|
111
|
+
return GetEastWestFirewallResponseBody;
|
112
|
+
}());
|
113
|
+
exports.GetEastWestFirewallResponseBody = GetEastWestFirewallResponseBody;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpQueryCfwAccessControllerLogsResponseDTODataRecords } from './HttpQueryCfwAccessControllerLogsResponseDTODataRecords';
|
2
|
+
export declare class HttpQueryCfwAccessControllerLogsResponseDTOData {
|
3
|
+
total?: number;
|
4
|
+
limit?: number;
|
5
|
+
records?: Array<HttpQueryCfwAccessControllerLogsResponseDTODataRecords>;
|
6
|
+
constructor();
|
7
|
+
withTotal(total: number): HttpQueryCfwAccessControllerLogsResponseDTOData;
|
8
|
+
withLimit(limit: number): HttpQueryCfwAccessControllerLogsResponseDTOData;
|
9
|
+
withRecords(records: Array<HttpQueryCfwAccessControllerLogsResponseDTODataRecords>): HttpQueryCfwAccessControllerLogsResponseDTOData;
|
10
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HttpQueryCfwAccessControllerLogsResponseDTOData = void 0;
|
4
|
+
var HttpQueryCfwAccessControllerLogsResponseDTOData = /** @class */ (function () {
|
5
|
+
function HttpQueryCfwAccessControllerLogsResponseDTOData() {
|
6
|
+
}
|
7
|
+
HttpQueryCfwAccessControllerLogsResponseDTOData.prototype.withTotal = function (total) {
|
8
|
+
this['total'] = total;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
HttpQueryCfwAccessControllerLogsResponseDTOData.prototype.withLimit = function (limit) {
|
12
|
+
this['limit'] = limit;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
HttpQueryCfwAccessControllerLogsResponseDTOData.prototype.withRecords = function (records) {
|
16
|
+
this['records'] = records;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
return HttpQueryCfwAccessControllerLogsResponseDTOData;
|
20
|
+
}());
|
21
|
+
exports.HttpQueryCfwAccessControllerLogsResponseDTOData = HttpQueryCfwAccessControllerLogsResponseDTOData;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export declare class HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
2
|
+
action?: string;
|
3
|
+
private 'rule_name'?;
|
4
|
+
private 'rule_id'?;
|
5
|
+
private 'hit_time'?;
|
6
|
+
private 'log_id'?;
|
7
|
+
private 'src_ip'?;
|
8
|
+
private 'src_port'?;
|
9
|
+
private 'dst_ip'?;
|
10
|
+
private 'dst_port'?;
|
11
|
+
protocol?: string;
|
12
|
+
app?: string;
|
13
|
+
constructor();
|
14
|
+
withAction(action: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
15
|
+
withRuleName(ruleName: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
16
|
+
set ruleName(ruleName: string | undefined);
|
17
|
+
get ruleName(): string | undefined;
|
18
|
+
withRuleId(ruleId: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
19
|
+
set ruleId(ruleId: string | undefined);
|
20
|
+
get ruleId(): string | undefined;
|
21
|
+
withHitTime(hitTime: number): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
22
|
+
set hitTime(hitTime: number | undefined);
|
23
|
+
get hitTime(): number | undefined;
|
24
|
+
withLogId(logId: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
25
|
+
set logId(logId: string | undefined);
|
26
|
+
get logId(): string | undefined;
|
27
|
+
withSrcIp(srcIp: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
28
|
+
set srcIp(srcIp: string | undefined);
|
29
|
+
get srcIp(): string | undefined;
|
30
|
+
withSrcPort(srcPort: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
31
|
+
set srcPort(srcPort: string | undefined);
|
32
|
+
get srcPort(): string | undefined;
|
33
|
+
withDstIp(dstIp: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
34
|
+
set dstIp(dstIp: string | undefined);
|
35
|
+
get dstIp(): string | undefined;
|
36
|
+
withDstPort(dstPort: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
37
|
+
set dstPort(dstPort: string | undefined);
|
38
|
+
get dstPort(): string | undefined;
|
39
|
+
withProtocol(protocol: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
40
|
+
withApp(app: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
41
|
+
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HttpQueryCfwAccessControllerLogsResponseDTODataRecords = void 0;
|
4
|
+
var HttpQueryCfwAccessControllerLogsResponseDTODataRecords = /** @class */ (function () {
|
5
|
+
function HttpQueryCfwAccessControllerLogsResponseDTODataRecords() {
|
6
|
+
}
|
7
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withAction = function (action) {
|
8
|
+
this['action'] = action;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withRuleName = function (ruleName) {
|
12
|
+
this['rule_name'] = ruleName;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "ruleName", {
|
16
|
+
get: function () {
|
17
|
+
return this['rule_name'];
|
18
|
+
},
|
19
|
+
set: function (ruleName) {
|
20
|
+
this['rule_name'] = ruleName;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withRuleId = function (ruleId) {
|
26
|
+
this['rule_id'] = ruleId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "ruleId", {
|
30
|
+
get: function () {
|
31
|
+
return this['rule_id'];
|
32
|
+
},
|
33
|
+
set: function (ruleId) {
|
34
|
+
this['rule_id'] = ruleId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withHitTime = function (hitTime) {
|
40
|
+
this['hit_time'] = hitTime;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "hitTime", {
|
44
|
+
get: function () {
|
45
|
+
return this['hit_time'];
|
46
|
+
},
|
47
|
+
set: function (hitTime) {
|
48
|
+
this['hit_time'] = hitTime;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withLogId = function (logId) {
|
54
|
+
this['log_id'] = logId;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "logId", {
|
58
|
+
get: function () {
|
59
|
+
return this['log_id'];
|
60
|
+
},
|
61
|
+
set: function (logId) {
|
62
|
+
this['log_id'] = logId;
|
63
|
+
},
|
64
|
+
enumerable: false,
|
65
|
+
configurable: true
|
66
|
+
});
|
67
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withSrcIp = function (srcIp) {
|
68
|
+
this['src_ip'] = srcIp;
|
69
|
+
return this;
|
70
|
+
};
|
71
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "srcIp", {
|
72
|
+
get: function () {
|
73
|
+
return this['src_ip'];
|
74
|
+
},
|
75
|
+
set: function (srcIp) {
|
76
|
+
this['src_ip'] = srcIp;
|
77
|
+
},
|
78
|
+
enumerable: false,
|
79
|
+
configurable: true
|
80
|
+
});
|
81
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withSrcPort = function (srcPort) {
|
82
|
+
this['src_port'] = srcPort;
|
83
|
+
return this;
|
84
|
+
};
|
85
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "srcPort", {
|
86
|
+
get: function () {
|
87
|
+
return this['src_port'];
|
88
|
+
},
|
89
|
+
set: function (srcPort) {
|
90
|
+
this['src_port'] = srcPort;
|
91
|
+
},
|
92
|
+
enumerable: false,
|
93
|
+
configurable: true
|
94
|
+
});
|
95
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withDstIp = function (dstIp) {
|
96
|
+
this['dst_ip'] = dstIp;
|
97
|
+
return this;
|
98
|
+
};
|
99
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "dstIp", {
|
100
|
+
get: function () {
|
101
|
+
return this['dst_ip'];
|
102
|
+
},
|
103
|
+
set: function (dstIp) {
|
104
|
+
this['dst_ip'] = dstIp;
|
105
|
+
},
|
106
|
+
enumerable: false,
|
107
|
+
configurable: true
|
108
|
+
});
|
109
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withDstPort = function (dstPort) {
|
110
|
+
this['dst_port'] = dstPort;
|
111
|
+
return this;
|
112
|
+
};
|
113
|
+
Object.defineProperty(HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype, "dstPort", {
|
114
|
+
get: function () {
|
115
|
+
return this['dst_port'];
|
116
|
+
},
|
117
|
+
set: function (dstPort) {
|
118
|
+
this['dst_port'] = dstPort;
|
119
|
+
},
|
120
|
+
enumerable: false,
|
121
|
+
configurable: true
|
122
|
+
});
|
123
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withProtocol = function (protocol) {
|
124
|
+
this['protocol'] = protocol;
|
125
|
+
return this;
|
126
|
+
};
|
127
|
+
HttpQueryCfwAccessControllerLogsResponseDTODataRecords.prototype.withApp = function (app) {
|
128
|
+
this['app'] = app;
|
129
|
+
return this;
|
130
|
+
};
|
131
|
+
return HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|
132
|
+
}());
|
133
|
+
exports.HttpQueryCfwAccessControllerLogsResponseDTODataRecords = HttpQueryCfwAccessControllerLogsResponseDTODataRecords;
|