@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,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ServiceItemIds = void 0;
|
4
|
+
var ServiceItemIds = /** @class */ (function () {
|
5
|
+
function ServiceItemIds() {
|
6
|
+
}
|
7
|
+
ServiceItemIds.prototype.withItems = function (items) {
|
8
|
+
this['items'] = items;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return ServiceItemIds;
|
12
|
+
}());
|
13
|
+
exports.ServiceItemIds = ServiceItemIds;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ServiceItemListResponseDtoDataRecords } from './ServiceItemListResponseDtoDataRecords';
|
2
|
+
export declare class ServiceItemListResponseDtoData {
|
3
|
+
offset?: number;
|
4
|
+
limit?: number;
|
5
|
+
total?: number;
|
6
|
+
records?: Array<ServiceItemListResponseDtoDataRecords>;
|
7
|
+
constructor();
|
8
|
+
withOffset(offset: number): ServiceItemListResponseDtoData;
|
9
|
+
withLimit(limit: number): ServiceItemListResponseDtoData;
|
10
|
+
withTotal(total: number): ServiceItemListResponseDtoData;
|
11
|
+
withRecords(records: Array<ServiceItemListResponseDtoDataRecords>): ServiceItemListResponseDtoData;
|
12
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ServiceItemListResponseDtoData = void 0;
|
4
|
+
var ServiceItemListResponseDtoData = /** @class */ (function () {
|
5
|
+
function ServiceItemListResponseDtoData() {
|
6
|
+
}
|
7
|
+
ServiceItemListResponseDtoData.prototype.withOffset = function (offset) {
|
8
|
+
this['offset'] = offset;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
ServiceItemListResponseDtoData.prototype.withLimit = function (limit) {
|
12
|
+
this['limit'] = limit;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
ServiceItemListResponseDtoData.prototype.withTotal = function (total) {
|
16
|
+
this['total'] = total;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
ServiceItemListResponseDtoData.prototype.withRecords = function (records) {
|
20
|
+
this['records'] = records;
|
21
|
+
return this;
|
22
|
+
};
|
23
|
+
return ServiceItemListResponseDtoData;
|
24
|
+
}());
|
25
|
+
exports.ServiceItemListResponseDtoData = ServiceItemListResponseDtoData;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare class ServiceItemListResponseDtoDataRecords {
|
2
|
+
private 'item_id'?;
|
3
|
+
protocol?: number;
|
4
|
+
private 'source_port'?;
|
5
|
+
private 'dest_port'?;
|
6
|
+
name?: string;
|
7
|
+
description?: string;
|
8
|
+
constructor();
|
9
|
+
withItemId(itemId: string): ServiceItemListResponseDtoDataRecords;
|
10
|
+
set itemId(itemId: string | undefined);
|
11
|
+
get itemId(): string | undefined;
|
12
|
+
withProtocol(protocol: number): ServiceItemListResponseDtoDataRecords;
|
13
|
+
withSourcePort(sourcePort: string): ServiceItemListResponseDtoDataRecords;
|
14
|
+
set sourcePort(sourcePort: string | undefined);
|
15
|
+
get sourcePort(): string | undefined;
|
16
|
+
withDestPort(destPort: string): ServiceItemListResponseDtoDataRecords;
|
17
|
+
set destPort(destPort: string | undefined);
|
18
|
+
get destPort(): string | undefined;
|
19
|
+
withName(name: string): ServiceItemListResponseDtoDataRecords;
|
20
|
+
withDescription(description: string): ServiceItemListResponseDtoDataRecords;
|
21
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ServiceItemListResponseDtoDataRecords = void 0;
|
4
|
+
var ServiceItemListResponseDtoDataRecords = /** @class */ (function () {
|
5
|
+
function ServiceItemListResponseDtoDataRecords() {
|
6
|
+
}
|
7
|
+
ServiceItemListResponseDtoDataRecords.prototype.withItemId = function (itemId) {
|
8
|
+
this['item_id'] = itemId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ServiceItemListResponseDtoDataRecords.prototype, "itemId", {
|
12
|
+
get: function () {
|
13
|
+
return this['item_id'];
|
14
|
+
},
|
15
|
+
set: function (itemId) {
|
16
|
+
this['item_id'] = itemId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ServiceItemListResponseDtoDataRecords.prototype.withProtocol = function (protocol) {
|
22
|
+
this['protocol'] = protocol;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
ServiceItemListResponseDtoDataRecords.prototype.withSourcePort = function (sourcePort) {
|
26
|
+
this['source_port'] = sourcePort;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ServiceItemListResponseDtoDataRecords.prototype, "sourcePort", {
|
30
|
+
get: function () {
|
31
|
+
return this['source_port'];
|
32
|
+
},
|
33
|
+
set: function (sourcePort) {
|
34
|
+
this['source_port'] = sourcePort;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ServiceItemListResponseDtoDataRecords.prototype.withDestPort = function (destPort) {
|
40
|
+
this['dest_port'] = destPort;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(ServiceItemListResponseDtoDataRecords.prototype, "destPort", {
|
44
|
+
get: function () {
|
45
|
+
return this['dest_port'];
|
46
|
+
},
|
47
|
+
set: function (destPort) {
|
48
|
+
this['dest_port'] = destPort;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
ServiceItemListResponseDtoDataRecords.prototype.withName = function (name) {
|
54
|
+
this['name'] = name;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
ServiceItemListResponseDtoDataRecords.prototype.withDescription = function (description) {
|
58
|
+
this['description'] = description;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
return ServiceItemListResponseDtoDataRecords;
|
62
|
+
}());
|
63
|
+
exports.ServiceItemListResponseDtoDataRecords = ServiceItemListResponseDtoDataRecords;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare class ServiceSet {
|
2
|
+
private 'set_id'?;
|
3
|
+
name?: string;
|
4
|
+
description?: string;
|
5
|
+
private 'ref_count'?;
|
6
|
+
status?: string;
|
7
|
+
constructor();
|
8
|
+
withSetId(setId: string): ServiceSet;
|
9
|
+
set setId(setId: string | undefined);
|
10
|
+
get setId(): string | undefined;
|
11
|
+
withName(name: string): ServiceSet;
|
12
|
+
withDescription(description: string): ServiceSet;
|
13
|
+
withRefCount(refCount: number): ServiceSet;
|
14
|
+
set refCount(refCount: number | undefined);
|
15
|
+
get refCount(): number | undefined;
|
16
|
+
withStatus(status: string): ServiceSet;
|
17
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ServiceSet = void 0;
|
4
|
+
var ServiceSet = /** @class */ (function () {
|
5
|
+
function ServiceSet() {
|
6
|
+
}
|
7
|
+
ServiceSet.prototype.withSetId = function (setId) {
|
8
|
+
this['set_id'] = setId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ServiceSet.prototype, "setId", {
|
12
|
+
get: function () {
|
13
|
+
return this['set_id'];
|
14
|
+
},
|
15
|
+
set: function (setId) {
|
16
|
+
this['set_id'] = setId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ServiceSet.prototype.withName = function (name) {
|
22
|
+
this['name'] = name;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
ServiceSet.prototype.withDescription = function (description) {
|
26
|
+
this['description'] = description;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ServiceSet.prototype.withRefCount = function (refCount) {
|
30
|
+
this['ref_count'] = refCount;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(ServiceSet.prototype, "refCount", {
|
34
|
+
get: function () {
|
35
|
+
return this['ref_count'];
|
36
|
+
},
|
37
|
+
set: function (refCount) {
|
38
|
+
this['ref_count'] = refCount;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
ServiceSet.prototype.withStatus = function (status) {
|
44
|
+
this['status'] = status;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
return ServiceSet;
|
48
|
+
}());
|
49
|
+
exports.ServiceSet = ServiceSet;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ServiceSet } from './ServiceSet';
|
2
|
+
export declare class ServiceSetRecords {
|
3
|
+
offset?: number;
|
4
|
+
limit?: number;
|
5
|
+
total?: number;
|
6
|
+
records?: Array<ServiceSet>;
|
7
|
+
constructor();
|
8
|
+
withOffset(offset: number): ServiceSetRecords;
|
9
|
+
withLimit(limit: number): ServiceSetRecords;
|
10
|
+
withTotal(total: number): ServiceSetRecords;
|
11
|
+
withRecords(records: Array<ServiceSet>): ServiceSetRecords;
|
12
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ServiceSetRecords = void 0;
|
4
|
+
var ServiceSetRecords = /** @class */ (function () {
|
5
|
+
function ServiceSetRecords() {
|
6
|
+
}
|
7
|
+
ServiceSetRecords.prototype.withOffset = function (offset) {
|
8
|
+
this['offset'] = offset;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
ServiceSetRecords.prototype.withLimit = function (limit) {
|
12
|
+
this['limit'] = limit;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
ServiceSetRecords.prototype.withTotal = function (total) {
|
16
|
+
this['total'] = total;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
ServiceSetRecords.prototype.withRecords = function (records) {
|
20
|
+
this['records'] = records;
|
21
|
+
return this;
|
22
|
+
};
|
23
|
+
return ServiceSetRecords;
|
24
|
+
}());
|
25
|
+
exports.ServiceSetRecords = ServiceSetRecords;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare class SubnetInfo {
|
2
|
+
private 'availability_zone'?;
|
3
|
+
cidr: string;
|
4
|
+
name: string;
|
5
|
+
id?: string;
|
6
|
+
private 'gateway_ip'?;
|
7
|
+
private 'vpc_id'?;
|
8
|
+
status?: string;
|
9
|
+
constructor(cidr?: any, name?: any);
|
10
|
+
withAvailabilityZone(availabilityZone: string): SubnetInfo;
|
11
|
+
set availabilityZone(availabilityZone: string | undefined);
|
12
|
+
get availabilityZone(): string | undefined;
|
13
|
+
withCidr(cidr: string): SubnetInfo;
|
14
|
+
withName(name: string): SubnetInfo;
|
15
|
+
withId(id: string): SubnetInfo;
|
16
|
+
withGatewayIp(gatewayIp: string): SubnetInfo;
|
17
|
+
set gatewayIp(gatewayIp: string | undefined);
|
18
|
+
get gatewayIp(): string | undefined;
|
19
|
+
withVpcId(vpcId: string): SubnetInfo;
|
20
|
+
set vpcId(vpcId: string | undefined);
|
21
|
+
get vpcId(): string | undefined;
|
22
|
+
withStatus(status: string): SubnetInfo;
|
23
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SubnetInfo = void 0;
|
4
|
+
var SubnetInfo = /** @class */ (function () {
|
5
|
+
function SubnetInfo(cidr, name) {
|
6
|
+
this['cidr'] = cidr;
|
7
|
+
this['name'] = name;
|
8
|
+
}
|
9
|
+
SubnetInfo.prototype.withAvailabilityZone = function (availabilityZone) {
|
10
|
+
this['availability_zone'] = availabilityZone;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(SubnetInfo.prototype, "availabilityZone", {
|
14
|
+
get: function () {
|
15
|
+
return this['availability_zone'];
|
16
|
+
},
|
17
|
+
set: function (availabilityZone) {
|
18
|
+
this['availability_zone'] = availabilityZone;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
SubnetInfo.prototype.withCidr = function (cidr) {
|
24
|
+
this['cidr'] = cidr;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
SubnetInfo.prototype.withName = function (name) {
|
28
|
+
this['name'] = name;
|
29
|
+
return this;
|
30
|
+
};
|
31
|
+
SubnetInfo.prototype.withId = function (id) {
|
32
|
+
this['id'] = id;
|
33
|
+
return this;
|
34
|
+
};
|
35
|
+
SubnetInfo.prototype.withGatewayIp = function (gatewayIp) {
|
36
|
+
this['gateway_ip'] = gatewayIp;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(SubnetInfo.prototype, "gatewayIp", {
|
40
|
+
get: function () {
|
41
|
+
return this['gateway_ip'];
|
42
|
+
},
|
43
|
+
set: function (gatewayIp) {
|
44
|
+
this['gateway_ip'] = gatewayIp;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
SubnetInfo.prototype.withVpcId = function (vpcId) {
|
50
|
+
this['vpc_id'] = vpcId;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
Object.defineProperty(SubnetInfo.prototype, "vpcId", {
|
54
|
+
get: function () {
|
55
|
+
return this['vpc_id'];
|
56
|
+
},
|
57
|
+
set: function (vpcId) {
|
58
|
+
this['vpc_id'] = vpcId;
|
59
|
+
},
|
60
|
+
enumerable: false,
|
61
|
+
configurable: true
|
62
|
+
});
|
63
|
+
SubnetInfo.prototype.withStatus = function (status) {
|
64
|
+
this['status'] = status;
|
65
|
+
return this;
|
66
|
+
};
|
67
|
+
return SubnetInfo;
|
68
|
+
}());
|
69
|
+
exports.SubnetInfo = SubnetInfo;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SuccessRspData = void 0;
|
4
|
+
var SuccessRspData = /** @class */ (function () {
|
5
|
+
function SuccessRspData() {
|
6
|
+
}
|
7
|
+
SuccessRspData.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return SuccessRspData;
|
12
|
+
}());
|
13
|
+
exports.SuccessRspData = SuccessRspData;
|
package/v1/model/Tag.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Tag = void 0;
|
4
|
+
var Tag = /** @class */ (function () {
|
5
|
+
function Tag() {
|
6
|
+
}
|
7
|
+
Tag.prototype.withKey = function (key) {
|
8
|
+
this['key'] = key;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Tag.prototype.withValue = function (value) {
|
12
|
+
this['value'] = value;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
return Tag;
|
16
|
+
}());
|
17
|
+
exports.Tag = Tag;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateAddressSetDto = void 0;
|
4
|
+
var UpdateAddressSetDto = /** @class */ (function () {
|
5
|
+
function UpdateAddressSetDto() {
|
6
|
+
}
|
7
|
+
UpdateAddressSetDto.prototype.withName = function (name) {
|
8
|
+
this['name'] = name;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
UpdateAddressSetDto.prototype.withDescription = function (description) {
|
12
|
+
this['description'] = description;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
return UpdateAddressSetDto;
|
16
|
+
}());
|
17
|
+
exports.UpdateAddressSetDto = UpdateAddressSetDto;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { UpdateAddressSetDto } from './UpdateAddressSetDto';
|
2
|
+
export declare class UpdateAddressSetInfoUsingPutRequest {
|
3
|
+
private 'project_id';
|
4
|
+
private 'set_id';
|
5
|
+
body?: UpdateAddressSetDto;
|
6
|
+
constructor(projectId?: any, setId?: any);
|
7
|
+
withProjectId(projectId: string): UpdateAddressSetInfoUsingPutRequest;
|
8
|
+
set projectId(projectId: string | undefined);
|
9
|
+
get projectId(): string | undefined;
|
10
|
+
withSetId(setId: string): UpdateAddressSetInfoUsingPutRequest;
|
11
|
+
set setId(setId: string | undefined);
|
12
|
+
get setId(): string | undefined;
|
13
|
+
withBody(body: UpdateAddressSetDto): UpdateAddressSetInfoUsingPutRequest;
|
14
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateAddressSetInfoUsingPutRequest = void 0;
|
4
|
+
var UpdateAddressSetInfoUsingPutRequest = /** @class */ (function () {
|
5
|
+
function UpdateAddressSetInfoUsingPutRequest(projectId, setId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['set_id'] = setId;
|
8
|
+
}
|
9
|
+
UpdateAddressSetInfoUsingPutRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(UpdateAddressSetInfoUsingPutRequest.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
|
+
UpdateAddressSetInfoUsingPutRequest.prototype.withSetId = function (setId) {
|
24
|
+
this['set_id'] = setId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(UpdateAddressSetInfoUsingPutRequest.prototype, "setId", {
|
28
|
+
get: function () {
|
29
|
+
return this['set_id'];
|
30
|
+
},
|
31
|
+
set: function (setId) {
|
32
|
+
this['set_id'] = setId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
UpdateAddressSetInfoUsingPutRequest.prototype.withBody = function (body) {
|
38
|
+
this['body'] = body;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return UpdateAddressSetInfoUsingPutRequest;
|
42
|
+
}());
|
43
|
+
exports.UpdateAddressSetInfoUsingPutRequest = UpdateAddressSetInfoUsingPutRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class UpdateAddressSetInfoUsingPutResponse extends SdkResponse {
|
4
|
+
data?: IdObject;
|
5
|
+
constructor();
|
6
|
+
withData(data: IdObject): UpdateAddressSetInfoUsingPutResponse;
|
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.UpdateAddressSetInfoUsingPutResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateAddressSetInfoUsingPutResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateAddressSetInfoUsingPutResponse, _super);
|
22
|
+
function UpdateAddressSetInfoUsingPutResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
UpdateAddressSetInfoUsingPutResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return UpdateAddressSetInfoUsingPutResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.UpdateAddressSetInfoUsingPutResponse = UpdateAddressSetInfoUsingPutResponse;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare class UpdateBlackWhiteListDto {
|
2
|
+
direction?: number;
|
3
|
+
private 'address_type'?;
|
4
|
+
address?: string;
|
5
|
+
protocol?: number;
|
6
|
+
port?: string;
|
7
|
+
constructor();
|
8
|
+
withDirection(direction: number): UpdateBlackWhiteListDto;
|
9
|
+
withAddressType(addressType: number): UpdateBlackWhiteListDto;
|
10
|
+
set addressType(addressType: number | undefined);
|
11
|
+
get addressType(): number | undefined;
|
12
|
+
withAddress(address: string): UpdateBlackWhiteListDto;
|
13
|
+
withProtocol(protocol: number): UpdateBlackWhiteListDto;
|
14
|
+
withPort(port: string): UpdateBlackWhiteListDto;
|
15
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateBlackWhiteListDto = void 0;
|
4
|
+
var UpdateBlackWhiteListDto = /** @class */ (function () {
|
5
|
+
function UpdateBlackWhiteListDto() {
|
6
|
+
}
|
7
|
+
UpdateBlackWhiteListDto.prototype.withDirection = function (direction) {
|
8
|
+
this['direction'] = direction;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
UpdateBlackWhiteListDto.prototype.withAddressType = function (addressType) {
|
12
|
+
this['address_type'] = addressType;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(UpdateBlackWhiteListDto.prototype, "addressType", {
|
16
|
+
get: function () {
|
17
|
+
return this['address_type'];
|
18
|
+
},
|
19
|
+
set: function (addressType) {
|
20
|
+
this['address_type'] = addressType;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
UpdateBlackWhiteListDto.prototype.withAddress = function (address) {
|
26
|
+
this['address'] = address;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
UpdateBlackWhiteListDto.prototype.withProtocol = function (protocol) {
|
30
|
+
this['protocol'] = protocol;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
UpdateBlackWhiteListDto.prototype.withPort = function (port) {
|
34
|
+
this['port'] = port;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
return UpdateBlackWhiteListDto;
|
38
|
+
}());
|
39
|
+
exports.UpdateBlackWhiteListDto = UpdateBlackWhiteListDto;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { UpdateBlackWhiteListDto } from './UpdateBlackWhiteListDto';
|
2
|
+
export declare class UpdateBlackWhiteListUsingPutRequest {
|
3
|
+
private 'project_id';
|
4
|
+
private 'list_id';
|
5
|
+
body?: UpdateBlackWhiteListDto;
|
6
|
+
constructor(projectId?: any, listId?: any);
|
7
|
+
withProjectId(projectId: string): UpdateBlackWhiteListUsingPutRequest;
|
8
|
+
set projectId(projectId: string | undefined);
|
9
|
+
get projectId(): string | undefined;
|
10
|
+
withListId(listId: string): UpdateBlackWhiteListUsingPutRequest;
|
11
|
+
set listId(listId: string | undefined);
|
12
|
+
get listId(): string | undefined;
|
13
|
+
withBody(body: UpdateBlackWhiteListDto): UpdateBlackWhiteListUsingPutRequest;
|
14
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateBlackWhiteListUsingPutRequest = void 0;
|
4
|
+
var UpdateBlackWhiteListUsingPutRequest = /** @class */ (function () {
|
5
|
+
function UpdateBlackWhiteListUsingPutRequest(projectId, listId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['list_id'] = listId;
|
8
|
+
}
|
9
|
+
UpdateBlackWhiteListUsingPutRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(UpdateBlackWhiteListUsingPutRequest.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
|
+
UpdateBlackWhiteListUsingPutRequest.prototype.withListId = function (listId) {
|
24
|
+
this['list_id'] = listId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(UpdateBlackWhiteListUsingPutRequest.prototype, "listId", {
|
28
|
+
get: function () {
|
29
|
+
return this['list_id'];
|
30
|
+
},
|
31
|
+
set: function (listId) {
|
32
|
+
this['list_id'] = listId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
UpdateBlackWhiteListUsingPutRequest.prototype.withBody = function (body) {
|
38
|
+
this['body'] = body;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return UpdateBlackWhiteListUsingPutRequest;
|
42
|
+
}());
|
43
|
+
exports.UpdateBlackWhiteListUsingPutRequest = UpdateBlackWhiteListUsingPutRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class UpdateBlackWhiteListUsingPutResponse extends SdkResponse {
|
4
|
+
data?: IdObject;
|
5
|
+
constructor();
|
6
|
+
withData(data: IdObject): UpdateBlackWhiteListUsingPutResponse;
|
7
|
+
}
|