@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,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.UpdateBlackWhiteListUsingPutResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateBlackWhiteListUsingPutResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateBlackWhiteListUsingPutResponse, _super);
|
22
|
+
function UpdateBlackWhiteListUsingPutResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
UpdateBlackWhiteListUsingPutResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return UpdateBlackWhiteListUsingPutResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.UpdateBlackWhiteListUsingPutResponse = UpdateBlackWhiteListUsingPutResponse;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { UpdateDnsServersRequestBody } from './UpdateDnsServersRequestBody';
|
2
|
+
export declare class UpdateDnsServersRequest {
|
3
|
+
private 'project_id';
|
4
|
+
body?: UpdateDnsServersRequestBody;
|
5
|
+
constructor(projectId?: any);
|
6
|
+
withProjectId(projectId: string): UpdateDnsServersRequest;
|
7
|
+
set projectId(projectId: string | undefined);
|
8
|
+
get projectId(): string | undefined;
|
9
|
+
withBody(body: UpdateDnsServersRequestBody): UpdateDnsServersRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateDnsServersRequest = void 0;
|
4
|
+
var UpdateDnsServersRequest = /** @class */ (function () {
|
5
|
+
function UpdateDnsServersRequest(projectId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
}
|
8
|
+
UpdateDnsServersRequest.prototype.withProjectId = function (projectId) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(UpdateDnsServersRequest.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
|
+
UpdateDnsServersRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return UpdateDnsServersRequest;
|
27
|
+
}());
|
28
|
+
exports.UpdateDnsServersRequest = UpdateDnsServersRequest;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { UpdateDnsServersRequestBodyDnsServer } from './UpdateDnsServersRequestBodyDnsServer';
|
2
|
+
export declare class UpdateDnsServersRequestBody {
|
3
|
+
private 'dns_server'?;
|
4
|
+
constructor();
|
5
|
+
withDnsServer(dnsServer: Array<UpdateDnsServersRequestBodyDnsServer>): UpdateDnsServersRequestBody;
|
6
|
+
set dnsServer(dnsServer: Array<UpdateDnsServersRequestBodyDnsServer> | undefined);
|
7
|
+
get dnsServer(): Array<UpdateDnsServersRequestBodyDnsServer> | undefined;
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateDnsServersRequestBody = void 0;
|
4
|
+
var UpdateDnsServersRequestBody = /** @class */ (function () {
|
5
|
+
function UpdateDnsServersRequestBody() {
|
6
|
+
}
|
7
|
+
UpdateDnsServersRequestBody.prototype.withDnsServer = function (dnsServer) {
|
8
|
+
this['dns_server'] = dnsServer;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(UpdateDnsServersRequestBody.prototype, "dnsServer", {
|
12
|
+
get: function () {
|
13
|
+
return this['dns_server'];
|
14
|
+
},
|
15
|
+
set: function (dnsServer) {
|
16
|
+
this['dns_server'] = dnsServer;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
return UpdateDnsServersRequestBody;
|
22
|
+
}());
|
23
|
+
exports.UpdateDnsServersRequestBody = UpdateDnsServersRequestBody;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare class UpdateDnsServersRequestBodyDnsServer {
|
2
|
+
private 'server_ip'?;
|
3
|
+
private 'is_customized'?;
|
4
|
+
private 'is_applied'?;
|
5
|
+
constructor();
|
6
|
+
withServerIp(serverIp: string): UpdateDnsServersRequestBodyDnsServer;
|
7
|
+
set serverIp(serverIp: string | undefined);
|
8
|
+
get serverIp(): string | undefined;
|
9
|
+
withIsCustomized(isCustomized: number): UpdateDnsServersRequestBodyDnsServer;
|
10
|
+
set isCustomized(isCustomized: number | undefined);
|
11
|
+
get isCustomized(): number | undefined;
|
12
|
+
withIsApplied(isApplied: number): UpdateDnsServersRequestBodyDnsServer;
|
13
|
+
set isApplied(isApplied: number | undefined);
|
14
|
+
get isApplied(): number | undefined;
|
15
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateDnsServersRequestBodyDnsServer = void 0;
|
4
|
+
var UpdateDnsServersRequestBodyDnsServer = /** @class */ (function () {
|
5
|
+
function UpdateDnsServersRequestBodyDnsServer() {
|
6
|
+
}
|
7
|
+
UpdateDnsServersRequestBodyDnsServer.prototype.withServerIp = function (serverIp) {
|
8
|
+
this['server_ip'] = serverIp;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(UpdateDnsServersRequestBodyDnsServer.prototype, "serverIp", {
|
12
|
+
get: function () {
|
13
|
+
return this['server_ip'];
|
14
|
+
},
|
15
|
+
set: function (serverIp) {
|
16
|
+
this['server_ip'] = serverIp;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
UpdateDnsServersRequestBodyDnsServer.prototype.withIsCustomized = function (isCustomized) {
|
22
|
+
this['is_customized'] = isCustomized;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(UpdateDnsServersRequestBodyDnsServer.prototype, "isCustomized", {
|
26
|
+
get: function () {
|
27
|
+
return this['is_customized'];
|
28
|
+
},
|
29
|
+
set: function (isCustomized) {
|
30
|
+
this['is_customized'] = isCustomized;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
UpdateDnsServersRequestBodyDnsServer.prototype.withIsApplied = function (isApplied) {
|
36
|
+
this['is_applied'] = isApplied;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(UpdateDnsServersRequestBodyDnsServer.prototype, "isApplied", {
|
40
|
+
get: function () {
|
41
|
+
return this['is_applied'];
|
42
|
+
},
|
43
|
+
set: function (isApplied) {
|
44
|
+
this['is_applied'] = isApplied;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
return UpdateDnsServersRequestBodyDnsServer;
|
50
|
+
}());
|
51
|
+
exports.UpdateDnsServersRequestBodyDnsServer = UpdateDnsServersRequestBodyDnsServer;
|
@@ -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.UpdateDnsServersResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateDnsServersResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateDnsServersResponse, _super);
|
22
|
+
function UpdateDnsServersResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
UpdateDnsServersResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return UpdateDnsServersResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.UpdateDnsServersResponse = UpdateDnsServersResponse;
|
@@ -0,0 +1,82 @@
|
|
1
|
+
import { OrderRuleAclDto } from './OrderRuleAclDto';
|
2
|
+
import { RuleAddressDto } from './RuleAddressDto';
|
3
|
+
import { RuleServiceDto } from './RuleServiceDto';
|
4
|
+
export declare class UpdateRuleAclDto {
|
5
|
+
private 'address_type'?;
|
6
|
+
name?: string;
|
7
|
+
sequence?: OrderRuleAclDto;
|
8
|
+
direction?: UpdateRuleAclDtoDirectionEnum;
|
9
|
+
private 'action_type'?;
|
10
|
+
status?: number;
|
11
|
+
description?: string;
|
12
|
+
private 'long_connect_time_hour'?;
|
13
|
+
private 'long_connect_time_minute'?;
|
14
|
+
private 'long_connect_time_second'?;
|
15
|
+
private 'long_connect_time'?;
|
16
|
+
private 'long_connect_enable'?;
|
17
|
+
source?: RuleAddressDto;
|
18
|
+
destination?: RuleAddressDto;
|
19
|
+
service?: RuleServiceDto;
|
20
|
+
constructor();
|
21
|
+
withAddressType(addressType: UpdateRuleAclDtoAddressTypeEnum): UpdateRuleAclDto;
|
22
|
+
set addressType(addressType: UpdateRuleAclDtoAddressTypeEnum | undefined);
|
23
|
+
get addressType(): UpdateRuleAclDtoAddressTypeEnum | undefined;
|
24
|
+
withName(name: string): UpdateRuleAclDto;
|
25
|
+
withSequence(sequence: OrderRuleAclDto): UpdateRuleAclDto;
|
26
|
+
withDirection(direction: UpdateRuleAclDtoDirectionEnum): UpdateRuleAclDto;
|
27
|
+
withActionType(actionType: UpdateRuleAclDtoActionTypeEnum): UpdateRuleAclDto;
|
28
|
+
set actionType(actionType: UpdateRuleAclDtoActionTypeEnum | undefined);
|
29
|
+
get actionType(): UpdateRuleAclDtoActionTypeEnum | undefined;
|
30
|
+
withStatus(status: number): UpdateRuleAclDto;
|
31
|
+
withDescription(description: string): UpdateRuleAclDto;
|
32
|
+
withLongConnectTimeHour(longConnectTimeHour: number): UpdateRuleAclDto;
|
33
|
+
set longConnectTimeHour(longConnectTimeHour: number | undefined);
|
34
|
+
get longConnectTimeHour(): number | undefined;
|
35
|
+
withLongConnectTimeMinute(longConnectTimeMinute: number): UpdateRuleAclDto;
|
36
|
+
set longConnectTimeMinute(longConnectTimeMinute: number | undefined);
|
37
|
+
get longConnectTimeMinute(): number | undefined;
|
38
|
+
withLongConnectTimeSecond(longConnectTimeSecond: number): UpdateRuleAclDto;
|
39
|
+
set longConnectTimeSecond(longConnectTimeSecond: number | undefined);
|
40
|
+
get longConnectTimeSecond(): number | undefined;
|
41
|
+
withLongConnectTime(longConnectTime: number): UpdateRuleAclDto;
|
42
|
+
set longConnectTime(longConnectTime: number | undefined);
|
43
|
+
get longConnectTime(): number | undefined;
|
44
|
+
withLongConnectEnable(longConnectEnable: UpdateRuleAclDtoLongConnectEnableEnum): UpdateRuleAclDto;
|
45
|
+
set longConnectEnable(longConnectEnable: UpdateRuleAclDtoLongConnectEnableEnum | undefined);
|
46
|
+
get longConnectEnable(): UpdateRuleAclDtoLongConnectEnableEnum | undefined;
|
47
|
+
withSource(source: RuleAddressDto): UpdateRuleAclDto;
|
48
|
+
withDestination(destination: RuleAddressDto): UpdateRuleAclDto;
|
49
|
+
withService(service: RuleServiceDto): UpdateRuleAclDto;
|
50
|
+
}
|
51
|
+
/**
|
52
|
+
* @export
|
53
|
+
* @enum {string}
|
54
|
+
*/
|
55
|
+
export declare enum UpdateRuleAclDtoAddressTypeEnum {
|
56
|
+
NUMBER_0 = 0,
|
57
|
+
NUMBER_1 = 1
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* @export
|
61
|
+
* @enum {string}
|
62
|
+
*/
|
63
|
+
export declare enum UpdateRuleAclDtoDirectionEnum {
|
64
|
+
NUMBER_0 = 0,
|
65
|
+
NUMBER_1 = 1
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* @export
|
69
|
+
* @enum {string}
|
70
|
+
*/
|
71
|
+
export declare enum UpdateRuleAclDtoActionTypeEnum {
|
72
|
+
NUMBER_0 = 0,
|
73
|
+
NUMBER_1 = 1
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* @export
|
77
|
+
* @enum {string}
|
78
|
+
*/
|
79
|
+
export declare enum UpdateRuleAclDtoLongConnectEnableEnum {
|
80
|
+
NUMBER_0 = 0,
|
81
|
+
NUMBER_1 = 1
|
82
|
+
}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateRuleAclDtoLongConnectEnableEnum = exports.UpdateRuleAclDtoActionTypeEnum = exports.UpdateRuleAclDtoDirectionEnum = exports.UpdateRuleAclDtoAddressTypeEnum = exports.UpdateRuleAclDto = void 0;
|
4
|
+
var UpdateRuleAclDto = /** @class */ (function () {
|
5
|
+
function UpdateRuleAclDto() {
|
6
|
+
}
|
7
|
+
UpdateRuleAclDto.prototype.withAddressType = function (addressType) {
|
8
|
+
this['address_type'] = addressType;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(UpdateRuleAclDto.prototype, "addressType", {
|
12
|
+
get: function () {
|
13
|
+
return this['address_type'];
|
14
|
+
},
|
15
|
+
set: function (addressType) {
|
16
|
+
this['address_type'] = addressType;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
UpdateRuleAclDto.prototype.withName = function (name) {
|
22
|
+
this['name'] = name;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
UpdateRuleAclDto.prototype.withSequence = function (sequence) {
|
26
|
+
this['sequence'] = sequence;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
UpdateRuleAclDto.prototype.withDirection = function (direction) {
|
30
|
+
this['direction'] = direction;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
UpdateRuleAclDto.prototype.withActionType = function (actionType) {
|
34
|
+
this['action_type'] = actionType;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
Object.defineProperty(UpdateRuleAclDto.prototype, "actionType", {
|
38
|
+
get: function () {
|
39
|
+
return this['action_type'];
|
40
|
+
},
|
41
|
+
set: function (actionType) {
|
42
|
+
this['action_type'] = actionType;
|
43
|
+
},
|
44
|
+
enumerable: false,
|
45
|
+
configurable: true
|
46
|
+
});
|
47
|
+
UpdateRuleAclDto.prototype.withStatus = function (status) {
|
48
|
+
this['status'] = status;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
UpdateRuleAclDto.prototype.withDescription = function (description) {
|
52
|
+
this['description'] = description;
|
53
|
+
return this;
|
54
|
+
};
|
55
|
+
UpdateRuleAclDto.prototype.withLongConnectTimeHour = function (longConnectTimeHour) {
|
56
|
+
this['long_connect_time_hour'] = longConnectTimeHour;
|
57
|
+
return this;
|
58
|
+
};
|
59
|
+
Object.defineProperty(UpdateRuleAclDto.prototype, "longConnectTimeHour", {
|
60
|
+
get: function () {
|
61
|
+
return this['long_connect_time_hour'];
|
62
|
+
},
|
63
|
+
set: function (longConnectTimeHour) {
|
64
|
+
this['long_connect_time_hour'] = longConnectTimeHour;
|
65
|
+
},
|
66
|
+
enumerable: false,
|
67
|
+
configurable: true
|
68
|
+
});
|
69
|
+
UpdateRuleAclDto.prototype.withLongConnectTimeMinute = function (longConnectTimeMinute) {
|
70
|
+
this['long_connect_time_minute'] = longConnectTimeMinute;
|
71
|
+
return this;
|
72
|
+
};
|
73
|
+
Object.defineProperty(UpdateRuleAclDto.prototype, "longConnectTimeMinute", {
|
74
|
+
get: function () {
|
75
|
+
return this['long_connect_time_minute'];
|
76
|
+
},
|
77
|
+
set: function (longConnectTimeMinute) {
|
78
|
+
this['long_connect_time_minute'] = longConnectTimeMinute;
|
79
|
+
},
|
80
|
+
enumerable: false,
|
81
|
+
configurable: true
|
82
|
+
});
|
83
|
+
UpdateRuleAclDto.prototype.withLongConnectTimeSecond = function (longConnectTimeSecond) {
|
84
|
+
this['long_connect_time_second'] = longConnectTimeSecond;
|
85
|
+
return this;
|
86
|
+
};
|
87
|
+
Object.defineProperty(UpdateRuleAclDto.prototype, "longConnectTimeSecond", {
|
88
|
+
get: function () {
|
89
|
+
return this['long_connect_time_second'];
|
90
|
+
},
|
91
|
+
set: function (longConnectTimeSecond) {
|
92
|
+
this['long_connect_time_second'] = longConnectTimeSecond;
|
93
|
+
},
|
94
|
+
enumerable: false,
|
95
|
+
configurable: true
|
96
|
+
});
|
97
|
+
UpdateRuleAclDto.prototype.withLongConnectTime = function (longConnectTime) {
|
98
|
+
this['long_connect_time'] = longConnectTime;
|
99
|
+
return this;
|
100
|
+
};
|
101
|
+
Object.defineProperty(UpdateRuleAclDto.prototype, "longConnectTime", {
|
102
|
+
get: function () {
|
103
|
+
return this['long_connect_time'];
|
104
|
+
},
|
105
|
+
set: function (longConnectTime) {
|
106
|
+
this['long_connect_time'] = longConnectTime;
|
107
|
+
},
|
108
|
+
enumerable: false,
|
109
|
+
configurable: true
|
110
|
+
});
|
111
|
+
UpdateRuleAclDto.prototype.withLongConnectEnable = function (longConnectEnable) {
|
112
|
+
this['long_connect_enable'] = longConnectEnable;
|
113
|
+
return this;
|
114
|
+
};
|
115
|
+
Object.defineProperty(UpdateRuleAclDto.prototype, "longConnectEnable", {
|
116
|
+
get: function () {
|
117
|
+
return this['long_connect_enable'];
|
118
|
+
},
|
119
|
+
set: function (longConnectEnable) {
|
120
|
+
this['long_connect_enable'] = longConnectEnable;
|
121
|
+
},
|
122
|
+
enumerable: false,
|
123
|
+
configurable: true
|
124
|
+
});
|
125
|
+
UpdateRuleAclDto.prototype.withSource = function (source) {
|
126
|
+
this['source'] = source;
|
127
|
+
return this;
|
128
|
+
};
|
129
|
+
UpdateRuleAclDto.prototype.withDestination = function (destination) {
|
130
|
+
this['destination'] = destination;
|
131
|
+
return this;
|
132
|
+
};
|
133
|
+
UpdateRuleAclDto.prototype.withService = function (service) {
|
134
|
+
this['service'] = service;
|
135
|
+
return this;
|
136
|
+
};
|
137
|
+
return UpdateRuleAclDto;
|
138
|
+
}());
|
139
|
+
exports.UpdateRuleAclDto = UpdateRuleAclDto;
|
140
|
+
/**
|
141
|
+
* @export
|
142
|
+
* @enum {string}
|
143
|
+
*/
|
144
|
+
var UpdateRuleAclDtoAddressTypeEnum;
|
145
|
+
(function (UpdateRuleAclDtoAddressTypeEnum) {
|
146
|
+
UpdateRuleAclDtoAddressTypeEnum[UpdateRuleAclDtoAddressTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
147
|
+
UpdateRuleAclDtoAddressTypeEnum[UpdateRuleAclDtoAddressTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
148
|
+
})(UpdateRuleAclDtoAddressTypeEnum = exports.UpdateRuleAclDtoAddressTypeEnum || (exports.UpdateRuleAclDtoAddressTypeEnum = {}));
|
149
|
+
/**
|
150
|
+
* @export
|
151
|
+
* @enum {string}
|
152
|
+
*/
|
153
|
+
var UpdateRuleAclDtoDirectionEnum;
|
154
|
+
(function (UpdateRuleAclDtoDirectionEnum) {
|
155
|
+
UpdateRuleAclDtoDirectionEnum[UpdateRuleAclDtoDirectionEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
156
|
+
UpdateRuleAclDtoDirectionEnum[UpdateRuleAclDtoDirectionEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
157
|
+
})(UpdateRuleAclDtoDirectionEnum = exports.UpdateRuleAclDtoDirectionEnum || (exports.UpdateRuleAclDtoDirectionEnum = {}));
|
158
|
+
/**
|
159
|
+
* @export
|
160
|
+
* @enum {string}
|
161
|
+
*/
|
162
|
+
var UpdateRuleAclDtoActionTypeEnum;
|
163
|
+
(function (UpdateRuleAclDtoActionTypeEnum) {
|
164
|
+
UpdateRuleAclDtoActionTypeEnum[UpdateRuleAclDtoActionTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
165
|
+
UpdateRuleAclDtoActionTypeEnum[UpdateRuleAclDtoActionTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
166
|
+
})(UpdateRuleAclDtoActionTypeEnum = exports.UpdateRuleAclDtoActionTypeEnum || (exports.UpdateRuleAclDtoActionTypeEnum = {}));
|
167
|
+
/**
|
168
|
+
* @export
|
169
|
+
* @enum {string}
|
170
|
+
*/
|
171
|
+
var UpdateRuleAclDtoLongConnectEnableEnum;
|
172
|
+
(function (UpdateRuleAclDtoLongConnectEnableEnum) {
|
173
|
+
UpdateRuleAclDtoLongConnectEnableEnum[UpdateRuleAclDtoLongConnectEnableEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
174
|
+
UpdateRuleAclDtoLongConnectEnableEnum[UpdateRuleAclDtoLongConnectEnableEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
175
|
+
})(UpdateRuleAclDtoLongConnectEnableEnum = exports.UpdateRuleAclDtoLongConnectEnableEnum || (exports.UpdateRuleAclDtoLongConnectEnableEnum = {}));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { UpdateRuleAclDto } from './UpdateRuleAclDto';
|
2
|
+
export declare class UpdateRuleAclUsingPutRequest {
|
3
|
+
private 'project_id';
|
4
|
+
private 'acl_rule_id';
|
5
|
+
body?: UpdateRuleAclDto;
|
6
|
+
constructor(projectId?: any, aclRuleId?: any);
|
7
|
+
withProjectId(projectId: string): UpdateRuleAclUsingPutRequest;
|
8
|
+
set projectId(projectId: string | undefined);
|
9
|
+
get projectId(): string | undefined;
|
10
|
+
withAclRuleId(aclRuleId: string): UpdateRuleAclUsingPutRequest;
|
11
|
+
set aclRuleId(aclRuleId: string | undefined);
|
12
|
+
get aclRuleId(): string | undefined;
|
13
|
+
withBody(body: UpdateRuleAclDto): UpdateRuleAclUsingPutRequest;
|
14
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateRuleAclUsingPutRequest = void 0;
|
4
|
+
var UpdateRuleAclUsingPutRequest = /** @class */ (function () {
|
5
|
+
function UpdateRuleAclUsingPutRequest(projectId, aclRuleId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['acl_rule_id'] = aclRuleId;
|
8
|
+
}
|
9
|
+
UpdateRuleAclUsingPutRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(UpdateRuleAclUsingPutRequest.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
|
+
UpdateRuleAclUsingPutRequest.prototype.withAclRuleId = function (aclRuleId) {
|
24
|
+
this['acl_rule_id'] = aclRuleId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(UpdateRuleAclUsingPutRequest.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
|
+
UpdateRuleAclUsingPutRequest.prototype.withBody = function (body) {
|
38
|
+
this['body'] = body;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return UpdateRuleAclUsingPutRequest;
|
42
|
+
}());
|
43
|
+
exports.UpdateRuleAclUsingPutRequest = UpdateRuleAclUsingPutRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { RuleId } from './RuleId';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class UpdateRuleAclUsingPutResponse extends SdkResponse {
|
4
|
+
data?: RuleId;
|
5
|
+
constructor();
|
6
|
+
withData(data: RuleId): UpdateRuleAclUsingPutResponse;
|
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.UpdateRuleAclUsingPutResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateRuleAclUsingPutResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateRuleAclUsingPutResponse, _super);
|
22
|
+
function UpdateRuleAclUsingPutResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
UpdateRuleAclUsingPutResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return UpdateRuleAclUsingPutResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.UpdateRuleAclUsingPutResponse = UpdateRuleAclUsingPutResponse;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateServiceSetUsingPUTRequestBody = void 0;
|
4
|
+
var UpdateServiceSetUsingPUTRequestBody = /** @class */ (function () {
|
5
|
+
function UpdateServiceSetUsingPUTRequestBody() {
|
6
|
+
}
|
7
|
+
UpdateServiceSetUsingPUTRequestBody.prototype.withName = function (name) {
|
8
|
+
this['name'] = name;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
UpdateServiceSetUsingPUTRequestBody.prototype.withDescription = function (description) {
|
12
|
+
this['description'] = description;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
return UpdateServiceSetUsingPUTRequestBody;
|
16
|
+
}());
|
17
|
+
exports.UpdateServiceSetUsingPUTRequestBody = UpdateServiceSetUsingPUTRequestBody;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { UpdateServiceSetUsingPUTRequestBody } from './UpdateServiceSetUsingPUTRequestBody';
|
2
|
+
export declare class UpdateServiceSetUsingPutRequest {
|
3
|
+
private 'project_id';
|
4
|
+
private 'set_id';
|
5
|
+
body?: UpdateServiceSetUsingPUTRequestBody;
|
6
|
+
constructor(projectId?: any, setId?: any);
|
7
|
+
withProjectId(projectId: string): UpdateServiceSetUsingPutRequest;
|
8
|
+
set projectId(projectId: string | undefined);
|
9
|
+
get projectId(): string | undefined;
|
10
|
+
withSetId(setId: string): UpdateServiceSetUsingPutRequest;
|
11
|
+
set setId(setId: string | undefined);
|
12
|
+
get setId(): string | undefined;
|
13
|
+
withBody(body: UpdateServiceSetUsingPUTRequestBody): UpdateServiceSetUsingPutRequest;
|
14
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateServiceSetUsingPutRequest = void 0;
|
4
|
+
var UpdateServiceSetUsingPutRequest = /** @class */ (function () {
|
5
|
+
function UpdateServiceSetUsingPutRequest(projectId, setId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['set_id'] = setId;
|
8
|
+
}
|
9
|
+
UpdateServiceSetUsingPutRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(UpdateServiceSetUsingPutRequest.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
|
+
UpdateServiceSetUsingPutRequest.prototype.withSetId = function (setId) {
|
24
|
+
this['set_id'] = setId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(UpdateServiceSetUsingPutRequest.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
|
+
UpdateServiceSetUsingPutRequest.prototype.withBody = function (body) {
|
38
|
+
this['body'] = body;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return UpdateServiceSetUsingPutRequest;
|
42
|
+
}());
|
43
|
+
exports.UpdateServiceSetUsingPutRequest = UpdateServiceSetUsingPutRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class UpdateServiceSetUsingPutResponse extends SdkResponse {
|
4
|
+
data?: IdObject;
|
5
|
+
constructor();
|
6
|
+
withData(data: IdObject): UpdateServiceSetUsingPutResponse;
|
7
|
+
}
|