@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,16 @@
|
|
1
|
+
export declare class CfwRegion {
|
2
|
+
static CN_SOUTH_4: any;
|
3
|
+
static CN_SOUTHWEST_2: any;
|
4
|
+
static CN_SOUTH_1: any;
|
5
|
+
static CN_EAST_3: any;
|
6
|
+
static CN_NORTH_4: any;
|
7
|
+
static AP_SOUTHEAST_1: any;
|
8
|
+
static AP_SOUTHEAST_3: any;
|
9
|
+
static LA_NORTH_2: any;
|
10
|
+
static AP_SOUTHEAST_2: any;
|
11
|
+
static AP_SOUTHEAST_4: any;
|
12
|
+
static LA_SOUTH_2: any;
|
13
|
+
private static STATIC_FIELDS;
|
14
|
+
private static createStaticFields;
|
15
|
+
static valueOf(regionId: String): any;
|
16
|
+
}
|
package/v1/CfwRegion.js
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CfwRegion = void 0;
|
4
|
+
var region_1 = require("@huaweicloud/huaweicloud-sdk-core/region/region");
|
5
|
+
var CfwRegion = /** @class */ (function () {
|
6
|
+
function CfwRegion() {
|
7
|
+
}
|
8
|
+
CfwRegion.createStaticFields = function () {
|
9
|
+
var map = new Map();
|
10
|
+
map.set("cn-south-4", CfwRegion.CN_SOUTH_4);
|
11
|
+
map.set("cn-southwest-2", CfwRegion.CN_SOUTHWEST_2);
|
12
|
+
map.set("cn-south-1", CfwRegion.CN_SOUTH_1);
|
13
|
+
map.set("cn-east-3", CfwRegion.CN_EAST_3);
|
14
|
+
map.set("cn-north-4", CfwRegion.CN_NORTH_4);
|
15
|
+
map.set("ap-southeast-1", CfwRegion.AP_SOUTHEAST_1);
|
16
|
+
map.set("ap-southeast-3", CfwRegion.AP_SOUTHEAST_3);
|
17
|
+
map.set("la-north-2", CfwRegion.LA_NORTH_2);
|
18
|
+
map.set("ap-southeast-2", CfwRegion.AP_SOUTHEAST_2);
|
19
|
+
map.set("ap-southeast-4", CfwRegion.AP_SOUTHEAST_4);
|
20
|
+
map.set("la-south-2", CfwRegion.LA_SOUTH_2);
|
21
|
+
return map;
|
22
|
+
};
|
23
|
+
CfwRegion.valueOf = function (regionId) {
|
24
|
+
if (!regionId) {
|
25
|
+
throw new Error("Unexpected empty parameter: regionId.");
|
26
|
+
}
|
27
|
+
var result = this.STATIC_FIELDS.get(regionId);
|
28
|
+
if (result) {
|
29
|
+
return result;
|
30
|
+
}
|
31
|
+
throw new Error("Unexpected regionId: ".concat(regionId, "."));
|
32
|
+
};
|
33
|
+
CfwRegion.CN_SOUTH_4 = new region_1.Region("cn-south-4", "https://cfw.cn-south-4.myhuaweicloud.com");
|
34
|
+
CfwRegion.CN_SOUTHWEST_2 = new region_1.Region("cn-southwest-2", "https://cfw.cn-southwest-2.myhuaweicloud.com");
|
35
|
+
CfwRegion.CN_SOUTH_1 = new region_1.Region("cn-south-1", "https://cfw.cn-south-1.myhuaweicloud.com");
|
36
|
+
CfwRegion.CN_EAST_3 = new region_1.Region("cn-east-3", "https://cfw.cn-east-3.myhuaweicloud.com");
|
37
|
+
CfwRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", "https://cfw.cn-north-4.myhuaweicloud.com");
|
38
|
+
CfwRegion.AP_SOUTHEAST_1 = new region_1.Region("ap-southeast-1", "https://cfw.ap-southeast-1.myhuaweicloud.com");
|
39
|
+
CfwRegion.AP_SOUTHEAST_3 = new region_1.Region("ap-southeast-3", "https://cfw.ap-southeast-3.myhuaweicloud.com");
|
40
|
+
CfwRegion.LA_NORTH_2 = new region_1.Region("la-north-2", "https://cfw.la-north-2.myhuaweicloud.com");
|
41
|
+
CfwRegion.AP_SOUTHEAST_2 = new region_1.Region("ap-southeast-2", "https://cfw.ap-southeast-2.myhuaweicloud.com");
|
42
|
+
CfwRegion.AP_SOUTHEAST_4 = new region_1.Region("ap-southeast-4", "https://cfw.ap-southeast-4.myhuaweicloud.com");
|
43
|
+
CfwRegion.LA_SOUTH_2 = new region_1.Region("la-south-2", "https://cfw.la-south-2.myhuaweicloud.com");
|
44
|
+
CfwRegion.STATIC_FIELDS = CfwRegion.createStaticFields();
|
45
|
+
return CfwRegion;
|
46
|
+
}());
|
47
|
+
exports.CfwRegion = CfwRegion;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { AddAddressItemsInfoDtoAddressItems } from './AddAddressItemsInfoDtoAddressItems';
|
2
|
+
export declare class AddAddressItemsInfoDto {
|
3
|
+
private 'set_id'?;
|
4
|
+
private 'address_items'?;
|
5
|
+
constructor();
|
6
|
+
withSetId(setId: string): AddAddressItemsInfoDto;
|
7
|
+
set setId(setId: string | undefined);
|
8
|
+
get setId(): string | undefined;
|
9
|
+
withAddressItems(addressItems: Array<AddAddressItemsInfoDtoAddressItems>): AddAddressItemsInfoDto;
|
10
|
+
set addressItems(addressItems: Array<AddAddressItemsInfoDtoAddressItems> | undefined);
|
11
|
+
get addressItems(): Array<AddAddressItemsInfoDtoAddressItems> | undefined;
|
12
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddAddressItemsInfoDto = void 0;
|
4
|
+
var AddAddressItemsInfoDto = /** @class */ (function () {
|
5
|
+
function AddAddressItemsInfoDto() {
|
6
|
+
}
|
7
|
+
AddAddressItemsInfoDto.prototype.withSetId = function (setId) {
|
8
|
+
this['set_id'] = setId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(AddAddressItemsInfoDto.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
|
+
AddAddressItemsInfoDto.prototype.withAddressItems = function (addressItems) {
|
22
|
+
this['address_items'] = addressItems;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(AddAddressItemsInfoDto.prototype, "addressItems", {
|
26
|
+
get: function () {
|
27
|
+
return this['address_items'];
|
28
|
+
},
|
29
|
+
set: function (addressItems) {
|
30
|
+
this['address_items'] = addressItems;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
return AddAddressItemsInfoDto;
|
36
|
+
}());
|
37
|
+
exports.AddAddressItemsInfoDto = AddAddressItemsInfoDto;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export declare class AddAddressItemsInfoDtoAddressItems {
|
2
|
+
name: string;
|
3
|
+
private 'address_type'?;
|
4
|
+
address?: string;
|
5
|
+
description?: string;
|
6
|
+
constructor(name?: any);
|
7
|
+
withName(name: string): AddAddressItemsInfoDtoAddressItems;
|
8
|
+
withAddressType(addressType: number): AddAddressItemsInfoDtoAddressItems;
|
9
|
+
set addressType(addressType: number | undefined);
|
10
|
+
get addressType(): number | undefined;
|
11
|
+
withAddress(address: string): AddAddressItemsInfoDtoAddressItems;
|
12
|
+
withDescription(description: string): AddAddressItemsInfoDtoAddressItems;
|
13
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddAddressItemsInfoDtoAddressItems = void 0;
|
4
|
+
var AddAddressItemsInfoDtoAddressItems = /** @class */ (function () {
|
5
|
+
function AddAddressItemsInfoDtoAddressItems(name) {
|
6
|
+
this['name'] = name;
|
7
|
+
}
|
8
|
+
AddAddressItemsInfoDtoAddressItems.prototype.withName = function (name) {
|
9
|
+
this['name'] = name;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
AddAddressItemsInfoDtoAddressItems.prototype.withAddressType = function (addressType) {
|
13
|
+
this['address_type'] = addressType;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
Object.defineProperty(AddAddressItemsInfoDtoAddressItems.prototype, "addressType", {
|
17
|
+
get: function () {
|
18
|
+
return this['address_type'];
|
19
|
+
},
|
20
|
+
set: function (addressType) {
|
21
|
+
this['address_type'] = addressType;
|
22
|
+
},
|
23
|
+
enumerable: false,
|
24
|
+
configurable: true
|
25
|
+
});
|
26
|
+
AddAddressItemsInfoDtoAddressItems.prototype.withAddress = function (address) {
|
27
|
+
this['address'] = address;
|
28
|
+
return this;
|
29
|
+
};
|
30
|
+
AddAddressItemsInfoDtoAddressItems.prototype.withDescription = function (description) {
|
31
|
+
this['description'] = description;
|
32
|
+
return this;
|
33
|
+
};
|
34
|
+
return AddAddressItemsInfoDtoAddressItems;
|
35
|
+
}());
|
36
|
+
exports.AddAddressItemsInfoDtoAddressItems = AddAddressItemsInfoDtoAddressItems;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AddAddressItemsInfoDto } from './AddAddressItemsInfoDto';
|
2
|
+
export declare class AddAddressItemsUsingPostRequest {
|
3
|
+
private 'project_id';
|
4
|
+
body?: AddAddressItemsInfoDto;
|
5
|
+
constructor(projectId?: any);
|
6
|
+
withProjectId(projectId: string): AddAddressItemsUsingPostRequest;
|
7
|
+
set projectId(projectId: string | undefined);
|
8
|
+
get projectId(): string | undefined;
|
9
|
+
withBody(body: AddAddressItemsInfoDto): AddAddressItemsUsingPostRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddAddressItemsUsingPostRequest = void 0;
|
4
|
+
var AddAddressItemsUsingPostRequest = /** @class */ (function () {
|
5
|
+
function AddAddressItemsUsingPostRequest(projectId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
}
|
8
|
+
AddAddressItemsUsingPostRequest.prototype.withProjectId = function (projectId) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(AddAddressItemsUsingPostRequest.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
|
+
AddAddressItemsUsingPostRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return AddAddressItemsUsingPostRequest;
|
27
|
+
}());
|
28
|
+
exports.AddAddressItemsUsingPostRequest = AddAddressItemsUsingPostRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { AddressItems } from './AddressItems';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class AddAddressItemsUsingPostResponse extends SdkResponse {
|
4
|
+
data?: AddressItems;
|
5
|
+
constructor();
|
6
|
+
withData(data: AddressItems): AddAddressItemsUsingPostResponse;
|
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.AddAddressItemsUsingPostResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var AddAddressItemsUsingPostResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(AddAddressItemsUsingPostResponse, _super);
|
22
|
+
function AddAddressItemsUsingPostResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
AddAddressItemsUsingPostResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return AddAddressItemsUsingPostResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.AddAddressItemsUsingPostResponse = AddAddressItemsUsingPostResponse;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare class AddAddressSetDto {
|
2
|
+
private 'object_id';
|
3
|
+
name: string;
|
4
|
+
description?: string;
|
5
|
+
private 'address_type'?;
|
6
|
+
constructor(objectId?: any, name?: any);
|
7
|
+
withObjectId(objectId: string): AddAddressSetDto;
|
8
|
+
set objectId(objectId: string | undefined);
|
9
|
+
get objectId(): string | undefined;
|
10
|
+
withName(name: string): AddAddressSetDto;
|
11
|
+
withDescription(description: string): AddAddressSetDto;
|
12
|
+
withAddressType(addressType: AddAddressSetDtoAddressTypeEnum): AddAddressSetDto;
|
13
|
+
set addressType(addressType: AddAddressSetDtoAddressTypeEnum | undefined);
|
14
|
+
get addressType(): AddAddressSetDtoAddressTypeEnum | undefined;
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @export
|
18
|
+
* @enum {string}
|
19
|
+
*/
|
20
|
+
export declare enum AddAddressSetDtoAddressTypeEnum {
|
21
|
+
NUMBER_0 = 0,
|
22
|
+
NUMBER_1 = 1
|
23
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddAddressSetDtoAddressTypeEnum = exports.AddAddressSetDto = void 0;
|
4
|
+
var AddAddressSetDto = /** @class */ (function () {
|
5
|
+
function AddAddressSetDto(objectId, name) {
|
6
|
+
this['object_id'] = objectId;
|
7
|
+
this['name'] = name;
|
8
|
+
}
|
9
|
+
AddAddressSetDto.prototype.withObjectId = function (objectId) {
|
10
|
+
this['object_id'] = objectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(AddAddressSetDto.prototype, "objectId", {
|
14
|
+
get: function () {
|
15
|
+
return this['object_id'];
|
16
|
+
},
|
17
|
+
set: function (objectId) {
|
18
|
+
this['object_id'] = objectId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
AddAddressSetDto.prototype.withName = function (name) {
|
24
|
+
this['name'] = name;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
AddAddressSetDto.prototype.withDescription = function (description) {
|
28
|
+
this['description'] = description;
|
29
|
+
return this;
|
30
|
+
};
|
31
|
+
AddAddressSetDto.prototype.withAddressType = function (addressType) {
|
32
|
+
this['address_type'] = addressType;
|
33
|
+
return this;
|
34
|
+
};
|
35
|
+
Object.defineProperty(AddAddressSetDto.prototype, "addressType", {
|
36
|
+
get: function () {
|
37
|
+
return this['address_type'];
|
38
|
+
},
|
39
|
+
set: function (addressType) {
|
40
|
+
this['address_type'] = addressType;
|
41
|
+
},
|
42
|
+
enumerable: false,
|
43
|
+
configurable: true
|
44
|
+
});
|
45
|
+
return AddAddressSetDto;
|
46
|
+
}());
|
47
|
+
exports.AddAddressSetDto = AddAddressSetDto;
|
48
|
+
/**
|
49
|
+
* @export
|
50
|
+
* @enum {string}
|
51
|
+
*/
|
52
|
+
var AddAddressSetDtoAddressTypeEnum;
|
53
|
+
(function (AddAddressSetDtoAddressTypeEnum) {
|
54
|
+
AddAddressSetDtoAddressTypeEnum[AddAddressSetDtoAddressTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
55
|
+
AddAddressSetDtoAddressTypeEnum[AddAddressSetDtoAddressTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
56
|
+
})(AddAddressSetDtoAddressTypeEnum = exports.AddAddressSetDtoAddressTypeEnum || (exports.AddAddressSetDtoAddressTypeEnum = {}));
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AddAddressSetDto } from './AddAddressSetDto';
|
2
|
+
export declare class AddAddressSetInfoUsingPostRequest {
|
3
|
+
private 'project_id';
|
4
|
+
body?: AddAddressSetDto;
|
5
|
+
constructor(projectId?: any);
|
6
|
+
withProjectId(projectId: string): AddAddressSetInfoUsingPostRequest;
|
7
|
+
set projectId(projectId: string | undefined);
|
8
|
+
get projectId(): string | undefined;
|
9
|
+
withBody(body: AddAddressSetDto): AddAddressSetInfoUsingPostRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddAddressSetInfoUsingPostRequest = void 0;
|
4
|
+
var AddAddressSetInfoUsingPostRequest = /** @class */ (function () {
|
5
|
+
function AddAddressSetInfoUsingPostRequest(projectId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
}
|
8
|
+
AddAddressSetInfoUsingPostRequest.prototype.withProjectId = function (projectId) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(AddAddressSetInfoUsingPostRequest.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
|
+
AddAddressSetInfoUsingPostRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return AddAddressSetInfoUsingPostRequest;
|
27
|
+
}());
|
28
|
+
exports.AddAddressSetInfoUsingPostRequest = AddAddressSetInfoUsingPostRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class AddAddressSetInfoUsingPostResponse extends SdkResponse {
|
4
|
+
data?: IdObject;
|
5
|
+
constructor();
|
6
|
+
withData(data: IdObject): AddAddressSetInfoUsingPostResponse;
|
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.AddAddressSetInfoUsingPostResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var AddAddressSetInfoUsingPostResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(AddAddressSetInfoUsingPostResponse, _super);
|
22
|
+
function AddAddressSetInfoUsingPostResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
AddAddressSetInfoUsingPostResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return AddAddressSetInfoUsingPostResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.AddAddressSetInfoUsingPostResponse = AddAddressSetInfoUsingPostResponse;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare class AddBlackWhiteListDto {
|
2
|
+
private 'object_id';
|
3
|
+
private 'list_type';
|
4
|
+
direction: number;
|
5
|
+
private 'address_type';
|
6
|
+
address: string;
|
7
|
+
protocol: number;
|
8
|
+
port: string;
|
9
|
+
constructor(objectId?: any, listType?: any, direction?: any, addressType?: any, address?: any, protocol?: any, port?: any);
|
10
|
+
withObjectId(objectId: string): AddBlackWhiteListDto;
|
11
|
+
set objectId(objectId: string | undefined);
|
12
|
+
get objectId(): string | undefined;
|
13
|
+
withListType(listType: number): AddBlackWhiteListDto;
|
14
|
+
set listType(listType: number | undefined);
|
15
|
+
get listType(): number | undefined;
|
16
|
+
withDirection(direction: number): AddBlackWhiteListDto;
|
17
|
+
withAddressType(addressType: number): AddBlackWhiteListDto;
|
18
|
+
set addressType(addressType: number | undefined);
|
19
|
+
get addressType(): number | undefined;
|
20
|
+
withAddress(address: string): AddBlackWhiteListDto;
|
21
|
+
withProtocol(protocol: number): AddBlackWhiteListDto;
|
22
|
+
withPort(port: string): AddBlackWhiteListDto;
|
23
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddBlackWhiteListDto = void 0;
|
4
|
+
var AddBlackWhiteListDto = /** @class */ (function () {
|
5
|
+
function AddBlackWhiteListDto(objectId, listType, direction, addressType, address, protocol, port) {
|
6
|
+
this['object_id'] = objectId;
|
7
|
+
this['list_type'] = listType;
|
8
|
+
this['direction'] = direction;
|
9
|
+
this['address_type'] = addressType;
|
10
|
+
this['address'] = address;
|
11
|
+
this['protocol'] = protocol;
|
12
|
+
this['port'] = port;
|
13
|
+
}
|
14
|
+
AddBlackWhiteListDto.prototype.withObjectId = function (objectId) {
|
15
|
+
this['object_id'] = objectId;
|
16
|
+
return this;
|
17
|
+
};
|
18
|
+
Object.defineProperty(AddBlackWhiteListDto.prototype, "objectId", {
|
19
|
+
get: function () {
|
20
|
+
return this['object_id'];
|
21
|
+
},
|
22
|
+
set: function (objectId) {
|
23
|
+
this['object_id'] = objectId;
|
24
|
+
},
|
25
|
+
enumerable: false,
|
26
|
+
configurable: true
|
27
|
+
});
|
28
|
+
AddBlackWhiteListDto.prototype.withListType = function (listType) {
|
29
|
+
this['list_type'] = listType;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
Object.defineProperty(AddBlackWhiteListDto.prototype, "listType", {
|
33
|
+
get: function () {
|
34
|
+
return this['list_type'];
|
35
|
+
},
|
36
|
+
set: function (listType) {
|
37
|
+
this['list_type'] = listType;
|
38
|
+
},
|
39
|
+
enumerable: false,
|
40
|
+
configurable: true
|
41
|
+
});
|
42
|
+
AddBlackWhiteListDto.prototype.withDirection = function (direction) {
|
43
|
+
this['direction'] = direction;
|
44
|
+
return this;
|
45
|
+
};
|
46
|
+
AddBlackWhiteListDto.prototype.withAddressType = function (addressType) {
|
47
|
+
this['address_type'] = addressType;
|
48
|
+
return this;
|
49
|
+
};
|
50
|
+
Object.defineProperty(AddBlackWhiteListDto.prototype, "addressType", {
|
51
|
+
get: function () {
|
52
|
+
return this['address_type'];
|
53
|
+
},
|
54
|
+
set: function (addressType) {
|
55
|
+
this['address_type'] = addressType;
|
56
|
+
},
|
57
|
+
enumerable: false,
|
58
|
+
configurable: true
|
59
|
+
});
|
60
|
+
AddBlackWhiteListDto.prototype.withAddress = function (address) {
|
61
|
+
this['address'] = address;
|
62
|
+
return this;
|
63
|
+
};
|
64
|
+
AddBlackWhiteListDto.prototype.withProtocol = function (protocol) {
|
65
|
+
this['protocol'] = protocol;
|
66
|
+
return this;
|
67
|
+
};
|
68
|
+
AddBlackWhiteListDto.prototype.withPort = function (port) {
|
69
|
+
this['port'] = port;
|
70
|
+
return this;
|
71
|
+
};
|
72
|
+
return AddBlackWhiteListDto;
|
73
|
+
}());
|
74
|
+
exports.AddBlackWhiteListDto = AddBlackWhiteListDto;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AddBlackWhiteListDto } from './AddBlackWhiteListDto';
|
2
|
+
export declare class AddBlackWhiteListUsingPostRequest {
|
3
|
+
private 'project_id';
|
4
|
+
body?: AddBlackWhiteListDto;
|
5
|
+
constructor(projectId?: any);
|
6
|
+
withProjectId(projectId: string): AddBlackWhiteListUsingPostRequest;
|
7
|
+
set projectId(projectId: string | undefined);
|
8
|
+
get projectId(): string | undefined;
|
9
|
+
withBody(body: AddBlackWhiteListDto): AddBlackWhiteListUsingPostRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddBlackWhiteListUsingPostRequest = void 0;
|
4
|
+
var AddBlackWhiteListUsingPostRequest = /** @class */ (function () {
|
5
|
+
function AddBlackWhiteListUsingPostRequest(projectId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
}
|
8
|
+
AddBlackWhiteListUsingPostRequest.prototype.withProjectId = function (projectId) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(AddBlackWhiteListUsingPostRequest.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
|
+
AddBlackWhiteListUsingPostRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return AddBlackWhiteListUsingPostRequest;
|
27
|
+
}());
|
28
|
+
exports.AddBlackWhiteListUsingPostRequest = AddBlackWhiteListUsingPostRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class AddBlackWhiteListUsingPostResponse extends SdkResponse {
|
4
|
+
data?: IdObject;
|
5
|
+
constructor();
|
6
|
+
withData(data: IdObject): AddBlackWhiteListUsingPostResponse;
|
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.AddBlackWhiteListUsingPostResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var AddBlackWhiteListUsingPostResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(AddBlackWhiteListUsingPostResponse, _super);
|
22
|
+
function AddBlackWhiteListUsingPostResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
AddBlackWhiteListUsingPostResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return AddBlackWhiteListUsingPostResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.AddBlackWhiteListUsingPostResponse = AddBlackWhiteListUsingPostResponse;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { AddRuleAclDtoRules } from './AddRuleAclDtoRules';
|
2
|
+
export declare class AddRuleAclDto {
|
3
|
+
private 'object_id';
|
4
|
+
type: AddRuleAclDtoTypeEnum;
|
5
|
+
rules: Array<AddRuleAclDtoRules>;
|
6
|
+
constructor(objectId?: any, type?: any, rules?: any);
|
7
|
+
withObjectId(objectId: string): AddRuleAclDto;
|
8
|
+
set objectId(objectId: string | undefined);
|
9
|
+
get objectId(): string | undefined;
|
10
|
+
withType(type: AddRuleAclDtoTypeEnum): AddRuleAclDto;
|
11
|
+
withRules(rules: Array<AddRuleAclDtoRules>): AddRuleAclDto;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* @export
|
15
|
+
* @enum {string}
|
16
|
+
*/
|
17
|
+
export declare enum AddRuleAclDtoTypeEnum {
|
18
|
+
NUMBER_0 = 0,
|
19
|
+
NUMBER_1 = 1,
|
20
|
+
NUMBER_2 = 2
|
21
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddRuleAclDtoTypeEnum = exports.AddRuleAclDto = void 0;
|
4
|
+
var AddRuleAclDto = /** @class */ (function () {
|
5
|
+
function AddRuleAclDto(objectId, type, rules) {
|
6
|
+
this['object_id'] = objectId;
|
7
|
+
this['type'] = type;
|
8
|
+
this['rules'] = rules;
|
9
|
+
}
|
10
|
+
AddRuleAclDto.prototype.withObjectId = function (objectId) {
|
11
|
+
this['object_id'] = objectId;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
Object.defineProperty(AddRuleAclDto.prototype, "objectId", {
|
15
|
+
get: function () {
|
16
|
+
return this['object_id'];
|
17
|
+
},
|
18
|
+
set: function (objectId) {
|
19
|
+
this['object_id'] = objectId;
|
20
|
+
},
|
21
|
+
enumerable: false,
|
22
|
+
configurable: true
|
23
|
+
});
|
24
|
+
AddRuleAclDto.prototype.withType = function (type) {
|
25
|
+
this['type'] = type;
|
26
|
+
return this;
|
27
|
+
};
|
28
|
+
AddRuleAclDto.prototype.withRules = function (rules) {
|
29
|
+
this['rules'] = rules;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
return AddRuleAclDto;
|
33
|
+
}());
|
34
|
+
exports.AddRuleAclDto = AddRuleAclDto;
|
35
|
+
/**
|
36
|
+
* @export
|
37
|
+
* @enum {string}
|
38
|
+
*/
|
39
|
+
var AddRuleAclDtoTypeEnum;
|
40
|
+
(function (AddRuleAclDtoTypeEnum) {
|
41
|
+
AddRuleAclDtoTypeEnum[AddRuleAclDtoTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
42
|
+
AddRuleAclDtoTypeEnum[AddRuleAclDtoTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
43
|
+
AddRuleAclDtoTypeEnum[AddRuleAclDtoTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
44
|
+
})(AddRuleAclDtoTypeEnum = exports.AddRuleAclDtoTypeEnum || (exports.AddRuleAclDtoTypeEnum = {}));
|