@huaweicloud/huaweicloud-sdk-cfw 3.1.45 → 3.1.46
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cfw.ts +4 -0
- package/package.json +4 -4
- package/v1/{CfwClient.js → CfwClient.ts} +1741 -1078
- package/v1/CfwRegion.ts +54 -0
- package/v1/model/AddAddressItemsInfoDto.ts +29 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.ts +33 -0
- package/v1/model/AddAddressItemsUsingPostRequest.ts +46 -0
- package/v1/model/AddAddressItemsUsingPostResponse.ts +14 -0
- package/v1/model/AddAddressSetDto.ts +49 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.ts +46 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.ts +14 -0
- package/v1/model/AddBlackWhiteListDto.ts +66 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.ts +46 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.ts +14 -0
- package/v1/model/AddRuleAclDto.ts +41 -0
- package/v1/model/AddRuleAclDtoRules.ts +169 -0
- package/v1/model/AddRuleAclUsingPostRequest.ts +46 -0
- package/v1/model/AddRuleAclUsingPostResponse.ts +14 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.ts +31 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.ts +57 -0
- package/v1/model/AddServiceItemsUsingPostRequest.ts +46 -0
- package/v1/model/AddServiceItemsUsingPostResponse.ts +14 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.ts +29 -0
- package/v1/model/AddServiceSetUsingPostRequest.ts +46 -0
- package/v1/model/AddServiceSetUsingPostResponse.ts +14 -0
- package/v1/model/AddressItemListResponseDTOData.ts +38 -0
- package/v1/model/AddressItemListResponseDTODataRecords.ts +43 -0
- package/v1/model/AddressItems.ts +12 -0
- package/v1/model/AddressSetDetailResponseDTOData.ts +41 -0
- package/v1/model/AddressSetListResponseDTOData.ts +27 -0
- package/v1/model/AddressSetListResponseDTODataRecords.ts +49 -0
- package/v1/model/BlackWhiteListResponseData.ts +38 -0
- package/v1/model/BlackWhiteListResponseDataRecords.ts +48 -0
- package/v1/model/ChangeEwProtectStatusRequest.ts +46 -0
- package/v1/model/ChangeEwProtectStatusResponse.ts +25 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.ts +46 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.ts +14 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.ts +46 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.ts +25 -0
- package/v1/model/ChangeProtectEipRequest.ts +46 -0
- package/v1/model/ChangeProtectEipResponse.ts +14 -0
- package/v1/model/ChangeProtectStatusRequestBody.ts +33 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.ts +18 -0
- package/v1/model/CommonResponseDTOData.ts +11 -0
- package/v1/model/CountEipsRequest.ts +52 -0
- package/v1/model/CountEipsResponse.ts +14 -0
- package/v1/model/DeleteAclRuleCountRequest.ts +46 -0
- package/v1/model/DeleteAclRuleCountResponse.ts +13 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.ts +14 -0
- package/v1/model/DnsServersResponseDTO.ts +44 -0
- package/v1/model/EipCountRespData.ts +39 -0
- package/v1/model/EipOperateProtectReq.ts +37 -0
- package/v1/model/EipOperateProtectReqIpInfos.ts +33 -0
- package/v1/model/EipResource.ts +135 -0
- package/v1/model/EipResponseData.ts +27 -0
- package/v1/model/ErInstance.ts +54 -0
- package/v1/model/EwProtectResourceInfo.ts +75 -0
- package/v1/model/FirewallInstanceResource.ts +72 -0
- package/v1/model/Flavor.ts +60 -0
- package/v1/model/GetEastWestFirewallResponseBody.ts +101 -0
- package/v1/model/GetFirewallInstanceData.ts +27 -0
- package/v1/model/GetFirewallInstanceResponseRecord.ts +170 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.ts +109 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.ts +178 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.ts +117 -0
- package/v1/model/IdObject.ts +11 -0
- package/v1/model/IpsProtectDTO.ts +22 -0
- package/v1/model/IpsProtectModeObject.ts +16 -0
- package/v1/model/IpsSwitchDTO.ts +45 -0
- package/v1/model/IpsSwitchResponseDTO.ts +33 -0
- package/v1/model/ListAccessControlLogsRequest.ts +184 -0
- package/v1/model/ListAccessControlLogsResponse.ts +14 -0
- package/v1/model/ListAddressItemsUsingGetRequest.ts +80 -0
- package/v1/model/ListAddressItemsUsingGetResponse.ts +14 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.ts +52 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.ts +14 -0
- package/v1/model/ListAddressSetListUsingGetRequest.ts +100 -0
- package/v1/model/ListAddressSetListUsingGetResponse.ts +14 -0
- package/v1/model/ListAttackLogsRequest.ts +221 -0
- package/v1/model/ListAttackLogsResponse.ts +14 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.ts +115 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.ts +14 -0
- package/v1/model/ListDnsServersRequest.ts +50 -0
- package/v1/model/ListDnsServersResponse.ts +19 -0
- package/v1/model/ListEastWestFirewallRequest.ts +52 -0
- package/v1/model/ListEastWestFirewallResponse.ts +14 -0
- package/v1/model/ListEipResourcesRequest.ts +147 -0
- package/v1/model/ListEipResourcesResponse.ts +14 -0
- package/v1/model/ListFirewallUsingGetRequest.ts +73 -0
- package/v1/model/ListFirewallUsingGetResponse.ts +14 -0
- package/v1/model/ListFlowLogsRequest.ts +188 -0
- package/v1/model/ListFlowLogsResponse.ts +14 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.ts +52 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.ts +14 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.ts +52 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.ts +14 -0
- package/v1/model/ListParseDomainDetailsRequest.ts +52 -0
- package/v1/model/ListParseDomainDetailsResponse.ts +13 -0
- package/v1/model/ListRuleAclUsingPutRequest.ts +58 -0
- package/v1/model/ListRuleAclUsingPutResponse.ts +14 -0
- package/v1/model/ListRuleAclsUsingGetRequest.ts +161 -0
- package/v1/model/ListRuleAclsUsingGetResponse.ts +14 -0
- package/v1/model/ListRuleHitCountDto.ts +18 -0
- package/v1/model/ListRuleHitCountRequest.ts +46 -0
- package/v1/model/ListRuleHitCountResponse.ts +14 -0
- package/v1/model/ListServiceItemsDetailsRequest.ts +75 -0
- package/v1/model/ListServiceItemsDetailsResponse.ts +14 -0
- package/v1/model/ListServiceSetDetailsRequest.ts +52 -0
- package/v1/model/ListServiceSetDetailsResponse.ts +14 -0
- package/v1/model/ListServiceSetRequest.ts +75 -0
- package/v1/model/ListServiceSetResponse.ts +14 -0
- package/v1/model/ListVpcProtectsRequest.ts +52 -0
- package/v1/model/ListVpcProtectsResponse.ts +25 -0
- package/v1/model/OrderRuleAclDto.ts +22 -0
- package/v1/model/Packet.ts +33 -0
- package/v1/model/PacketMessage.ts +33 -0
- package/v1/model/ProtectObjectVO.ts +42 -0
- package/v1/model/RuleAclListResponseDTOData.ts +38 -0
- package/v1/model/RuleAclListResponseDTODataRecords.ts +160 -0
- package/v1/model/RuleAddressDto.ts +61 -0
- package/v1/model/RuleHitCountObject.ts +28 -0
- package/v1/model/RuleHitCountRecords.ts +27 -0
- package/v1/model/RuleId.ts +11 -0
- package/v1/model/RuleIdList.ts +12 -0
- package/v1/model/RuleServiceDto.ts +61 -0
- package/v1/model/ServiceItemIds.ts +12 -0
- package/v1/model/ServiceItemListResponseDtoData.ts +38 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.ts +54 -0
- package/v1/model/ServiceSet.ts +43 -0
- package/v1/model/ServiceSetDetailResponseDto.ts +22 -0
- package/v1/model/ServiceSetRecords.ts +27 -0
- package/v1/model/SubnetInfo.ts +61 -0
- package/v1/model/SuccessRspData.ts +11 -0
- package/v1/model/Tag.ts +16 -0
- package/v1/model/UpdateAddressSetDto.ts +37 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.ts +58 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.ts +14 -0
- package/v1/model/UpdateBlackWhiteListDto.ts +68 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.ts +58 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.ts +14 -0
- package/v1/model/UpdateDnsServersRequest.ts +46 -0
- package/v1/model/UpdateDnsServersRequestBody.ts +18 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.ts +39 -0
- package/v1/model/UpdateDnsServersResponse.ts +13 -0
- package/v1/model/UpdateRuleAclDto.ts +173 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.ts +58 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.ts +14 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.ts +16 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.ts +58 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.ts +14 -0
- package/v1/model/VPCProtectsVo.ts +67 -0
- package/v1/model/VpcAttachmentDetail.ts +109 -0
- package/v1/model/VpcDetail.ts +26 -0
- package/v1/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-cfw.d.ts +0 -2
- package/huaweicloud-sdk-cfw.js +0 -31
- package/v1/CfwClient.d.ts +0 -1407
- package/v1/CfwRegion.d.ts +0 -19
- package/v1/CfwRegion.js +0 -51
- package/v1/model/AddAddressItemsInfoDto.d.ts +0 -12
- package/v1/model/AddAddressItemsInfoDto.js +0 -37
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +0 -13
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +0 -36
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +0 -18
- package/v1/model/AddAddressItemsUsingPostRequest.js +0 -56
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +0 -7
- package/v1/model/AddAddressItemsUsingPostResponse.js +0 -31
- package/v1/model/AddAddressSetDto.d.ts +0 -23
- package/v1/model/AddAddressSetDto.js +0 -56
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +0 -18
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +0 -56
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +0 -7
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +0 -31
- package/v1/model/AddBlackWhiteListDto.d.ts +0 -23
- package/v1/model/AddBlackWhiteListDto.js +0 -74
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +0 -18
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +0 -56
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +0 -7
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +0 -31
- package/v1/model/AddRuleAclDto.d.ts +0 -21
- package/v1/model/AddRuleAclDto.js +0 -44
- package/v1/model/AddRuleAclDtoRules.d.ts +0 -83
- package/v1/model/AddRuleAclDtoRules.js +0 -185
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +0 -18
- package/v1/model/AddRuleAclUsingPostRequest.js +0 -56
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +0 -7
- package/v1/model/AddRuleAclUsingPostResponse.js +0 -31
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +0 -12
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +0 -39
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +0 -21
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +0 -66
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +0 -18
- package/v1/model/AddServiceItemsUsingPostRequest.js +0 -56
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +0 -7
- package/v1/model/AddServiceItemsUsingPostResponse.js +0 -31
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +0 -11
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +0 -33
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +0 -18
- package/v1/model/AddServiceSetUsingPostRequest.js +0 -56
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +0 -7
- package/v1/model/AddServiceSetUsingPostResponse.js +0 -31
- package/v1/model/AddressItemListResponseDTOData.d.ts +0 -16
- package/v1/model/AddressItemListResponseDTOData.js +0 -39
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +0 -17
- package/v1/model/AddressItemListResponseDTODataRecords.js +0 -49
- package/v1/model/AddressItems.d.ts +0 -6
- package/v1/model/AddressItems.js +0 -13
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +0 -21
- package/v1/model/AddressSetDetailResponseDTOData.js +0 -44
- package/v1/model/AddressSetListResponseDTOData.d.ts +0 -12
- package/v1/model/AddressSetListResponseDTOData.js +0 -25
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +0 -19
- package/v1/model/AddressSetListResponseDTODataRecords.js +0 -59
- package/v1/model/BlackWhiteListResponseData.d.ts +0 -16
- package/v1/model/BlackWhiteListResponseData.js +0 -39
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +0 -19
- package/v1/model/BlackWhiteListResponseDataRecords.js +0 -53
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +0 -18
- package/v1/model/ChangeEwProtectStatusRequest.js +0 -56
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +0 -11
- package/v1/model/ChangeEwProtectStatusResponse.js +0 -45
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +0 -18
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +0 -56
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +0 -7
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +0 -31
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +0 -18
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +0 -56
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +0 -11
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +0 -45
- package/v1/model/ChangeProtectEipRequest.d.ts +0 -18
- package/v1/model/ChangeProtectEipRequest.js +0 -56
- package/v1/model/ChangeProtectEipResponse.d.ts +0 -7
- package/v1/model/ChangeProtectEipResponse.js +0 -31
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +0 -17
- package/v1/model/ChangeProtectStatusRequestBody.js +0 -38
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +0 -7
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +0 -24
- package/v1/model/CommonResponseDTOData.d.ts +0 -5
- package/v1/model/CommonResponseDTOData.js +0 -13
- package/v1/model/CountEipsRequest.d.ts +0 -19
- package/v1/model/CountEipsRequest.js +0 -67
- package/v1/model/CountEipsResponse.d.ts +0 -7
- package/v1/model/CountEipsResponse.js +0 -31
- package/v1/model/DeleteAclRuleCountRequest.d.ts +0 -18
- package/v1/model/DeleteAclRuleCountRequest.js +0 -56
- package/v1/model/DeleteAclRuleCountResponse.d.ts +0 -6
- package/v1/model/DeleteAclRuleCountResponse.js +0 -31
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +0 -31
- package/v1/model/DnsServersResponseDTO.d.ts +0 -17
- package/v1/model/DnsServersResponseDTO.js +0 -55
- package/v1/model/EipCountRespData.d.ts +0 -15
- package/v1/model/EipCountRespData.js +0 -51
- package/v1/model/EipOperateProtectReq.d.ts +0 -14
- package/v1/model/EipOperateProtectReq.js +0 -44
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +0 -13
- package/v1/model/EipOperateProtectReqIpInfos.js +0 -41
- package/v1/model/EipResource.d.ts +0 -55
- package/v1/model/EipResource.js +0 -166
- package/v1/model/EipResponseData.d.ts +0 -12
- package/v1/model/EipResponseData.js +0 -25
- package/v1/model/ErInstance.d.ts +0 -21
- package/v1/model/ErInstance.js +0 -63
- package/v1/model/EwProtectResourceInfo.d.ts +0 -27
- package/v1/model/EwProtectResourceInfo.js +0 -96
- package/v1/model/FirewallInstanceResource.d.ts +0 -27
- package/v1/model/FirewallInstanceResource.js +0 -93
- package/v1/model/Flavor.d.ts +0 -29
- package/v1/model/Flavor.js +0 -70
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +0 -41
- package/v1/model/GetEastWestFirewallResponseBody.js +0 -113
- package/v1/model/GetFirewallInstanceData.d.ts +0 -12
- package/v1/model/GetFirewallInstanceData.js +0 -25
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts +0 -83
- package/v1/model/GetFirewallInstanceResponseRecord.js +0 -199
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +0 -41
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +0 -133
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +0 -73
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +0 -204
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +0 -49
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +0 -136
- package/v1/model/IdObject.d.ts +0 -5
- package/v1/model/IdObject.js +0 -13
- package/v1/model/IpsProtectDTO.d.ts +0 -9
- package/v1/model/IpsProtectDTO.js +0 -27
- package/v1/model/IpsProtectModeObject.d.ts +0 -7
- package/v1/model/IpsProtectModeObject.js +0 -17
- package/v1/model/IpsSwitchDTO.d.ts +0 -21
- package/v1/model/IpsSwitchDTO.js +0 -53
- package/v1/model/IpsSwitchResponseDTO.d.ts +0 -13
- package/v1/model/IpsSwitchResponseDTO.js +0 -41
- package/v1/model/ListAccessControlLogsRequest.d.ts +0 -72
- package/v1/model/ListAccessControlLogsRequest.js +0 -222
- package/v1/model/ListAccessControlLogsResponse.d.ts +0 -7
- package/v1/model/ListAccessControlLogsResponse.js +0 -31
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +0 -29
- package/v1/model/ListAddressItemsUsingGetRequest.js +0 -95
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressItemsUsingGetResponse.js +0 -31
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +0 -19
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +0 -67
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +0 -31
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +0 -41
- package/v1/model/ListAddressSetListUsingGetRequest.js +0 -118
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressSetListUsingGetResponse.js +0 -31
- package/v1/model/ListAttackLogsRequest.d.ts +0 -97
- package/v1/model/ListAttackLogsRequest.js +0 -257
- package/v1/model/ListAttackLogsResponse.d.ts +0 -7
- package/v1/model/ListAttackLogsResponse.js +0 -31
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +0 -52
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +0 -133
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +0 -31
- package/v1/model/ListDnsServersRequest.d.ts +0 -19
- package/v1/model/ListDnsServersRequest.js +0 -60
- package/v1/model/ListDnsServersResponse.d.ts +0 -9
- package/v1/model/ListDnsServersResponse.js +0 -35
- package/v1/model/ListEastWestFirewallRequest.d.ts +0 -19
- package/v1/model/ListEastWestFirewallRequest.js +0 -62
- package/v1/model/ListEastWestFirewallResponse.d.ts +0 -7
- package/v1/model/ListEastWestFirewallResponse.js +0 -31
- package/v1/model/ListEipResourcesRequest.d.ts +0 -64
- package/v1/model/ListEipResourcesRequest.js +0 -174
- package/v1/model/ListEipResourcesResponse.d.ts +0 -7
- package/v1/model/ListEipResourcesResponse.js +0 -31
- package/v1/model/ListFirewallUsingGetRequest.d.ts +0 -31
- package/v1/model/ListFirewallUsingGetRequest.js +0 -86
- package/v1/model/ListFirewallUsingGetResponse.d.ts +0 -7
- package/v1/model/ListFirewallUsingGetResponse.js +0 -31
- package/v1/model/ListFlowLogsRequest.d.ts +0 -80
- package/v1/model/ListFlowLogsRequest.js +0 -223
- package/v1/model/ListFlowLogsResponse.d.ts +0 -7
- package/v1/model/ListFlowLogsResponse.js +0 -31
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +0 -19
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +0 -67
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +0 -7
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +0 -31
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +0 -19
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +0 -67
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +0 -7
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +0 -31
- package/v1/model/ListParseDomainDetailsRequest.d.ts +0 -19
- package/v1/model/ListParseDomainDetailsRequest.js +0 -67
- package/v1/model/ListParseDomainDetailsResponse.d.ts +0 -6
- package/v1/model/ListParseDomainDetailsResponse.js +0 -31
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +0 -22
- package/v1/model/ListRuleAclUsingPutRequest.js +0 -71
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +0 -7
- package/v1/model/ListRuleAclUsingPutResponse.js +0 -31
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +0 -87
- package/v1/model/ListRuleAclsUsingGetRequest.js +0 -178
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListRuleAclsUsingGetResponse.js +0 -31
- package/v1/model/ListRuleHitCountDto.d.ts +0 -7
- package/v1/model/ListRuleHitCountDto.js +0 -24
- package/v1/model/ListRuleHitCountRequest.d.ts +0 -18
- package/v1/model/ListRuleHitCountRequest.js +0 -56
- package/v1/model/ListRuleHitCountResponse.d.ts +0 -7
- package/v1/model/ListRuleHitCountResponse.js +0 -31
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +0 -27
- package/v1/model/ListServiceItemsDetailsRequest.js +0 -91
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +0 -7
- package/v1/model/ListServiceItemsDetailsResponse.js +0 -31
- package/v1/model/ListServiceSetDetailsRequest.d.ts +0 -19
- package/v1/model/ListServiceSetDetailsRequest.js +0 -67
- package/v1/model/ListServiceSetDetailsResponse.d.ts +0 -7
- package/v1/model/ListServiceSetDetailsResponse.js +0 -31
- package/v1/model/ListServiceSetRequest.d.ts +0 -27
- package/v1/model/ListServiceSetRequest.js +0 -91
- package/v1/model/ListServiceSetResponse.d.ts +0 -7
- package/v1/model/ListServiceSetResponse.js +0 -31
- package/v1/model/ListVpcProtectsRequest.d.ts +0 -19
- package/v1/model/ListVpcProtectsRequest.js +0 -67
- package/v1/model/ListVpcProtectsResponse.d.ts +0 -11
- package/v1/model/ListVpcProtectsResponse.js +0 -45
- package/v1/model/OrderRuleAclDto.d.ts +0 -9
- package/v1/model/OrderRuleAclDto.js +0 -27
- package/v1/model/Packet.d.ts +0 -13
- package/v1/model/Packet.js +0 -41
- package/v1/model/PacketMessage.d.ts +0 -13
- package/v1/model/PacketMessage.js +0 -41
- package/v1/model/ProtectObjectVO.d.ts +0 -21
- package/v1/model/ProtectObjectVO.js +0 -50
- package/v1/model/RuleAclListResponseDTOData.d.ts +0 -16
- package/v1/model/RuleAclListResponseDTOData.js +0 -39
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +0 -73
- package/v1/model/RuleAclListResponseDTODataRecords.js +0 -176
- package/v1/model/RuleAddressDto.d.ts +0 -23
- package/v1/model/RuleAddressDto.js +0 -74
- package/v1/model/RuleHitCountObject.d.ts +0 -11
- package/v1/model/RuleHitCountObject.js +0 -37
- package/v1/model/RuleHitCountRecords.d.ts +0 -12
- package/v1/model/RuleHitCountRecords.js +0 -25
- package/v1/model/RuleId.d.ts +0 -5
- package/v1/model/RuleId.js +0 -13
- package/v1/model/RuleIdList.d.ts +0 -6
- package/v1/model/RuleIdList.js +0 -13
- package/v1/model/RuleServiceDto.d.ts +0 -23
- package/v1/model/RuleServiceDto.js +0 -74
- package/v1/model/ServiceItemIds.d.ts +0 -6
- package/v1/model/ServiceItemIds.js +0 -13
- package/v1/model/ServiceItemListResponseDtoData.d.ts +0 -16
- package/v1/model/ServiceItemListResponseDtoData.js +0 -39
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +0 -21
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +0 -63
- package/v1/model/ServiceSet.d.ts +0 -17
- package/v1/model/ServiceSet.js +0 -49
- package/v1/model/ServiceSetDetailResponseDto.d.ts +0 -9
- package/v1/model/ServiceSetDetailResponseDto.js +0 -22
- package/v1/model/ServiceSetRecords.d.ts +0 -12
- package/v1/model/ServiceSetRecords.js +0 -25
- package/v1/model/SubnetInfo.d.ts +0 -23
- package/v1/model/SubnetInfo.js +0 -69
- package/v1/model/SuccessRspData.d.ts +0 -5
- package/v1/model/SuccessRspData.js +0 -13
- package/v1/model/Tag.d.ts +0 -7
- package/v1/model/Tag.js +0 -17
- package/v1/model/UpdateAddressSetDto.d.ts +0 -20
- package/v1/model/UpdateAddressSetDto.js +0 -41
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +0 -71
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +0 -31
- package/v1/model/UpdateBlackWhiteListDto.d.ts +0 -31
- package/v1/model/UpdateBlackWhiteListDto.js +0 -76
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +0 -71
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +0 -31
- package/v1/model/UpdateDnsServersRequest.d.ts +0 -18
- package/v1/model/UpdateDnsServersRequest.js +0 -56
- package/v1/model/UpdateDnsServersRequestBody.d.ts +0 -8
- package/v1/model/UpdateDnsServersRequestBody.js +0 -23
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +0 -15
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +0 -51
- package/v1/model/UpdateDnsServersResponse.d.ts +0 -6
- package/v1/model/UpdateDnsServersResponse.js +0 -31
- package/v1/model/UpdateRuleAclDto.d.ts +0 -93
- package/v1/model/UpdateRuleAclDto.js +0 -189
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateRuleAclUsingPutRequest.js +0 -71
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateRuleAclUsingPutResponse.js +0 -31
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +0 -7
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +0 -17
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateServiceSetUsingPutRequest.js +0 -71
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateServiceSetUsingPutResponse.js +0 -31
- package/v1/model/VPCProtectsVo.d.ts +0 -26
- package/v1/model/VPCProtectsVo.js +0 -83
- package/v1/model/VpcAttachmentDetail.d.ts +0 -42
- package/v1/model/VpcAttachmentDetail.js +0 -127
- package/v1/model/VpcDetail.d.ts +0 -11
- package/v1/model/VpcDetail.js +0 -25
- package/v1/public-api.js +0 -181
@@ -0,0 +1,52 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class DeleteServiceItemUsingDeleteRequest {
|
4
|
+
private 'project_id': string | undefined;
|
5
|
+
private 'item_id': string | undefined;
|
6
|
+
private 'enterprise_project_id'?: string | undefined;
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public constructor(projectId?: any, itemId?: any) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
this['item_id'] = itemId;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): DeleteServiceItemUsingDeleteRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withItemId(itemId: string): DeleteServiceItemUsingDeleteRequest {
|
23
|
+
this['item_id'] = itemId;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set itemId(itemId: string | undefined) {
|
27
|
+
this['item_id'] = itemId;
|
28
|
+
}
|
29
|
+
public get itemId() {
|
30
|
+
return this['item_id'];
|
31
|
+
}
|
32
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): DeleteServiceItemUsingDeleteRequest {
|
33
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
37
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
38
|
+
}
|
39
|
+
public get enterpriseProjectId() {
|
40
|
+
return this['enterprise_project_id'];
|
41
|
+
}
|
42
|
+
public withFwInstanceId(fwInstanceId: string): DeleteServiceItemUsingDeleteRequest {
|
43
|
+
this['fw_instance_id'] = fwInstanceId;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
47
|
+
this['fw_instance_id'] = fwInstanceId;
|
48
|
+
}
|
49
|
+
public get fwInstanceId() {
|
50
|
+
return this['fw_instance_id'];
|
51
|
+
}
|
52
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class DeleteServiceItemUsingDeleteResponse extends SdkResponse {
|
6
|
+
public data?: IdObject;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: IdObject): DeleteServiceItemUsingDeleteResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class DeleteServiceSetUsingDeleteRequest {
|
4
|
+
private 'project_id': string | undefined;
|
5
|
+
private 'set_id': string | undefined;
|
6
|
+
private 'enterprise_project_id'?: string | undefined;
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public constructor(projectId?: any, setId?: any) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
this['set_id'] = setId;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): DeleteServiceSetUsingDeleteRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withSetId(setId: string): DeleteServiceSetUsingDeleteRequest {
|
23
|
+
this['set_id'] = setId;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set setId(setId: string | undefined) {
|
27
|
+
this['set_id'] = setId;
|
28
|
+
}
|
29
|
+
public get setId() {
|
30
|
+
return this['set_id'];
|
31
|
+
}
|
32
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): DeleteServiceSetUsingDeleteRequest {
|
33
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
37
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
38
|
+
}
|
39
|
+
public get enterpriseProjectId() {
|
40
|
+
return this['enterprise_project_id'];
|
41
|
+
}
|
42
|
+
public withFwInstanceId(fwInstanceId: string): DeleteServiceSetUsingDeleteRequest {
|
43
|
+
this['fw_instance_id'] = fwInstanceId;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
47
|
+
this['fw_instance_id'] = fwInstanceId;
|
48
|
+
}
|
49
|
+
public get fwInstanceId() {
|
50
|
+
return this['fw_instance_id'];
|
51
|
+
}
|
52
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class DeleteServiceSetUsingDeleteResponse extends SdkResponse {
|
6
|
+
public data?: IdObject;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: IdObject): DeleteServiceSetUsingDeleteResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class DnsServersResponseDTO {
|
4
|
+
public id?: number;
|
5
|
+
private 'is_applied'?: number | undefined;
|
6
|
+
private 'is_customized'?: number | undefined;
|
7
|
+
private 'server_ip'?: string | undefined;
|
8
|
+
public constructor() {
|
9
|
+
}
|
10
|
+
public withId(id: number): DnsServersResponseDTO {
|
11
|
+
this['id'] = id;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public withIsApplied(isApplied: number): DnsServersResponseDTO {
|
15
|
+
this['is_applied'] = isApplied;
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
public set isApplied(isApplied: number | undefined) {
|
19
|
+
this['is_applied'] = isApplied;
|
20
|
+
}
|
21
|
+
public get isApplied() {
|
22
|
+
return this['is_applied'];
|
23
|
+
}
|
24
|
+
public withIsCustomized(isCustomized: number): DnsServersResponseDTO {
|
25
|
+
this['is_customized'] = isCustomized;
|
26
|
+
return this;
|
27
|
+
}
|
28
|
+
public set isCustomized(isCustomized: number | undefined) {
|
29
|
+
this['is_customized'] = isCustomized;
|
30
|
+
}
|
31
|
+
public get isCustomized() {
|
32
|
+
return this['is_customized'];
|
33
|
+
}
|
34
|
+
public withServerIp(serverIp: string): DnsServersResponseDTO {
|
35
|
+
this['server_ip'] = serverIp;
|
36
|
+
return this;
|
37
|
+
}
|
38
|
+
public set serverIp(serverIp: string | undefined) {
|
39
|
+
this['server_ip'] = serverIp;
|
40
|
+
}
|
41
|
+
public get serverIp() {
|
42
|
+
return this['server_ip'];
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class EipCountRespData {
|
4
|
+
private 'object_id'?: string | undefined;
|
5
|
+
private 'eip_total'?: number | undefined;
|
6
|
+
private 'eip_protected'?: number | undefined;
|
7
|
+
public constructor() {
|
8
|
+
}
|
9
|
+
public withObjectId(objectId: string): EipCountRespData {
|
10
|
+
this['object_id'] = objectId;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
public set objectId(objectId: string | undefined) {
|
14
|
+
this['object_id'] = objectId;
|
15
|
+
}
|
16
|
+
public get objectId() {
|
17
|
+
return this['object_id'];
|
18
|
+
}
|
19
|
+
public withEipTotal(eipTotal: number): EipCountRespData {
|
20
|
+
this['eip_total'] = eipTotal;
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
public set eipTotal(eipTotal: number | undefined) {
|
24
|
+
this['eip_total'] = eipTotal;
|
25
|
+
}
|
26
|
+
public get eipTotal() {
|
27
|
+
return this['eip_total'];
|
28
|
+
}
|
29
|
+
public withEipProtected(eipProtected: number): EipCountRespData {
|
30
|
+
this['eip_protected'] = eipProtected;
|
31
|
+
return this;
|
32
|
+
}
|
33
|
+
public set eipProtected(eipProtected: number | undefined) {
|
34
|
+
this['eip_protected'] = eipProtected;
|
35
|
+
}
|
36
|
+
public get eipProtected() {
|
37
|
+
return this['eip_protected'];
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { EipOperateProtectReqIpInfos } from './EipOperateProtectReqIpInfos';
|
2
|
+
|
3
|
+
|
4
|
+
export class EipOperateProtectReq {
|
5
|
+
private 'object_id': string | undefined;
|
6
|
+
public status: number;
|
7
|
+
private 'ip_infos': Array<EipOperateProtectReqIpInfos> | undefined;
|
8
|
+
public constructor(objectId?: any, status?: any, ipInfos?: any) {
|
9
|
+
this['object_id'] = objectId;
|
10
|
+
this['status'] = status;
|
11
|
+
this['ip_infos'] = ipInfos;
|
12
|
+
}
|
13
|
+
public withObjectId(objectId: string): EipOperateProtectReq {
|
14
|
+
this['object_id'] = objectId;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
public set objectId(objectId: string | undefined) {
|
18
|
+
this['object_id'] = objectId;
|
19
|
+
}
|
20
|
+
public get objectId() {
|
21
|
+
return this['object_id'];
|
22
|
+
}
|
23
|
+
public withStatus(status: number): EipOperateProtectReq {
|
24
|
+
this['status'] = status;
|
25
|
+
return this;
|
26
|
+
}
|
27
|
+
public withIpInfos(ipInfos: Array<EipOperateProtectReqIpInfos>): EipOperateProtectReq {
|
28
|
+
this['ip_infos'] = ipInfos;
|
29
|
+
return this;
|
30
|
+
}
|
31
|
+
public set ipInfos(ipInfos: Array<EipOperateProtectReqIpInfos> | undefined) {
|
32
|
+
this['ip_infos'] = ipInfos;
|
33
|
+
}
|
34
|
+
public get ipInfos() {
|
35
|
+
return this['ip_infos'];
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class EipOperateProtectReqIpInfos {
|
4
|
+
public id?: string;
|
5
|
+
private 'public_ip'?: string | undefined;
|
6
|
+
private 'public_ipv6'?: string | undefined;
|
7
|
+
public constructor() {
|
8
|
+
}
|
9
|
+
public withId(id: string): EipOperateProtectReqIpInfos {
|
10
|
+
this['id'] = id;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
public withPublicIp(publicIp: string): EipOperateProtectReqIpInfos {
|
14
|
+
this['public_ip'] = publicIp;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
public set publicIp(publicIp: string | undefined) {
|
18
|
+
this['public_ip'] = publicIp;
|
19
|
+
}
|
20
|
+
public get publicIp() {
|
21
|
+
return this['public_ip'];
|
22
|
+
}
|
23
|
+
public withPublicIpv6(publicIpv6: string): EipOperateProtectReqIpInfos {
|
24
|
+
this['public_ipv6'] = publicIpv6;
|
25
|
+
return this;
|
26
|
+
}
|
27
|
+
public set publicIpv6(publicIpv6: string | undefined) {
|
28
|
+
this['public_ipv6'] = publicIpv6;
|
29
|
+
}
|
30
|
+
public get publicIpv6() {
|
31
|
+
return this['public_ipv6'];
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,135 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class EipResource {
|
4
|
+
public id?: string;
|
5
|
+
private 'public_ip'?: string | undefined;
|
6
|
+
public status?: EipResourceStatusEnum;
|
7
|
+
private 'public_ipv6'?: string | undefined;
|
8
|
+
private 'enterprise_project_id'?: string | undefined;
|
9
|
+
private 'device_id'?: string | undefined;
|
10
|
+
private 'device_name'?: string | undefined;
|
11
|
+
private 'device_owner'?: string | undefined;
|
12
|
+
private 'associate_instance_type'?: string | undefined;
|
13
|
+
private 'fw_instance_name'?: string | undefined;
|
14
|
+
private 'fw_instance_id'?: string | undefined;
|
15
|
+
private 'fw_enterprise_project_id'?: string | undefined;
|
16
|
+
public constructor() {
|
17
|
+
}
|
18
|
+
public withId(id: string): EipResource {
|
19
|
+
this['id'] = id;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
public withPublicIp(publicIp: string): EipResource {
|
23
|
+
this['public_ip'] = publicIp;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set publicIp(publicIp: string | undefined) {
|
27
|
+
this['public_ip'] = publicIp;
|
28
|
+
}
|
29
|
+
public get publicIp() {
|
30
|
+
return this['public_ip'];
|
31
|
+
}
|
32
|
+
public withStatus(status: EipResourceStatusEnum): EipResource {
|
33
|
+
this['status'] = status;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public withPublicIpv6(publicIpv6: string): EipResource {
|
37
|
+
this['public_ipv6'] = publicIpv6;
|
38
|
+
return this;
|
39
|
+
}
|
40
|
+
public set publicIpv6(publicIpv6: string | undefined) {
|
41
|
+
this['public_ipv6'] = publicIpv6;
|
42
|
+
}
|
43
|
+
public get publicIpv6() {
|
44
|
+
return this['public_ipv6'];
|
45
|
+
}
|
46
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): EipResource {
|
47
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
48
|
+
return this;
|
49
|
+
}
|
50
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
51
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
52
|
+
}
|
53
|
+
public get enterpriseProjectId() {
|
54
|
+
return this['enterprise_project_id'];
|
55
|
+
}
|
56
|
+
public withDeviceId(deviceId: string): EipResource {
|
57
|
+
this['device_id'] = deviceId;
|
58
|
+
return this;
|
59
|
+
}
|
60
|
+
public set deviceId(deviceId: string | undefined) {
|
61
|
+
this['device_id'] = deviceId;
|
62
|
+
}
|
63
|
+
public get deviceId() {
|
64
|
+
return this['device_id'];
|
65
|
+
}
|
66
|
+
public withDeviceName(deviceName: string): EipResource {
|
67
|
+
this['device_name'] = deviceName;
|
68
|
+
return this;
|
69
|
+
}
|
70
|
+
public set deviceName(deviceName: string | undefined) {
|
71
|
+
this['device_name'] = deviceName;
|
72
|
+
}
|
73
|
+
public get deviceName() {
|
74
|
+
return this['device_name'];
|
75
|
+
}
|
76
|
+
public withDeviceOwner(deviceOwner: string): EipResource {
|
77
|
+
this['device_owner'] = deviceOwner;
|
78
|
+
return this;
|
79
|
+
}
|
80
|
+
public set deviceOwner(deviceOwner: string | undefined) {
|
81
|
+
this['device_owner'] = deviceOwner;
|
82
|
+
}
|
83
|
+
public get deviceOwner() {
|
84
|
+
return this['device_owner'];
|
85
|
+
}
|
86
|
+
public withAssociateInstanceType(associateInstanceType: string): EipResource {
|
87
|
+
this['associate_instance_type'] = associateInstanceType;
|
88
|
+
return this;
|
89
|
+
}
|
90
|
+
public set associateInstanceType(associateInstanceType: string | undefined) {
|
91
|
+
this['associate_instance_type'] = associateInstanceType;
|
92
|
+
}
|
93
|
+
public get associateInstanceType() {
|
94
|
+
return this['associate_instance_type'];
|
95
|
+
}
|
96
|
+
public withFwInstanceName(fwInstanceName: string): EipResource {
|
97
|
+
this['fw_instance_name'] = fwInstanceName;
|
98
|
+
return this;
|
99
|
+
}
|
100
|
+
public set fwInstanceName(fwInstanceName: string | undefined) {
|
101
|
+
this['fw_instance_name'] = fwInstanceName;
|
102
|
+
}
|
103
|
+
public get fwInstanceName() {
|
104
|
+
return this['fw_instance_name'];
|
105
|
+
}
|
106
|
+
public withFwInstanceId(fwInstanceId: string): EipResource {
|
107
|
+
this['fw_instance_id'] = fwInstanceId;
|
108
|
+
return this;
|
109
|
+
}
|
110
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
111
|
+
this['fw_instance_id'] = fwInstanceId;
|
112
|
+
}
|
113
|
+
public get fwInstanceId() {
|
114
|
+
return this['fw_instance_id'];
|
115
|
+
}
|
116
|
+
public withFwEnterpriseProjectId(fwEnterpriseProjectId: string): EipResource {
|
117
|
+
this['fw_enterprise_project_id'] = fwEnterpriseProjectId;
|
118
|
+
return this;
|
119
|
+
}
|
120
|
+
public set fwEnterpriseProjectId(fwEnterpriseProjectId: string | undefined) {
|
121
|
+
this['fw_enterprise_project_id'] = fwEnterpriseProjectId;
|
122
|
+
}
|
123
|
+
public get fwEnterpriseProjectId() {
|
124
|
+
return this['fw_enterprise_project_id'];
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
/**
|
129
|
+
* @export
|
130
|
+
* @enum {string}
|
131
|
+
*/
|
132
|
+
export enum EipResourceStatusEnum {
|
133
|
+
NUMBER_0 = 0,
|
134
|
+
NUMBER_1 = 1
|
135
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { EipResource } from './EipResource';
|
2
|
+
|
3
|
+
|
4
|
+
export class EipResponseData {
|
5
|
+
public limit?: number;
|
6
|
+
public offset?: number;
|
7
|
+
public total?: number;
|
8
|
+
public records?: Array<EipResource>;
|
9
|
+
public constructor() {
|
10
|
+
}
|
11
|
+
public withLimit(limit: number): EipResponseData {
|
12
|
+
this['limit'] = limit;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public withOffset(offset: number): EipResponseData {
|
16
|
+
this['offset'] = offset;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
public withTotal(total: number): EipResponseData {
|
20
|
+
this['total'] = total;
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
public withRecords(records: Array<EipResource>): EipResponseData {
|
24
|
+
this['records'] = records;
|
25
|
+
return this;
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ErInstance {
|
4
|
+
public id?: string;
|
5
|
+
public name?: string;
|
6
|
+
public state?: string;
|
7
|
+
private 'enterprise_project_id'?: string | undefined;
|
8
|
+
private 'project_id'?: string | undefined;
|
9
|
+
private 'enable_ipv6'?: string | undefined;
|
10
|
+
public constructor() {
|
11
|
+
}
|
12
|
+
public withId(id: string): ErInstance {
|
13
|
+
this['id'] = id;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public withName(name: string): ErInstance {
|
17
|
+
this['name'] = name;
|
18
|
+
return this;
|
19
|
+
}
|
20
|
+
public withState(state: string): ErInstance {
|
21
|
+
this['state'] = state;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): ErInstance {
|
25
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
26
|
+
return this;
|
27
|
+
}
|
28
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
29
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
30
|
+
}
|
31
|
+
public get enterpriseProjectId() {
|
32
|
+
return this['enterprise_project_id'];
|
33
|
+
}
|
34
|
+
public withProjectId(projectId: string): ErInstance {
|
35
|
+
this['project_id'] = projectId;
|
36
|
+
return this;
|
37
|
+
}
|
38
|
+
public set projectId(projectId: string | undefined) {
|
39
|
+
this['project_id'] = projectId;
|
40
|
+
}
|
41
|
+
public get projectId() {
|
42
|
+
return this['project_id'];
|
43
|
+
}
|
44
|
+
public withEnableIpv6(enableIpv6: string): ErInstance {
|
45
|
+
this['enable_ipv6'] = enableIpv6;
|
46
|
+
return this;
|
47
|
+
}
|
48
|
+
public set enableIpv6(enableIpv6: string | undefined) {
|
49
|
+
this['enable_ipv6'] = enableIpv6;
|
50
|
+
}
|
51
|
+
public get enableIpv6() {
|
52
|
+
return this['enable_ipv6'];
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class EwProtectResourceInfo {
|
4
|
+
private 'protected_resource_type': number | undefined;
|
5
|
+
private 'protected_resource_name': string | undefined;
|
6
|
+
private 'protected_resource_id': string | undefined;
|
7
|
+
private 'protected_resource_nat_name'?: string | undefined;
|
8
|
+
private 'protected_resource_nat_id'?: string | undefined;
|
9
|
+
private 'protected_resource_project_id'?: string | undefined;
|
10
|
+
public constructor(protectedResourceType?: any, protectedResourceName?: any, protectedResourceId?: any) {
|
11
|
+
this['protected_resource_type'] = protectedResourceType;
|
12
|
+
this['protected_resource_name'] = protectedResourceName;
|
13
|
+
this['protected_resource_id'] = protectedResourceId;
|
14
|
+
}
|
15
|
+
public withProtectedResourceType(protectedResourceType: number): EwProtectResourceInfo {
|
16
|
+
this['protected_resource_type'] = protectedResourceType;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
public set protectedResourceType(protectedResourceType: number | undefined) {
|
20
|
+
this['protected_resource_type'] = protectedResourceType;
|
21
|
+
}
|
22
|
+
public get protectedResourceType() {
|
23
|
+
return this['protected_resource_type'];
|
24
|
+
}
|
25
|
+
public withProtectedResourceName(protectedResourceName: string): EwProtectResourceInfo {
|
26
|
+
this['protected_resource_name'] = protectedResourceName;
|
27
|
+
return this;
|
28
|
+
}
|
29
|
+
public set protectedResourceName(protectedResourceName: string | undefined) {
|
30
|
+
this['protected_resource_name'] = protectedResourceName;
|
31
|
+
}
|
32
|
+
public get protectedResourceName() {
|
33
|
+
return this['protected_resource_name'];
|
34
|
+
}
|
35
|
+
public withProtectedResourceId(protectedResourceId: string): EwProtectResourceInfo {
|
36
|
+
this['protected_resource_id'] = protectedResourceId;
|
37
|
+
return this;
|
38
|
+
}
|
39
|
+
public set protectedResourceId(protectedResourceId: string | undefined) {
|
40
|
+
this['protected_resource_id'] = protectedResourceId;
|
41
|
+
}
|
42
|
+
public get protectedResourceId() {
|
43
|
+
return this['protected_resource_id'];
|
44
|
+
}
|
45
|
+
public withProtectedResourceNatName(protectedResourceNatName: string): EwProtectResourceInfo {
|
46
|
+
this['protected_resource_nat_name'] = protectedResourceNatName;
|
47
|
+
return this;
|
48
|
+
}
|
49
|
+
public set protectedResourceNatName(protectedResourceNatName: string | undefined) {
|
50
|
+
this['protected_resource_nat_name'] = protectedResourceNatName;
|
51
|
+
}
|
52
|
+
public get protectedResourceNatName() {
|
53
|
+
return this['protected_resource_nat_name'];
|
54
|
+
}
|
55
|
+
public withProtectedResourceNatId(protectedResourceNatId: string): EwProtectResourceInfo {
|
56
|
+
this['protected_resource_nat_id'] = protectedResourceNatId;
|
57
|
+
return this;
|
58
|
+
}
|
59
|
+
public set protectedResourceNatId(protectedResourceNatId: string | undefined) {
|
60
|
+
this['protected_resource_nat_id'] = protectedResourceNatId;
|
61
|
+
}
|
62
|
+
public get protectedResourceNatId() {
|
63
|
+
return this['protected_resource_nat_id'];
|
64
|
+
}
|
65
|
+
public withProtectedResourceProjectId(protectedResourceProjectId: string): EwProtectResourceInfo {
|
66
|
+
this['protected_resource_project_id'] = protectedResourceProjectId;
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
public set protectedResourceProjectId(protectedResourceProjectId: string | undefined) {
|
70
|
+
this['protected_resource_project_id'] = protectedResourceProjectId;
|
71
|
+
}
|
72
|
+
public get protectedResourceProjectId() {
|
73
|
+
return this['protected_resource_project_id'];
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class FirewallInstanceResource {
|
4
|
+
private 'resource_id'?: string | undefined;
|
5
|
+
private 'cloud_service_type'?: string | undefined;
|
6
|
+
private 'resource_type'?: string | undefined;
|
7
|
+
private 'resource_spec_code'?: string | undefined;
|
8
|
+
private 'resource_size'?: number | undefined;
|
9
|
+
private 'resource_size_measure_id'?: number | undefined;
|
10
|
+
public constructor() {
|
11
|
+
}
|
12
|
+
public withResourceId(resourceId: string): FirewallInstanceResource {
|
13
|
+
this['resource_id'] = resourceId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set resourceId(resourceId: string | undefined) {
|
17
|
+
this['resource_id'] = resourceId;
|
18
|
+
}
|
19
|
+
public get resourceId() {
|
20
|
+
return this['resource_id'];
|
21
|
+
}
|
22
|
+
public withCloudServiceType(cloudServiceType: string): FirewallInstanceResource {
|
23
|
+
this['cloud_service_type'] = cloudServiceType;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set cloudServiceType(cloudServiceType: string | undefined) {
|
27
|
+
this['cloud_service_type'] = cloudServiceType;
|
28
|
+
}
|
29
|
+
public get cloudServiceType() {
|
30
|
+
return this['cloud_service_type'];
|
31
|
+
}
|
32
|
+
public withResourceType(resourceType: string): FirewallInstanceResource {
|
33
|
+
this['resource_type'] = resourceType;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set resourceType(resourceType: string | undefined) {
|
37
|
+
this['resource_type'] = resourceType;
|
38
|
+
}
|
39
|
+
public get resourceType() {
|
40
|
+
return this['resource_type'];
|
41
|
+
}
|
42
|
+
public withResourceSpecCode(resourceSpecCode: string): FirewallInstanceResource {
|
43
|
+
this['resource_spec_code'] = resourceSpecCode;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
public set resourceSpecCode(resourceSpecCode: string | undefined) {
|
47
|
+
this['resource_spec_code'] = resourceSpecCode;
|
48
|
+
}
|
49
|
+
public get resourceSpecCode() {
|
50
|
+
return this['resource_spec_code'];
|
51
|
+
}
|
52
|
+
public withResourceSize(resourceSize: number): FirewallInstanceResource {
|
53
|
+
this['resource_size'] = resourceSize;
|
54
|
+
return this;
|
55
|
+
}
|
56
|
+
public set resourceSize(resourceSize: number | undefined) {
|
57
|
+
this['resource_size'] = resourceSize;
|
58
|
+
}
|
59
|
+
public get resourceSize() {
|
60
|
+
return this['resource_size'];
|
61
|
+
}
|
62
|
+
public withResourceSizeMeasureId(resourceSizeMeasureId: number): FirewallInstanceResource {
|
63
|
+
this['resource_size_measure_id'] = resourceSizeMeasureId;
|
64
|
+
return this;
|
65
|
+
}
|
66
|
+
public set resourceSizeMeasureId(resourceSizeMeasureId: number | undefined) {
|
67
|
+
this['resource_size_measure_id'] = resourceSizeMeasureId;
|
68
|
+
}
|
69
|
+
public get resourceSizeMeasureId() {
|
70
|
+
return this['resource_size_measure_id'];
|
71
|
+
}
|
72
|
+
}
|