@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,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListIpsSwitchStatusUsingGetRequest = void 0;
|
4
|
+
var ListIpsSwitchStatusUsingGetRequest = /** @class */ (function () {
|
5
|
+
function ListIpsSwitchStatusUsingGetRequest(projectId, objectId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['object_id'] = objectId;
|
8
|
+
}
|
9
|
+
ListIpsSwitchStatusUsingGetRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(ListIpsSwitchStatusUsingGetRequest.prototype, "projectId", {
|
14
|
+
get: function () {
|
15
|
+
return this['project_id'];
|
16
|
+
},
|
17
|
+
set: function (projectId) {
|
18
|
+
this['project_id'] = projectId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
ListIpsSwitchStatusUsingGetRequest.prototype.withObjectId = function (objectId) {
|
24
|
+
this['object_id'] = objectId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(ListIpsSwitchStatusUsingGetRequest.prototype, "objectId", {
|
28
|
+
get: function () {
|
29
|
+
return this['object_id'];
|
30
|
+
},
|
31
|
+
set: function (objectId) {
|
32
|
+
this['object_id'] = objectId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return ListIpsSwitchStatusUsingGetRequest;
|
38
|
+
}());
|
39
|
+
exports.ListIpsSwitchStatusUsingGetRequest = ListIpsSwitchStatusUsingGetRequest;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class ListIpsSwitchStatusUsingGetResponse extends SdkResponse {
|
3
|
+
private 'object_id'?;
|
4
|
+
private 'basic_defense_status'?;
|
5
|
+
private 'virtual_patches_stauts'?;
|
6
|
+
constructor();
|
7
|
+
withObjectId(objectId: string): ListIpsSwitchStatusUsingGetResponse;
|
8
|
+
set objectId(objectId: string | undefined);
|
9
|
+
get objectId(): string | undefined;
|
10
|
+
withBasicDefenseStatus(basicDefenseStatus: number): ListIpsSwitchStatusUsingGetResponse;
|
11
|
+
set basicDefenseStatus(basicDefenseStatus: number | undefined);
|
12
|
+
get basicDefenseStatus(): number | undefined;
|
13
|
+
withVirtualPatchesStauts(virtualPatchesStauts: number): ListIpsSwitchStatusUsingGetResponse;
|
14
|
+
set virtualPatchesStauts(virtualPatchesStauts: number | undefined);
|
15
|
+
get virtualPatchesStauts(): number | undefined;
|
16
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListIpsSwitchStatusUsingGetResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListIpsSwitchStatusUsingGetResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListIpsSwitchStatusUsingGetResponse, _super);
|
22
|
+
function ListIpsSwitchStatusUsingGetResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListIpsSwitchStatusUsingGetResponse.prototype.withObjectId = function (objectId) {
|
26
|
+
this['object_id'] = objectId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ListIpsSwitchStatusUsingGetResponse.prototype, "objectId", {
|
30
|
+
get: function () {
|
31
|
+
return this['object_id'];
|
32
|
+
},
|
33
|
+
set: function (objectId) {
|
34
|
+
this['object_id'] = objectId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ListIpsSwitchStatusUsingGetResponse.prototype.withBasicDefenseStatus = function (basicDefenseStatus) {
|
40
|
+
this['basic_defense_status'] = basicDefenseStatus;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(ListIpsSwitchStatusUsingGetResponse.prototype, "basicDefenseStatus", {
|
44
|
+
get: function () {
|
45
|
+
return this['basic_defense_status'];
|
46
|
+
},
|
47
|
+
set: function (basicDefenseStatus) {
|
48
|
+
this['basic_defense_status'] = basicDefenseStatus;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
ListIpsSwitchStatusUsingGetResponse.prototype.withVirtualPatchesStauts = function (virtualPatchesStauts) {
|
54
|
+
this['virtual_patches_stauts'] = virtualPatchesStauts;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Object.defineProperty(ListIpsSwitchStatusUsingGetResponse.prototype, "virtualPatchesStauts", {
|
58
|
+
get: function () {
|
59
|
+
return this['virtual_patches_stauts'];
|
60
|
+
},
|
61
|
+
set: function (virtualPatchesStauts) {
|
62
|
+
this['virtual_patches_stauts'] = virtualPatchesStauts;
|
63
|
+
},
|
64
|
+
enumerable: false,
|
65
|
+
configurable: true
|
66
|
+
});
|
67
|
+
return ListIpsSwitchStatusUsingGetResponse;
|
68
|
+
}(SdkResponse_1.SdkResponse));
|
69
|
+
exports.ListIpsSwitchStatusUsingGetResponse = ListIpsSwitchStatusUsingGetResponse;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class ListParseDomainDetailsRequest {
|
2
|
+
private 'project_id';
|
3
|
+
private 'domain_name';
|
4
|
+
constructor(projectId?: any, domainName?: any);
|
5
|
+
withProjectId(projectId: string): ListParseDomainDetailsRequest;
|
6
|
+
set projectId(projectId: string | undefined);
|
7
|
+
get projectId(): string | undefined;
|
8
|
+
withDomainName(domainName: string): ListParseDomainDetailsRequest;
|
9
|
+
set domainName(domainName: string | undefined);
|
10
|
+
get domainName(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListParseDomainDetailsRequest = void 0;
|
4
|
+
var ListParseDomainDetailsRequest = /** @class */ (function () {
|
5
|
+
function ListParseDomainDetailsRequest(projectId, domainName) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['domain_name'] = domainName;
|
8
|
+
}
|
9
|
+
ListParseDomainDetailsRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(ListParseDomainDetailsRequest.prototype, "projectId", {
|
14
|
+
get: function () {
|
15
|
+
return this['project_id'];
|
16
|
+
},
|
17
|
+
set: function (projectId) {
|
18
|
+
this['project_id'] = projectId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
ListParseDomainDetailsRequest.prototype.withDomainName = function (domainName) {
|
24
|
+
this['domain_name'] = domainName;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(ListParseDomainDetailsRequest.prototype, "domainName", {
|
28
|
+
get: function () {
|
29
|
+
return this['domain_name'];
|
30
|
+
},
|
31
|
+
set: function (domainName) {
|
32
|
+
this['domain_name'] = domainName;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return ListParseDomainDetailsRequest;
|
38
|
+
}());
|
39
|
+
exports.ListParseDomainDetailsRequest = ListParseDomainDetailsRequest;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListParseDomainDetailsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListParseDomainDetailsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListParseDomainDetailsResponse, _super);
|
22
|
+
function ListParseDomainDetailsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListParseDomainDetailsResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ListParseDomainDetailsResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ListParseDomainDetailsResponse = ListParseDomainDetailsResponse;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { OrderRuleAclDto } from './OrderRuleAclDto';
|
2
|
+
export declare class ListRuleAclUsingPutRequest {
|
3
|
+
private 'project_id';
|
4
|
+
private 'acl_rule_id';
|
5
|
+
body?: OrderRuleAclDto;
|
6
|
+
constructor(projectId?: any, aclRuleId?: any);
|
7
|
+
withProjectId(projectId: string): ListRuleAclUsingPutRequest;
|
8
|
+
set projectId(projectId: string | undefined);
|
9
|
+
get projectId(): string | undefined;
|
10
|
+
withAclRuleId(aclRuleId: string): ListRuleAclUsingPutRequest;
|
11
|
+
set aclRuleId(aclRuleId: string | undefined);
|
12
|
+
get aclRuleId(): string | undefined;
|
13
|
+
withBody(body: OrderRuleAclDto): ListRuleAclUsingPutRequest;
|
14
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListRuleAclUsingPutRequest = void 0;
|
4
|
+
var ListRuleAclUsingPutRequest = /** @class */ (function () {
|
5
|
+
function ListRuleAclUsingPutRequest(projectId, aclRuleId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['acl_rule_id'] = aclRuleId;
|
8
|
+
}
|
9
|
+
ListRuleAclUsingPutRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(ListRuleAclUsingPutRequest.prototype, "projectId", {
|
14
|
+
get: function () {
|
15
|
+
return this['project_id'];
|
16
|
+
},
|
17
|
+
set: function (projectId) {
|
18
|
+
this['project_id'] = projectId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
ListRuleAclUsingPutRequest.prototype.withAclRuleId = function (aclRuleId) {
|
24
|
+
this['acl_rule_id'] = aclRuleId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(ListRuleAclUsingPutRequest.prototype, "aclRuleId", {
|
28
|
+
get: function () {
|
29
|
+
return this['acl_rule_id'];
|
30
|
+
},
|
31
|
+
set: function (aclRuleId) {
|
32
|
+
this['acl_rule_id'] = aclRuleId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
ListRuleAclUsingPutRequest.prototype.withBody = function (body) {
|
38
|
+
this['body'] = body;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return ListRuleAclUsingPutRequest;
|
42
|
+
}());
|
43
|
+
exports.ListRuleAclUsingPutRequest = ListRuleAclUsingPutRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { RuleId } from './RuleId';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListRuleAclUsingPutResponse extends SdkResponse {
|
4
|
+
data?: RuleId;
|
5
|
+
constructor();
|
6
|
+
withData(data: RuleId): ListRuleAclUsingPutResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListRuleAclUsingPutResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListRuleAclUsingPutResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListRuleAclUsingPutResponse, _super);
|
22
|
+
function ListRuleAclUsingPutResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListRuleAclUsingPutResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ListRuleAclUsingPutResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ListRuleAclUsingPutResponse = ListRuleAclUsingPutResponse;
|
@@ -0,0 +1,79 @@
|
|
1
|
+
export declare class ListRuleAclsUsingGetRequest {
|
2
|
+
private 'project_id';
|
3
|
+
private 'object_id';
|
4
|
+
type?: ListRuleAclsUsingGetRequestTypeEnum;
|
5
|
+
protocol?: ListRuleAclsUsingGetRequestProtocolEnum;
|
6
|
+
ip?: string;
|
7
|
+
name?: string;
|
8
|
+
direction?: number;
|
9
|
+
status?: ListRuleAclsUsingGetRequestStatusEnum;
|
10
|
+
private 'action_type'?;
|
11
|
+
private 'address_type'?;
|
12
|
+
limit: number;
|
13
|
+
offset: number;
|
14
|
+
constructor(projectId?: any, objectId?: any, limit?: any, offset?: any);
|
15
|
+
withProjectId(projectId: string): ListRuleAclsUsingGetRequest;
|
16
|
+
set projectId(projectId: string | undefined);
|
17
|
+
get projectId(): string | undefined;
|
18
|
+
withObjectId(objectId: string): ListRuleAclsUsingGetRequest;
|
19
|
+
set objectId(objectId: string | undefined);
|
20
|
+
get objectId(): string | undefined;
|
21
|
+
withType(type: ListRuleAclsUsingGetRequestTypeEnum): ListRuleAclsUsingGetRequest;
|
22
|
+
withProtocol(protocol: ListRuleAclsUsingGetRequestProtocolEnum): ListRuleAclsUsingGetRequest;
|
23
|
+
withIp(ip: string): ListRuleAclsUsingGetRequest;
|
24
|
+
withName(name: string): ListRuleAclsUsingGetRequest;
|
25
|
+
withDirection(direction: number): ListRuleAclsUsingGetRequest;
|
26
|
+
withStatus(status: ListRuleAclsUsingGetRequestStatusEnum): ListRuleAclsUsingGetRequest;
|
27
|
+
withActionType(actionType: ListRuleAclsUsingGetRequestActionTypeEnum): ListRuleAclsUsingGetRequest;
|
28
|
+
set actionType(actionType: ListRuleAclsUsingGetRequestActionTypeEnum | undefined);
|
29
|
+
get actionType(): ListRuleAclsUsingGetRequestActionTypeEnum | undefined;
|
30
|
+
withAddressType(addressType: ListRuleAclsUsingGetRequestAddressTypeEnum): ListRuleAclsUsingGetRequest;
|
31
|
+
set addressType(addressType: ListRuleAclsUsingGetRequestAddressTypeEnum | undefined);
|
32
|
+
get addressType(): ListRuleAclsUsingGetRequestAddressTypeEnum | undefined;
|
33
|
+
withLimit(limit: number): ListRuleAclsUsingGetRequest;
|
34
|
+
withOffset(offset: number): ListRuleAclsUsingGetRequest;
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* @export
|
38
|
+
* @enum {string}
|
39
|
+
*/
|
40
|
+
export declare enum ListRuleAclsUsingGetRequestTypeEnum {
|
41
|
+
NUMBER_0 = 0,
|
42
|
+
NUMBER_1 = 1,
|
43
|
+
NUMBER_2 = 2
|
44
|
+
}
|
45
|
+
/**
|
46
|
+
* @export
|
47
|
+
* @enum {string}
|
48
|
+
*/
|
49
|
+
export declare enum ListRuleAclsUsingGetRequestProtocolEnum {
|
50
|
+
NUMBER_6 = 6,
|
51
|
+
NUMBER_17 = 17,
|
52
|
+
NUMBER_1 = 1,
|
53
|
+
NUMBER_58 = 58
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* @export
|
57
|
+
* @enum {string}
|
58
|
+
*/
|
59
|
+
export declare enum ListRuleAclsUsingGetRequestStatusEnum {
|
60
|
+
NUMBER_0 = 0,
|
61
|
+
NUMBER_1 = 1
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* @export
|
65
|
+
* @enum {string}
|
66
|
+
*/
|
67
|
+
export declare enum ListRuleAclsUsingGetRequestActionTypeEnum {
|
68
|
+
NUMBER_0 = 0,
|
69
|
+
NUMBER_1 = 1
|
70
|
+
}
|
71
|
+
/**
|
72
|
+
* @export
|
73
|
+
* @enum {string}
|
74
|
+
*/
|
75
|
+
export declare enum ListRuleAclsUsingGetRequestAddressTypeEnum {
|
76
|
+
NUMBER_0 = 0,
|
77
|
+
NUMBER_1 = 1,
|
78
|
+
NUMBER_2 = 2
|
79
|
+
}
|
@@ -0,0 +1,150 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListRuleAclsUsingGetRequestAddressTypeEnum = exports.ListRuleAclsUsingGetRequestActionTypeEnum = exports.ListRuleAclsUsingGetRequestStatusEnum = exports.ListRuleAclsUsingGetRequestProtocolEnum = exports.ListRuleAclsUsingGetRequestTypeEnum = exports.ListRuleAclsUsingGetRequest = void 0;
|
4
|
+
var ListRuleAclsUsingGetRequest = /** @class */ (function () {
|
5
|
+
function ListRuleAclsUsingGetRequest(projectId, objectId, limit, offset) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['object_id'] = objectId;
|
8
|
+
this['limit'] = limit;
|
9
|
+
this['offset'] = offset;
|
10
|
+
}
|
11
|
+
ListRuleAclsUsingGetRequest.prototype.withProjectId = function (projectId) {
|
12
|
+
this['project_id'] = projectId;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(ListRuleAclsUsingGetRequest.prototype, "projectId", {
|
16
|
+
get: function () {
|
17
|
+
return this['project_id'];
|
18
|
+
},
|
19
|
+
set: function (projectId) {
|
20
|
+
this['project_id'] = projectId;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
ListRuleAclsUsingGetRequest.prototype.withObjectId = function (objectId) {
|
26
|
+
this['object_id'] = objectId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ListRuleAclsUsingGetRequest.prototype, "objectId", {
|
30
|
+
get: function () {
|
31
|
+
return this['object_id'];
|
32
|
+
},
|
33
|
+
set: function (objectId) {
|
34
|
+
this['object_id'] = objectId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ListRuleAclsUsingGetRequest.prototype.withType = function (type) {
|
40
|
+
this['type'] = type;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
ListRuleAclsUsingGetRequest.prototype.withProtocol = function (protocol) {
|
44
|
+
this['protocol'] = protocol;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
ListRuleAclsUsingGetRequest.prototype.withIp = function (ip) {
|
48
|
+
this['ip'] = ip;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
ListRuleAclsUsingGetRequest.prototype.withName = function (name) {
|
52
|
+
this['name'] = name;
|
53
|
+
return this;
|
54
|
+
};
|
55
|
+
ListRuleAclsUsingGetRequest.prototype.withDirection = function (direction) {
|
56
|
+
this['direction'] = direction;
|
57
|
+
return this;
|
58
|
+
};
|
59
|
+
ListRuleAclsUsingGetRequest.prototype.withStatus = function (status) {
|
60
|
+
this['status'] = status;
|
61
|
+
return this;
|
62
|
+
};
|
63
|
+
ListRuleAclsUsingGetRequest.prototype.withActionType = function (actionType) {
|
64
|
+
this['action_type'] = actionType;
|
65
|
+
return this;
|
66
|
+
};
|
67
|
+
Object.defineProperty(ListRuleAclsUsingGetRequest.prototype, "actionType", {
|
68
|
+
get: function () {
|
69
|
+
return this['action_type'];
|
70
|
+
},
|
71
|
+
set: function (actionType) {
|
72
|
+
this['action_type'] = actionType;
|
73
|
+
},
|
74
|
+
enumerable: false,
|
75
|
+
configurable: true
|
76
|
+
});
|
77
|
+
ListRuleAclsUsingGetRequest.prototype.withAddressType = function (addressType) {
|
78
|
+
this['address_type'] = addressType;
|
79
|
+
return this;
|
80
|
+
};
|
81
|
+
Object.defineProperty(ListRuleAclsUsingGetRequest.prototype, "addressType", {
|
82
|
+
get: function () {
|
83
|
+
return this['address_type'];
|
84
|
+
},
|
85
|
+
set: function (addressType) {
|
86
|
+
this['address_type'] = addressType;
|
87
|
+
},
|
88
|
+
enumerable: false,
|
89
|
+
configurable: true
|
90
|
+
});
|
91
|
+
ListRuleAclsUsingGetRequest.prototype.withLimit = function (limit) {
|
92
|
+
this['limit'] = limit;
|
93
|
+
return this;
|
94
|
+
};
|
95
|
+
ListRuleAclsUsingGetRequest.prototype.withOffset = function (offset) {
|
96
|
+
this['offset'] = offset;
|
97
|
+
return this;
|
98
|
+
};
|
99
|
+
return ListRuleAclsUsingGetRequest;
|
100
|
+
}());
|
101
|
+
exports.ListRuleAclsUsingGetRequest = ListRuleAclsUsingGetRequest;
|
102
|
+
/**
|
103
|
+
* @export
|
104
|
+
* @enum {string}
|
105
|
+
*/
|
106
|
+
var ListRuleAclsUsingGetRequestTypeEnum;
|
107
|
+
(function (ListRuleAclsUsingGetRequestTypeEnum) {
|
108
|
+
ListRuleAclsUsingGetRequestTypeEnum[ListRuleAclsUsingGetRequestTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
109
|
+
ListRuleAclsUsingGetRequestTypeEnum[ListRuleAclsUsingGetRequestTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
110
|
+
ListRuleAclsUsingGetRequestTypeEnum[ListRuleAclsUsingGetRequestTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
111
|
+
})(ListRuleAclsUsingGetRequestTypeEnum = exports.ListRuleAclsUsingGetRequestTypeEnum || (exports.ListRuleAclsUsingGetRequestTypeEnum = {}));
|
112
|
+
/**
|
113
|
+
* @export
|
114
|
+
* @enum {string}
|
115
|
+
*/
|
116
|
+
var ListRuleAclsUsingGetRequestProtocolEnum;
|
117
|
+
(function (ListRuleAclsUsingGetRequestProtocolEnum) {
|
118
|
+
ListRuleAclsUsingGetRequestProtocolEnum[ListRuleAclsUsingGetRequestProtocolEnum["NUMBER_6"] = 6] = "NUMBER_6";
|
119
|
+
ListRuleAclsUsingGetRequestProtocolEnum[ListRuleAclsUsingGetRequestProtocolEnum["NUMBER_17"] = 17] = "NUMBER_17";
|
120
|
+
ListRuleAclsUsingGetRequestProtocolEnum[ListRuleAclsUsingGetRequestProtocolEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
121
|
+
ListRuleAclsUsingGetRequestProtocolEnum[ListRuleAclsUsingGetRequestProtocolEnum["NUMBER_58"] = 58] = "NUMBER_58";
|
122
|
+
})(ListRuleAclsUsingGetRequestProtocolEnum = exports.ListRuleAclsUsingGetRequestProtocolEnum || (exports.ListRuleAclsUsingGetRequestProtocolEnum = {}));
|
123
|
+
/**
|
124
|
+
* @export
|
125
|
+
* @enum {string}
|
126
|
+
*/
|
127
|
+
var ListRuleAclsUsingGetRequestStatusEnum;
|
128
|
+
(function (ListRuleAclsUsingGetRequestStatusEnum) {
|
129
|
+
ListRuleAclsUsingGetRequestStatusEnum[ListRuleAclsUsingGetRequestStatusEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
130
|
+
ListRuleAclsUsingGetRequestStatusEnum[ListRuleAclsUsingGetRequestStatusEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
131
|
+
})(ListRuleAclsUsingGetRequestStatusEnum = exports.ListRuleAclsUsingGetRequestStatusEnum || (exports.ListRuleAclsUsingGetRequestStatusEnum = {}));
|
132
|
+
/**
|
133
|
+
* @export
|
134
|
+
* @enum {string}
|
135
|
+
*/
|
136
|
+
var ListRuleAclsUsingGetRequestActionTypeEnum;
|
137
|
+
(function (ListRuleAclsUsingGetRequestActionTypeEnum) {
|
138
|
+
ListRuleAclsUsingGetRequestActionTypeEnum[ListRuleAclsUsingGetRequestActionTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
139
|
+
ListRuleAclsUsingGetRequestActionTypeEnum[ListRuleAclsUsingGetRequestActionTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
140
|
+
})(ListRuleAclsUsingGetRequestActionTypeEnum = exports.ListRuleAclsUsingGetRequestActionTypeEnum || (exports.ListRuleAclsUsingGetRequestActionTypeEnum = {}));
|
141
|
+
/**
|
142
|
+
* @export
|
143
|
+
* @enum {string}
|
144
|
+
*/
|
145
|
+
var ListRuleAclsUsingGetRequestAddressTypeEnum;
|
146
|
+
(function (ListRuleAclsUsingGetRequestAddressTypeEnum) {
|
147
|
+
ListRuleAclsUsingGetRequestAddressTypeEnum[ListRuleAclsUsingGetRequestAddressTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
148
|
+
ListRuleAclsUsingGetRequestAddressTypeEnum[ListRuleAclsUsingGetRequestAddressTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
149
|
+
ListRuleAclsUsingGetRequestAddressTypeEnum[ListRuleAclsUsingGetRequestAddressTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
150
|
+
})(ListRuleAclsUsingGetRequestAddressTypeEnum = exports.ListRuleAclsUsingGetRequestAddressTypeEnum || (exports.ListRuleAclsUsingGetRequestAddressTypeEnum = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { RuleAclListResponseDTOData } from './RuleAclListResponseDTOData';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListRuleAclsUsingGetResponse extends SdkResponse {
|
4
|
+
data?: RuleAclListResponseDTOData;
|
5
|
+
constructor();
|
6
|
+
withData(data: RuleAclListResponseDTOData): ListRuleAclsUsingGetResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListRuleAclsUsingGetResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListRuleAclsUsingGetResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListRuleAclsUsingGetResponse, _super);
|
22
|
+
function ListRuleAclsUsingGetResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListRuleAclsUsingGetResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ListRuleAclsUsingGetResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ListRuleAclsUsingGetResponse = ListRuleAclsUsingGetResponse;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListRuleHitCountDto = void 0;
|
4
|
+
var ListRuleHitCountDto = /** @class */ (function () {
|
5
|
+
function ListRuleHitCountDto(ruleIds) {
|
6
|
+
this['rule_ids'] = ruleIds;
|
7
|
+
}
|
8
|
+
ListRuleHitCountDto.prototype.withRuleIds = function (ruleIds) {
|
9
|
+
this['rule_ids'] = ruleIds;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ListRuleHitCountDto.prototype, "ruleIds", {
|
13
|
+
get: function () {
|
14
|
+
return this['rule_ids'];
|
15
|
+
},
|
16
|
+
set: function (ruleIds) {
|
17
|
+
this['rule_ids'] = ruleIds;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return ListRuleHitCountDto;
|
23
|
+
}());
|
24
|
+
exports.ListRuleHitCountDto = ListRuleHitCountDto;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ListRuleHitCountDto } from './ListRuleHitCountDto';
|
2
|
+
export declare class ListRuleHitCountRequest {
|
3
|
+
private 'project_id';
|
4
|
+
body?: ListRuleHitCountDto;
|
5
|
+
constructor(projectId?: any);
|
6
|
+
withProjectId(projectId: string): ListRuleHitCountRequest;
|
7
|
+
set projectId(projectId: string | undefined);
|
8
|
+
get projectId(): string | undefined;
|
9
|
+
withBody(body: ListRuleHitCountDto): ListRuleHitCountRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListRuleHitCountRequest = void 0;
|
4
|
+
var ListRuleHitCountRequest = /** @class */ (function () {
|
5
|
+
function ListRuleHitCountRequest(projectId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
}
|
8
|
+
ListRuleHitCountRequest.prototype.withProjectId = function (projectId) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ListRuleHitCountRequest.prototype, "projectId", {
|
13
|
+
get: function () {
|
14
|
+
return this['project_id'];
|
15
|
+
},
|
16
|
+
set: function (projectId) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
ListRuleHitCountRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return ListRuleHitCountRequest;
|
27
|
+
}());
|
28
|
+
exports.ListRuleHitCountRequest = ListRuleHitCountRequest;
|