@alicloud/cloudfw20171207 8.5.0 → 8.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +763 -292
- package/dist/client.js +1678 -353
- package/dist/client.js.map +1 -1
- package/dist/models/AddAclBackupDataRequest.d.ts +2 -2
- package/dist/models/AddAclBackupDataResponseBody.d.ts +1 -1
- package/dist/models/AddDnsFirewallPolicyRequest.d.ts +9 -9
- package/dist/models/AddDnsFirewallPolicyResponseBody.d.ts +1 -1
- package/dist/models/AddPrivateDnsDomainNameRequest.d.ts +2 -2
- package/dist/models/ClearLogStoreStorageRequest.d.ts +1 -1
- package/dist/models/ClearLogStoreStorageResponseBody.d.ts +1 -3
- package/dist/models/ClearLogStoreStorageResponseBody.js.map +1 -1
- package/dist/models/CreateAckClusterConnectorRequest.d.ts +10 -10
- package/dist/models/CreateAckClusterConnectorResponseBody.d.ts +15 -15
- package/dist/models/CreateAclCheckRequest.d.ts +4 -2
- package/dist/models/CreateAclCheckRequest.js.map +1 -1
- package/dist/models/CreateApplicationCustomRulesRequest.d.ts +74 -0
- package/dist/models/CreateApplicationCustomRulesRequest.js +91 -0
- package/dist/models/CreateApplicationCustomRulesRequest.js.map +1 -0
- package/dist/models/CreateApplicationCustomRulesResponse.d.ts +19 -0
- package/dist/models/CreateApplicationCustomRulesResponse.js +69 -0
- package/dist/models/CreateApplicationCustomRulesResponse.js.map +1 -0
- package/dist/models/CreateApplicationCustomRulesResponseBody.d.ts +26 -0
- package/dist/models/CreateApplicationCustomRulesResponseBody.js +63 -0
- package/dist/models/CreateApplicationCustomRulesResponseBody.js.map +1 -0
- package/dist/models/CreateApplicationCustomRulesShrinkRequest.d.ts +30 -0
- package/dist/models/CreateApplicationCustomRulesShrinkRequest.js +60 -0
- package/dist/models/CreateApplicationCustomRulesShrinkRequest.js.map +1 -0
- package/dist/models/CreateApplicationTemplateRequest.d.ts +114 -0
- package/dist/models/CreateApplicationTemplateRequest.js +94 -0
- package/dist/models/CreateApplicationTemplateRequest.js.map +1 -0
- package/dist/models/CreateApplicationTemplateResponse.d.ts +19 -0
- package/dist/models/CreateApplicationTemplateResponse.js +69 -0
- package/dist/models/CreateApplicationTemplateResponse.js.map +1 -0
- package/dist/models/CreateApplicationTemplateResponseBody.d.ts +29 -0
- package/dist/models/CreateApplicationTemplateResponseBody.js +60 -0
- package/dist/models/CreateApplicationTemplateResponseBody.js.map +1 -0
- package/dist/models/CreateApplicationTemplateShrinkRequest.d.ts +83 -0
- package/dist/models/CreateApplicationTemplateShrinkRequest.js +70 -0
- package/dist/models/CreateApplicationTemplateShrinkRequest.js.map +1 -0
- package/dist/models/CreateInstanceSyncTaskRequest.d.ts +1 -1
- package/dist/models/CreateIpsPrivateAssocRequest.d.ts +1 -1
- package/dist/models/CreateNatFirewallPreCheckRequest.d.ts +2 -2
- package/dist/models/CreateNatFirewallPreCheckResponseBody.d.ts +1 -1
- package/dist/models/CreateNatFirewallSyncTaskRequest.d.ts +1 -1
- package/dist/models/CreatePrivateDnsEndpointRequest.d.ts +3 -3
- package/dist/models/CreatePrivateDnsEndpointResponseBody.d.ts +1 -1
- package/dist/models/CreateSecurityProxyRequest.d.ts +110 -12
- package/dist/models/CreateSecurityProxyRequest.js +20 -0
- package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
- package/dist/models/CreateTrFirewallV2request.d.ts +5 -5
- package/dist/models/CreateTrFirewallV2responseBody.d.ts +1 -1
- package/dist/models/CreateVpcFirewallCenManualConfigureRequest.d.ts +4 -4
- package/dist/models/CreateVpcFirewallCenManualConfigureResponseBody.d.ts +1 -1
- package/dist/models/CreateVpcFirewallPrecheckRequest.d.ts +4 -4
- package/dist/models/CreateVpcFirewallTaskRequest.d.ts +0 -1
- package/dist/models/CreateVpcFirewallTaskRequest.js.map +1 -1
- package/dist/models/CreateWebFilterRulesRequest.d.ts +86 -0
- package/dist/models/CreateWebFilterRulesRequest.js +108 -0
- package/dist/models/CreateWebFilterRulesRequest.js.map +1 -0
- package/dist/models/CreateWebFilterRulesResponse.d.ts +19 -0
- package/dist/models/CreateWebFilterRulesResponse.js +69 -0
- package/dist/models/CreateWebFilterRulesResponse.js.map +1 -0
- package/dist/models/CreateWebFilterRulesResponseBody.d.ts +26 -0
- package/dist/models/CreateWebFilterRulesResponseBody.js +63 -0
- package/dist/models/CreateWebFilterRulesResponseBody.js.map +1 -0
- package/dist/models/CreateWebFilterRulesShrinkRequest.d.ts +30 -0
- package/dist/models/CreateWebFilterRulesShrinkRequest.js +60 -0
- package/dist/models/CreateWebFilterRulesShrinkRequest.js.map +1 -0
- package/dist/models/CreateWebFilterTemplateRequest.d.ts +43 -0
- package/dist/models/CreateWebFilterTemplateRequest.js +62 -0
- package/dist/models/CreateWebFilterTemplateRequest.js.map +1 -0
- package/dist/models/CreateWebFilterTemplateResponse.d.ts +19 -0
- package/dist/models/CreateWebFilterTemplateResponse.js +69 -0
- package/dist/models/CreateWebFilterTemplateResponse.js.map +1 -0
- package/dist/models/CreateWebFilterTemplateResponseBody.d.ts +29 -0
- package/dist/models/CreateWebFilterTemplateResponseBody.js +60 -0
- package/dist/models/CreateWebFilterTemplateResponseBody.js.map +1 -0
- package/dist/models/DeleteAclBackupDataRequest.d.ts +2 -2
- package/dist/models/DeleteAclBackupDataResponseBody.d.ts +1 -1
- package/dist/models/DeleteApplicationCustomRulesRequest.d.ts +20 -0
- package/dist/models/DeleteApplicationCustomRulesRequest.js +61 -0
- package/dist/models/DeleteApplicationCustomRulesRequest.js.map +1 -0
- package/dist/models/DeleteApplicationCustomRulesResponse.d.ts +19 -0
- package/dist/models/DeleteApplicationCustomRulesResponse.js +69 -0
- package/dist/models/DeleteApplicationCustomRulesResponse.js.map +1 -0
- package/dist/models/DeleteApplicationCustomRulesResponseBody.d.ts +21 -0
- package/dist/models/DeleteApplicationCustomRulesResponseBody.js +58 -0
- package/dist/models/DeleteApplicationCustomRulesResponseBody.js.map +1 -0
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.d.ts +20 -0
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.js +58 -0
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.js.map +1 -0
- package/dist/models/DeleteApplicationTemplateRequest.d.ts +21 -0
- package/dist/models/DeleteApplicationTemplateRequest.js +58 -0
- package/dist/models/DeleteApplicationTemplateRequest.js.map +1 -0
- package/dist/models/DeleteApplicationTemplateResponse.d.ts +19 -0
- package/dist/models/DeleteApplicationTemplateResponse.js +69 -0
- package/dist/models/DeleteApplicationTemplateResponse.js.map +1 -0
- package/dist/models/DeleteApplicationTemplateResponseBody.d.ts +21 -0
- package/dist/models/DeleteApplicationTemplateResponseBody.js +58 -0
- package/dist/models/DeleteApplicationTemplateResponseBody.js.map +1 -0
- package/dist/models/DeleteDnsFirewallPolicyRequest.d.ts +2 -2
- package/dist/models/DeletePrivateDnsDomainNameResponseBody.d.ts +1 -1
- package/dist/models/DeletePrivateDnsEndpointResponseBody.d.ts +1 -1
- package/dist/models/DeleteWebFilterRulesRequest.d.ts +20 -0
- package/dist/models/DeleteWebFilterRulesRequest.js +61 -0
- package/dist/models/DeleteWebFilterRulesRequest.js.map +1 -0
- package/dist/models/DeleteWebFilterRulesResponse.d.ts +19 -0
- package/dist/models/DeleteWebFilterRulesResponse.js +69 -0
- package/dist/models/DeleteWebFilterRulesResponse.js.map +1 -0
- package/dist/models/DeleteWebFilterRulesResponseBody.d.ts +21 -0
- package/dist/models/DeleteWebFilterRulesResponseBody.js +58 -0
- package/dist/models/DeleteWebFilterRulesResponseBody.js.map +1 -0
- package/dist/models/DeleteWebFilterRulesShrinkRequest.d.ts +20 -0
- package/dist/models/DeleteWebFilterRulesShrinkRequest.js +58 -0
- package/dist/models/DeleteWebFilterRulesShrinkRequest.js.map +1 -0
- package/dist/models/DeleteWebFilterTemplateRequest.d.ts +21 -0
- package/dist/models/DeleteWebFilterTemplateRequest.js +58 -0
- package/dist/models/DeleteWebFilterTemplateRequest.js.map +1 -0
- package/dist/models/DeleteWebFilterTemplateResponse.d.ts +19 -0
- package/dist/models/DeleteWebFilterTemplateResponse.js +69 -0
- package/dist/models/DeleteWebFilterTemplateResponse.js.map +1 -0
- package/dist/models/DeleteWebFilterTemplateResponseBody.d.ts +21 -0
- package/dist/models/DeleteWebFilterTemplateResponseBody.js +58 -0
- package/dist/models/DeleteWebFilterTemplateResponseBody.js.map +1 -0
- package/dist/models/DescribeAccessInstanceRegionListRequest.d.ts +4 -4
- package/dist/models/DescribeAccessInstanceRegionListResponseBody.d.ts +1 -1
- package/dist/models/DescribeAccessInstanceTaskRequest.d.ts +4 -4
- package/dist/models/DescribeAccessInstanceTaskResponseBody.d.ts +2 -2
- package/dist/models/DescribeAccessInstanceVpcListRequest.d.ts +2 -2
- package/dist/models/DescribeAccessInstanceVpcListResponseBody.d.ts +3 -3
- package/dist/models/DescribeAccessInstanceVswitchListRequest.d.ts +3 -3
- package/dist/models/DescribeAccessInstanceVswitchListResponseBody.d.ts +4 -4
- package/dist/models/DescribeAccessInstanceZoneListRequest.d.ts +3 -3
- package/dist/models/DescribeAccessInstanceZoneListResponseBody.d.ts +1 -1
- package/dist/models/DescribeAckClusterConnectorRequest.d.ts +3 -3
- package/dist/models/DescribeAckClusterConnectorResponseBody.d.ts +20 -20
- package/dist/models/DescribeAckClusterConnectorsRequest.d.ts +7 -7
- package/dist/models/DescribeAckClusterConnectorsResponseBody.d.ts +20 -20
- package/dist/models/DescribeAckClusterNamespacesRequest.d.ts +2 -3
- package/dist/models/DescribeAckClusterNamespacesRequest.js.map +1 -1
- package/dist/models/DescribeAckClusterPodLabelsRequest.d.ts +2 -3
- package/dist/models/DescribeAckClusterPodLabelsRequest.js.map +1 -1
- package/dist/models/DescribeAckClusterPodLabelsResponseBody.d.ts +1 -1
- package/dist/models/DescribeAckClustersRequest.d.ts +4 -4
- package/dist/models/DescribeAckClustersResponseBody.d.ts +30 -17
- package/dist/models/DescribeAckClustersResponseBody.js.map +1 -1
- package/dist/models/DescribeAclAppsRequest.d.ts +7 -12
- package/dist/models/DescribeAclAppsRequest.js.map +1 -1
- package/dist/models/DescribeAclAppsResponseBody.d.ts +15 -17
- package/dist/models/DescribeAclAppsResponseBody.js.map +1 -1
- package/dist/models/DescribeAclBackupListRequest.d.ts +2 -2
- package/dist/models/DescribeAclBackupListResponseBody.d.ts +6 -6
- package/dist/models/DescribeAclCheckQuotaRequest.d.ts +1 -1
- package/dist/models/DescribeAclCheckQuotaResponseBody.d.ts +1 -1
- package/dist/models/DescribeAclCheckRequest.d.ts +1 -1
- package/dist/models/DescribeAclCheckResponseBody.d.ts +109 -164
- package/dist/models/DescribeAclCheckResponseBody.js.map +1 -1
- package/dist/models/DescribeAclChecksRequest.d.ts +1 -1
- package/dist/models/DescribeAclChecksResponseBody.d.ts +3 -3
- package/dist/models/DescribeAclRuleCountRequest.d.ts +1 -1
- package/dist/models/DescribeAclRuleCountResponseBody.d.ts +6 -6
- package/dist/models/DescribeAclWhitelistRequest.d.ts +2 -2
- package/dist/models/DescribeAclWhitelistResponseBody.d.ts +2 -2
- package/dist/models/DescribeAclprotectTrendRequest.d.ts +7 -7
- package/dist/models/DescribeAclprotectTrendResponseBody.d.ts +13 -13
- package/dist/models/DescribeAitrafficAnalysisStatusResponseBody.d.ts +2 -3
- package/dist/models/DescribeAitrafficAnalysisStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationStatisticsRequest.d.ts +24 -0
- package/dist/models/DescribeApplicationStatisticsRequest.js +58 -0
- package/dist/models/DescribeApplicationStatisticsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationStatisticsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationStatisticsResponse.js +69 -0
- package/dist/models/DescribeApplicationStatisticsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationStatisticsResponseBody.d.ts +125 -0
- package/dist/models/DescribeApplicationStatisticsResponseBody.js +136 -0
- package/dist/models/DescribeApplicationStatisticsResponseBody.js.map +1 -0
- package/dist/models/DescribeAssetRiskListRequest.d.ts +4 -7
- package/dist/models/DescribeAssetRiskListRequest.js.map +1 -1
- package/dist/models/DescribeAssetRiskListResponseBody.d.ts +11 -14
- package/dist/models/DescribeAssetRiskListResponseBody.js.map +1 -1
- package/dist/models/DescribeAttackAppCategoryResponseBody.d.ts +2 -2
- package/dist/models/DescribeBatchSlsDispatchStatusResponseBody.d.ts +13 -13
- package/dist/models/DescribeCfwRiskLevelSummaryRequest.d.ts +0 -1
- package/dist/models/DescribeCfwRiskLevelSummaryRequest.js.map +1 -1
- package/dist/models/DescribeClearAuthInfoResponseBody.d.ts +1 -1
- package/dist/models/DescribeConfiguredDestinationIprequest.d.ts +4 -4
- package/dist/models/DescribeConfiguredDestinationIpresponseBody.d.ts +2 -2
- package/dist/models/DescribeConfiguredDomainNamesRequest.d.ts +4 -4
- package/dist/models/DescribeConfiguredDomainNamesResponseBody.d.ts +3 -3
- package/dist/models/DescribeControlPolicyDomainResolveRequest.d.ts +3 -5
- package/dist/models/DescribeControlPolicyDomainResolveRequest.js.map +1 -1
- package/dist/models/DescribeControlPolicyDomainResolveResponseBody.d.ts +2 -2
- package/dist/models/DescribeCreatedNatFirewallRequest.d.ts +1 -1
- package/dist/models/DescribeCtrlInstanceMemberAccountsResponseBody.d.ts +1 -1
- package/dist/models/DescribeDnsFirewallPolicyRequest.d.ts +20 -21
- package/dist/models/DescribeDnsFirewallPolicyRequest.js.map +1 -1
- package/dist/models/DescribeDnsFirewallPolicyResponseBody.d.ts +35 -46
- package/dist/models/DescribeDnsFirewallPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeDownloadTaskRequest.d.ts +5 -6
- package/dist/models/DescribeDownloadTaskRequest.js.map +1 -1
- package/dist/models/DescribeDownloadTaskResponseBody.d.ts +7 -10
- package/dist/models/DescribeDownloadTaskResponseBody.js.map +1 -1
- package/dist/models/DescribeEventLogRequest.d.ts +33 -17
- package/dist/models/DescribeEventLogRequest.js +4 -0
- package/dist/models/DescribeEventLogRequest.js.map +1 -1
- package/dist/models/DescribeEventLogResponseBody.d.ts +19 -19
- package/dist/models/DescribeFirewallDropStatisticsResponseBody.d.ts +4 -4
- package/dist/models/DescribeFirewallDropTrendRequest.d.ts +3 -3
- package/dist/models/DescribeFirewallDropTrendResponseBody.d.ts +4 -6
- package/dist/models/DescribeFirewallDropTrendResponseBody.js.map +1 -1
- package/dist/models/DescribeFirewallTaskRequest.d.ts +8 -0
- package/dist/models/DescribeFirewallTaskRequest.js +2 -0
- package/dist/models/DescribeFirewallTaskRequest.js.map +1 -1
- package/dist/models/DescribeFirewallTaskResponseBody.d.ts +1 -1
- package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +7 -7
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +12 -12
- package/dist/models/DescribeFirewallVswitchRequest.d.ts +2 -2
- package/dist/models/DescribeFirewallVswitchResourcesRequest.d.ts +2 -2
- package/dist/models/DescribeFirewallVswitchResourcesResponseBody.d.ts +5 -5
- package/dist/models/DescribeFirewallVswitchResponseBody.d.ts +4 -4
- package/dist/models/DescribeInstanceRdAccountsRequest.d.ts +3 -3
- package/dist/models/DescribeInstanceRdAccountsResponseBody.d.ts +2 -2
- package/dist/models/DescribeInstanceRiskLevelsRequest.d.ts +1 -2
- package/dist/models/DescribeInstanceRiskLevelsRequest.js.map +1 -1
- package/dist/models/DescribeInstanceRiskLevelsResponseBody.d.ts +6 -8
- package/dist/models/DescribeInstanceRiskLevelsResponseBody.js.map +1 -1
- package/dist/models/DescribeInternetDropTrafficTrendRequest.d.ts +5 -5
- package/dist/models/DescribeInternetDropTrafficTrendResponseBody.d.ts +13 -13
- package/dist/models/DescribeInternetOpenDetailRequest.d.ts +16 -16
- package/dist/models/DescribeInternetOpenDetailResponseBody.d.ts +13 -13
- package/dist/models/DescribeInternetOpenIpResponseBody.d.ts +2 -2
- package/dist/models/DescribeInternetOpenPortRequest.d.ts +7 -7
- package/dist/models/DescribeInternetOpenPortResponseBody.d.ts +9 -9
- package/dist/models/DescribeInternetOpenServiceRequest.d.ts +6 -6
- package/dist/models/DescribeInternetOpenServiceResponseBody.d.ts +12 -12
- package/dist/models/DescribeInternetOpenStatisticRequest.d.ts +4 -4
- package/dist/models/DescribeInternetOpenStatisticResponseBody.d.ts +7 -7
- package/dist/models/DescribeInternetServiceNameListRequest.d.ts +2 -2
- package/dist/models/DescribeInternetServiceNameListResponseBody.d.ts +1 -1
- package/dist/models/DescribeInternetSlbRequest.d.ts +9 -9
- package/dist/models/DescribeInternetSlbResponseBody.d.ts +4 -4
- package/dist/models/DescribeInternetTimeTopRequest.d.ts +11 -11
- package/dist/models/DescribeInternetTimeTopResponseBody.d.ts +9 -9
- package/dist/models/DescribeInternetTrafficTopRequest.d.ts +5 -5
- package/dist/models/DescribeInternetTrafficTopResponseBody.d.ts +4 -4
- package/dist/models/DescribeInvadeEcsTrendRequest.d.ts +4 -4
- package/dist/models/DescribeInvadeEcsTrendResponseBody.d.ts +2 -2
- package/dist/models/DescribeInvadeEventDetailRequest.d.ts +4 -4
- package/dist/models/DescribeInvadeEventDetailResponseBody.d.ts +13 -13
- package/dist/models/DescribeInvadeEventNameListRequest.d.ts +3 -3
- package/dist/models/DescribeInvadeEventNameListResponseBody.d.ts +2 -2
- package/dist/models/DescribeInvadeEventPayloadRequest.d.ts +81 -0
- package/dist/models/DescribeInvadeEventPayloadRequest.js +72 -0
- package/dist/models/DescribeInvadeEventPayloadRequest.js.map +1 -0
- package/dist/models/DescribeInvadeEventPayloadResponse.d.ts +19 -0
- package/dist/models/DescribeInvadeEventPayloadResponse.js +69 -0
- package/dist/models/DescribeInvadeEventPayloadResponse.js.map +1 -0
- package/dist/models/DescribeInvadeEventPayloadResponseBody.d.ts +69 -0
- package/dist/models/DescribeInvadeEventPayloadResponseBody.js +70 -0
- package/dist/models/DescribeInvadeEventPayloadResponseBody.js.map +1 -0
- package/dist/models/DescribeInvadeEventStatisticRequest.d.ts +4 -4
- package/dist/models/DescribeIpsPrivateAssocRequest.d.ts +6 -7
- package/dist/models/DescribeIpsPrivateAssocRequest.js.map +1 -1
- package/dist/models/DescribeIpsPrivateAssocResponseBody.d.ts +14 -14
- package/dist/models/DescribeIpsrulesRequest.d.ts +13 -5
- package/dist/models/DescribeIpsrulesRequest.js +2 -0
- package/dist/models/DescribeIpsrulesRequest.js.map +1 -1
- package/dist/models/DescribeIpsrulesResponseBody.d.ts +7 -7
- package/dist/models/DescribeIspInfoResponseBody.d.ts +1 -1
- package/dist/models/DescribeLocationInfoRequest.d.ts +1 -1
- package/dist/models/DescribeLocationInfoResponseBody.d.ts +2 -2
- package/dist/models/DescribeNatFirewallListRequest.d.ts +16 -16
- package/dist/models/DescribeNatFirewallListResponseBody.d.ts +26 -26
- package/dist/models/DescribeNatFirewallPrecheckDetailRequest.d.ts +2 -2
- package/dist/models/DescribeNatFirewallPrecheckDetailResponseBody.d.ts +11 -11
- package/dist/models/DescribeNatFirewallQuotaResponseBody.d.ts +1 -1
- package/dist/models/DescribeNatFirewallTimeTopRequest.d.ts +6 -6
- package/dist/models/DescribeNatFirewallTimeTopResponseBody.d.ts +10 -10
- package/dist/models/DescribeOpenIpAccessSrcStatRequest.d.ts +4 -4
- package/dist/models/DescribeOpenIpAccessSrcStatResponseBody.d.ts +3 -3
- package/dist/models/DescribeOutgoingDestinationIprequest.d.ts +57 -116
- package/dist/models/DescribeOutgoingDestinationIprequest.js.map +1 -1
- package/dist/models/DescribeOutgoingDestinationIpresponseBody.d.ts +62 -86
- package/dist/models/DescribeOutgoingDestinationIpresponseBody.js.map +1 -1
- package/dist/models/DescribeOutgoingRiskDomainAndIpCountRequest.d.ts +2 -2
- package/dist/models/DescribeOutgoingRiskDomainAndIpCountResponseBody.d.ts +2 -2
- package/dist/models/DescribeOutgoingRiskTrendRequest.d.ts +2 -2
- package/dist/models/DescribePolicyAdvancedConfigRequest.d.ts +1 -1
- package/dist/models/DescribePolicyAdvancedConfigResponseBody.d.ts +1 -2
- package/dist/models/DescribePolicyAdvancedConfigResponseBody.js.map +1 -1
- package/dist/models/DescribePostpayBillRequest.d.ts +7 -7
- package/dist/models/DescribePostpayBillResponseBody.d.ts +5 -5
- package/dist/models/DescribePostpayUserVpcStatusRequest.d.ts +1 -1
- package/dist/models/DescribePostpayUserVpcStatusResponseBody.d.ts +1 -1
- package/dist/models/DescribePrefixListsRequest.d.ts +1 -1
- package/dist/models/DescribePrefixListsResponseBody.d.ts +3 -3
- package/dist/models/DescribeRegionInfoRequest.d.ts +1 -1
- package/dist/models/DescribeRegionInfoResponseBody.d.ts +1 -1
- package/dist/models/DescribeRiskEventGroupRequest.d.ts +31 -29
- package/dist/models/DescribeRiskEventGroupRequest.js.map +1 -1
- package/dist/models/DescribeRiskEventGroupResponseBody.d.ts +43 -43
- package/dist/models/DescribeSecurityProxyResourcesRequest.d.ts +1 -1
- package/dist/models/DescribeSecurityProxyResourcesResponseBody.d.ts +17 -4
- package/dist/models/DescribeSecurityProxyResourcesResponseBody.js +2 -0
- package/dist/models/DescribeSecurityProxyResourcesResponseBody.js.map +1 -1
- package/dist/models/DescribeSignatureLibVersionResponseBody.d.ts +1 -1
- package/dist/models/DescribeSlsAnalyzeOpenStatusRequest.d.ts +1 -1
- package/dist/models/DescribeTaskDispatchStatusRequest.d.ts +3 -1
- package/dist/models/DescribeTaskDispatchStatusRequest.js.map +1 -1
- package/dist/models/DescribeTaskDispatchStatusResponseBody.d.ts +1 -6
- package/dist/models/DescribeTaskDispatchStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeThreatIntelligenceSwitchResponseBody.d.ts +8 -8
- package/dist/models/DescribeTrFirewallsV2detailRequest.d.ts +3 -3
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +28 -28
- package/dist/models/DescribeTrafficLogRequest.d.ts +13 -14
- package/dist/models/DescribeTrafficLogRequest.js.map +1 -1
- package/dist/models/DescribeTrafficLogResponseBody.d.ts +45 -34
- package/dist/models/DescribeTrafficLogResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcFirewallAssetRegionListRequest.d.ts +4 -2
- package/dist/models/DescribeVpcFirewallAssetRegionListRequest.js.map +1 -1
- package/dist/models/DescribeVpcFirewallControlPolicyRequest.d.ts +54 -12
- package/dist/models/DescribeVpcFirewallControlPolicyRequest.js.map +1 -1
- package/dist/models/DescribeVpcFirewallControlPolicyResponseBody.d.ts +104 -31
- package/dist/models/DescribeVpcFirewallControlPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcFirewallZoneRequest.d.ts +3 -3
- package/dist/models/DescribeVpcFirewallZoneResponseBody.d.ts +8 -11
- package/dist/models/DescribeVpcFirewallZoneResponseBody.js +2 -2
- package/dist/models/DescribeVpcFirewallZoneResponseBody.js.map +1 -1
- package/dist/models/GetApplicationTemplateRequest.d.ts +34 -0
- package/dist/models/GetApplicationTemplateRequest.js +60 -0
- package/dist/models/GetApplicationTemplateRequest.js.map +1 -0
- package/dist/models/GetApplicationTemplateResponse.d.ts +19 -0
- package/dist/models/GetApplicationTemplateResponse.js +69 -0
- package/dist/models/GetApplicationTemplateResponse.js.map +1 -0
- package/dist/models/GetApplicationTemplateResponseBody.d.ts +155 -0
- package/dist/models/GetApplicationTemplateResponseBody.js +124 -0
- package/dist/models/GetApplicationTemplateResponseBody.js.map +1 -0
- package/dist/models/GetFirewallFeatureRequest.d.ts +13 -0
- package/dist/models/GetFirewallFeatureRequest.js +54 -0
- package/dist/models/GetFirewallFeatureRequest.js.map +1 -0
- package/dist/models/GetFirewallFeatureResponse.d.ts +19 -0
- package/dist/models/GetFirewallFeatureResponse.js +69 -0
- package/dist/models/GetFirewallFeatureResponse.js.map +1 -0
- package/dist/models/GetFirewallFeatureResponseBody.d.ts +58 -0
- package/dist/models/GetFirewallFeatureResponseBody.js +84 -0
- package/dist/models/GetFirewallFeatureResponseBody.js.map +1 -0
- package/dist/models/ListApplicationCustomRulesRequest.d.ts +93 -0
- package/dist/models/ListApplicationCustomRulesRequest.js +74 -0
- package/dist/models/ListApplicationCustomRulesRequest.js.map +1 -0
- package/dist/models/ListApplicationCustomRulesResponse.d.ts +19 -0
- package/dist/models/ListApplicationCustomRulesResponse.js +69 -0
- package/dist/models/ListApplicationCustomRulesResponse.js.map +1 -0
- package/dist/models/ListApplicationCustomRulesResponseBody.d.ts +138 -0
- package/dist/models/ListApplicationCustomRulesResponseBody.js +122 -0
- package/dist/models/ListApplicationCustomRulesResponseBody.js.map +1 -0
- package/dist/models/ListApplicationTemplateRequest.d.ts +91 -0
- package/dist/models/ListApplicationTemplateRequest.js +77 -0
- package/dist/models/ListApplicationTemplateRequest.js.map +1 -0
- package/dist/models/ListApplicationTemplateResponse.d.ts +19 -0
- package/dist/models/ListApplicationTemplateResponse.js +69 -0
- package/dist/models/ListApplicationTemplateResponse.js.map +1 -0
- package/dist/models/ListApplicationTemplateResponseBody.d.ts +192 -0
- package/dist/models/ListApplicationTemplateResponseBody.js +134 -0
- package/dist/models/ListApplicationTemplateResponseBody.js.map +1 -0
- package/dist/models/ListApplicationUpdateDynamicsRequest.d.ts +40 -0
- package/dist/models/ListApplicationUpdateDynamicsRequest.js +62 -0
- package/dist/models/ListApplicationUpdateDynamicsRequest.js.map +1 -0
- package/dist/models/ListApplicationUpdateDynamicsResponse.d.ts +19 -0
- package/dist/models/ListApplicationUpdateDynamicsResponse.js +69 -0
- package/dist/models/ListApplicationUpdateDynamicsResponse.js.map +1 -0
- package/dist/models/ListApplicationUpdateDynamicsResponseBody.d.ts +111 -0
- package/dist/models/ListApplicationUpdateDynamicsResponseBody.js +116 -0
- package/dist/models/ListApplicationUpdateDynamicsResponseBody.js.map +1 -0
- package/dist/models/ListApplicationsRequest.d.ts +110 -0
- package/dist/models/ListApplicationsRequest.js +78 -0
- package/dist/models/ListApplicationsRequest.js.map +1 -0
- package/dist/models/ListApplicationsResponse.d.ts +19 -0
- package/dist/models/ListApplicationsResponse.js +69 -0
- package/dist/models/ListApplicationsResponse.js.map +1 -0
- package/dist/models/ListApplicationsResponseBody.d.ts +173 -0
- package/dist/models/ListApplicationsResponseBody.js +120 -0
- package/dist/models/ListApplicationsResponseBody.js.map +1 -0
- package/dist/models/ListWebFilterRulesRequest.d.ts +56 -0
- package/dist/models/ListWebFilterRulesRequest.js +66 -0
- package/dist/models/ListWebFilterRulesRequest.js.map +1 -0
- package/dist/models/ListWebFilterRulesResponse.d.ts +19 -0
- package/dist/models/ListWebFilterRulesResponse.js +69 -0
- package/dist/models/ListWebFilterRulesResponse.js.map +1 -0
- package/dist/models/ListWebFilterRulesResponseBody.d.ts +138 -0
- package/dist/models/ListWebFilterRulesResponseBody.js +122 -0
- package/dist/models/ListWebFilterRulesResponseBody.js.map +1 -0
- package/dist/models/ListWebFilterTemplatesRequest.d.ts +60 -0
- package/dist/models/ListWebFilterTemplatesRequest.js +71 -0
- package/dist/models/ListWebFilterTemplatesRequest.js.map +1 -0
- package/dist/models/ListWebFilterTemplatesResponse.d.ts +19 -0
- package/dist/models/ListWebFilterTemplatesResponse.js +69 -0
- package/dist/models/ListWebFilterTemplatesResponse.js.map +1 -0
- package/dist/models/ListWebFilterTemplatesResponseBody.d.ts +145 -0
- package/dist/models/ListWebFilterTemplatesResponseBody.js +124 -0
- package/dist/models/ListWebFilterTemplatesResponseBody.js.map +1 -0
- package/dist/models/ModifyControlPolicyPriorityRequest.d.ts +2 -2
- package/dist/models/ModifyDnsFirewallPolicyRequest.d.ts +21 -28
- package/dist/models/ModifyDnsFirewallPolicyRequest.js.map +1 -1
- package/dist/models/ModifyDnsFirewallPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyFirewallV2routePolicySwitchRequest.d.ts +12 -7
- package/dist/models/ModifyFirewallV2routePolicySwitchRequest.js.map +1 -1
- package/dist/models/ModifyIpsRulesToDefaultRequest.d.ts +14 -8
- package/dist/models/ModifyIpsRulesToDefaultRequest.js +2 -0
- package/dist/models/ModifyIpsRulesToDefaultRequest.js.map +1 -1
- package/dist/models/ModifyIpsRulesToDefaultResponseBody.d.ts +1 -1
- package/dist/models/ModifyObjectGroupOperationRequest.d.ts +15 -15
- package/dist/models/ModifyVpcFirewallIpswhitelistRequest.d.ts +6 -12
- package/dist/models/ModifyVpcFirewallIpswhitelistRequest.js.map +1 -1
- package/dist/models/ReleaseExpiredInstanceResponseBody.d.ts +2 -4
- package/dist/models/ReleaseExpiredInstanceResponseBody.js.map +1 -1
- package/dist/models/SwitchSecurityProxyRequest.d.ts +69 -8
- package/dist/models/SwitchSecurityProxyRequest.js +33 -1
- package/dist/models/SwitchSecurityProxyRequest.js.map +1 -1
- package/dist/models/SwitchSecurityProxyResponseBody.d.ts +1 -1
- package/dist/models/UpdateAclCheckDetailStatusResponseBody.d.ts +121 -83
- package/dist/models/UpdateAclCheckDetailStatusResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationCustomRulesRequest.d.ts +77 -0
- package/dist/models/UpdateApplicationCustomRulesRequest.js +96 -0
- package/dist/models/UpdateApplicationCustomRulesRequest.js.map +1 -0
- package/dist/models/UpdateApplicationCustomRulesResponse.d.ts +19 -0
- package/dist/models/UpdateApplicationCustomRulesResponse.js +69 -0
- package/dist/models/UpdateApplicationCustomRulesResponse.js.map +1 -0
- package/dist/models/UpdateApplicationCustomRulesResponseBody.d.ts +21 -0
- package/dist/models/UpdateApplicationCustomRulesResponseBody.js +58 -0
- package/dist/models/UpdateApplicationCustomRulesResponseBody.js.map +1 -0
- package/dist/models/UpdateApplicationCustomRulesShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateApplicationCustomRulesShrinkRequest.js +58 -0
- package/dist/models/UpdateApplicationCustomRulesShrinkRequest.js.map +1 -0
- package/dist/models/UpdateApplicationTemplateRequest.d.ts +142 -0
- package/dist/models/UpdateApplicationTemplateRequest.js +120 -0
- package/dist/models/UpdateApplicationTemplateRequest.js.map +1 -0
- package/dist/models/UpdateApplicationTemplateResponse.d.ts +19 -0
- package/dist/models/UpdateApplicationTemplateResponse.js +69 -0
- package/dist/models/UpdateApplicationTemplateResponse.js.map +1 -0
- package/dist/models/UpdateApplicationTemplateResponseBody.d.ts +21 -0
- package/dist/models/UpdateApplicationTemplateResponseBody.js +58 -0
- package/dist/models/UpdateApplicationTemplateResponseBody.js.map +1 -0
- package/dist/models/UpdateApplicationTemplateShrinkRequest.d.ts +91 -0
- package/dist/models/UpdateApplicationTemplateShrinkRequest.js +74 -0
- package/dist/models/UpdateApplicationTemplateShrinkRequest.js.map +1 -0
- package/dist/models/UpdateFirewallFeatureRequest.d.ts +35 -0
- package/dist/models/UpdateFirewallFeatureRequest.js +60 -0
- package/dist/models/UpdateFirewallFeatureRequest.js.map +1 -0
- package/dist/models/UpdateFirewallFeatureResponse.d.ts +19 -0
- package/dist/models/UpdateFirewallFeatureResponse.js +69 -0
- package/dist/models/UpdateFirewallFeatureResponse.js.map +1 -0
- package/dist/models/UpdateFirewallFeatureResponseBody.d.ts +21 -0
- package/dist/models/UpdateFirewallFeatureResponseBody.js +58 -0
- package/dist/models/UpdateFirewallFeatureResponseBody.js.map +1 -0
- package/dist/models/UpdateWebFilterRulesRequest.d.ts +84 -0
- package/dist/models/UpdateWebFilterRulesRequest.js +108 -0
- package/dist/models/UpdateWebFilterRulesRequest.js.map +1 -0
- package/dist/models/UpdateWebFilterRulesResponse.d.ts +19 -0
- package/dist/models/UpdateWebFilterRulesResponse.js +69 -0
- package/dist/models/UpdateWebFilterRulesResponse.js.map +1 -0
- package/dist/models/UpdateWebFilterRulesResponseBody.d.ts +21 -0
- package/dist/models/UpdateWebFilterRulesResponseBody.js +58 -0
- package/dist/models/UpdateWebFilterRulesResponseBody.js.map +1 -0
- package/dist/models/UpdateWebFilterRulesShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateWebFilterRulesShrinkRequest.js +58 -0
- package/dist/models/UpdateWebFilterRulesShrinkRequest.js.map +1 -0
- package/dist/models/UpdateWebFilterTemplateRequest.d.ts +50 -0
- package/dist/models/UpdateWebFilterTemplateRequest.js +64 -0
- package/dist/models/UpdateWebFilterTemplateRequest.js.map +1 -0
- package/dist/models/UpdateWebFilterTemplateResponse.d.ts +19 -0
- package/dist/models/UpdateWebFilterTemplateResponse.js +69 -0
- package/dist/models/UpdateWebFilterTemplateResponse.js.map +1 -0
- package/dist/models/UpdateWebFilterTemplateResponseBody.d.ts +21 -0
- package/dist/models/UpdateWebFilterTemplateResponseBody.js +58 -0
- package/dist/models/UpdateWebFilterTemplateResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +104 -0
- package/dist/models/model.js +235 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +1845 -356
- package/src/models/AddAclBackupDataRequest.ts +2 -2
- package/src/models/AddAclBackupDataResponseBody.ts +1 -1
- package/src/models/AddDnsFirewallPolicyRequest.ts +9 -9
- package/src/models/AddDnsFirewallPolicyResponseBody.ts +1 -1
- package/src/models/AddPrivateDnsDomainNameRequest.ts +2 -2
- package/src/models/ClearLogStoreStorageRequest.ts +1 -1
- package/src/models/ClearLogStoreStorageResponseBody.ts +1 -3
- package/src/models/CreateAckClusterConnectorRequest.ts +10 -10
- package/src/models/CreateAckClusterConnectorResponseBody.ts +15 -15
- package/src/models/CreateAclCheckRequest.ts +4 -2
- package/src/models/CreateApplicationCustomRulesRequest.ts +111 -0
- package/src/models/CreateApplicationCustomRulesResponse.ts +40 -0
- package/src/models/CreateApplicationCustomRulesResponseBody.ts +44 -0
- package/src/models/CreateApplicationCustomRulesShrinkRequest.ts +45 -0
- package/src/models/CreateApplicationTemplateRequest.ts +154 -0
- package/src/models/CreateApplicationTemplateResponse.ts +40 -0
- package/src/models/CreateApplicationTemplateResponseBody.ts +44 -0
- package/src/models/CreateApplicationTemplateShrinkRequest.ts +108 -0
- package/src/models/CreateInstanceSyncTaskRequest.ts +1 -1
- package/src/models/CreateIpsPrivateAssocRequest.ts +1 -1
- package/src/models/CreateNatFirewallPreCheckRequest.ts +2 -2
- package/src/models/CreateNatFirewallPreCheckResponseBody.ts +1 -1
- package/src/models/CreateNatFirewallSyncTaskRequest.ts +1 -1
- package/src/models/CreatePrivateDnsEndpointRequest.ts +3 -3
- package/src/models/CreatePrivateDnsEndpointResponseBody.ts +1 -1
- package/src/models/CreateSecurityProxyRequest.ts +130 -12
- package/src/models/CreateTrFirewallV2request.ts +5 -5
- package/src/models/CreateTrFirewallV2responseBody.ts +1 -1
- package/src/models/CreateVpcFirewallCenManualConfigureRequest.ts +4 -4
- package/src/models/CreateVpcFirewallCenManualConfigureResponseBody.ts +1 -1
- package/src/models/CreateVpcFirewallPrecheckRequest.ts +4 -4
- package/src/models/CreateVpcFirewallTaskRequest.ts +0 -1
- package/src/models/CreateWebFilterRulesRequest.ts +131 -0
- package/src/models/CreateWebFilterRulesResponse.ts +40 -0
- package/src/models/CreateWebFilterRulesResponseBody.ts +44 -0
- package/src/models/CreateWebFilterRulesShrinkRequest.ts +45 -0
- package/src/models/CreateWebFilterTemplateRequest.ts +60 -0
- package/src/models/CreateWebFilterTemplateResponse.ts +40 -0
- package/src/models/CreateWebFilterTemplateResponseBody.ts +44 -0
- package/src/models/DeleteAclBackupDataRequest.ts +2 -2
- package/src/models/DeleteAclBackupDataResponseBody.ts +1 -1
- package/src/models/DeleteApplicationCustomRulesRequest.ts +36 -0
- package/src/models/DeleteApplicationCustomRulesResponse.ts +40 -0
- package/src/models/DeleteApplicationCustomRulesResponseBody.ts +34 -0
- package/src/models/DeleteApplicationCustomRulesShrinkRequest.ts +33 -0
- package/src/models/DeleteApplicationTemplateRequest.ts +34 -0
- package/src/models/DeleteApplicationTemplateResponse.ts +40 -0
- package/src/models/DeleteApplicationTemplateResponseBody.ts +34 -0
- package/src/models/DeleteDnsFirewallPolicyRequest.ts +2 -2
- package/src/models/DeletePrivateDnsDomainNameResponseBody.ts +1 -1
- package/src/models/DeletePrivateDnsEndpointResponseBody.ts +1 -1
- package/src/models/DeleteWebFilterRulesRequest.ts +36 -0
- package/src/models/DeleteWebFilterRulesResponse.ts +40 -0
- package/src/models/DeleteWebFilterRulesResponseBody.ts +34 -0
- package/src/models/DeleteWebFilterRulesShrinkRequest.ts +33 -0
- package/src/models/DeleteWebFilterTemplateRequest.ts +34 -0
- package/src/models/DeleteWebFilterTemplateResponse.ts +40 -0
- package/src/models/DeleteWebFilterTemplateResponseBody.ts +34 -0
- package/src/models/DescribeAccessInstanceRegionListRequest.ts +4 -4
- package/src/models/DescribeAccessInstanceRegionListResponseBody.ts +1 -1
- package/src/models/DescribeAccessInstanceTaskRequest.ts +4 -4
- package/src/models/DescribeAccessInstanceTaskResponseBody.ts +2 -2
- package/src/models/DescribeAccessInstanceVpcListRequest.ts +2 -2
- package/src/models/DescribeAccessInstanceVpcListResponseBody.ts +3 -3
- package/src/models/DescribeAccessInstanceVswitchListRequest.ts +3 -3
- package/src/models/DescribeAccessInstanceVswitchListResponseBody.ts +4 -4
- package/src/models/DescribeAccessInstanceZoneListRequest.ts +3 -3
- package/src/models/DescribeAccessInstanceZoneListResponseBody.ts +1 -1
- package/src/models/DescribeAckClusterConnectorRequest.ts +3 -3
- package/src/models/DescribeAckClusterConnectorResponseBody.ts +20 -20
- package/src/models/DescribeAckClusterConnectorsRequest.ts +7 -7
- package/src/models/DescribeAckClusterConnectorsResponseBody.ts +20 -20
- package/src/models/DescribeAckClusterNamespacesRequest.ts +2 -3
- package/src/models/DescribeAckClusterPodLabelsRequest.ts +2 -3
- package/src/models/DescribeAckClusterPodLabelsResponseBody.ts +1 -1
- package/src/models/DescribeAckClustersRequest.ts +4 -4
- package/src/models/DescribeAckClustersResponseBody.ts +30 -17
- package/src/models/DescribeAclAppsRequest.ts +8 -13
- package/src/models/DescribeAclAppsResponseBody.ts +15 -17
- package/src/models/DescribeAclBackupListRequest.ts +2 -2
- package/src/models/DescribeAclBackupListResponseBody.ts +6 -6
- package/src/models/DescribeAclCheckQuotaRequest.ts +1 -1
- package/src/models/DescribeAclCheckQuotaResponseBody.ts +1 -1
- package/src/models/DescribeAclCheckRequest.ts +1 -1
- package/src/models/DescribeAclCheckResponseBody.ts +109 -164
- package/src/models/DescribeAclChecksRequest.ts +1 -1
- package/src/models/DescribeAclChecksResponseBody.ts +3 -3
- package/src/models/DescribeAclRuleCountRequest.ts +1 -1
- package/src/models/DescribeAclRuleCountResponseBody.ts +6 -6
- package/src/models/DescribeAclWhitelistRequest.ts +2 -2
- package/src/models/DescribeAclWhitelistResponseBody.ts +2 -2
- package/src/models/DescribeAclprotectTrendRequest.ts +7 -7
- package/src/models/DescribeAclprotectTrendResponseBody.ts +13 -13
- package/src/models/DescribeAitrafficAnalysisStatusResponseBody.ts +2 -3
- package/src/models/DescribeApplicationStatisticsRequest.ts +37 -0
- package/src/models/DescribeApplicationStatisticsResponse.ts +40 -0
- package/src/models/DescribeApplicationStatisticsResponseBody.ts +189 -0
- package/src/models/DescribeAssetRiskListRequest.ts +4 -7
- package/src/models/DescribeAssetRiskListResponseBody.ts +11 -14
- package/src/models/DescribeAttackAppCategoryResponseBody.ts +2 -2
- package/src/models/DescribeBatchSlsDispatchStatusResponseBody.ts +13 -13
- package/src/models/DescribeCfwRiskLevelSummaryRequest.ts +0 -1
- package/src/models/DescribeClearAuthInfoResponseBody.ts +1 -1
- package/src/models/DescribeConfiguredDestinationIprequest.ts +4 -4
- package/src/models/DescribeConfiguredDestinationIpresponseBody.ts +2 -2
- package/src/models/DescribeConfiguredDomainNamesRequest.ts +4 -4
- package/src/models/DescribeConfiguredDomainNamesResponseBody.ts +3 -3
- package/src/models/DescribeControlPolicyDomainResolveRequest.ts +3 -5
- package/src/models/DescribeControlPolicyDomainResolveResponseBody.ts +2 -2
- package/src/models/DescribeCreatedNatFirewallRequest.ts +1 -1
- package/src/models/DescribeCtrlInstanceMemberAccountsResponseBody.ts +1 -1
- package/src/models/DescribeDnsFirewallPolicyRequest.ts +20 -21
- package/src/models/DescribeDnsFirewallPolicyResponseBody.ts +35 -46
- package/src/models/DescribeDownloadTaskRequest.ts +5 -6
- package/src/models/DescribeDownloadTaskResponseBody.ts +7 -10
- package/src/models/DescribeEventLogRequest.ts +37 -17
- package/src/models/DescribeEventLogResponseBody.ts +19 -19
- package/src/models/DescribeFirewallDropStatisticsResponseBody.ts +4 -4
- package/src/models/DescribeFirewallDropTrendRequest.ts +3 -3
- package/src/models/DescribeFirewallDropTrendResponseBody.ts +4 -6
- package/src/models/DescribeFirewallTaskRequest.ts +10 -0
- package/src/models/DescribeFirewallTaskResponseBody.ts +1 -1
- package/src/models/DescribeFirewallTrafficTrendRequest.ts +7 -7
- package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +12 -12
- package/src/models/DescribeFirewallVswitchRequest.ts +2 -2
- package/src/models/DescribeFirewallVswitchResourcesRequest.ts +2 -2
- package/src/models/DescribeFirewallVswitchResourcesResponseBody.ts +5 -5
- package/src/models/DescribeFirewallVswitchResponseBody.ts +4 -4
- package/src/models/DescribeInstanceRdAccountsRequest.ts +3 -3
- package/src/models/DescribeInstanceRdAccountsResponseBody.ts +2 -2
- package/src/models/DescribeInstanceRiskLevelsRequest.ts +1 -2
- package/src/models/DescribeInstanceRiskLevelsResponseBody.ts +6 -8
- package/src/models/DescribeInternetDropTrafficTrendRequest.ts +5 -5
- package/src/models/DescribeInternetDropTrafficTrendResponseBody.ts +13 -13
- package/src/models/DescribeInternetOpenDetailRequest.ts +16 -16
- package/src/models/DescribeInternetOpenDetailResponseBody.ts +13 -13
- package/src/models/DescribeInternetOpenIpResponseBody.ts +2 -2
- package/src/models/DescribeInternetOpenPortRequest.ts +7 -7
- package/src/models/DescribeInternetOpenPortResponseBody.ts +9 -9
- package/src/models/DescribeInternetOpenServiceRequest.ts +6 -6
- package/src/models/DescribeInternetOpenServiceResponseBody.ts +12 -12
- package/src/models/DescribeInternetOpenStatisticRequest.ts +4 -4
- package/src/models/DescribeInternetOpenStatisticResponseBody.ts +7 -7
- package/src/models/DescribeInternetServiceNameListRequest.ts +2 -2
- package/src/models/DescribeInternetServiceNameListResponseBody.ts +1 -1
- package/src/models/DescribeInternetSlbRequest.ts +9 -9
- package/src/models/DescribeInternetSlbResponseBody.ts +4 -4
- package/src/models/DescribeInternetTimeTopRequest.ts +11 -11
- package/src/models/DescribeInternetTimeTopResponseBody.ts +9 -9
- package/src/models/DescribeInternetTrafficTopRequest.ts +5 -5
- package/src/models/DescribeInternetTrafficTopResponseBody.ts +4 -4
- package/src/models/DescribeInvadeEcsTrendRequest.ts +4 -4
- package/src/models/DescribeInvadeEcsTrendResponseBody.ts +2 -2
- package/src/models/DescribeInvadeEventDetailRequest.ts +4 -4
- package/src/models/DescribeInvadeEventDetailResponseBody.ts +13 -13
- package/src/models/DescribeInvadeEventNameListRequest.ts +3 -3
- package/src/models/DescribeInvadeEventNameListResponseBody.ts +2 -2
- package/src/models/DescribeInvadeEventPayloadRequest.ts +108 -0
- package/src/models/DescribeInvadeEventPayloadResponse.ts +40 -0
- package/src/models/DescribeInvadeEventPayloadResponseBody.ts +94 -0
- package/src/models/DescribeInvadeEventStatisticRequest.ts +4 -4
- package/src/models/DescribeIpsPrivateAssocRequest.ts +6 -7
- package/src/models/DescribeIpsPrivateAssocResponseBody.ts +14 -14
- package/src/models/DescribeIpsrulesRequest.ts +15 -5
- package/src/models/DescribeIpsrulesResponseBody.ts +7 -7
- package/src/models/DescribeIspInfoResponseBody.ts +1 -1
- package/src/models/DescribeLocationInfoRequest.ts +1 -1
- package/src/models/DescribeLocationInfoResponseBody.ts +2 -2
- package/src/models/DescribeNatFirewallListRequest.ts +16 -16
- package/src/models/DescribeNatFirewallListResponseBody.ts +26 -26
- package/src/models/DescribeNatFirewallPrecheckDetailRequest.ts +2 -2
- package/src/models/DescribeNatFirewallPrecheckDetailResponseBody.ts +11 -11
- package/src/models/DescribeNatFirewallQuotaResponseBody.ts +1 -1
- package/src/models/DescribeNatFirewallTimeTopRequest.ts +6 -6
- package/src/models/DescribeNatFirewallTimeTopResponseBody.ts +10 -10
- package/src/models/DescribeOpenIpAccessSrcStatRequest.ts +4 -4
- package/src/models/DescribeOpenIpAccessSrcStatResponseBody.ts +3 -3
- package/src/models/DescribeOutgoingDestinationIprequest.ts +57 -116
- package/src/models/DescribeOutgoingDestinationIpresponseBody.ts +62 -86
- package/src/models/DescribeOutgoingRiskDomainAndIpCountRequest.ts +2 -2
- package/src/models/DescribeOutgoingRiskDomainAndIpCountResponseBody.ts +2 -2
- package/src/models/DescribeOutgoingRiskTrendRequest.ts +2 -2
- package/src/models/DescribePolicyAdvancedConfigRequest.ts +1 -1
- package/src/models/DescribePolicyAdvancedConfigResponseBody.ts +1 -2
- package/src/models/DescribePostpayBillRequest.ts +7 -7
- package/src/models/DescribePostpayBillResponseBody.ts +5 -5
- package/src/models/DescribePostpayUserVpcStatusRequest.ts +1 -1
- package/src/models/DescribePostpayUserVpcStatusResponseBody.ts +1 -1
- package/src/models/DescribePrefixListsRequest.ts +1 -1
- package/src/models/DescribePrefixListsResponseBody.ts +3 -3
- package/src/models/DescribeRegionInfoRequest.ts +1 -1
- package/src/models/DescribeRegionInfoResponseBody.ts +1 -1
- package/src/models/DescribeRiskEventGroupRequest.ts +31 -29
- package/src/models/DescribeRiskEventGroupResponseBody.ts +43 -43
- package/src/models/DescribeSecurityProxyResourcesRequest.ts +1 -1
- package/src/models/DescribeSecurityProxyResourcesResponseBody.ts +19 -4
- package/src/models/DescribeSignatureLibVersionResponseBody.ts +1 -1
- package/src/models/DescribeSlsAnalyzeOpenStatusRequest.ts +1 -1
- package/src/models/DescribeTaskDispatchStatusRequest.ts +3 -1
- package/src/models/DescribeTaskDispatchStatusResponseBody.ts +1 -6
- package/src/models/DescribeThreatIntelligenceSwitchResponseBody.ts +8 -8
- package/src/models/DescribeTrFirewallsV2detailRequest.ts +3 -3
- package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +28 -28
- package/src/models/DescribeTrafficLogRequest.ts +13 -14
- package/src/models/DescribeTrafficLogResponseBody.ts +45 -34
- package/src/models/DescribeVpcFirewallAssetRegionListRequest.ts +4 -2
- package/src/models/DescribeVpcFirewallControlPolicyRequest.ts +54 -12
- package/src/models/DescribeVpcFirewallControlPolicyResponseBody.ts +104 -31
- package/src/models/DescribeVpcFirewallZoneRequest.ts +3 -3
- package/src/models/DescribeVpcFirewallZoneResponseBody.ts +10 -13
- package/src/models/GetApplicationTemplateRequest.ts +49 -0
- package/src/models/GetApplicationTemplateResponse.ts +40 -0
- package/src/models/GetApplicationTemplateResponseBody.ts +216 -0
- package/src/models/GetFirewallFeatureRequest.ts +24 -0
- package/src/models/GetFirewallFeatureResponse.ts +40 -0
- package/src/models/GetFirewallFeatureResponseBody.ts +88 -0
- package/src/models/ListApplicationCustomRulesRequest.ts +122 -0
- package/src/models/ListApplicationCustomRulesResponse.ts +40 -0
- package/src/models/ListApplicationCustomRulesResponseBody.ts +197 -0
- package/src/models/ListApplicationTemplateRequest.ts +123 -0
- package/src/models/ListApplicationTemplateResponse.ts +40 -0
- package/src/models/ListApplicationTemplateResponseBody.ts +263 -0
- package/src/models/ListApplicationUpdateDynamicsRequest.ts +57 -0
- package/src/models/ListApplicationUpdateDynamicsResponse.ts +40 -0
- package/src/models/ListApplicationUpdateDynamicsResponseBody.ts +164 -0
- package/src/models/ListApplicationsRequest.ts +143 -0
- package/src/models/ListApplicationsResponse.ts +40 -0
- package/src/models/ListApplicationsResponseBody.ts +239 -0
- package/src/models/ListWebFilterRulesRequest.ts +77 -0
- package/src/models/ListWebFilterRulesResponse.ts +40 -0
- package/src/models/ListWebFilterRulesResponseBody.ts +197 -0
- package/src/models/ListWebFilterTemplatesRequest.ts +86 -0
- package/src/models/ListWebFilterTemplatesResponse.ts +40 -0
- package/src/models/ListWebFilterTemplatesResponseBody.ts +206 -0
- package/src/models/ModifyControlPolicyPriorityRequest.ts +2 -2
- package/src/models/ModifyDnsFirewallPolicyRequest.ts +21 -28
- package/src/models/ModifyDnsFirewallPolicyResponseBody.ts +1 -1
- package/src/models/ModifyFirewallV2routePolicySwitchRequest.ts +12 -7
- package/src/models/ModifyIpsRulesToDefaultRequest.ts +16 -8
- package/src/models/ModifyIpsRulesToDefaultResponseBody.ts +1 -1
- package/src/models/ModifyObjectGroupOperationRequest.ts +15 -15
- package/src/models/ModifyVpcFirewallIpswhitelistRequest.ts +6 -12
- package/src/models/ReleaseExpiredInstanceResponseBody.ts +2 -4
- package/src/models/SwitchSecurityProxyRequest.ts +92 -8
- package/src/models/SwitchSecurityProxyResponseBody.ts +1 -1
- package/src/models/UpdateAclCheckDetailStatusResponseBody.ts +121 -83
- package/src/models/UpdateApplicationCustomRulesRequest.ts +119 -0
- package/src/models/UpdateApplicationCustomRulesResponse.ts +40 -0
- package/src/models/UpdateApplicationCustomRulesResponseBody.ts +34 -0
- package/src/models/UpdateApplicationCustomRulesShrinkRequest.ts +33 -0
- package/src/models/UpdateApplicationTemplateRequest.ts +199 -0
- package/src/models/UpdateApplicationTemplateResponse.ts +40 -0
- package/src/models/UpdateApplicationTemplateResponseBody.ts +34 -0
- package/src/models/UpdateApplicationTemplateShrinkRequest.ts +120 -0
- package/src/models/UpdateFirewallFeatureRequest.ts +50 -0
- package/src/models/UpdateFirewallFeatureResponse.ts +40 -0
- package/src/models/UpdateFirewallFeatureResponseBody.ts +34 -0
- package/src/models/UpdateWebFilterRulesRequest.ts +129 -0
- package/src/models/UpdateWebFilterRulesResponse.ts +40 -0
- package/src/models/UpdateWebFilterRulesResponseBody.ts +34 -0
- package/src/models/UpdateWebFilterRulesShrinkRequest.ts +33 -0
- package/src/models/UpdateWebFilterTemplateRequest.ts +69 -0
- package/src/models/UpdateWebFilterTemplateResponse.ts +40 -0
- package/src/models/UpdateWebFilterTemplateResponseBody.ts +34 -0
- package/src/models/model.ts +104 -0
package/src/client.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import GatewayClient from '@alicloud/gateway-pop';
|
|
3
4
|
import OpenApi from '@alicloud/openapi-core';
|
|
4
5
|
import { OpenApiUtil, $OpenApiUtil }from '@alicloud/openapi-core';
|
|
5
6
|
|
|
@@ -11,6 +12,9 @@ export default class Client extends OpenApi {
|
|
|
11
12
|
|
|
12
13
|
constructor(config: $OpenApiUtil.Config) {
|
|
13
14
|
super(config);
|
|
15
|
+
this._productId = "Cloudfw";
|
|
16
|
+
let gatewayClient = new GatewayClient();
|
|
17
|
+
this._spi = gatewayClient;
|
|
14
18
|
this._endpointRule = "central";
|
|
15
19
|
this._endpointMap = {
|
|
16
20
|
'ap-southeast-1': "cloudfw.ap-southeast-1.aliyuncs.com",
|
|
@@ -359,13 +363,13 @@ export default class Client extends OpenApi {
|
|
|
359
363
|
}
|
|
360
364
|
|
|
361
365
|
/**
|
|
362
|
-
*
|
|
366
|
+
* Creates a DNS firewall ACL.
|
|
363
367
|
*
|
|
364
368
|
* @remarks
|
|
365
369
|
* Creates a DNS firewall access control policy to allow, deny, or monitor traffic that passes through the DNS firewall.
|
|
366
370
|
* ## Quotas
|
|
367
371
|
* DNS firewall policies are counted independently in the DNS policy table (counted separately by IP version), but **share the same quota limit** with Internet access control policies (determined by the Cloud Firewall edition). If the number of address combinations expanded from a single policy exceeds the limit, or the total number of policies exceeds the limit, the system returns ErrorAclExtendedCountExceed (-200139).
|
|
368
|
-
* > The DescribeAclCheckQuota operation returns the quota for the number of ACL policy checks, which is unrelated to firewall policy count quota
|
|
372
|
+
* > The DescribeAclCheckQuota operation returns the quota for the number of ACL policy checks, which is unrelated to firewall policy count quota. You cannot use it to predict whether the quota for this operation is sufficient. Check firewall policy count quota in the Cloud Firewall console.
|
|
369
373
|
*
|
|
370
374
|
* @param request - AddDnsFirewallPolicyRequest
|
|
371
375
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -440,13 +444,13 @@ export default class Client extends OpenApi {
|
|
|
440
444
|
}
|
|
441
445
|
|
|
442
446
|
/**
|
|
443
|
-
*
|
|
447
|
+
* Creates a DNS firewall ACL.
|
|
444
448
|
*
|
|
445
449
|
* @remarks
|
|
446
450
|
* Creates a DNS firewall access control policy to allow, deny, or monitor traffic that passes through the DNS firewall.
|
|
447
451
|
* ## Quotas
|
|
448
452
|
* DNS firewall policies are counted independently in the DNS policy table (counted separately by IP version), but **share the same quota limit** with Internet access control policies (determined by the Cloud Firewall edition). If the number of address combinations expanded from a single policy exceeds the limit, or the total number of policies exceeds the limit, the system returns ErrorAclExtendedCountExceed (-200139).
|
|
449
|
-
* > The DescribeAclCheckQuota operation returns the quota for the number of ACL policy checks, which is unrelated to firewall policy count quota
|
|
453
|
+
* > The DescribeAclCheckQuota operation returns the quota for the number of ACL policy checks, which is unrelated to firewall policy count quota. You cannot use it to predict whether the quota for this operation is sufficient. Check firewall policy count quota in the Cloud Firewall console.
|
|
450
454
|
*
|
|
451
455
|
* @param request - AddDnsFirewallPolicyRequest
|
|
452
456
|
* @returns AddDnsFirewallPolicyResponse
|
|
@@ -459,6 +463,12 @@ export default class Client extends OpenApi {
|
|
|
459
463
|
/**
|
|
460
464
|
* Creates a real-time domain name resolution task.
|
|
461
465
|
*
|
|
466
|
+
* @remarks
|
|
467
|
+
* This operation creates a real-time domain name resolution task for a specified domain name.
|
|
468
|
+
* ## Before you begin
|
|
469
|
+
* - Before you call this operation, you must activate Cloud Firewall. You can activate it on the Cloud Firewall buy page (China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn, International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl).
|
|
470
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. If the returned value is false, the current account has not purchased or activated Cloud Firewall.
|
|
471
|
+
*
|
|
462
472
|
* @param request - AddDomainResolveRealtimeTaskRequest
|
|
463
473
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
464
474
|
* @returns AddDomainResolveRealtimeTaskResponse
|
|
@@ -498,6 +508,12 @@ export default class Client extends OpenApi {
|
|
|
498
508
|
/**
|
|
499
509
|
* Creates a real-time domain name resolution task.
|
|
500
510
|
*
|
|
511
|
+
* @remarks
|
|
512
|
+
* This operation creates a real-time domain name resolution task for a specified domain name.
|
|
513
|
+
* ## Before you begin
|
|
514
|
+
* - Before you call this operation, you must activate Cloud Firewall. You can activate it on the Cloud Firewall buy page (China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn, International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl).
|
|
515
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. If the returned value is false, the current account has not purchased or activated Cloud Firewall.
|
|
516
|
+
*
|
|
501
517
|
* @param request - AddDomainResolveRealtimeTaskRequest
|
|
502
518
|
* @returns AddDomainResolveRealtimeTaskResponse
|
|
503
519
|
*/
|
|
@@ -570,7 +586,7 @@ export default class Client extends OpenApi {
|
|
|
570
586
|
* @remarks
|
|
571
587
|
* This operation is typically used to retrieve the DNS resolution results of a domain name. Currently, only Alibaba Cloud DNS is supported for retrieving resolution results. The domain name to be queried must use Alibaba Cloud DNS to retrieve its resolution results.
|
|
572
588
|
* ## QPS limits
|
|
573
|
-
* The QPS limit per user for this operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call
|
|
589
|
+
* The QPS limit per user for this operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
574
590
|
*
|
|
575
591
|
* @param request - AddPrivateDnsDomainNameRequest
|
|
576
592
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -614,7 +630,7 @@ export default class Client extends OpenApi {
|
|
|
614
630
|
* @remarks
|
|
615
631
|
* This operation is typically used to retrieve the DNS resolution results of a domain name. Currently, only Alibaba Cloud DNS is supported for retrieving resolution results. The domain name to be queried must use Alibaba Cloud DNS to retrieve its resolution results.
|
|
616
632
|
* ## QPS limits
|
|
617
|
-
* The QPS limit per user for this operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call
|
|
633
|
+
* The QPS limit per user for this operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
618
634
|
*
|
|
619
635
|
* @param request - AddPrivateDnsDomainNameRequest
|
|
620
636
|
* @returns AddPrivateDnsDomainNameResponse
|
|
@@ -792,7 +808,7 @@ export default class Client extends OpenApi {
|
|
|
792
808
|
*
|
|
793
809
|
* @remarks
|
|
794
810
|
* ## QPS limits
|
|
795
|
-
* The QPS limit for a single user is 10
|
|
811
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
796
812
|
*
|
|
797
813
|
* @param request - CreateAckClusterConnectorRequest
|
|
798
814
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -859,7 +875,7 @@ export default class Client extends OpenApi {
|
|
|
859
875
|
*
|
|
860
876
|
* @remarks
|
|
861
877
|
* ## QPS limits
|
|
862
|
-
* The QPS limit for a single user is 10
|
|
878
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
863
879
|
*
|
|
864
880
|
* @param request - CreateAckClusterConnectorRequest
|
|
865
881
|
* @returns CreateAckClusterConnectorResponse
|
|
@@ -919,6 +935,130 @@ export default class Client extends OpenApi {
|
|
|
919
935
|
return await this.createAclCheckWithOptions(request, runtime);
|
|
920
936
|
}
|
|
921
937
|
|
|
938
|
+
/**
|
|
939
|
+
* Creates custom rules in batches for a specified application template. You can create up to 100 rules at a time, and the total number of rules in the template cannot exceed 100.
|
|
940
|
+
*
|
|
941
|
+
* @param tmpReq - CreateApplicationCustomRulesRequest
|
|
942
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
943
|
+
* @returns CreateApplicationCustomRulesResponse
|
|
944
|
+
*/
|
|
945
|
+
async createApplicationCustomRulesWithOptions(tmpReq: $_model.CreateApplicationCustomRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationCustomRulesResponse> {
|
|
946
|
+
tmpReq.validate();
|
|
947
|
+
let request = new $_model.CreateApplicationCustomRulesShrinkRequest({ });
|
|
948
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
949
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
950
|
+
request.rulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
let query = { };
|
|
954
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
955
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
959
|
+
query["Rules"] = request.rulesShrink;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
963
|
+
query: OpenApiUtil.query(query),
|
|
964
|
+
});
|
|
965
|
+
let params = new $OpenApiUtil.Params({
|
|
966
|
+
action: "CreateApplicationCustomRules",
|
|
967
|
+
version: "2017-12-07",
|
|
968
|
+
protocol: "HTTPS",
|
|
969
|
+
pathname: "/",
|
|
970
|
+
method: "POST",
|
|
971
|
+
authType: "AK",
|
|
972
|
+
style: "RPC",
|
|
973
|
+
reqBodyType: "formData",
|
|
974
|
+
bodyType: "json",
|
|
975
|
+
});
|
|
976
|
+
return $dara.cast<$_model.CreateApplicationCustomRulesResponse>(await this.callApi(params, req, runtime), new $_model.CreateApplicationCustomRulesResponse({}));
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Creates custom rules in batches for a specified application template. You can create up to 100 rules at a time, and the total number of rules in the template cannot exceed 100.
|
|
981
|
+
*
|
|
982
|
+
* @param request - CreateApplicationCustomRulesRequest
|
|
983
|
+
* @returns CreateApplicationCustomRulesResponse
|
|
984
|
+
*/
|
|
985
|
+
async createApplicationCustomRules(request: $_model.CreateApplicationCustomRulesRequest): Promise<$_model.CreateApplicationCustomRulesResponse> {
|
|
986
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
987
|
+
return await this.createApplicationCustomRulesWithOptions(request, runtime);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Creates an application program template. The template is at the user granularity and can be referenced by the access control policy for the Internet border, NAT, and virtual private cloud (VPC) firewalls. Before creating a template, ensure that the application program control feature is enabled and the number of templates does not exceed the quota for the instance specifications.
|
|
992
|
+
*
|
|
993
|
+
* @param tmpReq - CreateApplicationTemplateRequest
|
|
994
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
995
|
+
* @returns CreateApplicationTemplateResponse
|
|
996
|
+
*/
|
|
997
|
+
async createApplicationTemplateWithOptions(tmpReq: $_model.CreateApplicationTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationTemplateResponse> {
|
|
998
|
+
tmpReq.validate();
|
|
999
|
+
let request = new $_model.CreateApplicationTemplateShrinkRequest({ });
|
|
1000
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1001
|
+
if (!$dara.isNull(tmpReq.addBuiltInApplicationCustomActions)) {
|
|
1002
|
+
request.addBuiltInApplicationCustomActionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.addBuiltInApplicationCustomActions, "AddBuiltInApplicationCustomActions", "json");
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
let query = { };
|
|
1006
|
+
if (!$dara.isNull(request.addBuiltInApplicationCustomActionsShrink)) {
|
|
1007
|
+
query["AddBuiltInApplicationCustomActions"] = request.addBuiltInApplicationCustomActionsShrink;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
if (!$dara.isNull(request.applicationTemplateName)) {
|
|
1011
|
+
query["ApplicationTemplateName"] = request.applicationTemplateName;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
if (!$dara.isNull(request.builtInApplicationStatus)) {
|
|
1015
|
+
query["BuiltInApplicationStatus"] = request.builtInApplicationStatus;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
if (!$dara.isNull(request.customRuleStatus)) {
|
|
1019
|
+
query["CustomRuleStatus"] = request.customRuleStatus;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
if (!$dara.isNull(request.description)) {
|
|
1023
|
+
query["Description"] = request.description;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
if (!$dara.isNull(request.templateStatus)) {
|
|
1027
|
+
query["TemplateStatus"] = request.templateStatus;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
if (!$dara.isNull(request.unknownAction)) {
|
|
1031
|
+
query["UnknownAction"] = request.unknownAction;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1035
|
+
query: OpenApiUtil.query(query),
|
|
1036
|
+
});
|
|
1037
|
+
let params = new $OpenApiUtil.Params({
|
|
1038
|
+
action: "CreateApplicationTemplate",
|
|
1039
|
+
version: "2017-12-07",
|
|
1040
|
+
protocol: "HTTPS",
|
|
1041
|
+
pathname: "/",
|
|
1042
|
+
method: "POST",
|
|
1043
|
+
authType: "AK",
|
|
1044
|
+
style: "RPC",
|
|
1045
|
+
reqBodyType: "formData",
|
|
1046
|
+
bodyType: "json",
|
|
1047
|
+
});
|
|
1048
|
+
return $dara.cast<$_model.CreateApplicationTemplateResponse>(await this.callApi(params, req, runtime), new $_model.CreateApplicationTemplateResponse({}));
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Creates an application program template. The template is at the user granularity and can be referenced by the access control policy for the Internet border, NAT, and virtual private cloud (VPC) firewalls. Before creating a template, ensure that the application program control feature is enabled and the number of templates does not exceed the quota for the instance specifications.
|
|
1053
|
+
*
|
|
1054
|
+
* @param request - CreateApplicationTemplateRequest
|
|
1055
|
+
* @returns CreateApplicationTemplateResponse
|
|
1056
|
+
*/
|
|
1057
|
+
async createApplicationTemplate(request: $_model.CreateApplicationTemplateRequest): Promise<$_model.CreateApplicationTemplateResponse> {
|
|
1058
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1059
|
+
return await this.createApplicationTemplateWithOptions(request, runtime);
|
|
1060
|
+
}
|
|
1061
|
+
|
|
922
1062
|
/**
|
|
923
1063
|
* Creates a file download task.
|
|
924
1064
|
*
|
|
@@ -1026,7 +1166,7 @@ export default class Client extends OpenApi {
|
|
|
1026
1166
|
* Creates an IPS private IP tracing association for an Internet NAT gateway that is protected by Cloud Firewall.
|
|
1027
1167
|
* ## Before you begin
|
|
1028
1168
|
* - The target NAT gateway must be managed by Cloud Firewall and asset synchronization must be completed. Asset synchronization is an asynchronous task. If you call this operation before the synchronization of a newly created NAT gateway is completed, the error code -103204 is returned.
|
|
1029
|
-
* - If SNAT is configured for the NAT gateway, you must enable session
|
|
1169
|
+
* - If SNAT is configured for the NAT gateway, you must enable session logs first. Otherwise, the error code -103583 is returned.
|
|
1030
1170
|
*
|
|
1031
1171
|
* @param request - CreateIpsPrivateAssocRequest
|
|
1032
1172
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1067,7 +1207,7 @@ export default class Client extends OpenApi {
|
|
|
1067
1207
|
* Creates an IPS private IP tracing association for an Internet NAT gateway that is protected by Cloud Firewall.
|
|
1068
1208
|
* ## Before you begin
|
|
1069
1209
|
* - The target NAT gateway must be managed by Cloud Firewall and asset synchronization must be completed. Asset synchronization is an asynchronous task. If you call this operation before the synchronization of a newly created NAT gateway is completed, the error code -103204 is returned.
|
|
1070
|
-
* - If SNAT is configured for the NAT gateway, you must enable session
|
|
1210
|
+
* - If SNAT is configured for the NAT gateway, you must enable session logs first. Otherwise, the error code -103583 is returned.
|
|
1071
1211
|
*
|
|
1072
1212
|
* @param request - CreateIpsPrivateAssocRequest
|
|
1073
1213
|
* @returns CreateIpsPrivateAssocResponse
|
|
@@ -1218,10 +1358,10 @@ export default class Client extends OpenApi {
|
|
|
1218
1358
|
}
|
|
1219
1359
|
|
|
1220
1360
|
/**
|
|
1221
|
-
* Creates a
|
|
1361
|
+
* Creates a precheck for a NAT firewall.
|
|
1222
1362
|
*
|
|
1223
1363
|
* @remarks
|
|
1224
|
-
* Creates a policy that allows, denies, or monitors traffic
|
|
1364
|
+
* Creates a policy that allows, denies, or monitors traffic passing through a NAT firewall.
|
|
1225
1365
|
*
|
|
1226
1366
|
* @param request - CreateNatFirewallPreCheckRequest
|
|
1227
1367
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1266,10 +1406,10 @@ export default class Client extends OpenApi {
|
|
|
1266
1406
|
}
|
|
1267
1407
|
|
|
1268
1408
|
/**
|
|
1269
|
-
* Creates a
|
|
1409
|
+
* Creates a precheck for a NAT firewall.
|
|
1270
1410
|
*
|
|
1271
1411
|
* @remarks
|
|
1272
|
-
* Creates a policy that allows, denies, or monitors traffic
|
|
1412
|
+
* Creates a policy that allows, denies, or monitors traffic passing through a NAT firewall.
|
|
1273
1413
|
*
|
|
1274
1414
|
* @param request - CreateNatFirewallPreCheckRequest
|
|
1275
1415
|
* @returns CreateNatFirewallPreCheckResponse
|
|
@@ -1282,6 +1422,12 @@ export default class Client extends OpenApi {
|
|
|
1282
1422
|
/**
|
|
1283
1423
|
* Creates a NAT firewall asset synchronization task.
|
|
1284
1424
|
*
|
|
1425
|
+
* @remarks
|
|
1426
|
+
* Creates a NAT firewall asset synchronization task.
|
|
1427
|
+
* ## Before you begin
|
|
1428
|
+
* - Before calling this operation, ensure that you have purchased and activated a Cloud Firewall instance. Both subscription and pay-as-you-go billing methods are supported.
|
|
1429
|
+
* - You can activate Cloud Firewall on the buy page (Chinese site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn and International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl). After activation, call the DescribeUserBuyVersion operation and check the UserStatus parameter to confirm the activation status.
|
|
1430
|
+
*
|
|
1285
1431
|
* @param request - CreateNatFirewallSyncTaskRequest
|
|
1286
1432
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1287
1433
|
* @returns CreateNatFirewallSyncTaskResponse
|
|
@@ -1313,6 +1459,12 @@ export default class Client extends OpenApi {
|
|
|
1313
1459
|
/**
|
|
1314
1460
|
* Creates a NAT firewall asset synchronization task.
|
|
1315
1461
|
*
|
|
1462
|
+
* @remarks
|
|
1463
|
+
* Creates a NAT firewall asset synchronization task.
|
|
1464
|
+
* ## Before you begin
|
|
1465
|
+
* - Before calling this operation, ensure that you have purchased and activated a Cloud Firewall instance. Both subscription and pay-as-you-go billing methods are supported.
|
|
1466
|
+
* - You can activate Cloud Firewall on the buy page (Chinese site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn and International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl). After activation, call the DescribeUserBuyVersion operation and check the UserStatus parameter to confirm the activation status.
|
|
1467
|
+
*
|
|
1316
1468
|
* @param request - CreateNatFirewallSyncTaskRequest
|
|
1317
1469
|
* @returns CreateNatFirewallSyncTaskResponse
|
|
1318
1470
|
*/
|
|
@@ -1325,7 +1477,7 @@ export default class Client extends OpenApi {
|
|
|
1325
1477
|
* Creates a private DNS endpoint.
|
|
1326
1478
|
*
|
|
1327
1479
|
* @remarks
|
|
1328
|
-
* Creates a private DNS firewall endpoint. When you call this operation, you must specify PrimaryVSwitchId
|
|
1480
|
+
* Creates a private DNS firewall endpoint. When you call this operation, you must specify PrimaryVSwitchId. The region and zone of the primary and secondary vSwitches must support private DNS firewalls.
|
|
1329
1481
|
*
|
|
1330
1482
|
* @param request - CreatePrivateDnsEndpointRequest
|
|
1331
1483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1411,7 +1563,7 @@ export default class Client extends OpenApi {
|
|
|
1411
1563
|
* Creates a private DNS endpoint.
|
|
1412
1564
|
*
|
|
1413
1565
|
* @remarks
|
|
1414
|
-
* Creates a private DNS firewall endpoint. When you call this operation, you must specify PrimaryVSwitchId
|
|
1566
|
+
* Creates a private DNS firewall endpoint. When you call this operation, you must specify PrimaryVSwitchId. The region and zone of the primary and secondary vSwitches must support private DNS firewalls.
|
|
1415
1567
|
*
|
|
1416
1568
|
* @param request - CreatePrivateDnsEndpointRequest
|
|
1417
1569
|
* @returns CreatePrivateDnsEndpointResponse
|
|
@@ -1431,6 +1583,10 @@ export default class Client extends OpenApi {
|
|
|
1431
1583
|
async createSecurityProxyWithOptions(request: $_model.CreateSecurityProxyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSecurityProxyResponse> {
|
|
1432
1584
|
request.validate();
|
|
1433
1585
|
let query = { };
|
|
1586
|
+
if (!$dara.isNull(request.basicDefenseEnabled)) {
|
|
1587
|
+
query["BasicDefenseEnabled"] = request.basicDefenseEnabled;
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1434
1590
|
if (!$dara.isNull(request.firewallServiceMode)) {
|
|
1435
1591
|
query["FirewallServiceMode"] = request.firewallServiceMode;
|
|
1436
1592
|
}
|
|
@@ -1451,10 +1607,22 @@ export default class Client extends OpenApi {
|
|
|
1451
1607
|
query["Lang"] = request.lang;
|
|
1452
1608
|
}
|
|
1453
1609
|
|
|
1610
|
+
if (!$dara.isNull(request.masterVSwitchCidr)) {
|
|
1611
|
+
query["MasterVSwitchCidr"] = request.masterVSwitchCidr;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
if (!$dara.isNull(request.masterZoneId)) {
|
|
1615
|
+
query["MasterZoneId"] = request.masterZoneId;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1454
1618
|
if (!$dara.isNull(request.natGatewayId)) {
|
|
1455
1619
|
query["NatGatewayId"] = request.natGatewayId;
|
|
1456
1620
|
}
|
|
1457
1621
|
|
|
1622
|
+
if (!$dara.isNull(request.natMode)) {
|
|
1623
|
+
query["NatMode"] = request.natMode;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1458
1626
|
if (!$dara.isNull(request.natRouteEntryList)) {
|
|
1459
1627
|
query["NatRouteEntryList"] = request.natRouteEntryList;
|
|
1460
1628
|
}
|
|
@@ -1467,10 +1635,34 @@ export default class Client extends OpenApi {
|
|
|
1467
1635
|
query["RegionNo"] = request.regionNo;
|
|
1468
1636
|
}
|
|
1469
1637
|
|
|
1638
|
+
if (!$dara.isNull(request.ruleClass)) {
|
|
1639
|
+
query["RuleClass"] = request.ruleClass;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
if (!$dara.isNull(request.runMode)) {
|
|
1643
|
+
query["RunMode"] = request.runMode;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
if (!$dara.isNull(request.standbyVSwitchCidr)) {
|
|
1647
|
+
query["StandbyVSwitchCidr"] = request.standbyVSwitchCidr;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
if (!$dara.isNull(request.standbyZoneId)) {
|
|
1651
|
+
query["StandbyZoneId"] = request.standbyZoneId;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1470
1654
|
if (!$dara.isNull(request.strictMode)) {
|
|
1471
1655
|
query["StrictMode"] = request.strictMode;
|
|
1472
1656
|
}
|
|
1473
1657
|
|
|
1658
|
+
if (!$dara.isNull(request.threatIntelEnabled)) {
|
|
1659
|
+
query["ThreatIntelEnabled"] = request.threatIntelEnabled;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
if (!$dara.isNull(request.virtualPatchEnabled)) {
|
|
1663
|
+
query["VirtualPatchEnabled"] = request.virtualPatchEnabled;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1474
1666
|
if (!$dara.isNull(request.vpcId)) {
|
|
1475
1667
|
query["VpcId"] = request.vpcId;
|
|
1476
1668
|
}
|
|
@@ -1562,10 +1754,10 @@ export default class Client extends OpenApi {
|
|
|
1562
1754
|
}
|
|
1563
1755
|
|
|
1564
1756
|
/**
|
|
1565
|
-
* Creates a VPC firewall for a transit router. Prerequisites: (1)
|
|
1757
|
+
* Creates a VPC firewall for a transit router. Prerequisites: (1) Cloud Firewall is purchased. (2) A CEN instance is created and an Enterprise Edition transit router is enabled. (3) The TR is synchronized to Cloud Firewall.
|
|
1566
1758
|
*
|
|
1567
1759
|
* @remarks
|
|
1568
|
-
* Creates a virtual private cloud (VPC) firewall for an Enterprise Edition transit router (TR). Before
|
|
1760
|
+
* Creates a virtual private cloud (VPC) firewall for an Enterprise Edition transit router (TR). Before you call this operation, you must create a CEN instance and an Enterprise Edition transit router in the CEN console, and synchronize the TR to Cloud Firewall. Then, call this operation by specifying the CEN ID, TransitRouterId, RegionNo, and RouteMode parameters.
|
|
1569
1761
|
*
|
|
1570
1762
|
* @param request - CreateTrFirewallV2Request
|
|
1571
1763
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1668,10 +1860,10 @@ export default class Client extends OpenApi {
|
|
|
1668
1860
|
}
|
|
1669
1861
|
|
|
1670
1862
|
/**
|
|
1671
|
-
* Creates a VPC firewall for a transit router. Prerequisites: (1)
|
|
1863
|
+
* Creates a VPC firewall for a transit router. Prerequisites: (1) Cloud Firewall is purchased. (2) A CEN instance is created and an Enterprise Edition transit router is enabled. (3) The TR is synchronized to Cloud Firewall.
|
|
1672
1864
|
*
|
|
1673
1865
|
* @remarks
|
|
1674
|
-
* Creates a virtual private cloud (VPC) firewall for an Enterprise Edition transit router (TR). Before
|
|
1866
|
+
* Creates a virtual private cloud (VPC) firewall for an Enterprise Edition transit router (TR). Before you call this operation, you must create a CEN instance and an Enterprise Edition transit router in the CEN console, and synchronize the TR to Cloud Firewall. Then, call this operation by specifying the CEN ID, TransitRouterId, RegionNo, and RouteMode parameters.
|
|
1675
1867
|
*
|
|
1676
1868
|
* @param request - CreateTrFirewallV2Request
|
|
1677
1869
|
* @returns CreateTrFirewallV2Response
|
|
@@ -1861,9 +2053,9 @@ export default class Client extends OpenApi {
|
|
|
1861
2053
|
* Creates a manual configuration to create a VPC firewall.
|
|
1862
2054
|
*
|
|
1863
2055
|
* @remarks
|
|
1864
|
-
* This operation is
|
|
2056
|
+
* This operation is typically used to create a VPC firewall for VPC-connected instances in a Cloud Enterprise Network (CEN). The VPC firewall protects the traffic between network instances in the CEN and the specified VPC. The network instances include VPCs, virtual border routers (VBRs), and Cloud Connect Networks (CCNs). The VPC firewall does not protect the traffic between VBRs, between CCNs, or between a VBR and a CCN. For more information, see [Limits on VPC firewalls](https://help.aliyun.com/document_detail/172295.html).
|
|
1865
2057
|
* ## QPS limits
|
|
1866
|
-
* The queries per second (QPS) limit
|
|
2058
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Invoke the API at a reasonable frequency.
|
|
1867
2059
|
*
|
|
1868
2060
|
* @deprecated OpenAPI CreateVpcFirewallCenManualConfigure is deprecated
|
|
1869
2061
|
*
|
|
@@ -1919,9 +2111,9 @@ export default class Client extends OpenApi {
|
|
|
1919
2111
|
* Creates a manual configuration to create a VPC firewall.
|
|
1920
2112
|
*
|
|
1921
2113
|
* @remarks
|
|
1922
|
-
* This operation is
|
|
2114
|
+
* This operation is typically used to create a VPC firewall for VPC-connected instances in a Cloud Enterprise Network (CEN). The VPC firewall protects the traffic between network instances in the CEN and the specified VPC. The network instances include VPCs, virtual border routers (VBRs), and Cloud Connect Networks (CCNs). The VPC firewall does not protect the traffic between VBRs, between CCNs, or between a VBR and a CCN. For more information, see [Limits on VPC firewalls](https://help.aliyun.com/document_detail/172295.html).
|
|
1923
2115
|
* ## QPS limits
|
|
1924
|
-
* The queries per second (QPS) limit
|
|
2116
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Invoke the API at a reasonable frequency.
|
|
1925
2117
|
*
|
|
1926
2118
|
* @deprecated OpenAPI CreateVpcFirewallCenManualConfigure is deprecated
|
|
1927
2119
|
*
|
|
@@ -2167,10 +2359,10 @@ export default class Client extends OpenApi {
|
|
|
2167
2359
|
}
|
|
2168
2360
|
|
|
2169
2361
|
/**
|
|
2170
|
-
* Creates a
|
|
2362
|
+
* Creates a prerequisite task for enabling a VPC firewall.
|
|
2171
2363
|
*
|
|
2172
2364
|
* @remarks
|
|
2173
|
-
*
|
|
2365
|
+
* Creates a policy to allow, deny, or monitor traffic passing through a NAT firewall.
|
|
2174
2366
|
*
|
|
2175
2367
|
* @param request - CreateVpcFirewallPrecheckRequest
|
|
2176
2368
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2225,10 +2417,10 @@ export default class Client extends OpenApi {
|
|
|
2225
2417
|
}
|
|
2226
2418
|
|
|
2227
2419
|
/**
|
|
2228
|
-
* Creates a
|
|
2420
|
+
* Creates a prerequisite task for enabling a VPC firewall.
|
|
2229
2421
|
*
|
|
2230
2422
|
* @remarks
|
|
2231
|
-
*
|
|
2423
|
+
* Creates a policy to allow, deny, or monitor traffic passing through a NAT firewall.
|
|
2232
2424
|
*
|
|
2233
2425
|
* @param request - CreateVpcFirewallPrecheckRequest
|
|
2234
2426
|
* @returns CreateVpcFirewallPrecheckResponse
|
|
@@ -2239,12 +2431,12 @@ export default class Client extends OpenApi {
|
|
|
2239
2431
|
}
|
|
2240
2432
|
|
|
2241
2433
|
/**
|
|
2242
|
-
* Creates a
|
|
2434
|
+
* Creates a VPC firewall asset synchronization task.
|
|
2243
2435
|
*
|
|
2244
2436
|
* @remarks
|
|
2245
|
-
* This operation
|
|
2246
|
-
* ### QPS
|
|
2247
|
-
* The
|
|
2437
|
+
* This operation is typically used to create a VPC firewall. The VPC firewall protects traffic between two VPCs that are connected by using Express Connect. The VPC firewall does not support protecting cross-region or cross-account traffic between VPCs, or traffic between a VPC and a virtual border router (VBR). For more information, see [Limits on VPC firewalls](https://help.aliyun.com/document_detail/172295.html).
|
|
2438
|
+
* ### QPS limit
|
|
2439
|
+
* The QPS limit on this operation is 10 queries per second per account. API calls that exceed this limit are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
2248
2440
|
*
|
|
2249
2441
|
* @param request - CreateVpcFirewallTaskRequest
|
|
2250
2442
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2287,12 +2479,12 @@ export default class Client extends OpenApi {
|
|
|
2287
2479
|
}
|
|
2288
2480
|
|
|
2289
2481
|
/**
|
|
2290
|
-
* Creates a
|
|
2482
|
+
* Creates a VPC firewall asset synchronization task.
|
|
2291
2483
|
*
|
|
2292
2484
|
* @remarks
|
|
2293
|
-
* This operation
|
|
2294
|
-
* ### QPS
|
|
2295
|
-
* The
|
|
2485
|
+
* This operation is typically used to create a VPC firewall. The VPC firewall protects traffic between two VPCs that are connected by using Express Connect. The VPC firewall does not support protecting cross-region or cross-account traffic between VPCs, or traffic between a VPC and a virtual border router (VBR). For more information, see [Limits on VPC firewalls](https://help.aliyun.com/document_detail/172295.html).
|
|
2486
|
+
* ### QPS limit
|
|
2487
|
+
* The QPS limit on this operation is 10 queries per second per account. API calls that exceed this limit are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
2296
2488
|
*
|
|
2297
2489
|
* @param request - CreateVpcFirewallTaskRequest
|
|
2298
2490
|
* @returns CreateVpcFirewallTaskResponse
|
|
@@ -2302,12 +2494,114 @@ export default class Client extends OpenApi {
|
|
|
2302
2494
|
return await this.createVpcFirewallTaskWithOptions(request, runtime);
|
|
2303
2495
|
}
|
|
2304
2496
|
|
|
2497
|
+
/**
|
|
2498
|
+
* Creates web filtering rules in batches under a specified web filtering template. A maximum of 100 rules can be created at a time, and the total number of rules in the template after creation must not exceed 100.
|
|
2499
|
+
*
|
|
2500
|
+
* @param tmpReq - CreateWebFilterRulesRequest
|
|
2501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2502
|
+
* @returns CreateWebFilterRulesResponse
|
|
2503
|
+
*/
|
|
2504
|
+
async createWebFilterRulesWithOptions(tmpReq: $_model.CreateWebFilterRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateWebFilterRulesResponse> {
|
|
2505
|
+
tmpReq.validate();
|
|
2506
|
+
let request = new $_model.CreateWebFilterRulesShrinkRequest({ });
|
|
2507
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2508
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
2509
|
+
request.rulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
let query = { };
|
|
2513
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
2514
|
+
query["Rules"] = request.rulesShrink;
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
2518
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2522
|
+
query: OpenApiUtil.query(query),
|
|
2523
|
+
});
|
|
2524
|
+
let params = new $OpenApiUtil.Params({
|
|
2525
|
+
action: "CreateWebFilterRules",
|
|
2526
|
+
version: "2017-12-07",
|
|
2527
|
+
protocol: "HTTPS",
|
|
2528
|
+
pathname: "/",
|
|
2529
|
+
method: "POST",
|
|
2530
|
+
authType: "AK",
|
|
2531
|
+
style: "RPC",
|
|
2532
|
+
reqBodyType: "formData",
|
|
2533
|
+
bodyType: "json",
|
|
2534
|
+
});
|
|
2535
|
+
return $dara.cast<$_model.CreateWebFilterRulesResponse>(await this.callApi(params, req, runtime), new $_model.CreateWebFilterRulesResponse({}));
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* Creates web filtering rules in batches under a specified web filtering template. A maximum of 100 rules can be created at a time, and the total number of rules in the template after creation must not exceed 100.
|
|
2540
|
+
*
|
|
2541
|
+
* @param request - CreateWebFilterRulesRequest
|
|
2542
|
+
* @returns CreateWebFilterRulesResponse
|
|
2543
|
+
*/
|
|
2544
|
+
async createWebFilterRules(request: $_model.CreateWebFilterRulesRequest): Promise<$_model.CreateWebFilterRulesResponse> {
|
|
2545
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2546
|
+
return await this.createWebFilterRulesWithOptions(request, runtime);
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* Creates a web filtering template. The template is at the user granularity and can be referenced by access control policies of Internet, NAT, and virtual private cloud (VPC) firewalls. Web filtering rules can be added to the template. Before creating a template, ensure that the web filtering feature is enabled and the number of templates does not exceed the instance quota.
|
|
2551
|
+
*
|
|
2552
|
+
* @param request - CreateWebFilterTemplateRequest
|
|
2553
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2554
|
+
* @returns CreateWebFilterTemplateResponse
|
|
2555
|
+
*/
|
|
2556
|
+
async createWebFilterTemplateWithOptions(request: $_model.CreateWebFilterTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateWebFilterTemplateResponse> {
|
|
2557
|
+
request.validate();
|
|
2558
|
+
let query = { };
|
|
2559
|
+
if (!$dara.isNull(request.description)) {
|
|
2560
|
+
query["Description"] = request.description;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
if (!$dara.isNull(request.name)) {
|
|
2564
|
+
query["Name"] = request.name;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
if (!$dara.isNull(request.status)) {
|
|
2568
|
+
query["Status"] = request.status;
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2572
|
+
query: OpenApiUtil.query(query),
|
|
2573
|
+
});
|
|
2574
|
+
let params = new $OpenApiUtil.Params({
|
|
2575
|
+
action: "CreateWebFilterTemplate",
|
|
2576
|
+
version: "2017-12-07",
|
|
2577
|
+
protocol: "HTTPS",
|
|
2578
|
+
pathname: "/",
|
|
2579
|
+
method: "POST",
|
|
2580
|
+
authType: "AK",
|
|
2581
|
+
style: "RPC",
|
|
2582
|
+
reqBodyType: "formData",
|
|
2583
|
+
bodyType: "json",
|
|
2584
|
+
});
|
|
2585
|
+
return $dara.cast<$_model.CreateWebFilterTemplateResponse>(await this.callApi(params, req, runtime), new $_model.CreateWebFilterTemplateResponse({}));
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* Creates a web filtering template. The template is at the user granularity and can be referenced by access control policies of Internet, NAT, and virtual private cloud (VPC) firewalls. Web filtering rules can be added to the template. Before creating a template, ensure that the web filtering feature is enabled and the number of templates does not exceed the instance quota.
|
|
2590
|
+
*
|
|
2591
|
+
* @param request - CreateWebFilterTemplateRequest
|
|
2592
|
+
* @returns CreateWebFilterTemplateResponse
|
|
2593
|
+
*/
|
|
2594
|
+
async createWebFilterTemplate(request: $_model.CreateWebFilterTemplateRequest): Promise<$_model.CreateWebFilterTemplateResponse> {
|
|
2595
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2596
|
+
return await this.createWebFilterTemplateWithOptions(request, runtime);
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2305
2599
|
/**
|
|
2306
2600
|
* Deletes an ACK cluster connector.
|
|
2307
2601
|
*
|
|
2308
2602
|
* @remarks
|
|
2309
|
-
* ##
|
|
2310
|
-
* The
|
|
2603
|
+
* ## Rate limit
|
|
2604
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
2311
2605
|
*
|
|
2312
2606
|
* @param request - DeleteAckClusterConnectorRequest
|
|
2313
2607
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2341,8 +2635,8 @@ export default class Client extends OpenApi {
|
|
|
2341
2635
|
* Deletes an ACK cluster connector.
|
|
2342
2636
|
*
|
|
2343
2637
|
* @remarks
|
|
2344
|
-
* ##
|
|
2345
|
-
* The
|
|
2638
|
+
* ## Rate limit
|
|
2639
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
2346
2640
|
*
|
|
2347
2641
|
* @param request - DeleteAckClusterConnectorRequest
|
|
2348
2642
|
* @returns DeleteAckClusterConnectorResponse
|
|
@@ -2356,9 +2650,9 @@ export default class Client extends OpenApi {
|
|
|
2356
2650
|
* Deletes an ACL backup.
|
|
2357
2651
|
*
|
|
2358
2652
|
* @remarks
|
|
2359
|
-
* This operation
|
|
2360
|
-
* ##
|
|
2361
|
-
*
|
|
2653
|
+
* This operation is typically used to delete address books in access control.
|
|
2654
|
+
* ## Rate limits
|
|
2655
|
+
* The rate limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
2362
2656
|
*
|
|
2363
2657
|
* @param request - DeleteAclBackupDataRequest
|
|
2364
2658
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2400,9 +2694,9 @@ export default class Client extends OpenApi {
|
|
|
2400
2694
|
* Deletes an ACL backup.
|
|
2401
2695
|
*
|
|
2402
2696
|
* @remarks
|
|
2403
|
-
* This operation
|
|
2404
|
-
* ##
|
|
2405
|
-
*
|
|
2697
|
+
* This operation is typically used to delete address books in access control.
|
|
2698
|
+
* ## Rate limits
|
|
2699
|
+
* The rate limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
2406
2700
|
*
|
|
2407
2701
|
* @param request - DeleteAclBackupDataRequest
|
|
2408
2702
|
* @returns DeleteAclBackupDataResponse
|
|
@@ -2473,49 +2767,30 @@ export default class Client extends OpenApi {
|
|
|
2473
2767
|
}
|
|
2474
2768
|
|
|
2475
2769
|
/**
|
|
2476
|
-
* Deletes
|
|
2477
|
-
*
|
|
2478
|
-
* @remarks
|
|
2479
|
-
* This operation is typically used to delete an access control policy whose traffic direction is inbound or outbound.
|
|
2480
|
-
* ## QPS limit
|
|
2481
|
-
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, API requests are throttled, which may affect your business. Invoke this operation at a reasonable rate.
|
|
2770
|
+
* Deletes custom application rules in batches. You can delete up to 100 rules in a single request. This operation is idempotent. If none of the specified rule IDs exist, the operation still returns a success response.
|
|
2482
2771
|
*
|
|
2483
|
-
* @param
|
|
2772
|
+
* @param tmpReq - DeleteApplicationCustomRulesRequest
|
|
2484
2773
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2485
|
-
* @returns
|
|
2774
|
+
* @returns DeleteApplicationCustomRulesResponse
|
|
2486
2775
|
*/
|
|
2487
|
-
async
|
|
2488
|
-
|
|
2489
|
-
let
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
if (!$dara.isNull(request.clientToken)) {
|
|
2495
|
-
query["ClientToken"] = request.clientToken;
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
if (!$dara.isNull(request.direction)) {
|
|
2499
|
-
query["Direction"] = request.direction;
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
if (!$dara.isNull(request.dryRun)) {
|
|
2503
|
-
query["DryRun"] = request.dryRun;
|
|
2504
|
-
}
|
|
2505
|
-
|
|
2506
|
-
if (!$dara.isNull(request.lang)) {
|
|
2507
|
-
query["Lang"] = request.lang;
|
|
2776
|
+
async deleteApplicationCustomRulesWithOptions(tmpReq: $_model.DeleteApplicationCustomRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteApplicationCustomRulesResponse> {
|
|
2777
|
+
tmpReq.validate();
|
|
2778
|
+
let request = new $_model.DeleteApplicationCustomRulesShrinkRequest({ });
|
|
2779
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2780
|
+
if (!$dara.isNull(tmpReq.applicationCustomRuleIds)) {
|
|
2781
|
+
request.applicationCustomRuleIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.applicationCustomRuleIds, "ApplicationCustomRuleIds", "json");
|
|
2508
2782
|
}
|
|
2509
2783
|
|
|
2510
|
-
|
|
2511
|
-
|
|
2784
|
+
let query = { };
|
|
2785
|
+
if (!$dara.isNull(request.applicationCustomRuleIdsShrink)) {
|
|
2786
|
+
query["ApplicationCustomRuleIds"] = request.applicationCustomRuleIdsShrink;
|
|
2512
2787
|
}
|
|
2513
2788
|
|
|
2514
2789
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2515
2790
|
query: OpenApiUtil.query(query),
|
|
2516
2791
|
});
|
|
2517
2792
|
let params = new $OpenApiUtil.Params({
|
|
2518
|
-
action: "
|
|
2793
|
+
action: "DeleteApplicationCustomRules",
|
|
2519
2794
|
version: "2017-12-07",
|
|
2520
2795
|
protocol: "HTTPS",
|
|
2521
2796
|
pathname: "/",
|
|
@@ -2525,40 +2800,149 @@ export default class Client extends OpenApi {
|
|
|
2525
2800
|
reqBodyType: "formData",
|
|
2526
2801
|
bodyType: "json",
|
|
2527
2802
|
});
|
|
2528
|
-
return $dara.cast<$_model.
|
|
2803
|
+
return $dara.cast<$_model.DeleteApplicationCustomRulesResponse>(await this.callApi(params, req, runtime), new $_model.DeleteApplicationCustomRulesResponse({}));
|
|
2529
2804
|
}
|
|
2530
2805
|
|
|
2531
2806
|
/**
|
|
2532
|
-
* Deletes
|
|
2807
|
+
* Deletes custom application rules in batches. You can delete up to 100 rules in a single request. This operation is idempotent. If none of the specified rule IDs exist, the operation still returns a success response.
|
|
2533
2808
|
*
|
|
2534
|
-
* @
|
|
2535
|
-
*
|
|
2536
|
-
* ## QPS limit
|
|
2537
|
-
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, API requests are throttled, which may affect your business. Invoke this operation at a reasonable rate.
|
|
2538
|
-
*
|
|
2539
|
-
* @param request - DeleteControlPolicyRequest
|
|
2540
|
-
* @returns DeleteControlPolicyResponse
|
|
2809
|
+
* @param request - DeleteApplicationCustomRulesRequest
|
|
2810
|
+
* @returns DeleteApplicationCustomRulesResponse
|
|
2541
2811
|
*/
|
|
2542
|
-
async
|
|
2812
|
+
async deleteApplicationCustomRules(request: $_model.DeleteApplicationCustomRulesRequest): Promise<$_model.DeleteApplicationCustomRulesResponse> {
|
|
2543
2813
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2544
|
-
return await this.
|
|
2814
|
+
return await this.deleteApplicationCustomRulesWithOptions(request, runtime);
|
|
2545
2815
|
}
|
|
2546
2816
|
|
|
2547
2817
|
/**
|
|
2548
|
-
* Deletes an access control policy
|
|
2818
|
+
* Deletes an application program template. You cannot delete a template if it contains custom application program rules or is referenced by an access control policy.
|
|
2549
2819
|
*
|
|
2550
|
-
* @param request -
|
|
2820
|
+
* @param request - DeleteApplicationTemplateRequest
|
|
2551
2821
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2552
|
-
* @returns
|
|
2822
|
+
* @returns DeleteApplicationTemplateResponse
|
|
2553
2823
|
*/
|
|
2554
|
-
async
|
|
2824
|
+
async deleteApplicationTemplateWithOptions(request: $_model.DeleteApplicationTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteApplicationTemplateResponse> {
|
|
2555
2825
|
request.validate();
|
|
2556
2826
|
let query = { };
|
|
2557
|
-
if (!$dara.isNull(request.
|
|
2558
|
-
query["
|
|
2827
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
2828
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
2559
2829
|
}
|
|
2560
2830
|
|
|
2561
|
-
|
|
2831
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2832
|
+
query: OpenApiUtil.query(query),
|
|
2833
|
+
});
|
|
2834
|
+
let params = new $OpenApiUtil.Params({
|
|
2835
|
+
action: "DeleteApplicationTemplate",
|
|
2836
|
+
version: "2017-12-07",
|
|
2837
|
+
protocol: "HTTPS",
|
|
2838
|
+
pathname: "/",
|
|
2839
|
+
method: "POST",
|
|
2840
|
+
authType: "AK",
|
|
2841
|
+
style: "RPC",
|
|
2842
|
+
reqBodyType: "formData",
|
|
2843
|
+
bodyType: "json",
|
|
2844
|
+
});
|
|
2845
|
+
return $dara.cast<$_model.DeleteApplicationTemplateResponse>(await this.callApi(params, req, runtime), new $_model.DeleteApplicationTemplateResponse({}));
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* Deletes an application program template. You cannot delete a template if it contains custom application program rules or is referenced by an access control policy.
|
|
2850
|
+
*
|
|
2851
|
+
* @param request - DeleteApplicationTemplateRequest
|
|
2852
|
+
* @returns DeleteApplicationTemplateResponse
|
|
2853
|
+
*/
|
|
2854
|
+
async deleteApplicationTemplate(request: $_model.DeleteApplicationTemplateRequest): Promise<$_model.DeleteApplicationTemplateResponse> {
|
|
2855
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2856
|
+
return await this.deleteApplicationTemplateWithOptions(request, runtime);
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
/**
|
|
2860
|
+
* Deletes an access control policy.
|
|
2861
|
+
*
|
|
2862
|
+
* @remarks
|
|
2863
|
+
* This operation is typically used to delete an access control policy whose traffic direction is inbound or outbound.
|
|
2864
|
+
* ## QPS limit
|
|
2865
|
+
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, API requests are throttled, which may affect your business. Invoke this operation at a reasonable rate.
|
|
2866
|
+
*
|
|
2867
|
+
* @param request - DeleteControlPolicyRequest
|
|
2868
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2869
|
+
* @returns DeleteControlPolicyResponse
|
|
2870
|
+
*/
|
|
2871
|
+
async deleteControlPolicyWithOptions(request: $_model.DeleteControlPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteControlPolicyResponse> {
|
|
2872
|
+
request.validate();
|
|
2873
|
+
let query = { };
|
|
2874
|
+
if (!$dara.isNull(request.aclUuid)) {
|
|
2875
|
+
query["AclUuid"] = request.aclUuid;
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2879
|
+
query["ClientToken"] = request.clientToken;
|
|
2880
|
+
}
|
|
2881
|
+
|
|
2882
|
+
if (!$dara.isNull(request.direction)) {
|
|
2883
|
+
query["Direction"] = request.direction;
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
2887
|
+
query["DryRun"] = request.dryRun;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
if (!$dara.isNull(request.lang)) {
|
|
2891
|
+
query["Lang"] = request.lang;
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
if (!$dara.isNull(request.sourceIp)) {
|
|
2895
|
+
query["SourceIp"] = request.sourceIp;
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2899
|
+
query: OpenApiUtil.query(query),
|
|
2900
|
+
});
|
|
2901
|
+
let params = new $OpenApiUtil.Params({
|
|
2902
|
+
action: "DeleteControlPolicy",
|
|
2903
|
+
version: "2017-12-07",
|
|
2904
|
+
protocol: "HTTPS",
|
|
2905
|
+
pathname: "/",
|
|
2906
|
+
method: "POST",
|
|
2907
|
+
authType: "AK",
|
|
2908
|
+
style: "RPC",
|
|
2909
|
+
reqBodyType: "formData",
|
|
2910
|
+
bodyType: "json",
|
|
2911
|
+
});
|
|
2912
|
+
return $dara.cast<$_model.DeleteControlPolicyResponse>(await this.callApi(params, req, runtime), new $_model.DeleteControlPolicyResponse({}));
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* Deletes an access control policy.
|
|
2917
|
+
*
|
|
2918
|
+
* @remarks
|
|
2919
|
+
* This operation is typically used to delete an access control policy whose traffic direction is inbound or outbound.
|
|
2920
|
+
* ## QPS limit
|
|
2921
|
+
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, API requests are throttled, which may affect your business. Invoke this operation at a reasonable rate.
|
|
2922
|
+
*
|
|
2923
|
+
* @param request - DeleteControlPolicyRequest
|
|
2924
|
+
* @returns DeleteControlPolicyResponse
|
|
2925
|
+
*/
|
|
2926
|
+
async deleteControlPolicy(request: $_model.DeleteControlPolicyRequest): Promise<$_model.DeleteControlPolicyResponse> {
|
|
2927
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2928
|
+
return await this.deleteControlPolicyWithOptions(request, runtime);
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* Deletes an access control policy template.
|
|
2933
|
+
*
|
|
2934
|
+
* @param request - DeleteControlPolicyTemplateRequest
|
|
2935
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2936
|
+
* @returns DeleteControlPolicyTemplateResponse
|
|
2937
|
+
*/
|
|
2938
|
+
async deleteControlPolicyTemplateWithOptions(request: $_model.DeleteControlPolicyTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteControlPolicyTemplateResponse> {
|
|
2939
|
+
request.validate();
|
|
2940
|
+
let query = { };
|
|
2941
|
+
if (!$dara.isNull(request.lang)) {
|
|
2942
|
+
query["Lang"] = request.lang;
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
if (!$dara.isNull(request.lang)) {
|
|
2562
2946
|
query["Lang"] = request.lang;
|
|
2563
2947
|
}
|
|
2564
2948
|
|
|
@@ -2599,10 +2983,10 @@ export default class Client extends OpenApi {
|
|
|
2599
2983
|
}
|
|
2600
2984
|
|
|
2601
2985
|
/**
|
|
2602
|
-
* Deletes a DNS firewall
|
|
2986
|
+
* Deletes a DNS firewall rule.
|
|
2603
2987
|
*
|
|
2604
2988
|
* @remarks
|
|
2605
|
-
*
|
|
2989
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
2606
2990
|
*
|
|
2607
2991
|
* @param request - DeleteDnsFirewallPolicyRequest
|
|
2608
2992
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2641,10 +3025,10 @@ export default class Client extends OpenApi {
|
|
|
2641
3025
|
}
|
|
2642
3026
|
|
|
2643
3027
|
/**
|
|
2644
|
-
* Deletes a DNS firewall
|
|
3028
|
+
* Deletes a DNS firewall rule.
|
|
2645
3029
|
*
|
|
2646
3030
|
* @remarks
|
|
2647
|
-
*
|
|
3031
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
2648
3032
|
*
|
|
2649
3033
|
* @param request - DeleteDnsFirewallPolicyRequest
|
|
2650
3034
|
* @returns DeleteDnsFirewallPolicyResponse
|
|
@@ -2811,7 +3195,7 @@ export default class Client extends OpenApi {
|
|
|
2811
3195
|
}
|
|
2812
3196
|
|
|
2813
3197
|
/**
|
|
2814
|
-
* Creates
|
|
3198
|
+
* Creates IPS private network association information.
|
|
2815
3199
|
*
|
|
2816
3200
|
* @param request - DeleteIpsPrivateAssocRequest
|
|
2817
3201
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2846,7 +3230,7 @@ export default class Client extends OpenApi {
|
|
|
2846
3230
|
}
|
|
2847
3231
|
|
|
2848
3232
|
/**
|
|
2849
|
-
* Creates
|
|
3233
|
+
* Creates IPS private network association information.
|
|
2850
3234
|
*
|
|
2851
3235
|
* @param request - DeleteIpsPrivateAssocRequest
|
|
2852
3236
|
* @returns DeleteIpsPrivateAssocResponse
|
|
@@ -2971,12 +3355,12 @@ export default class Client extends OpenApi {
|
|
|
2971
3355
|
}
|
|
2972
3356
|
|
|
2973
3357
|
/**
|
|
2974
|
-
*
|
|
3358
|
+
* Clears private DNS domain names.
|
|
2975
3359
|
*
|
|
2976
3360
|
* @remarks
|
|
2977
|
-
* This API
|
|
2978
|
-
* ## QPS
|
|
2979
|
-
*
|
|
3361
|
+
* This API operation is typically used to retrieve the DNS resolution results of a domain name. Currently, resolution results can only be retrieved from Alibaba Cloud DNS. To retrieve the resolution results, the domain name to be queried must use Alibaba Cloud DNS.
|
|
3362
|
+
* ## QPS limits
|
|
3363
|
+
* The QPS limit per user for this API operation is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
2980
3364
|
*
|
|
2981
3365
|
* @param request - DeletePrivateDnsAllDomainNameRequest
|
|
2982
3366
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3011,12 +3395,12 @@ export default class Client extends OpenApi {
|
|
|
3011
3395
|
}
|
|
3012
3396
|
|
|
3013
3397
|
/**
|
|
3014
|
-
*
|
|
3398
|
+
* Clears private DNS domain names.
|
|
3015
3399
|
*
|
|
3016
3400
|
* @remarks
|
|
3017
|
-
* This API
|
|
3018
|
-
* ## QPS
|
|
3019
|
-
*
|
|
3401
|
+
* This API operation is typically used to retrieve the DNS resolution results of a domain name. Currently, resolution results can only be retrieved from Alibaba Cloud DNS. To retrieve the resolution results, the domain name to be queried must use Alibaba Cloud DNS.
|
|
3402
|
+
* ## QPS limits
|
|
3403
|
+
* The QPS limit per user for this API operation is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
3020
3404
|
*
|
|
3021
3405
|
* @param request - DeletePrivateDnsAllDomainNameRequest
|
|
3022
3406
|
* @returns DeletePrivateDnsAllDomainNameResponse
|
|
@@ -3027,10 +3411,10 @@ export default class Client extends OpenApi {
|
|
|
3027
3411
|
}
|
|
3028
3412
|
|
|
3029
3413
|
/**
|
|
3030
|
-
*
|
|
3414
|
+
* Deletes a private DNS domain name.
|
|
3031
3415
|
*
|
|
3032
3416
|
* @remarks
|
|
3033
|
-
* Deletes domain
|
|
3417
|
+
* Deletes a domain name that requires private DNS resolution.
|
|
3034
3418
|
*
|
|
3035
3419
|
* @param request - DeletePrivateDnsDomainNameRequest
|
|
3036
3420
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3069,10 +3453,10 @@ export default class Client extends OpenApi {
|
|
|
3069
3453
|
}
|
|
3070
3454
|
|
|
3071
3455
|
/**
|
|
3072
|
-
*
|
|
3456
|
+
* Deletes a private DNS domain name.
|
|
3073
3457
|
*
|
|
3074
3458
|
* @remarks
|
|
3075
|
-
* Deletes domain
|
|
3459
|
+
* Deletes a domain name that requires private DNS resolution.
|
|
3076
3460
|
*
|
|
3077
3461
|
* @param request - DeletePrivateDnsDomainNameRequest
|
|
3078
3462
|
* @returns DeletePrivateDnsDomainNameResponse
|
|
@@ -3086,7 +3470,7 @@ export default class Client extends OpenApi {
|
|
|
3086
3470
|
* Deletes a private DNS endpoint.
|
|
3087
3471
|
*
|
|
3088
3472
|
* @remarks
|
|
3089
|
-
*
|
|
3473
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
3090
3474
|
*
|
|
3091
3475
|
* @param request - DeletePrivateDnsEndpointRequest
|
|
3092
3476
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3124,7 +3508,7 @@ export default class Client extends OpenApi {
|
|
|
3124
3508
|
* Deletes a private DNS endpoint.
|
|
3125
3509
|
*
|
|
3126
3510
|
* @remarks
|
|
3127
|
-
*
|
|
3511
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
3128
3512
|
*
|
|
3129
3513
|
* @param request - DeletePrivateDnsEndpointRequest
|
|
3130
3514
|
* @returns DeletePrivateDnsEndpointResponse
|
|
@@ -3413,7 +3797,97 @@ export default class Client extends OpenApi {
|
|
|
3413
3797
|
}
|
|
3414
3798
|
|
|
3415
3799
|
/**
|
|
3416
|
-
*
|
|
3800
|
+
* Deletes web filtering rules in batches. A maximum of 100 rules can be deleted in a single request. This operation is idempotent and returns a success response even if none of the specified rule IDs exist.
|
|
3801
|
+
*
|
|
3802
|
+
* @param tmpReq - DeleteWebFilterRulesRequest
|
|
3803
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3804
|
+
* @returns DeleteWebFilterRulesResponse
|
|
3805
|
+
*/
|
|
3806
|
+
async deleteWebFilterRulesWithOptions(tmpReq: $_model.DeleteWebFilterRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWebFilterRulesResponse> {
|
|
3807
|
+
tmpReq.validate();
|
|
3808
|
+
let request = new $_model.DeleteWebFilterRulesShrinkRequest({ });
|
|
3809
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3810
|
+
if (!$dara.isNull(tmpReq.webFilterRuleIds)) {
|
|
3811
|
+
request.webFilterRuleIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.webFilterRuleIds, "WebFilterRuleIds", "json");
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
let query = { };
|
|
3815
|
+
if (!$dara.isNull(request.webFilterRuleIdsShrink)) {
|
|
3816
|
+
query["WebFilterRuleIds"] = request.webFilterRuleIdsShrink;
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3820
|
+
query: OpenApiUtil.query(query),
|
|
3821
|
+
});
|
|
3822
|
+
let params = new $OpenApiUtil.Params({
|
|
3823
|
+
action: "DeleteWebFilterRules",
|
|
3824
|
+
version: "2017-12-07",
|
|
3825
|
+
protocol: "HTTPS",
|
|
3826
|
+
pathname: "/",
|
|
3827
|
+
method: "POST",
|
|
3828
|
+
authType: "AK",
|
|
3829
|
+
style: "RPC",
|
|
3830
|
+
reqBodyType: "formData",
|
|
3831
|
+
bodyType: "json",
|
|
3832
|
+
});
|
|
3833
|
+
return $dara.cast<$_model.DeleteWebFilterRulesResponse>(await this.callApi(params, req, runtime), new $_model.DeleteWebFilterRulesResponse({}));
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
/**
|
|
3837
|
+
* Deletes web filtering rules in batches. A maximum of 100 rules can be deleted in a single request. This operation is idempotent and returns a success response even if none of the specified rule IDs exist.
|
|
3838
|
+
*
|
|
3839
|
+
* @param request - DeleteWebFilterRulesRequest
|
|
3840
|
+
* @returns DeleteWebFilterRulesResponse
|
|
3841
|
+
*/
|
|
3842
|
+
async deleteWebFilterRules(request: $_model.DeleteWebFilterRulesRequest): Promise<$_model.DeleteWebFilterRulesResponse> {
|
|
3843
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3844
|
+
return await this.deleteWebFilterRulesWithOptions(request, runtime);
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
/**
|
|
3848
|
+
* Deletes a web filtering template. Deleting a template also deletes all web filtering rules within the template. A template cannot be deleted if it is referenced by an access control policy.
|
|
3849
|
+
*
|
|
3850
|
+
* @param request - DeleteWebFilterTemplateRequest
|
|
3851
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3852
|
+
* @returns DeleteWebFilterTemplateResponse
|
|
3853
|
+
*/
|
|
3854
|
+
async deleteWebFilterTemplateWithOptions(request: $_model.DeleteWebFilterTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWebFilterTemplateResponse> {
|
|
3855
|
+
request.validate();
|
|
3856
|
+
let query = { };
|
|
3857
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
3858
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3862
|
+
query: OpenApiUtil.query(query),
|
|
3863
|
+
});
|
|
3864
|
+
let params = new $OpenApiUtil.Params({
|
|
3865
|
+
action: "DeleteWebFilterTemplate",
|
|
3866
|
+
version: "2017-12-07",
|
|
3867
|
+
protocol: "HTTPS",
|
|
3868
|
+
pathname: "/",
|
|
3869
|
+
method: "POST",
|
|
3870
|
+
authType: "AK",
|
|
3871
|
+
style: "RPC",
|
|
3872
|
+
reqBodyType: "formData",
|
|
3873
|
+
bodyType: "json",
|
|
3874
|
+
});
|
|
3875
|
+
return $dara.cast<$_model.DeleteWebFilterTemplateResponse>(await this.callApi(params, req, runtime), new $_model.DeleteWebFilterTemplateResponse({}));
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* Deletes a web filtering template. Deleting a template also deletes all web filtering rules within the template. A template cannot be deleted if it is referenced by an access control policy.
|
|
3880
|
+
*
|
|
3881
|
+
* @param request - DeleteWebFilterTemplateRequest
|
|
3882
|
+
* @returns DeleteWebFilterTemplateResponse
|
|
3883
|
+
*/
|
|
3884
|
+
async deleteWebFilterTemplate(request: $_model.DeleteWebFilterTemplateRequest): Promise<$_model.DeleteWebFilterTemplateResponse> {
|
|
3885
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3886
|
+
return await this.deleteWebFilterTemplateWithOptions(request, runtime);
|
|
3887
|
+
}
|
|
3888
|
+
|
|
3889
|
+
/**
|
|
3890
|
+
* Queries the trend chart for Internet access control blocks.
|
|
3417
3891
|
*
|
|
3418
3892
|
* @param request - DescribeACLProtectTrendRequest
|
|
3419
3893
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3468,7 +3942,7 @@ export default class Client extends OpenApi {
|
|
|
3468
3942
|
}
|
|
3469
3943
|
|
|
3470
3944
|
/**
|
|
3471
|
-
* Queries the trend chart
|
|
3945
|
+
* Queries the trend chart for Internet access control blocks.
|
|
3472
3946
|
*
|
|
3473
3947
|
* @param request - DescribeACLProtectTrendRequest
|
|
3474
3948
|
* @returns DescribeACLProtectTrendResponse
|
|
@@ -3479,10 +3953,16 @@ export default class Client extends OpenApi {
|
|
|
3479
3953
|
}
|
|
3480
3954
|
|
|
3481
3955
|
/**
|
|
3482
|
-
* Queries the enabling status of AI-
|
|
3956
|
+
* Queries the enabling status of AI-based network traffic analysis.
|
|
3483
3957
|
*
|
|
3484
3958
|
* @remarks
|
|
3485
|
-
* The
|
|
3959
|
+
* The statistical scope covers the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
3960
|
+
* ## Before you begin
|
|
3961
|
+
* - Before you call this operation, the account must have purchased Purchase Cloud Firewall instance. If no instance is purchased, the operation returns the error code `202`.
|
|
3962
|
+
* - You can call [DescribeUserBuyVersion](~~DescribeUserBuyVersion~~) to query the purchase status. The `UserStatus` field in the response indicates whether the Cloud Firewall instance is valid. A value of `false` indicates that the instance is invalid or not activated.
|
|
3963
|
+
* - Purchase Purchase Cloud Firewall instance:
|
|
3964
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
3965
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
3486
3966
|
*
|
|
3487
3967
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3488
3968
|
* @returns DescribeAITrafficAnalysisStatusResponse
|
|
@@ -3504,10 +3984,16 @@ export default class Client extends OpenApi {
|
|
|
3504
3984
|
}
|
|
3505
3985
|
|
|
3506
3986
|
/**
|
|
3507
|
-
* Queries the enabling status of AI-
|
|
3987
|
+
* Queries the enabling status of AI-based network traffic analysis.
|
|
3508
3988
|
*
|
|
3509
3989
|
* @remarks
|
|
3510
|
-
* The
|
|
3990
|
+
* The statistical scope covers the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
3991
|
+
* ## Before you begin
|
|
3992
|
+
* - Before you call this operation, the account must have purchased Purchase Cloud Firewall instance. If no instance is purchased, the operation returns the error code `202`.
|
|
3993
|
+
* - You can call [DescribeUserBuyVersion](~~DescribeUserBuyVersion~~) to query the purchase status. The `UserStatus` field in the response indicates whether the Cloud Firewall instance is valid. A value of `false` indicates that the instance is invalid or not activated.
|
|
3994
|
+
* - Purchase Purchase Cloud Firewall instance:
|
|
3995
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
3996
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
3511
3997
|
* @returns DescribeAITrafficAnalysisStatusResponse
|
|
3512
3998
|
*/
|
|
3513
3999
|
async describeAITrafficAnalysisStatus(): Promise<$_model.DescribeAITrafficAnalysisStatusResponse> {
|
|
@@ -3516,7 +4002,7 @@ export default class Client extends OpenApi {
|
|
|
3516
4002
|
}
|
|
3517
4003
|
|
|
3518
4004
|
/**
|
|
3519
|
-
* Queries the
|
|
4005
|
+
* Queries the regions for synchronization nodes.
|
|
3520
4006
|
*
|
|
3521
4007
|
* @param request - DescribeAccessInstanceRegionListRequest
|
|
3522
4008
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3543,7 +4029,7 @@ export default class Client extends OpenApi {
|
|
|
3543
4029
|
}
|
|
3544
4030
|
|
|
3545
4031
|
/**
|
|
3546
|
-
* Queries the
|
|
4032
|
+
* Queries the regions for synchronization nodes.
|
|
3547
4033
|
*
|
|
3548
4034
|
* @param request - DescribeAccessInstanceRegionListRequest
|
|
3549
4035
|
* @returns DescribeAccessInstanceRegionListResponse
|
|
@@ -3554,7 +4040,7 @@ export default class Client extends OpenApi {
|
|
|
3554
4040
|
}
|
|
3555
4041
|
|
|
3556
4042
|
/**
|
|
3557
|
-
* Queries the
|
|
4043
|
+
* Queries the progress of a synchronization node task.
|
|
3558
4044
|
*
|
|
3559
4045
|
* @param request - DescribeAccessInstanceTaskRequest
|
|
3560
4046
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3581,7 +4067,7 @@ export default class Client extends OpenApi {
|
|
|
3581
4067
|
}
|
|
3582
4068
|
|
|
3583
4069
|
/**
|
|
3584
|
-
* Queries the
|
|
4070
|
+
* Queries the progress of a synchronization node task.
|
|
3585
4071
|
*
|
|
3586
4072
|
* @param request - DescribeAccessInstanceTaskRequest
|
|
3587
4073
|
* @returns DescribeAccessInstanceTaskResponse
|
|
@@ -3630,7 +4116,7 @@ export default class Client extends OpenApi {
|
|
|
3630
4116
|
}
|
|
3631
4117
|
|
|
3632
4118
|
/**
|
|
3633
|
-
* Queries the VPCs
|
|
4119
|
+
* Queries the list of VPCs for synchronization nodes.
|
|
3634
4120
|
*
|
|
3635
4121
|
* @param request - DescribeAccessInstanceVpcListRequest
|
|
3636
4122
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3657,7 +4143,7 @@ export default class Client extends OpenApi {
|
|
|
3657
4143
|
}
|
|
3658
4144
|
|
|
3659
4145
|
/**
|
|
3660
|
-
* Queries the VPCs
|
|
4146
|
+
* Queries the list of VPCs for synchronization nodes.
|
|
3661
4147
|
*
|
|
3662
4148
|
* @param request - DescribeAccessInstanceVpcListRequest
|
|
3663
4149
|
* @returns DescribeAccessInstanceVpcListResponse
|
|
@@ -3668,7 +4154,7 @@ export default class Client extends OpenApi {
|
|
|
3668
4154
|
}
|
|
3669
4155
|
|
|
3670
4156
|
/**
|
|
3671
|
-
*
|
|
4157
|
+
* Queries the list of zones available for synchronization nodes.
|
|
3672
4158
|
*
|
|
3673
4159
|
* @param request - DescribeAccessInstanceZoneListRequest
|
|
3674
4160
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3695,7 +4181,7 @@ export default class Client extends OpenApi {
|
|
|
3695
4181
|
}
|
|
3696
4182
|
|
|
3697
4183
|
/**
|
|
3698
|
-
*
|
|
4184
|
+
* Queries the list of zones available for synchronization nodes.
|
|
3699
4185
|
*
|
|
3700
4186
|
* @param request - DescribeAccessInstanceZoneListRequest
|
|
3701
4187
|
* @returns DescribeAccessInstanceZoneListResponse
|
|
@@ -3752,11 +4238,11 @@ export default class Client extends OpenApi {
|
|
|
3752
4238
|
}
|
|
3753
4239
|
|
|
3754
4240
|
/**
|
|
3755
|
-
*
|
|
4241
|
+
* Lists the ACK cluster connectors.
|
|
3756
4242
|
*
|
|
3757
4243
|
* @remarks
|
|
3758
4244
|
* ## QPS limit
|
|
3759
|
-
* The
|
|
4245
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
3760
4246
|
*
|
|
3761
4247
|
* @param request - DescribeAckClusterConnectorsRequest
|
|
3762
4248
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3815,11 +4301,11 @@ export default class Client extends OpenApi {
|
|
|
3815
4301
|
}
|
|
3816
4302
|
|
|
3817
4303
|
/**
|
|
3818
|
-
*
|
|
4304
|
+
* Lists the ACK cluster connectors.
|
|
3819
4305
|
*
|
|
3820
4306
|
* @remarks
|
|
3821
4307
|
* ## QPS limit
|
|
3822
|
-
* The
|
|
4308
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
3823
4309
|
*
|
|
3824
4310
|
* @param request - DescribeAckClusterConnectorsRequest
|
|
3825
4311
|
* @returns DescribeAckClusterConnectorsResponse
|
|
@@ -3830,7 +4316,7 @@ export default class Client extends OpenApi {
|
|
|
3830
4316
|
}
|
|
3831
4317
|
|
|
3832
4318
|
/**
|
|
3833
|
-
* Queries the namespaces
|
|
4319
|
+
* Queries the namespaces of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3834
4320
|
*
|
|
3835
4321
|
* @param request - DescribeAckClusterNamespacesRequest
|
|
3836
4322
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3861,7 +4347,7 @@ export default class Client extends OpenApi {
|
|
|
3861
4347
|
}
|
|
3862
4348
|
|
|
3863
4349
|
/**
|
|
3864
|
-
* Queries the namespaces
|
|
4350
|
+
* Queries the namespaces of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3865
4351
|
*
|
|
3866
4352
|
* @param request - DescribeAckClusterNamespacesRequest
|
|
3867
4353
|
* @returns DescribeAckClusterNamespacesResponse
|
|
@@ -3872,7 +4358,7 @@ export default class Client extends OpenApi {
|
|
|
3872
4358
|
}
|
|
3873
4359
|
|
|
3874
4360
|
/**
|
|
3875
|
-
* Queries the
|
|
4361
|
+
* Queries the tags of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3876
4362
|
*
|
|
3877
4363
|
* @param request - DescribeAckClusterPodLabelsRequest
|
|
3878
4364
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3903,7 +4389,7 @@ export default class Client extends OpenApi {
|
|
|
3903
4389
|
}
|
|
3904
4390
|
|
|
3905
4391
|
/**
|
|
3906
|
-
* Queries the
|
|
4392
|
+
* Queries the tags of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3907
4393
|
*
|
|
3908
4394
|
* @param request - DescribeAckClusterPodLabelsRequest
|
|
3909
4395
|
* @returns DescribeAckClusterPodLabelsResponse
|
|
@@ -3914,7 +4400,7 @@ export default class Client extends OpenApi {
|
|
|
3914
4400
|
}
|
|
3915
4401
|
|
|
3916
4402
|
/**
|
|
3917
|
-
* Queries
|
|
4403
|
+
* Queries a list of Alibaba Cloud Container Service for Kubernetes (ACK) clusters that meet specified conditions, such as cluster type and specifications.
|
|
3918
4404
|
*
|
|
3919
4405
|
* @param request - DescribeAckClustersRequest
|
|
3920
4406
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3973,7 +4459,7 @@ export default class Client extends OpenApi {
|
|
|
3973
4459
|
}
|
|
3974
4460
|
|
|
3975
4461
|
/**
|
|
3976
|
-
* Queries
|
|
4462
|
+
* Queries a list of Alibaba Cloud Container Service for Kubernetes (ACK) clusters that meet specified conditions, such as cluster type and specifications.
|
|
3977
4463
|
*
|
|
3978
4464
|
* @param request - DescribeAckClustersRequest
|
|
3979
4465
|
* @returns DescribeAckClustersResponse
|
|
@@ -3984,11 +4470,11 @@ export default class Client extends OpenApi {
|
|
|
3984
4470
|
}
|
|
3985
4471
|
|
|
3986
4472
|
/**
|
|
3987
|
-
*
|
|
4473
|
+
* Lists access control applications.
|
|
3988
4474
|
*
|
|
3989
4475
|
* @remarks
|
|
3990
|
-
* ## QPS
|
|
3991
|
-
* The
|
|
4476
|
+
* ## QPS limits
|
|
4477
|
+
* The QPS limit per user for this API operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
3992
4478
|
*
|
|
3993
4479
|
* @param request - DescribeAclAppsRequest
|
|
3994
4480
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4015,11 +4501,11 @@ export default class Client extends OpenApi {
|
|
|
4015
4501
|
}
|
|
4016
4502
|
|
|
4017
4503
|
/**
|
|
4018
|
-
*
|
|
4504
|
+
* Lists access control applications.
|
|
4019
4505
|
*
|
|
4020
4506
|
* @remarks
|
|
4021
|
-
* ## QPS
|
|
4022
|
-
* The
|
|
4507
|
+
* ## QPS limits
|
|
4508
|
+
* The QPS limit per user for this API operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
4023
4509
|
*
|
|
4024
4510
|
* @param request - DescribeAclAppsRequest
|
|
4025
4511
|
* @returns DescribeAclAppsResponse
|
|
@@ -4030,7 +4516,7 @@ export default class Client extends OpenApi {
|
|
|
4030
4516
|
}
|
|
4031
4517
|
|
|
4032
4518
|
/**
|
|
4033
|
-
* Queries
|
|
4519
|
+
* Queries the access control backup list.
|
|
4034
4520
|
*
|
|
4035
4521
|
* @param request - DescribeAclBackupListRequest
|
|
4036
4522
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4073,7 +4559,7 @@ export default class Client extends OpenApi {
|
|
|
4073
4559
|
}
|
|
4074
4560
|
|
|
4075
4561
|
/**
|
|
4076
|
-
* Queries
|
|
4562
|
+
* Queries the access control backup list.
|
|
4077
4563
|
*
|
|
4078
4564
|
* @param request - DescribeAclBackupListRequest
|
|
4079
4565
|
* @returns DescribeAclBackupListResponse
|
|
@@ -4084,11 +4570,11 @@ export default class Client extends OpenApi {
|
|
|
4084
4570
|
}
|
|
4085
4571
|
|
|
4086
4572
|
/**
|
|
4087
|
-
* Queries the details of an
|
|
4573
|
+
* Queries the details of an ACL check.
|
|
4088
4574
|
*
|
|
4089
4575
|
* @remarks
|
|
4090
|
-
* ## QPS
|
|
4091
|
-
*
|
|
4576
|
+
* ## QPS limits
|
|
4577
|
+
* The QPS limit for a single user is 10 queries per second. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
4092
4578
|
*
|
|
4093
4579
|
* @param request - DescribeAclCheckRequest
|
|
4094
4580
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4115,11 +4601,11 @@ export default class Client extends OpenApi {
|
|
|
4115
4601
|
}
|
|
4116
4602
|
|
|
4117
4603
|
/**
|
|
4118
|
-
* Queries the details of an
|
|
4604
|
+
* Queries the details of an ACL check.
|
|
4119
4605
|
*
|
|
4120
4606
|
* @remarks
|
|
4121
|
-
* ## QPS
|
|
4122
|
-
*
|
|
4607
|
+
* ## QPS limits
|
|
4608
|
+
* The QPS limit for a single user is 10 queries per second. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
4123
4609
|
*
|
|
4124
4610
|
* @param request - DescribeAclCheckRequest
|
|
4125
4611
|
* @returns DescribeAclCheckResponse
|
|
@@ -4130,11 +4616,11 @@ export default class Client extends OpenApi {
|
|
|
4130
4616
|
}
|
|
4131
4617
|
|
|
4132
4618
|
/**
|
|
4133
|
-
* Queries the
|
|
4619
|
+
* Queries the ACL check quota.
|
|
4134
4620
|
*
|
|
4135
4621
|
* @remarks
|
|
4136
|
-
* ## QPS
|
|
4137
|
-
*
|
|
4622
|
+
* ## QPS limit
|
|
4623
|
+
* The QPS limit per user for this API operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Plan your API calls accordingly.
|
|
4138
4624
|
*
|
|
4139
4625
|
* @param request - DescribeAclCheckQuotaRequest
|
|
4140
4626
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4161,11 +4647,11 @@ export default class Client extends OpenApi {
|
|
|
4161
4647
|
}
|
|
4162
4648
|
|
|
4163
4649
|
/**
|
|
4164
|
-
* Queries the
|
|
4650
|
+
* Queries the ACL check quota.
|
|
4165
4651
|
*
|
|
4166
4652
|
* @remarks
|
|
4167
|
-
* ## QPS
|
|
4168
|
-
*
|
|
4653
|
+
* ## QPS limit
|
|
4654
|
+
* The QPS limit per user for this API operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Plan your API calls accordingly.
|
|
4169
4655
|
*
|
|
4170
4656
|
* @param request - DescribeAclCheckQuotaRequest
|
|
4171
4657
|
* @returns DescribeAclCheckQuotaResponse
|
|
@@ -4176,11 +4662,11 @@ export default class Client extends OpenApi {
|
|
|
4176
4662
|
}
|
|
4177
4663
|
|
|
4178
4664
|
/**
|
|
4179
|
-
* Queries
|
|
4665
|
+
* Queries ACL check records in batches.
|
|
4180
4666
|
*
|
|
4181
4667
|
* @remarks
|
|
4182
4668
|
* ## QPS limit
|
|
4183
|
-
* The
|
|
4669
|
+
* The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
4184
4670
|
*
|
|
4185
4671
|
* @param request - DescribeAclChecksRequest
|
|
4186
4672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4207,11 +4693,11 @@ export default class Client extends OpenApi {
|
|
|
4207
4693
|
}
|
|
4208
4694
|
|
|
4209
4695
|
/**
|
|
4210
|
-
* Queries
|
|
4696
|
+
* Queries ACL check records in batches.
|
|
4211
4697
|
*
|
|
4212
4698
|
* @remarks
|
|
4213
4699
|
* ## QPS limit
|
|
4214
|
-
* The
|
|
4700
|
+
* The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
4215
4701
|
*
|
|
4216
4702
|
* @param request - DescribeAclChecksRequest
|
|
4217
4703
|
* @returns DescribeAclChecksResponse
|
|
@@ -4222,11 +4708,11 @@ export default class Client extends OpenApi {
|
|
|
4222
4708
|
}
|
|
4223
4709
|
|
|
4224
4710
|
/**
|
|
4225
|
-
* Retrieves the total number of
|
|
4711
|
+
* Retrieves the total number of ACL configurations.
|
|
4226
4712
|
*
|
|
4227
4713
|
* @remarks
|
|
4228
|
-
* ##
|
|
4229
|
-
* The
|
|
4714
|
+
* ## Rate limit
|
|
4715
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. Exceeding this limit triggers throttling, which may affect your services. Call this API operation at a reasonable frequency.
|
|
4230
4716
|
*
|
|
4231
4717
|
* @param request - DescribeAclRuleCountRequest
|
|
4232
4718
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4261,11 +4747,11 @@ export default class Client extends OpenApi {
|
|
|
4261
4747
|
}
|
|
4262
4748
|
|
|
4263
4749
|
/**
|
|
4264
|
-
* Retrieves the total number of
|
|
4750
|
+
* Retrieves the total number of ACL configurations.
|
|
4265
4751
|
*
|
|
4266
4752
|
* @remarks
|
|
4267
|
-
* ##
|
|
4268
|
-
* The
|
|
4753
|
+
* ## Rate limit
|
|
4754
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. Exceeding this limit triggers throttling, which may affect your services. Call this API operation at a reasonable frequency.
|
|
4269
4755
|
*
|
|
4270
4756
|
* @param request - DescribeAclRuleCountRequest
|
|
4271
4757
|
* @returns DescribeAclRuleCountResponse
|
|
@@ -4279,8 +4765,8 @@ export default class Client extends OpenApi {
|
|
|
4279
4765
|
* Retrieves the ACL whitelist.
|
|
4280
4766
|
*
|
|
4281
4767
|
* @remarks
|
|
4282
|
-
* ##
|
|
4283
|
-
* The
|
|
4768
|
+
* ## Rate limit
|
|
4769
|
+
* The rate limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
4284
4770
|
*
|
|
4285
4771
|
* @param request - DescribeAclWhitelistRequest
|
|
4286
4772
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4318,8 +4804,8 @@ export default class Client extends OpenApi {
|
|
|
4318
4804
|
* Retrieves the ACL whitelist.
|
|
4319
4805
|
*
|
|
4320
4806
|
* @remarks
|
|
4321
|
-
* ##
|
|
4322
|
-
* The
|
|
4807
|
+
* ## Rate limit
|
|
4808
|
+
* The rate limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
4323
4809
|
*
|
|
4324
4810
|
* @param request - DescribeAclWhitelistRequest
|
|
4325
4811
|
* @returns DescribeAclWhitelistResponse
|
|
@@ -4415,6 +4901,48 @@ export default class Client extends OpenApi {
|
|
|
4415
4901
|
return await this.describeAddressBookWithOptions(request, runtime);
|
|
4416
4902
|
}
|
|
4417
4903
|
|
|
4904
|
+
/**
|
|
4905
|
+
* Queries the number of applications in the built-in application signature library, grouped by application category, risk level, and technology type. The statistics apply to the global built-in application library and are not limited by Alibaba Cloud accounts or time ranges.
|
|
4906
|
+
*
|
|
4907
|
+
* @param request - DescribeApplicationStatisticsRequest
|
|
4908
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4909
|
+
* @returns DescribeApplicationStatisticsResponse
|
|
4910
|
+
*/
|
|
4911
|
+
async describeApplicationStatisticsWithOptions(request: $_model.DescribeApplicationStatisticsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationStatisticsResponse> {
|
|
4912
|
+
request.validate();
|
|
4913
|
+
let query = { };
|
|
4914
|
+
if (!$dara.isNull(request.lang)) {
|
|
4915
|
+
query["Lang"] = request.lang;
|
|
4916
|
+
}
|
|
4917
|
+
|
|
4918
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4919
|
+
query: OpenApiUtil.query(query),
|
|
4920
|
+
});
|
|
4921
|
+
let params = new $OpenApiUtil.Params({
|
|
4922
|
+
action: "DescribeApplicationStatistics",
|
|
4923
|
+
version: "2017-12-07",
|
|
4924
|
+
protocol: "HTTPS",
|
|
4925
|
+
pathname: "/",
|
|
4926
|
+
method: "POST",
|
|
4927
|
+
authType: "AK",
|
|
4928
|
+
style: "RPC",
|
|
4929
|
+
reqBodyType: "formData",
|
|
4930
|
+
bodyType: "json",
|
|
4931
|
+
});
|
|
4932
|
+
return $dara.cast<$_model.DescribeApplicationStatisticsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeApplicationStatisticsResponse({}));
|
|
4933
|
+
}
|
|
4934
|
+
|
|
4935
|
+
/**
|
|
4936
|
+
* Queries the number of applications in the built-in application signature library, grouped by application category, risk level, and technology type. The statistics apply to the global built-in application library and are not limited by Alibaba Cloud accounts or time ranges.
|
|
4937
|
+
*
|
|
4938
|
+
* @param request - DescribeApplicationStatisticsRequest
|
|
4939
|
+
* @returns DescribeApplicationStatisticsResponse
|
|
4940
|
+
*/
|
|
4941
|
+
async describeApplicationStatistics(request: $_model.DescribeApplicationStatisticsRequest): Promise<$_model.DescribeApplicationStatisticsResponse> {
|
|
4942
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4943
|
+
return await this.describeApplicationStatisticsWithOptions(request, runtime);
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4418
4946
|
/**
|
|
4419
4947
|
* Queries information about assets protected by Cloud Firewall.
|
|
4420
4948
|
*
|
|
@@ -4524,7 +5052,7 @@ export default class Client extends OpenApi {
|
|
|
4524
5052
|
}
|
|
4525
5053
|
|
|
4526
5054
|
/**
|
|
4527
|
-
* Retrieves the
|
|
5055
|
+
* Retrieves the list of asset risk levels.
|
|
4528
5056
|
*
|
|
4529
5057
|
* @param request - DescribeAssetRiskListRequest
|
|
4530
5058
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4567,7 +5095,7 @@ export default class Client extends OpenApi {
|
|
|
4567
5095
|
}
|
|
4568
5096
|
|
|
4569
5097
|
/**
|
|
4570
|
-
* Retrieves the
|
|
5098
|
+
* Retrieves the list of asset risk levels.
|
|
4571
5099
|
*
|
|
4572
5100
|
* @param request - DescribeAssetRiskListRequest
|
|
4573
5101
|
* @returns DescribeAssetRiskListResponse
|
|
@@ -4628,12 +5156,12 @@ export default class Client extends OpenApi {
|
|
|
4628
5156
|
}
|
|
4629
5157
|
|
|
4630
5158
|
/**
|
|
4631
|
-
* Queries the
|
|
5159
|
+
* Queries the attack categories.
|
|
4632
5160
|
*
|
|
4633
5161
|
* @remarks
|
|
4634
|
-
* This operation is typically used to perform
|
|
4635
|
-
* ## QPS
|
|
4636
|
-
* The QPS limit per user
|
|
5162
|
+
* This operation is typically used to perform paging queries on the information about assets protected by Cloud Firewall.
|
|
5163
|
+
* ## QPS limit
|
|
5164
|
+
* The queries per second (QPS) limit per user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Invoke the API at a reasonable rate.
|
|
4637
5165
|
*
|
|
4638
5166
|
* @param request - DescribeAttackAppCategoryRequest
|
|
4639
5167
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4664,12 +5192,12 @@ export default class Client extends OpenApi {
|
|
|
4664
5192
|
}
|
|
4665
5193
|
|
|
4666
5194
|
/**
|
|
4667
|
-
* Queries the
|
|
5195
|
+
* Queries the attack categories.
|
|
4668
5196
|
*
|
|
4669
5197
|
* @remarks
|
|
4670
|
-
* This operation is typically used to perform
|
|
4671
|
-
* ## QPS
|
|
4672
|
-
* The QPS limit per user
|
|
5198
|
+
* This operation is typically used to perform paging queries on the information about assets protected by Cloud Firewall.
|
|
5199
|
+
* ## QPS limit
|
|
5200
|
+
* The queries per second (QPS) limit per user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Invoke the API at a reasonable rate.
|
|
4673
5201
|
*
|
|
4674
5202
|
* @param request - DescribeAttackAppCategoryRequest
|
|
4675
5203
|
* @returns DescribeAttackAppCategoryResponse
|
|
@@ -4726,7 +5254,7 @@ export default class Client extends OpenApi {
|
|
|
4726
5254
|
}
|
|
4727
5255
|
|
|
4728
5256
|
/**
|
|
4729
|
-
* Queries the firewall risk
|
|
5257
|
+
* Queries the firewall risk levels.
|
|
4730
5258
|
*
|
|
4731
5259
|
* @deprecated OpenAPI DescribeCfwRiskLevelSummary is deprecated
|
|
4732
5260
|
*
|
|
@@ -4767,7 +5295,7 @@ export default class Client extends OpenApi {
|
|
|
4767
5295
|
}
|
|
4768
5296
|
|
|
4769
5297
|
/**
|
|
4770
|
-
* Queries the firewall risk
|
|
5298
|
+
* Queries the firewall risk levels.
|
|
4771
5299
|
*
|
|
4772
5300
|
* @deprecated OpenAPI DescribeCfwRiskLevelSummary is deprecated
|
|
4773
5301
|
*
|
|
@@ -4781,11 +5309,11 @@ export default class Client extends OpenApi {
|
|
|
4781
5309
|
}
|
|
4782
5310
|
|
|
4783
5311
|
/**
|
|
4784
|
-
* Retrieves the authorization
|
|
5312
|
+
* Retrieves the authorization information for clearing.
|
|
4785
5313
|
*
|
|
4786
5314
|
* @remarks
|
|
4787
5315
|
* ### QPS limits
|
|
4788
|
-
* The QPS limit per user for this API operation is 10 calls per second. If
|
|
5316
|
+
* The QPS limit per user for this API operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
4789
5317
|
*
|
|
4790
5318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4791
5319
|
* @returns DescribeClearAuthInfoResponse
|
|
@@ -4807,11 +5335,11 @@ export default class Client extends OpenApi {
|
|
|
4807
5335
|
}
|
|
4808
5336
|
|
|
4809
5337
|
/**
|
|
4810
|
-
* Retrieves the authorization
|
|
5338
|
+
* Retrieves the authorization information for clearing.
|
|
4811
5339
|
*
|
|
4812
5340
|
* @remarks
|
|
4813
5341
|
* ### QPS limits
|
|
4814
|
-
* The QPS limit per user for this API operation is 10 calls per second. If
|
|
5342
|
+
* The QPS limit per user for this API operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
4815
5343
|
* @returns DescribeClearAuthInfoResponse
|
|
4816
5344
|
*/
|
|
4817
5345
|
async describeClearAuthInfo(): Promise<$_model.DescribeClearAuthInfoResponse> {
|
|
@@ -4820,7 +5348,7 @@ export default class Client extends OpenApi {
|
|
|
4820
5348
|
}
|
|
4821
5349
|
|
|
4822
5350
|
/**
|
|
4823
|
-
* Queries the
|
|
5351
|
+
* Queries the list of outbound IP addresses for outbound connections.
|
|
4824
5352
|
*
|
|
4825
5353
|
* @param request - DescribeConfiguredDestinationIPRequest
|
|
4826
5354
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4891,7 +5419,7 @@ export default class Client extends OpenApi {
|
|
|
4891
5419
|
}
|
|
4892
5420
|
|
|
4893
5421
|
/**
|
|
4894
|
-
* Queries the
|
|
5422
|
+
* Queries the list of outbound IP addresses for outbound connections.
|
|
4895
5423
|
*
|
|
4896
5424
|
* @param request - DescribeConfiguredDestinationIPRequest
|
|
4897
5425
|
* @returns DescribeConfiguredDestinationIPResponse
|
|
@@ -4902,7 +5430,7 @@ export default class Client extends OpenApi {
|
|
|
4902
5430
|
}
|
|
4903
5431
|
|
|
4904
5432
|
/**
|
|
4905
|
-
* Queries the list of outbound domains
|
|
5433
|
+
* Queries the list of outbound domains.
|
|
4906
5434
|
*
|
|
4907
5435
|
* @param request - DescribeConfiguredDomainNamesRequest
|
|
4908
5436
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4965,7 +5493,7 @@ export default class Client extends OpenApi {
|
|
|
4965
5493
|
}
|
|
4966
5494
|
|
|
4967
5495
|
/**
|
|
4968
|
-
* Queries the list of outbound domains
|
|
5496
|
+
* Queries the list of outbound domains.
|
|
4969
5497
|
*
|
|
4970
5498
|
* @param request - DescribeConfiguredDomainNamesRequest
|
|
4971
5499
|
* @returns DescribeConfiguredDomainNamesResponse
|
|
@@ -5156,12 +5684,12 @@ export default class Client extends OpenApi {
|
|
|
5156
5684
|
}
|
|
5157
5685
|
|
|
5158
5686
|
/**
|
|
5159
|
-
*
|
|
5687
|
+
* Retrieves a list of member accounts.
|
|
5160
5688
|
*
|
|
5161
5689
|
* @remarks
|
|
5162
|
-
* This operation
|
|
5163
|
-
* ##
|
|
5164
|
-
*
|
|
5690
|
+
* This operation is generally used to query information about Cloud Firewall member accounts.
|
|
5691
|
+
* ## Rate limit
|
|
5692
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Invoke this operation at a reasonable rate.
|
|
5165
5693
|
*
|
|
5166
5694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5167
5695
|
* @returns DescribeCtrlInstanceMemberAccountsResponse
|
|
@@ -5183,12 +5711,12 @@ export default class Client extends OpenApi {
|
|
|
5183
5711
|
}
|
|
5184
5712
|
|
|
5185
5713
|
/**
|
|
5186
|
-
*
|
|
5714
|
+
* Retrieves a list of member accounts.
|
|
5187
5715
|
*
|
|
5188
5716
|
* @remarks
|
|
5189
|
-
* This operation
|
|
5190
|
-
* ##
|
|
5191
|
-
*
|
|
5717
|
+
* This operation is generally used to query information about Cloud Firewall member accounts.
|
|
5718
|
+
* ## Rate limit
|
|
5719
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Invoke this operation at a reasonable rate.
|
|
5192
5720
|
* @returns DescribeCtrlInstanceMemberAccountsResponse
|
|
5193
5721
|
*/
|
|
5194
5722
|
async describeCtrlInstanceMemberAccounts(): Promise<$_model.DescribeCtrlInstanceMemberAccountsResponse> {
|
|
@@ -5239,7 +5767,7 @@ export default class Client extends OpenApi {
|
|
|
5239
5767
|
}
|
|
5240
5768
|
|
|
5241
5769
|
/**
|
|
5242
|
-
* Queries the
|
|
5770
|
+
* Queries the DNS firewall ACL list.
|
|
5243
5771
|
*
|
|
5244
5772
|
* @param request - DescribeDnsFirewallPolicyRequest
|
|
5245
5773
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5314,7 +5842,7 @@ export default class Client extends OpenApi {
|
|
|
5314
5842
|
}
|
|
5315
5843
|
|
|
5316
5844
|
/**
|
|
5317
|
-
* Queries the
|
|
5845
|
+
* Queries the DNS firewall ACL list.
|
|
5318
5846
|
*
|
|
5319
5847
|
* @param request - DescribeDnsFirewallPolicyRequest
|
|
5320
5848
|
* @returns DescribeDnsFirewallPolicyResponse
|
|
@@ -5398,7 +5926,7 @@ export default class Client extends OpenApi {
|
|
|
5398
5926
|
}
|
|
5399
5927
|
|
|
5400
5928
|
/**
|
|
5401
|
-
* Queries
|
|
5929
|
+
* Queries file download tasks, including task information and download URLs.
|
|
5402
5930
|
*
|
|
5403
5931
|
* @param request - DescribeDownloadTaskRequest
|
|
5404
5932
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5441,7 +5969,7 @@ export default class Client extends OpenApi {
|
|
|
5441
5969
|
}
|
|
5442
5970
|
|
|
5443
5971
|
/**
|
|
5444
|
-
* Queries
|
|
5972
|
+
* Queries file download tasks, including task information and download URLs.
|
|
5445
5973
|
*
|
|
5446
5974
|
* @param request - DescribeDownloadTaskRequest
|
|
5447
5975
|
* @returns DescribeDownloadTaskResponse
|
|
@@ -5509,9 +6037,9 @@ export default class Client extends OpenApi {
|
|
|
5509
6037
|
* Queries the event logs of Cloud Firewall.
|
|
5510
6038
|
*
|
|
5511
6039
|
* @remarks
|
|
5512
|
-
* Queries the event logs of Cloud Firewall. This operation supports five types of logs: application access control (app_ctl), web filtering (web_filter), TLS inspection (tls), intrusion prevention (ips), and threat intelligence (threat_intelligence). You can filter logs by time range, source IP address, destination IP address, URL, action, rule result, and attack type. Log details are returned
|
|
5513
|
-
* ## QPS
|
|
5514
|
-
* The QPS limit
|
|
6040
|
+
* Queries the event logs of Cloud Firewall. This operation supports five types of logs: application access control (app_ctl), web filtering (web_filter), TLS inspection (tls), intrusion prevention (ips), and threat intelligence (threat_intelligence). You can filter logs by time range, source IP address, destination IP address, URL, action, rule result, and attack type. Log details are returned with paging. StartTime and EndTime are UNIX timestamps in seconds. The time span of a single query cannot exceed 8 days. If FirewallType is not specified, the Internet Border firewall (InternetFirewall) is queried by default. To query the virtual private cloud (VPC) firewalls at the border, set FirewallType to VpcFirewall.
|
|
6041
|
+
* ## QPS limit
|
|
6042
|
+
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
5515
6043
|
*
|
|
5516
6044
|
* @param request - DescribeEventLogRequest
|
|
5517
6045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5556,6 +6084,10 @@ export default class Client extends OpenApi {
|
|
|
5556
6084
|
query["PageSize"] = request.pageSize;
|
|
5557
6085
|
}
|
|
5558
6086
|
|
|
6087
|
+
if (!$dara.isNull(request.ruleId)) {
|
|
6088
|
+
query["RuleId"] = request.ruleId;
|
|
6089
|
+
}
|
|
6090
|
+
|
|
5559
6091
|
if (!$dara.isNull(request.ruleResult)) {
|
|
5560
6092
|
query["RuleResult"] = request.ruleResult;
|
|
5561
6093
|
}
|
|
@@ -5572,6 +6104,10 @@ export default class Client extends OpenApi {
|
|
|
5572
6104
|
query["SrcIP"] = request.srcIP;
|
|
5573
6105
|
}
|
|
5574
6106
|
|
|
6107
|
+
if (!$dara.isNull(request.sslHandshakeRes)) {
|
|
6108
|
+
query["SslHandshakeRes"] = request.sslHandshakeRes;
|
|
6109
|
+
}
|
|
6110
|
+
|
|
5575
6111
|
if (!$dara.isNull(request.startTime)) {
|
|
5576
6112
|
query["StartTime"] = request.startTime;
|
|
5577
6113
|
}
|
|
@@ -5597,9 +6133,9 @@ export default class Client extends OpenApi {
|
|
|
5597
6133
|
* Queries the event logs of Cloud Firewall.
|
|
5598
6134
|
*
|
|
5599
6135
|
* @remarks
|
|
5600
|
-
* Queries the event logs of Cloud Firewall. This operation supports five types of logs: application access control (app_ctl), web filtering (web_filter), TLS inspection (tls), intrusion prevention (ips), and threat intelligence (threat_intelligence). You can filter logs by time range, source IP address, destination IP address, URL, action, rule result, and attack type. Log details are returned
|
|
5601
|
-
* ## QPS
|
|
5602
|
-
* The QPS limit
|
|
6136
|
+
* Queries the event logs of Cloud Firewall. This operation supports five types of logs: application access control (app_ctl), web filtering (web_filter), TLS inspection (tls), intrusion prevention (ips), and threat intelligence (threat_intelligence). You can filter logs by time range, source IP address, destination IP address, URL, action, rule result, and attack type. Log details are returned with paging. StartTime and EndTime are UNIX timestamps in seconds. The time span of a single query cannot exceed 8 days. If FirewallType is not specified, the Internet Border firewall (InternetFirewall) is queried by default. To query the virtual private cloud (VPC) firewalls at the border, set FirewallType to VpcFirewall.
|
|
6137
|
+
* ## QPS limit
|
|
6138
|
+
* The QPS limit for a single user is 10 requests per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
5603
6139
|
*
|
|
5604
6140
|
* @param request - DescribeEventLogRequest
|
|
5605
6141
|
* @returns DescribeEventLogResponse
|
|
@@ -5610,11 +6146,11 @@ export default class Client extends OpenApi {
|
|
|
5610
6146
|
}
|
|
5611
6147
|
|
|
5612
6148
|
/**
|
|
5613
|
-
* Retrieves
|
|
6149
|
+
* Retrieves firewall DROP statistics.
|
|
5614
6150
|
*
|
|
5615
6151
|
* @remarks
|
|
5616
|
-
* ###
|
|
5617
|
-
* The
|
|
6152
|
+
* ### Rate limit
|
|
6153
|
+
* The rate limit for this API operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
5618
6154
|
*
|
|
5619
6155
|
* @deprecated OpenAPI DescribeFirewallDropStatistics is deprecated
|
|
5620
6156
|
*
|
|
@@ -5639,11 +6175,11 @@ export default class Client extends OpenApi {
|
|
|
5639
6175
|
}
|
|
5640
6176
|
|
|
5641
6177
|
/**
|
|
5642
|
-
* Retrieves
|
|
6178
|
+
* Retrieves firewall DROP statistics.
|
|
5643
6179
|
*
|
|
5644
6180
|
* @remarks
|
|
5645
|
-
* ###
|
|
5646
|
-
* The
|
|
6181
|
+
* ### Rate limit
|
|
6182
|
+
* The rate limit for this API operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
5647
6183
|
*
|
|
5648
6184
|
* @deprecated OpenAPI DescribeFirewallDropStatistics is deprecated
|
|
5649
6185
|
* @returns DescribeFirewallDropStatisticsResponse
|
|
@@ -5655,7 +6191,7 @@ export default class Client extends OpenApi {
|
|
|
5655
6191
|
}
|
|
5656
6192
|
|
|
5657
6193
|
/**
|
|
5658
|
-
* Retrieves the overall firewall
|
|
6194
|
+
* Retrieves the overall firewall blocking trends, including Internet, VPC, and NAT traffic.
|
|
5659
6195
|
*
|
|
5660
6196
|
* @param request - DescribeFirewallDropTrendRequest
|
|
5661
6197
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5694,7 +6230,7 @@ export default class Client extends OpenApi {
|
|
|
5694
6230
|
}
|
|
5695
6231
|
|
|
5696
6232
|
/**
|
|
5697
|
-
* Retrieves the overall firewall
|
|
6233
|
+
* Retrieves the overall firewall blocking trends, including Internet, VPC, and NAT traffic.
|
|
5698
6234
|
*
|
|
5699
6235
|
* @param request - DescribeFirewallDropTrendRequest
|
|
5700
6236
|
* @returns DescribeFirewallDropTrendResponse
|
|
@@ -5705,11 +6241,11 @@ export default class Client extends OpenApi {
|
|
|
5705
6241
|
}
|
|
5706
6242
|
|
|
5707
6243
|
/**
|
|
5708
|
-
* Retrieves firewall
|
|
6244
|
+
* Retrieves a firewall task.
|
|
5709
6245
|
*
|
|
5710
6246
|
* @remarks
|
|
5711
6247
|
* ### QPS limit
|
|
5712
|
-
* The
|
|
6248
|
+
* The rate limit for this API operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
5713
6249
|
*
|
|
5714
6250
|
* @param request - DescribeFirewallTaskRequest
|
|
5715
6251
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5734,6 +6270,10 @@ export default class Client extends OpenApi {
|
|
|
5734
6270
|
query["TaskId"] = request.taskId;
|
|
5735
6271
|
}
|
|
5736
6272
|
|
|
6273
|
+
if (!$dara.isNull(request.taskName)) {
|
|
6274
|
+
query["TaskName"] = request.taskName;
|
|
6275
|
+
}
|
|
6276
|
+
|
|
5737
6277
|
if (!$dara.isNull(request.taskType)) {
|
|
5738
6278
|
query["TaskType"] = request.taskType;
|
|
5739
6279
|
}
|
|
@@ -5756,11 +6296,11 @@ export default class Client extends OpenApi {
|
|
|
5756
6296
|
}
|
|
5757
6297
|
|
|
5758
6298
|
/**
|
|
5759
|
-
* Retrieves firewall
|
|
6299
|
+
* Retrieves a firewall task.
|
|
5760
6300
|
*
|
|
5761
6301
|
* @remarks
|
|
5762
6302
|
* ### QPS limit
|
|
5763
|
-
* The
|
|
6303
|
+
* The rate limit for this API operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
5764
6304
|
*
|
|
5765
6305
|
* @param request - DescribeFirewallTaskRequest
|
|
5766
6306
|
* @returns DescribeFirewallTaskResponse
|
|
@@ -5771,7 +6311,7 @@ export default class Client extends OpenApi {
|
|
|
5771
6311
|
}
|
|
5772
6312
|
|
|
5773
6313
|
/**
|
|
5774
|
-
* Queries the traffic
|
|
6314
|
+
* Queries the traffic trends of the firewall.
|
|
5775
6315
|
*
|
|
5776
6316
|
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5777
6317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5810,7 +6350,7 @@ export default class Client extends OpenApi {
|
|
|
5810
6350
|
}
|
|
5811
6351
|
|
|
5812
6352
|
/**
|
|
5813
|
-
* Queries the traffic
|
|
6353
|
+
* Queries the traffic trends of the firewall.
|
|
5814
6354
|
*
|
|
5815
6355
|
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5816
6356
|
* @returns DescribeFirewallTrafficTrendResponse
|
|
@@ -5821,11 +6361,11 @@ export default class Client extends OpenApi {
|
|
|
5821
6361
|
}
|
|
5822
6362
|
|
|
5823
6363
|
/**
|
|
5824
|
-
*
|
|
6364
|
+
* Queries the vSwitches created by the firewall.
|
|
5825
6365
|
*
|
|
5826
6366
|
* @remarks
|
|
5827
|
-
* ###
|
|
5828
|
-
* The
|
|
6367
|
+
* ### QPS limit
|
|
6368
|
+
* The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
5829
6369
|
*
|
|
5830
6370
|
* @param request - DescribeFirewallVSwitchRequest
|
|
5831
6371
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5888,11 +6428,11 @@ export default class Client extends OpenApi {
|
|
|
5888
6428
|
}
|
|
5889
6429
|
|
|
5890
6430
|
/**
|
|
5891
|
-
*
|
|
6431
|
+
* Queries the vSwitches created by the firewall.
|
|
5892
6432
|
*
|
|
5893
6433
|
* @remarks
|
|
5894
|
-
* ###
|
|
5895
|
-
* The
|
|
6434
|
+
* ### QPS limit
|
|
6435
|
+
* The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
5896
6436
|
*
|
|
5897
6437
|
* @param request - DescribeFirewallVSwitchRequest
|
|
5898
6438
|
* @returns DescribeFirewallVSwitchResponse
|
|
@@ -5903,7 +6443,7 @@ export default class Client extends OpenApi {
|
|
|
5903
6443
|
}
|
|
5904
6444
|
|
|
5905
6445
|
/**
|
|
5906
|
-
* Queries
|
|
6446
|
+
* Queries firewall vSwitch resources.
|
|
5907
6447
|
*
|
|
5908
6448
|
* @param request - DescribeFirewallVswitchResourcesRequest
|
|
5909
6449
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5950,7 +6490,7 @@ export default class Client extends OpenApi {
|
|
|
5950
6490
|
}
|
|
5951
6491
|
|
|
5952
6492
|
/**
|
|
5953
|
-
* Queries
|
|
6493
|
+
* Queries firewall vSwitch resources.
|
|
5954
6494
|
*
|
|
5955
6495
|
* @param request - DescribeFirewallVswitchResourcesRequest
|
|
5956
6496
|
* @returns DescribeFirewallVswitchResourcesResponse
|
|
@@ -6018,6 +6558,10 @@ export default class Client extends OpenApi {
|
|
|
6018
6558
|
query["PageSize"] = request.pageSize;
|
|
6019
6559
|
}
|
|
6020
6560
|
|
|
6561
|
+
if (!$dara.isNull(request.proxyId)) {
|
|
6562
|
+
query["ProxyId"] = request.proxyId;
|
|
6563
|
+
}
|
|
6564
|
+
|
|
6021
6565
|
if (!$dara.isNull(request.queryModify)) {
|
|
6022
6566
|
query["QueryModify"] = request.queryModify;
|
|
6023
6567
|
}
|
|
@@ -6155,7 +6699,7 @@ export default class Client extends OpenApi {
|
|
|
6155
6699
|
}
|
|
6156
6700
|
|
|
6157
6701
|
/**
|
|
6158
|
-
* Retrieves the account in a resource directory for
|
|
6702
|
+
* Retrieves the account in a resource directory for the instance.
|
|
6159
6703
|
*
|
|
6160
6704
|
* @param request - DescribeInstanceRdAccountsRequest
|
|
6161
6705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6210,7 +6754,7 @@ export default class Client extends OpenApi {
|
|
|
6210
6754
|
}
|
|
6211
6755
|
|
|
6212
6756
|
/**
|
|
6213
|
-
* Retrieves the account in a resource directory for
|
|
6757
|
+
* Retrieves the account in a resource directory for the instance.
|
|
6214
6758
|
*
|
|
6215
6759
|
* @param request - DescribeInstanceRdAccountsRequest
|
|
6216
6760
|
* @returns DescribeInstanceRdAccountsResponse
|
|
@@ -6267,11 +6811,11 @@ export default class Client extends OpenApi {
|
|
|
6267
6811
|
}
|
|
6268
6812
|
|
|
6269
6813
|
/**
|
|
6270
|
-
* Internet
|
|
6814
|
+
* Queries Internet defense trends.
|
|
6271
6815
|
*
|
|
6272
6816
|
* @remarks
|
|
6273
6817
|
* ## QPS limit
|
|
6274
|
-
*
|
|
6818
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
6275
6819
|
*
|
|
6276
6820
|
* @param request - DescribeInternetDropTrafficTrendRequest
|
|
6277
6821
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6326,11 +6870,11 @@ export default class Client extends OpenApi {
|
|
|
6326
6870
|
}
|
|
6327
6871
|
|
|
6328
6872
|
/**
|
|
6329
|
-
* Internet
|
|
6873
|
+
* Queries Internet defense trends.
|
|
6330
6874
|
*
|
|
6331
6875
|
* @remarks
|
|
6332
6876
|
* ## QPS limit
|
|
6333
|
-
*
|
|
6877
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
6334
6878
|
*
|
|
6335
6879
|
* @param request - DescribeInternetDropTrafficTrendRequest
|
|
6336
6880
|
* @returns DescribeInternetDropTrafficTrendResponse
|
|
@@ -6341,7 +6885,7 @@ export default class Client extends OpenApi {
|
|
|
6341
6885
|
}
|
|
6342
6886
|
|
|
6343
6887
|
/**
|
|
6344
|
-
*
|
|
6888
|
+
* Retrieves the details of Internet exposure.
|
|
6345
6889
|
*
|
|
6346
6890
|
* @param request - DescribeInternetOpenDetailRequest
|
|
6347
6891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6440,7 +6984,7 @@ export default class Client extends OpenApi {
|
|
|
6440
6984
|
}
|
|
6441
6985
|
|
|
6442
6986
|
/**
|
|
6443
|
-
*
|
|
6987
|
+
* Retrieves the details of Internet exposure.
|
|
6444
6988
|
*
|
|
6445
6989
|
* @param request - DescribeInternetOpenDetailRequest
|
|
6446
6990
|
* @returns DescribeInternetOpenDetailResponse
|
|
@@ -6541,11 +7085,11 @@ export default class Client extends OpenApi {
|
|
|
6541
7085
|
}
|
|
6542
7086
|
|
|
6543
7087
|
/**
|
|
6544
|
-
* Queries
|
|
7088
|
+
* Queries open ports on the Internet.
|
|
6545
7089
|
*
|
|
6546
7090
|
* @remarks
|
|
6547
|
-
* ##
|
|
6548
|
-
* The queries per second (QPS) limit for
|
|
7091
|
+
* ## Rate limit
|
|
7092
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
6549
7093
|
*
|
|
6550
7094
|
* @param request - DescribeInternetOpenPortRequest
|
|
6551
7095
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6620,11 +7164,11 @@ export default class Client extends OpenApi {
|
|
|
6620
7164
|
}
|
|
6621
7165
|
|
|
6622
7166
|
/**
|
|
6623
|
-
* Queries
|
|
7167
|
+
* Queries open ports on the Internet.
|
|
6624
7168
|
*
|
|
6625
7169
|
* @remarks
|
|
6626
|
-
* ##
|
|
6627
|
-
* The queries per second (QPS) limit for
|
|
7170
|
+
* ## Rate limit
|
|
7171
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
6628
7172
|
*
|
|
6629
7173
|
* @param request - DescribeInternetOpenPortRequest
|
|
6630
7174
|
* @returns DescribeInternetOpenPortResponse
|
|
@@ -6635,11 +7179,11 @@ export default class Client extends OpenApi {
|
|
|
6635
7179
|
}
|
|
6636
7180
|
|
|
6637
7181
|
/**
|
|
6638
|
-
* Queries
|
|
7182
|
+
* Queries Internet-facing open services.
|
|
6639
7183
|
*
|
|
6640
7184
|
* @remarks
|
|
6641
7185
|
* ## QPS limits
|
|
6642
|
-
*
|
|
7186
|
+
* The QPS limit for a single user is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
6643
7187
|
*
|
|
6644
7188
|
* @param request - DescribeInternetOpenServiceRequest
|
|
6645
7189
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6714,11 +7258,11 @@ export default class Client extends OpenApi {
|
|
|
6714
7258
|
}
|
|
6715
7259
|
|
|
6716
7260
|
/**
|
|
6717
|
-
* Queries
|
|
7261
|
+
* Queries Internet-facing open services.
|
|
6718
7262
|
*
|
|
6719
7263
|
* @remarks
|
|
6720
7264
|
* ## QPS limits
|
|
6721
|
-
*
|
|
7265
|
+
* The QPS limit for a single user is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
6722
7266
|
*
|
|
6723
7267
|
* @param request - DescribeInternetOpenServiceRequest
|
|
6724
7268
|
* @returns DescribeInternetOpenServiceResponse
|
|
@@ -6729,7 +7273,7 @@ export default class Client extends OpenApi {
|
|
|
6729
7273
|
}
|
|
6730
7274
|
|
|
6731
7275
|
/**
|
|
6732
|
-
* Retrieves
|
|
7276
|
+
* Retrieves Internet exposure statistics.
|
|
6733
7277
|
*
|
|
6734
7278
|
* @param request - DescribeInternetOpenStatisticRequest
|
|
6735
7279
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6776,7 +7320,7 @@ export default class Client extends OpenApi {
|
|
|
6776
7320
|
}
|
|
6777
7321
|
|
|
6778
7322
|
/**
|
|
6779
|
-
* Retrieves
|
|
7323
|
+
* Retrieves Internet exposure statistics.
|
|
6780
7324
|
*
|
|
6781
7325
|
* @param request - DescribeInternetOpenStatisticRequest
|
|
6782
7326
|
* @returns DescribeInternetOpenStatisticResponse
|
|
@@ -6787,7 +7331,7 @@ export default class Client extends OpenApi {
|
|
|
6787
7331
|
}
|
|
6788
7332
|
|
|
6789
7333
|
/**
|
|
6790
|
-
* Retrieves
|
|
7334
|
+
* Retrieves the list of Internet service names.
|
|
6791
7335
|
*
|
|
6792
7336
|
* @param request - DescribeInternetServiceNameListRequest
|
|
6793
7337
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6826,7 +7370,7 @@ export default class Client extends OpenApi {
|
|
|
6826
7370
|
}
|
|
6827
7371
|
|
|
6828
7372
|
/**
|
|
6829
|
-
* Retrieves
|
|
7373
|
+
* Retrieves the list of Internet service names.
|
|
6830
7374
|
*
|
|
6831
7375
|
* @param request - DescribeInternetServiceNameListRequest
|
|
6832
7376
|
* @returns DescribeInternetServiceNameListResponse
|
|
@@ -6837,7 +7381,7 @@ export default class Client extends OpenApi {
|
|
|
6837
7381
|
}
|
|
6838
7382
|
|
|
6839
7383
|
/**
|
|
6840
|
-
* Retrieves
|
|
7384
|
+
* Retrieves Internet-facing SLB instances.
|
|
6841
7385
|
*
|
|
6842
7386
|
* @param request - DescribeInternetSlbRequest
|
|
6843
7387
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6912,7 +7456,7 @@ export default class Client extends OpenApi {
|
|
|
6912
7456
|
}
|
|
6913
7457
|
|
|
6914
7458
|
/**
|
|
6915
|
-
* Retrieves
|
|
7459
|
+
* Retrieves Internet-facing SLB instances.
|
|
6916
7460
|
*
|
|
6917
7461
|
* @param request - DescribeInternetSlbRequest
|
|
6918
7462
|
* @returns DescribeInternetSlbResponse
|
|
@@ -6923,7 +7467,7 @@ export default class Client extends OpenApi {
|
|
|
6923
7467
|
}
|
|
6924
7468
|
|
|
6925
7469
|
/**
|
|
6926
|
-
*
|
|
7470
|
+
* Queries the top Internet traffic by time.
|
|
6927
7471
|
*
|
|
6928
7472
|
* @param request - DescribeInternetTimeTopRequest
|
|
6929
7473
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7014,7 +7558,7 @@ export default class Client extends OpenApi {
|
|
|
7014
7558
|
}
|
|
7015
7559
|
|
|
7016
7560
|
/**
|
|
7017
|
-
*
|
|
7561
|
+
* Queries the top Internet traffic by time.
|
|
7018
7562
|
*
|
|
7019
7563
|
* @param request - DescribeInternetTimeTopRequest
|
|
7020
7564
|
* @returns DescribeInternetTimeTopResponse
|
|
@@ -7193,7 +7737,7 @@ export default class Client extends OpenApi {
|
|
|
7193
7737
|
}
|
|
7194
7738
|
|
|
7195
7739
|
/**
|
|
7196
|
-
* Queries
|
|
7740
|
+
* Queries ECS vulnerability trends.
|
|
7197
7741
|
*
|
|
7198
7742
|
* @param request - DescribeInvadeEcsTrendRequest
|
|
7199
7743
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7240,7 +7784,7 @@ export default class Client extends OpenApi {
|
|
|
7240
7784
|
}
|
|
7241
7785
|
|
|
7242
7786
|
/**
|
|
7243
|
-
* Queries
|
|
7787
|
+
* Queries ECS vulnerability trends.
|
|
7244
7788
|
*
|
|
7245
7789
|
* @param request - DescribeInvadeEcsTrendRequest
|
|
7246
7790
|
* @returns DescribeInvadeEcsTrendResponse
|
|
@@ -7251,7 +7795,7 @@ export default class Client extends OpenApi {
|
|
|
7251
7795
|
}
|
|
7252
7796
|
|
|
7253
7797
|
/**
|
|
7254
|
-
* Retrieves the details of a
|
|
7798
|
+
* Retrieves the details of a compromise awareness event.
|
|
7255
7799
|
*
|
|
7256
7800
|
* @param request - DescribeInvadeEventDetailRequest
|
|
7257
7801
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7302,7 +7846,7 @@ export default class Client extends OpenApi {
|
|
|
7302
7846
|
}
|
|
7303
7847
|
|
|
7304
7848
|
/**
|
|
7305
|
-
* Retrieves the details of a
|
|
7849
|
+
* Retrieves the details of a compromise awareness event.
|
|
7306
7850
|
*
|
|
7307
7851
|
* @param request - DescribeInvadeEventDetailRequest
|
|
7308
7852
|
* @returns DescribeInvadeEventDetailResponse
|
|
@@ -7477,7 +8021,91 @@ export default class Client extends OpenApi {
|
|
|
7477
8021
|
}
|
|
7478
8022
|
|
|
7479
8023
|
/**
|
|
7480
|
-
*
|
|
8024
|
+
* Retrieves the original payload of a vulnerability event.
|
|
8025
|
+
*
|
|
8026
|
+
* @remarks
|
|
8027
|
+
* Queries the original packet payload of a specified intrusion event. You can locate a single event by using the event UUID (EventUuid) or filter events by public IP address, private IP address, asset instance ID, and time range. StartTime and EndTime are required and must be UNIX timestamps in seconds. The response includes the original payload, the payload length (PayloadLen), and the start and end positions of the matched content in the highlight interval (HighlightStart and HighlightEnd) to help restore alert details.
|
|
8028
|
+
* ## QPS limit
|
|
8029
|
+
* The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
8030
|
+
*
|
|
8031
|
+
* @param request - DescribeInvadeEventPayloadRequest
|
|
8032
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8033
|
+
* @returns DescribeInvadeEventPayloadResponse
|
|
8034
|
+
*/
|
|
8035
|
+
async describeInvadeEventPayloadWithOptions(request: $_model.DescribeInvadeEventPayloadRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInvadeEventPayloadResponse> {
|
|
8036
|
+
request.validate();
|
|
8037
|
+
let query = { };
|
|
8038
|
+
if (!$dara.isNull(request.assetsInstanceId)) {
|
|
8039
|
+
query["AssetsInstanceId"] = request.assetsInstanceId;
|
|
8040
|
+
}
|
|
8041
|
+
|
|
8042
|
+
if (!$dara.isNull(request.endTime)) {
|
|
8043
|
+
query["EndTime"] = request.endTime;
|
|
8044
|
+
}
|
|
8045
|
+
|
|
8046
|
+
if (!$dara.isNull(request.eventUuid)) {
|
|
8047
|
+
query["EventUuid"] = request.eventUuid;
|
|
8048
|
+
}
|
|
8049
|
+
|
|
8050
|
+
if (!$dara.isNull(request.lang)) {
|
|
8051
|
+
query["Lang"] = request.lang;
|
|
8052
|
+
}
|
|
8053
|
+
|
|
8054
|
+
if (!$dara.isNull(request.lang)) {
|
|
8055
|
+
query["Lang"] = request.lang;
|
|
8056
|
+
}
|
|
8057
|
+
|
|
8058
|
+
if (!$dara.isNull(request.privateIP)) {
|
|
8059
|
+
query["PrivateIP"] = request.privateIP;
|
|
8060
|
+
}
|
|
8061
|
+
|
|
8062
|
+
if (!$dara.isNull(request.publicIP)) {
|
|
8063
|
+
query["PublicIP"] = request.publicIP;
|
|
8064
|
+
}
|
|
8065
|
+
|
|
8066
|
+
if (!$dara.isNull(request.sourceIp)) {
|
|
8067
|
+
query["SourceIp"] = request.sourceIp;
|
|
8068
|
+
}
|
|
8069
|
+
|
|
8070
|
+
if (!$dara.isNull(request.startTime)) {
|
|
8071
|
+
query["StartTime"] = request.startTime;
|
|
8072
|
+
}
|
|
8073
|
+
|
|
8074
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8075
|
+
query: OpenApiUtil.query(query),
|
|
8076
|
+
});
|
|
8077
|
+
let params = new $OpenApiUtil.Params({
|
|
8078
|
+
action: "DescribeInvadeEventPayload",
|
|
8079
|
+
version: "2017-12-07",
|
|
8080
|
+
protocol: "HTTPS",
|
|
8081
|
+
pathname: "/",
|
|
8082
|
+
method: "POST",
|
|
8083
|
+
authType: "AK",
|
|
8084
|
+
style: "RPC",
|
|
8085
|
+
reqBodyType: "formData",
|
|
8086
|
+
bodyType: "json",
|
|
8087
|
+
});
|
|
8088
|
+
return $dara.cast<$_model.DescribeInvadeEventPayloadResponse>(await this.callApi(params, req, runtime), new $_model.DescribeInvadeEventPayloadResponse({}));
|
|
8089
|
+
}
|
|
8090
|
+
|
|
8091
|
+
/**
|
|
8092
|
+
* Retrieves the original payload of a vulnerability event.
|
|
8093
|
+
*
|
|
8094
|
+
* @remarks
|
|
8095
|
+
* Queries the original packet payload of a specified intrusion event. You can locate a single event by using the event UUID (EventUuid) or filter events by public IP address, private IP address, asset instance ID, and time range. StartTime and EndTime are required and must be UNIX timestamps in seconds. The response includes the original payload, the payload length (PayloadLen), and the start and end positions of the matched content in the highlight interval (HighlightStart and HighlightEnd) to help restore alert details.
|
|
8096
|
+
* ## QPS limit
|
|
8097
|
+
* The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
8098
|
+
*
|
|
8099
|
+
* @param request - DescribeInvadeEventPayloadRequest
|
|
8100
|
+
* @returns DescribeInvadeEventPayloadResponse
|
|
8101
|
+
*/
|
|
8102
|
+
async describeInvadeEventPayload(request: $_model.DescribeInvadeEventPayloadRequest): Promise<$_model.DescribeInvadeEventPayloadResponse> {
|
|
8103
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8104
|
+
return await this.describeInvadeEventPayloadWithOptions(request, runtime);
|
|
8105
|
+
}
|
|
8106
|
+
|
|
8107
|
+
/**
|
|
8108
|
+
* Retrieves vulnerability event statistics.
|
|
7481
8109
|
*
|
|
7482
8110
|
* @param request - DescribeInvadeEventStatisticRequest
|
|
7483
8111
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7524,7 +8152,7 @@ export default class Client extends OpenApi {
|
|
|
7524
8152
|
}
|
|
7525
8153
|
|
|
7526
8154
|
/**
|
|
7527
|
-
*
|
|
8155
|
+
* Retrieves vulnerability event statistics.
|
|
7528
8156
|
*
|
|
7529
8157
|
* @param request - DescribeInvadeEventStatisticRequest
|
|
7530
8158
|
* @returns DescribeInvadeEventStatisticResponse
|
|
@@ -7535,12 +8163,12 @@ export default class Client extends OpenApi {
|
|
|
7535
8163
|
}
|
|
7536
8164
|
|
|
7537
8165
|
/**
|
|
7538
|
-
* Queries the
|
|
8166
|
+
* Queries the IPS private IP tracing list.
|
|
7539
8167
|
*
|
|
7540
8168
|
* @remarks
|
|
7541
|
-
* This operation queries information about assets
|
|
7542
|
-
* ##
|
|
7543
|
-
*
|
|
8169
|
+
* This operation is generally used to perform paged queries on the information about assets protected by Cloud Firewall.
|
|
8170
|
+
* ## QPS limits
|
|
8171
|
+
* The QPS limit per user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call the operation at a reasonable frequency.
|
|
7544
8172
|
*
|
|
7545
8173
|
* @param request - DescribeIpsPrivateAssocRequest
|
|
7546
8174
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7595,12 +8223,12 @@ export default class Client extends OpenApi {
|
|
|
7595
8223
|
}
|
|
7596
8224
|
|
|
7597
8225
|
/**
|
|
7598
|
-
* Queries the
|
|
8226
|
+
* Queries the IPS private IP tracing list.
|
|
7599
8227
|
*
|
|
7600
8228
|
* @remarks
|
|
7601
|
-
* This operation queries information about assets
|
|
7602
|
-
* ##
|
|
7603
|
-
*
|
|
8229
|
+
* This operation is generally used to perform paged queries on the information about assets protected by Cloud Firewall.
|
|
8230
|
+
* ## QPS limits
|
|
8231
|
+
* The QPS limit per user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call the operation at a reasonable frequency.
|
|
7604
8232
|
*
|
|
7605
8233
|
* @param request - DescribeIpsPrivateAssocRequest
|
|
7606
8234
|
* @returns DescribeIpsPrivateAssocResponse
|
|
@@ -8006,7 +8634,7 @@ export default class Client extends OpenApi {
|
|
|
8006
8634
|
}
|
|
8007
8635
|
|
|
8008
8636
|
/**
|
|
8009
|
-
*
|
|
8637
|
+
* Queries the details of NAT firewalls.
|
|
8010
8638
|
*
|
|
8011
8639
|
* @param request - DescribeNatFirewallListRequest
|
|
8012
8640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8077,7 +8705,7 @@ export default class Client extends OpenApi {
|
|
|
8077
8705
|
}
|
|
8078
8706
|
|
|
8079
8707
|
/**
|
|
8080
|
-
*
|
|
8708
|
+
* Queries the details of NAT firewalls.
|
|
8081
8709
|
*
|
|
8082
8710
|
* @param request - DescribeNatFirewallListRequest
|
|
8083
8711
|
* @returns DescribeNatFirewallListResponse
|
|
@@ -8148,7 +8776,7 @@ export default class Client extends OpenApi {
|
|
|
8148
8776
|
}
|
|
8149
8777
|
|
|
8150
8778
|
/**
|
|
8151
|
-
* Queries the precheck
|
|
8779
|
+
* Queries the precheck results of a NAT firewall.
|
|
8152
8780
|
*
|
|
8153
8781
|
* @param request - DescribeNatFirewallPrecheckDetailRequest
|
|
8154
8782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8175,7 +8803,7 @@ export default class Client extends OpenApi {
|
|
|
8175
8803
|
}
|
|
8176
8804
|
|
|
8177
8805
|
/**
|
|
8178
|
-
* Queries the precheck
|
|
8806
|
+
* Queries the precheck results of a NAT firewall.
|
|
8179
8807
|
*
|
|
8180
8808
|
* @param request - DescribeNatFirewallPrecheckDetailRequest
|
|
8181
8809
|
* @returns DescribeNatFirewallPrecheckDetailResponse
|
|
@@ -8194,7 +8822,15 @@ export default class Client extends OpenApi {
|
|
|
8194
8822
|
*/
|
|
8195
8823
|
async describeNatFirewallQuotaWithOptions(request: $_model.DescribeNatFirewallQuotaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeNatFirewallQuotaResponse> {
|
|
8196
8824
|
request.validate();
|
|
8197
|
-
let query =
|
|
8825
|
+
let query = { };
|
|
8826
|
+
if (!$dara.isNull(request.lang)) {
|
|
8827
|
+
query["Lang"] = request.lang;
|
|
8828
|
+
}
|
|
8829
|
+
|
|
8830
|
+
if (!$dara.isNull(request.sourceIp)) {
|
|
8831
|
+
query["SourceIp"] = request.sourceIp;
|
|
8832
|
+
}
|
|
8833
|
+
|
|
8198
8834
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8199
8835
|
query: OpenApiUtil.query(query),
|
|
8200
8836
|
});
|
|
@@ -8203,7 +8839,7 @@ export default class Client extends OpenApi {
|
|
|
8203
8839
|
version: "2017-12-07",
|
|
8204
8840
|
protocol: "HTTPS",
|
|
8205
8841
|
pathname: "/",
|
|
8206
|
-
method: "
|
|
8842
|
+
method: "POST",
|
|
8207
8843
|
authType: "AK",
|
|
8208
8844
|
style: "RPC",
|
|
8209
8845
|
reqBodyType: "formData",
|
|
@@ -8224,7 +8860,7 @@ export default class Client extends OpenApi {
|
|
|
8224
8860
|
}
|
|
8225
8861
|
|
|
8226
8862
|
/**
|
|
8227
|
-
* Queries the top traffic
|
|
8863
|
+
* Queries the top traffic of a NAT firewall at a specific point in time.
|
|
8228
8864
|
*
|
|
8229
8865
|
* @param request - DescribeNatFirewallTimeTopRequest
|
|
8230
8866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8251,7 +8887,7 @@ export default class Client extends OpenApi {
|
|
|
8251
8887
|
}
|
|
8252
8888
|
|
|
8253
8889
|
/**
|
|
8254
|
-
* Queries the top traffic
|
|
8890
|
+
* Queries the top traffic of a NAT firewall at a specific point in time.
|
|
8255
8891
|
*
|
|
8256
8892
|
* @param request - DescribeNatFirewallTimeTopRequest
|
|
8257
8893
|
* @returns DescribeNatFirewallTimeTopResponse
|
|
@@ -8530,7 +9166,7 @@ export default class Client extends OpenApi {
|
|
|
8530
9166
|
}
|
|
8531
9167
|
|
|
8532
9168
|
/**
|
|
8533
|
-
* Retrieves statistics
|
|
9169
|
+
* Retrieves the statistics of access sources for open IP addresses. Before calling this operation, you must purchase and activate Cloud Firewall. You can check the activation status by using the UserStatus parameter returned by DescribeUserBuyVersion. A value of false indicates that Cloud Firewall is not activated.
|
|
8534
9170
|
*
|
|
8535
9171
|
* @param request - DescribeOpenIpAccessSrcStatRequest
|
|
8536
9172
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8577,7 +9213,7 @@ export default class Client extends OpenApi {
|
|
|
8577
9213
|
}
|
|
8578
9214
|
|
|
8579
9215
|
/**
|
|
8580
|
-
* Retrieves statistics
|
|
9216
|
+
* Retrieves the statistics of access sources for open IP addresses. Before calling this operation, you must purchase and activate Cloud Firewall. You can check the activation status by using the UserStatus parameter returned by DescribeUserBuyVersion. A value of false indicates that Cloud Firewall is not activated.
|
|
8581
9217
|
*
|
|
8582
9218
|
* @param request - DescribeOpenIpAccessSrcStatRequest
|
|
8583
9219
|
* @returns DescribeOpenIpAccessSrcStatResponse
|
|
@@ -8878,7 +9514,13 @@ export default class Client extends OpenApi {
|
|
|
8878
9514
|
}
|
|
8879
9515
|
|
|
8880
9516
|
/**
|
|
8881
|
-
*
|
|
9517
|
+
* Queries the destination IP addresses of outbound connections.
|
|
9518
|
+
*
|
|
9519
|
+
* @remarks
|
|
9520
|
+
* This operation queries the destination IP addresses of outbound connections.
|
|
9521
|
+
* ## Before you begin
|
|
9522
|
+
* - Make sure that Cloud Firewall is activated for your account. Both subscription and pay-as-you-go editions are supported.
|
|
9523
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. A value of false indicates that Cloud Firewall is not activated.
|
|
8882
9524
|
*
|
|
8883
9525
|
* @param request - DescribeOutgoingDestinationIPRequest
|
|
8884
9526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8961,7 +9603,13 @@ export default class Client extends OpenApi {
|
|
|
8961
9603
|
}
|
|
8962
9604
|
|
|
8963
9605
|
/**
|
|
8964
|
-
*
|
|
9606
|
+
* Queries the destination IP addresses of outbound connections.
|
|
9607
|
+
*
|
|
9608
|
+
* @remarks
|
|
9609
|
+
* This operation queries the destination IP addresses of outbound connections.
|
|
9610
|
+
* ## Before you begin
|
|
9611
|
+
* - Make sure that Cloud Firewall is activated for your account. Both subscription and pay-as-you-go editions are supported.
|
|
9612
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. A value of false indicates that Cloud Firewall is not activated.
|
|
8965
9613
|
*
|
|
8966
9614
|
* @param request - DescribeOutgoingDestinationIPRequest
|
|
8967
9615
|
* @returns DescribeOutgoingDestinationIPResponse
|
|
@@ -9270,7 +9918,7 @@ export default class Client extends OpenApi {
|
|
|
9270
9918
|
}
|
|
9271
9919
|
|
|
9272
9920
|
/**
|
|
9273
|
-
*
|
|
9921
|
+
* Retrieves the number of intrusion prevention risks. Before you call this operation, activate Cloud Firewall. You can check the activation status by using the UserStatus parameter returned by DescribeUserBuyVersion. A value of false indicates that Cloud Firewall is not activated.
|
|
9274
9922
|
*
|
|
9275
9923
|
* @param request - DescribeOutgoingRiskDomainAndIpCountRequest
|
|
9276
9924
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9297,7 +9945,7 @@ export default class Client extends OpenApi {
|
|
|
9297
9945
|
}
|
|
9298
9946
|
|
|
9299
9947
|
/**
|
|
9300
|
-
*
|
|
9948
|
+
* Retrieves the number of intrusion prevention risks. Before you call this operation, activate Cloud Firewall. You can check the activation status by using the UserStatus parameter returned by DescribeUserBuyVersion. A value of false indicates that Cloud Firewall is not activated.
|
|
9301
9949
|
*
|
|
9302
9950
|
* @param request - DescribeOutgoingRiskDomainAndIpCountRequest
|
|
9303
9951
|
* @returns DescribeOutgoingRiskDomainAndIpCountResponse
|
|
@@ -9308,7 +9956,13 @@ export default class Client extends OpenApi {
|
|
|
9308
9956
|
}
|
|
9309
9957
|
|
|
9310
9958
|
/**
|
|
9311
|
-
* Queries outbound connection
|
|
9959
|
+
* Queries the trend of outbound connection risks.
|
|
9960
|
+
*
|
|
9961
|
+
* @remarks
|
|
9962
|
+
* This operation queries the trend of outbound connection risks.
|
|
9963
|
+
* ## Before you begin
|
|
9964
|
+
* - Ensure that Cloud Firewall is activated before you call this operation.
|
|
9965
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. If false is returned, the service is not activated.
|
|
9312
9966
|
*
|
|
9313
9967
|
* @param request - DescribeOutgoingRiskTrendRequest
|
|
9314
9968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9355,7 +10009,13 @@ export default class Client extends OpenApi {
|
|
|
9355
10009
|
}
|
|
9356
10010
|
|
|
9357
10011
|
/**
|
|
9358
|
-
* Queries outbound connection
|
|
10012
|
+
* Queries the trend of outbound connection risks.
|
|
10013
|
+
*
|
|
10014
|
+
* @remarks
|
|
10015
|
+
* This operation queries the trend of outbound connection risks.
|
|
10016
|
+
* ## Before you begin
|
|
10017
|
+
* - Ensure that Cloud Firewall is activated before you call this operation.
|
|
10018
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. If false is returned, the service is not activated.
|
|
9359
10019
|
*
|
|
9360
10020
|
* @param request - DescribeOutgoingRiskTrendRequest
|
|
9361
10021
|
* @returns DescribeOutgoingRiskTrendResponse
|
|
@@ -9573,12 +10233,14 @@ export default class Client extends OpenApi {
|
|
|
9573
10233
|
}
|
|
9574
10234
|
|
|
9575
10235
|
/**
|
|
9576
|
-
* Queries the status of strict mode for access control policies.
|
|
10236
|
+
* Queries the enabling status of strict mode for access control policies.
|
|
9577
10237
|
*
|
|
9578
10238
|
* @remarks
|
|
9579
|
-
*
|
|
9580
|
-
* ##
|
|
9581
|
-
*
|
|
10239
|
+
* This operation is typically used to query the enabling status of strict mode for access control policies.
|
|
10240
|
+
* ## Before you begin
|
|
10241
|
+
* - Before calling this operation, you must purchase and activate Cloud Firewall. You can activate the service on the Cloud Firewall buy page (China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn; International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl).
|
|
10242
|
+
* ## Rate limit
|
|
10243
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable rate.
|
|
9582
10244
|
*
|
|
9583
10245
|
* @param request - DescribePolicyAdvancedConfigRequest
|
|
9584
10246
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9617,12 +10279,14 @@ export default class Client extends OpenApi {
|
|
|
9617
10279
|
}
|
|
9618
10280
|
|
|
9619
10281
|
/**
|
|
9620
|
-
* Queries the status of strict mode for access control policies.
|
|
10282
|
+
* Queries the enabling status of strict mode for access control policies.
|
|
9621
10283
|
*
|
|
9622
10284
|
* @remarks
|
|
9623
|
-
*
|
|
9624
|
-
* ##
|
|
9625
|
-
*
|
|
10285
|
+
* This operation is typically used to query the enabling status of strict mode for access control policies.
|
|
10286
|
+
* ## Before you begin
|
|
10287
|
+
* - Before calling this operation, you must purchase and activate Cloud Firewall. You can activate the service on the Cloud Firewall buy page (China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn; International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl).
|
|
10288
|
+
* ## Rate limit
|
|
10289
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable rate.
|
|
9626
10290
|
*
|
|
9627
10291
|
* @param request - DescribePolicyAdvancedConfigRequest
|
|
9628
10292
|
* @returns DescribePolicyAdvancedConfigResponse
|
|
@@ -9697,10 +10361,10 @@ export default class Client extends OpenApi {
|
|
|
9697
10361
|
}
|
|
9698
10362
|
|
|
9699
10363
|
/**
|
|
9700
|
-
* Queries
|
|
10364
|
+
* Queries pay-as-you-go 2.0 bills.
|
|
9701
10365
|
*
|
|
9702
10366
|
* @remarks
|
|
9703
|
-
*
|
|
10367
|
+
* For pay-as-you-go users, the billing details are accurate to the specific resource instance level. For subscription users, only overall queries are supported.
|
|
9704
10368
|
*
|
|
9705
10369
|
* @param request - DescribePostpayBillRequest
|
|
9706
10370
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9751,10 +10415,10 @@ export default class Client extends OpenApi {
|
|
|
9751
10415
|
}
|
|
9752
10416
|
|
|
9753
10417
|
/**
|
|
9754
|
-
* Queries
|
|
10418
|
+
* Queries pay-as-you-go 2.0 bills.
|
|
9755
10419
|
*
|
|
9756
10420
|
* @remarks
|
|
9757
|
-
*
|
|
10421
|
+
* For pay-as-you-go users, the billing details are accurate to the specific resource instance level. For subscription users, only overall queries are supported.
|
|
9758
10422
|
*
|
|
9759
10423
|
* @param request - DescribePostpayBillRequest
|
|
9760
10424
|
* @returns DescribePostpayBillResponse
|
|
@@ -10326,8 +10990,8 @@ export default class Client extends OpenApi {
|
|
|
10326
10990
|
* Retrieves region information.
|
|
10327
10991
|
*
|
|
10328
10992
|
* @remarks
|
|
10329
|
-
* ## QPS
|
|
10330
|
-
* The
|
|
10993
|
+
* ## QPS limits
|
|
10994
|
+
* The QPS limit per user for this API operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
10331
10995
|
*
|
|
10332
10996
|
* @param request - DescribeRegionInfoRequest
|
|
10333
10997
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10373,8 +11037,8 @@ export default class Client extends OpenApi {
|
|
|
10373
11037
|
* Retrieves region information.
|
|
10374
11038
|
*
|
|
10375
11039
|
* @remarks
|
|
10376
|
-
* ## QPS
|
|
10377
|
-
* The
|
|
11040
|
+
* ## QPS limits
|
|
11041
|
+
* The QPS limit per user for this API operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
10378
11042
|
*
|
|
10379
11043
|
* @param request - DescribeRegionInfoRequest
|
|
10380
11044
|
* @returns DescribeRegionInfoResponse
|
|
@@ -10489,12 +11153,12 @@ export default class Client extends OpenApi {
|
|
|
10489
11153
|
}
|
|
10490
11154
|
|
|
10491
11155
|
/**
|
|
10492
|
-
*
|
|
11156
|
+
* Retrieves the detailed data of intrusion prevention events.
|
|
10493
11157
|
*
|
|
10494
11158
|
* @remarks
|
|
10495
11159
|
* This operation queries and downloads detailed data of intrusion prevention events. Query 5 to 10 entries at a time. To prevent query timeouts, set the NoLocation parameter to true if IP geolocation information is not required.
|
|
10496
11160
|
* ## QPS limits
|
|
10497
|
-
* The
|
|
11161
|
+
* The QPS limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call the operation at a reasonable frequency.
|
|
10498
11162
|
*
|
|
10499
11163
|
* @param request - DescribeRiskEventGroupRequest
|
|
10500
11164
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10621,12 +11285,12 @@ export default class Client extends OpenApi {
|
|
|
10621
11285
|
}
|
|
10622
11286
|
|
|
10623
11287
|
/**
|
|
10624
|
-
*
|
|
11288
|
+
* Retrieves the detailed data of intrusion prevention events.
|
|
10625
11289
|
*
|
|
10626
11290
|
* @remarks
|
|
10627
11291
|
* This operation queries and downloads detailed data of intrusion prevention events. Query 5 to 10 entries at a time. To prevent query timeouts, set the NoLocation parameter to true if IP geolocation information is not required.
|
|
10628
11292
|
* ## QPS limits
|
|
10629
|
-
* The
|
|
11293
|
+
* The QPS limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call the operation at a reasonable frequency.
|
|
10630
11294
|
*
|
|
10631
11295
|
* @param request - DescribeRiskEventGroupRequest
|
|
10632
11296
|
* @returns DescribeRiskEventGroupResponse
|
|
@@ -11852,7 +12516,7 @@ export default class Client extends OpenApi {
|
|
|
11852
12516
|
}
|
|
11853
12517
|
|
|
11854
12518
|
/**
|
|
11855
|
-
* Queries the execution status of a log configuration
|
|
12519
|
+
* Queries the execution status of a log configuration modification task.
|
|
11856
12520
|
*
|
|
11857
12521
|
* @remarks
|
|
11858
12522
|
* Before calling this operation, call ModifySlsDispatchConfig to obtain the TaskId.
|
|
@@ -11886,7 +12550,7 @@ export default class Client extends OpenApi {
|
|
|
11886
12550
|
}
|
|
11887
12551
|
|
|
11888
12552
|
/**
|
|
11889
|
-
* Queries the execution status of a log configuration
|
|
12553
|
+
* Queries the execution status of a log configuration modification task.
|
|
11890
12554
|
*
|
|
11891
12555
|
* @remarks
|
|
11892
12556
|
* Before calling this operation, call ModifySlsDispatchConfig to obtain the TaskId.
|
|
@@ -11900,10 +12564,10 @@ export default class Client extends OpenApi {
|
|
|
11900
12564
|
}
|
|
11901
12565
|
|
|
11902
12566
|
/**
|
|
11903
|
-
* Queries the threat intelligence
|
|
12567
|
+
* Queries the information about threat intelligence configurations.
|
|
11904
12568
|
*
|
|
11905
12569
|
* @remarks
|
|
11906
|
-
* This operation is
|
|
12570
|
+
* This operation is typically used to perform paging queries on the information about NAT firewall access control policies.
|
|
11907
12571
|
*
|
|
11908
12572
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
11909
12573
|
* @returns DescribeThreatIntelligenceSwitchResponse
|
|
@@ -11925,10 +12589,10 @@ export default class Client extends OpenApi {
|
|
|
11925
12589
|
}
|
|
11926
12590
|
|
|
11927
12591
|
/**
|
|
11928
|
-
* Queries the threat intelligence
|
|
12592
|
+
* Queries the information about threat intelligence configurations.
|
|
11929
12593
|
*
|
|
11930
12594
|
* @remarks
|
|
11931
|
-
* This operation is
|
|
12595
|
+
* This operation is typically used to perform paging queries on the information about NAT firewall access control policies.
|
|
11932
12596
|
* @returns DescribeThreatIntelligenceSwitchResponse
|
|
11933
12597
|
*/
|
|
11934
12598
|
async describeThreatIntelligenceSwitch(): Promise<$_model.DescribeThreatIntelligenceSwitchResponse> {
|
|
@@ -12058,7 +12722,7 @@ export default class Client extends OpenApi {
|
|
|
12058
12722
|
* Retrieves the details of a VPC firewall for a transit router.
|
|
12059
12723
|
*
|
|
12060
12724
|
* @remarks
|
|
12061
|
-
* Queries the details of a
|
|
12725
|
+
* Queries the details of a VPC firewall for an Enterprise Edition transit router. You can obtain the FirewallId by calling DescribeTrFirewallsV2List. If the firewall has not been created, you must first prepare an Enterprise Edition transit router in Cloud Enterprise Network (CEN) and then call CreateTrFirewallV2 to create the firewall and obtain the FirewallId.
|
|
12062
12726
|
*
|
|
12063
12727
|
* @param request - DescribeTrFirewallsV2DetailRequest
|
|
12064
12728
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12096,7 +12760,7 @@ export default class Client extends OpenApi {
|
|
|
12096
12760
|
* Retrieves the details of a VPC firewall for a transit router.
|
|
12097
12761
|
*
|
|
12098
12762
|
* @remarks
|
|
12099
|
-
* Queries the details of a
|
|
12763
|
+
* Queries the details of a VPC firewall for an Enterprise Edition transit router. You can obtain the FirewallId by calling DescribeTrFirewallsV2List. If the firewall has not been created, you must first prepare an Enterprise Edition transit router in Cloud Enterprise Network (CEN) and then call CreateTrFirewallV2 to create the firewall and obtain the FirewallId.
|
|
12100
12764
|
*
|
|
12101
12765
|
* @param request - DescribeTrFirewallsV2DetailRequest
|
|
12102
12766
|
* @returns DescribeTrFirewallsV2DetailResponse
|
|
@@ -13196,7 +13860,7 @@ export default class Client extends OpenApi {
|
|
|
13196
13860
|
}
|
|
13197
13861
|
|
|
13198
13862
|
/**
|
|
13199
|
-
* Queries the regions where
|
|
13863
|
+
* Queries the regions where VPC firewall assets are enabled.
|
|
13200
13864
|
*
|
|
13201
13865
|
* @param request - DescribeVpcFirewallAssetRegionListRequest
|
|
13202
13866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13223,7 +13887,7 @@ export default class Client extends OpenApi {
|
|
|
13223
13887
|
}
|
|
13224
13888
|
|
|
13225
13889
|
/**
|
|
13226
|
-
* Queries the regions where
|
|
13890
|
+
* Queries the regions where VPC firewall assets are enabled.
|
|
13227
13891
|
*
|
|
13228
13892
|
* @param request - DescribeVpcFirewallAssetRegionListRequest
|
|
13229
13893
|
* @returns DescribeVpcFirewallAssetRegionListResponse
|
|
@@ -13472,10 +14136,12 @@ export default class Client extends OpenApi {
|
|
|
13472
14136
|
}
|
|
13473
14137
|
|
|
13474
14138
|
/**
|
|
13475
|
-
* Queries all access control
|
|
14139
|
+
* Queries all access control policies of the specified virtual private cloud (VPC) firewalls.
|
|
13476
14140
|
*
|
|
13477
14141
|
* @remarks
|
|
13478
|
-
* This operation is used to query access control policies of virtual private cloud (VPC) firewalls. Virtual private cloud (VPC) firewalls use different access control policies when protecting traffic between two VPCs connected
|
|
14142
|
+
* This operation is typically used to query the access control policies of virtual private cloud (VPC) firewalls. Virtual private cloud (VPC) firewalls use different access control policies when protecting traffic between two VPCs connected by Cloud Enterprise Network (CEN) and traffic between two VPCs connected by Express Connect.
|
|
14143
|
+
* ## QPS limits
|
|
14144
|
+
* The queries per second (QPS) limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
13479
14145
|
*
|
|
13480
14146
|
* @param request - DescribeVpcFirewallControlPolicyRequest
|
|
13481
14147
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13554,10 +14220,12 @@ export default class Client extends OpenApi {
|
|
|
13554
14220
|
}
|
|
13555
14221
|
|
|
13556
14222
|
/**
|
|
13557
|
-
* Queries all access control
|
|
14223
|
+
* Queries all access control policies of the specified virtual private cloud (VPC) firewalls.
|
|
13558
14224
|
*
|
|
13559
14225
|
* @remarks
|
|
13560
|
-
* This operation is used to query access control policies of virtual private cloud (VPC) firewalls. Virtual private cloud (VPC) firewalls use different access control policies when protecting traffic between two VPCs connected
|
|
14226
|
+
* This operation is typically used to query the access control policies of virtual private cloud (VPC) firewalls. Virtual private cloud (VPC) firewalls use different access control policies when protecting traffic between two VPCs connected by Cloud Enterprise Network (CEN) and traffic between two VPCs connected by Express Connect.
|
|
14227
|
+
* ## QPS limits
|
|
14228
|
+
* The queries per second (QPS) limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
13561
14229
|
*
|
|
13562
14230
|
* @param request - DescribeVpcFirewallControlPolicyRequest
|
|
13563
14231
|
* @returns DescribeVpcFirewallControlPolicyResponse
|
|
@@ -14466,7 +15134,7 @@ export default class Client extends OpenApi {
|
|
|
14466
15134
|
}
|
|
14467
15135
|
|
|
14468
15136
|
/**
|
|
14469
|
-
* Queries the list of zones available for
|
|
15137
|
+
* Queries the list of zones available for VPC firewalls.
|
|
14470
15138
|
*
|
|
14471
15139
|
* @param request - DescribeVpcFirewallZoneRequest
|
|
14472
15140
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14521,7 +15189,7 @@ export default class Client extends OpenApi {
|
|
|
14521
15189
|
}
|
|
14522
15190
|
|
|
14523
15191
|
/**
|
|
14524
|
-
* Queries the list of zones available for
|
|
15192
|
+
* Queries the list of zones available for VPC firewalls.
|
|
14525
15193
|
*
|
|
14526
15194
|
* @param request - DescribeVpcFirewallZoneRequest
|
|
14527
15195
|
* @returns DescribeVpcFirewallZoneResponse
|
|
@@ -14855,6 +15523,87 @@ export default class Client extends OpenApi {
|
|
|
14855
15523
|
return await this.enableSdlProtectedAssetWithOptions(request, runtime);
|
|
14856
15524
|
}
|
|
14857
15525
|
|
|
15526
|
+
/**
|
|
15527
|
+
* Queries the details of a specified application template, including the status of each switch, the action for unidentified applications, and the list of built-in application actions.
|
|
15528
|
+
*
|
|
15529
|
+
* @param request - GetApplicationTemplateRequest
|
|
15530
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15531
|
+
* @returns GetApplicationTemplateResponse
|
|
15532
|
+
*/
|
|
15533
|
+
async getApplicationTemplateWithOptions(request: $_model.GetApplicationTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetApplicationTemplateResponse> {
|
|
15534
|
+
request.validate();
|
|
15535
|
+
let query = { };
|
|
15536
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
15537
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
15538
|
+
}
|
|
15539
|
+
|
|
15540
|
+
if (!$dara.isNull(request.builtInApplicationActionType)) {
|
|
15541
|
+
query["BuiltInApplicationActionType"] = request.builtInApplicationActionType;
|
|
15542
|
+
}
|
|
15543
|
+
|
|
15544
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15545
|
+
query: OpenApiUtil.query(query),
|
|
15546
|
+
});
|
|
15547
|
+
let params = new $OpenApiUtil.Params({
|
|
15548
|
+
action: "GetApplicationTemplate",
|
|
15549
|
+
version: "2017-12-07",
|
|
15550
|
+
protocol: "HTTPS",
|
|
15551
|
+
pathname: "/",
|
|
15552
|
+
method: "POST",
|
|
15553
|
+
authType: "AK",
|
|
15554
|
+
style: "RPC",
|
|
15555
|
+
reqBodyType: "formData",
|
|
15556
|
+
bodyType: "json",
|
|
15557
|
+
});
|
|
15558
|
+
return $dara.cast<$_model.GetApplicationTemplateResponse>(await this.callApi(params, req, runtime), new $_model.GetApplicationTemplateResponse({}));
|
|
15559
|
+
}
|
|
15560
|
+
|
|
15561
|
+
/**
|
|
15562
|
+
* Queries the details of a specified application template, including the status of each switch, the action for unidentified applications, and the list of built-in application actions.
|
|
15563
|
+
*
|
|
15564
|
+
* @param request - GetApplicationTemplateRequest
|
|
15565
|
+
* @returns GetApplicationTemplateResponse
|
|
15566
|
+
*/
|
|
15567
|
+
async getApplicationTemplate(request: $_model.GetApplicationTemplateRequest): Promise<$_model.GetApplicationTemplateResponse> {
|
|
15568
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15569
|
+
return await this.getApplicationTemplateWithOptions(request, runtime);
|
|
15570
|
+
}
|
|
15571
|
+
|
|
15572
|
+
/**
|
|
15573
|
+
* Queries the activation status of the application control and web filtering features for the current Alibaba Cloud account. This operation does not require request parameters and always returns the status of these two features.
|
|
15574
|
+
*
|
|
15575
|
+
* @param request - GetFirewallFeatureRequest
|
|
15576
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15577
|
+
* @returns GetFirewallFeatureResponse
|
|
15578
|
+
*/
|
|
15579
|
+
async getFirewallFeatureWithOptions(request: $_model.GetFirewallFeatureRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetFirewallFeatureResponse> {
|
|
15580
|
+
request.validate();
|
|
15581
|
+
let req = new $OpenApiUtil.OpenApiRequest({ });
|
|
15582
|
+
let params = new $OpenApiUtil.Params({
|
|
15583
|
+
action: "GetFirewallFeature",
|
|
15584
|
+
version: "2017-12-07",
|
|
15585
|
+
protocol: "HTTPS",
|
|
15586
|
+
pathname: "/",
|
|
15587
|
+
method: "POST",
|
|
15588
|
+
authType: "AK",
|
|
15589
|
+
style: "RPC",
|
|
15590
|
+
reqBodyType: "formData",
|
|
15591
|
+
bodyType: "json",
|
|
15592
|
+
});
|
|
15593
|
+
return $dara.cast<$_model.GetFirewallFeatureResponse>(await this.callApi(params, req, runtime), new $_model.GetFirewallFeatureResponse({}));
|
|
15594
|
+
}
|
|
15595
|
+
|
|
15596
|
+
/**
|
|
15597
|
+
* Queries the activation status of the application control and web filtering features for the current Alibaba Cloud account. This operation does not require request parameters and always returns the status of these two features.
|
|
15598
|
+
*
|
|
15599
|
+
* @param request - GetFirewallFeatureRequest
|
|
15600
|
+
* @returns GetFirewallFeatureResponse
|
|
15601
|
+
*/
|
|
15602
|
+
async getFirewallFeature(request: $_model.GetFirewallFeatureRequest): Promise<$_model.GetFirewallFeatureResponse> {
|
|
15603
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15604
|
+
return await this.getFirewallFeatureWithOptions(request, runtime);
|
|
15605
|
+
}
|
|
15606
|
+
|
|
14858
15607
|
/**
|
|
14859
15608
|
* Retrieves the download path for the certificate of a Transport Layer Security (TLS) inspection policy.
|
|
14860
15609
|
*
|
|
@@ -14903,6 +15652,286 @@ export default class Client extends OpenApi {
|
|
|
14903
15652
|
return await this.getTlsInspectCertificateDownloadUrlWithOptions(request, runtime);
|
|
14904
15653
|
}
|
|
14905
15654
|
|
|
15655
|
+
/**
|
|
15656
|
+
* Performs a paged query to retrieve the list of custom rules under a specified application program template, sorted by priority in ascending order. Supports paging, fuzzy search by rule name, and filtering by rule ID, priority, action, and application ID.
|
|
15657
|
+
*
|
|
15658
|
+
* @param request - ListApplicationCustomRulesRequest
|
|
15659
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15660
|
+
* @returns ListApplicationCustomRulesResponse
|
|
15661
|
+
*/
|
|
15662
|
+
async listApplicationCustomRulesWithOptions(request: $_model.ListApplicationCustomRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApplicationCustomRulesResponse> {
|
|
15663
|
+
request.validate();
|
|
15664
|
+
let query = { };
|
|
15665
|
+
if (!$dara.isNull(request.applicationCustomRuleId)) {
|
|
15666
|
+
query["ApplicationCustomRuleId"] = request.applicationCustomRuleId;
|
|
15667
|
+
}
|
|
15668
|
+
|
|
15669
|
+
if (!$dara.isNull(request.applicationCustomRuleName)) {
|
|
15670
|
+
query["ApplicationCustomRuleName"] = request.applicationCustomRuleName;
|
|
15671
|
+
}
|
|
15672
|
+
|
|
15673
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
15674
|
+
query["ApplicationId"] = request.applicationId;
|
|
15675
|
+
}
|
|
15676
|
+
|
|
15677
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
15678
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
15679
|
+
}
|
|
15680
|
+
|
|
15681
|
+
if (!$dara.isNull(request.lang)) {
|
|
15682
|
+
query["Lang"] = request.lang;
|
|
15683
|
+
}
|
|
15684
|
+
|
|
15685
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
15686
|
+
query["PageNo"] = request.pageNo;
|
|
15687
|
+
}
|
|
15688
|
+
|
|
15689
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15690
|
+
query["PageSize"] = request.pageSize;
|
|
15691
|
+
}
|
|
15692
|
+
|
|
15693
|
+
if (!$dara.isNull(request.priority)) {
|
|
15694
|
+
query["Priority"] = request.priority;
|
|
15695
|
+
}
|
|
15696
|
+
|
|
15697
|
+
if (!$dara.isNull(request.ruleAction)) {
|
|
15698
|
+
query["RuleAction"] = request.ruleAction;
|
|
15699
|
+
}
|
|
15700
|
+
|
|
15701
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15702
|
+
query: OpenApiUtil.query(query),
|
|
15703
|
+
});
|
|
15704
|
+
let params = new $OpenApiUtil.Params({
|
|
15705
|
+
action: "ListApplicationCustomRules",
|
|
15706
|
+
version: "2017-12-07",
|
|
15707
|
+
protocol: "HTTPS",
|
|
15708
|
+
pathname: "/",
|
|
15709
|
+
method: "POST",
|
|
15710
|
+
authType: "AK",
|
|
15711
|
+
style: "RPC",
|
|
15712
|
+
reqBodyType: "formData",
|
|
15713
|
+
bodyType: "json",
|
|
15714
|
+
});
|
|
15715
|
+
return $dara.cast<$_model.ListApplicationCustomRulesResponse>(await this.callApi(params, req, runtime), new $_model.ListApplicationCustomRulesResponse({}));
|
|
15716
|
+
}
|
|
15717
|
+
|
|
15718
|
+
/**
|
|
15719
|
+
* Performs a paged query to retrieve the list of custom rules under a specified application program template, sorted by priority in ascending order. Supports paging, fuzzy search by rule name, and filtering by rule ID, priority, action, and application ID.
|
|
15720
|
+
*
|
|
15721
|
+
* @param request - ListApplicationCustomRulesRequest
|
|
15722
|
+
* @returns ListApplicationCustomRulesResponse
|
|
15723
|
+
*/
|
|
15724
|
+
async listApplicationCustomRules(request: $_model.ListApplicationCustomRulesRequest): Promise<$_model.ListApplicationCustomRulesResponse> {
|
|
15725
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15726
|
+
return await this.listApplicationCustomRulesWithOptions(request, runtime);
|
|
15727
|
+
}
|
|
15728
|
+
|
|
15729
|
+
/**
|
|
15730
|
+
* Performs a paged query to retrieve the list of application program templates under the current Alibaba Cloud account. Supports paging, fuzzy search by template name and description, batch exact filtering by template ID, and exact filtering by switch statuses and actions for unrecognized applications.
|
|
15731
|
+
*
|
|
15732
|
+
* @param request - ListApplicationTemplateRequest
|
|
15733
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15734
|
+
* @returns ListApplicationTemplateResponse
|
|
15735
|
+
*/
|
|
15736
|
+
async listApplicationTemplateWithOptions(request: $_model.ListApplicationTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApplicationTemplateResponse> {
|
|
15737
|
+
request.validate();
|
|
15738
|
+
let query = { };
|
|
15739
|
+
if (!$dara.isNull(request.applicationTemplateIds)) {
|
|
15740
|
+
query["ApplicationTemplateIds"] = request.applicationTemplateIds;
|
|
15741
|
+
}
|
|
15742
|
+
|
|
15743
|
+
if (!$dara.isNull(request.applicationTemplateName)) {
|
|
15744
|
+
query["ApplicationTemplateName"] = request.applicationTemplateName;
|
|
15745
|
+
}
|
|
15746
|
+
|
|
15747
|
+
if (!$dara.isNull(request.builtInApplicationStatus)) {
|
|
15748
|
+
query["BuiltInApplicationStatus"] = request.builtInApplicationStatus;
|
|
15749
|
+
}
|
|
15750
|
+
|
|
15751
|
+
if (!$dara.isNull(request.customRuleStatus)) {
|
|
15752
|
+
query["CustomRuleStatus"] = request.customRuleStatus;
|
|
15753
|
+
}
|
|
15754
|
+
|
|
15755
|
+
if (!$dara.isNull(request.description)) {
|
|
15756
|
+
query["Description"] = request.description;
|
|
15757
|
+
}
|
|
15758
|
+
|
|
15759
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
15760
|
+
query["PageNo"] = request.pageNo;
|
|
15761
|
+
}
|
|
15762
|
+
|
|
15763
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15764
|
+
query["PageSize"] = request.pageSize;
|
|
15765
|
+
}
|
|
15766
|
+
|
|
15767
|
+
if (!$dara.isNull(request.templateStatus)) {
|
|
15768
|
+
query["TemplateStatus"] = request.templateStatus;
|
|
15769
|
+
}
|
|
15770
|
+
|
|
15771
|
+
if (!$dara.isNull(request.unknownAction)) {
|
|
15772
|
+
query["UnknownAction"] = request.unknownAction;
|
|
15773
|
+
}
|
|
15774
|
+
|
|
15775
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15776
|
+
query: OpenApiUtil.query(query),
|
|
15777
|
+
});
|
|
15778
|
+
let params = new $OpenApiUtil.Params({
|
|
15779
|
+
action: "ListApplicationTemplate",
|
|
15780
|
+
version: "2017-12-07",
|
|
15781
|
+
protocol: "HTTPS",
|
|
15782
|
+
pathname: "/",
|
|
15783
|
+
method: "POST",
|
|
15784
|
+
authType: "AK",
|
|
15785
|
+
style: "RPC",
|
|
15786
|
+
reqBodyType: "formData",
|
|
15787
|
+
bodyType: "json",
|
|
15788
|
+
});
|
|
15789
|
+
return $dara.cast<$_model.ListApplicationTemplateResponse>(await this.callApi(params, req, runtime), new $_model.ListApplicationTemplateResponse({}));
|
|
15790
|
+
}
|
|
15791
|
+
|
|
15792
|
+
/**
|
|
15793
|
+
* Performs a paged query to retrieve the list of application program templates under the current Alibaba Cloud account. Supports paging, fuzzy search by template name and description, batch exact filtering by template ID, and exact filtering by switch statuses and actions for unrecognized applications.
|
|
15794
|
+
*
|
|
15795
|
+
* @param request - ListApplicationTemplateRequest
|
|
15796
|
+
* @returns ListApplicationTemplateResponse
|
|
15797
|
+
*/
|
|
15798
|
+
async listApplicationTemplate(request: $_model.ListApplicationTemplateRequest): Promise<$_model.ListApplicationTemplateResponse> {
|
|
15799
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15800
|
+
return await this.listApplicationTemplateWithOptions(request, runtime);
|
|
15801
|
+
}
|
|
15802
|
+
|
|
15803
|
+
/**
|
|
15804
|
+
* Performs a paged query on the version update records of the built-in application signature library and returns the paging results in descending sequence of update time. Each record corresponds to an incremental update of the signature library and includes the list of application programs added or updated in this update.
|
|
15805
|
+
*
|
|
15806
|
+
* @param request - ListApplicationUpdateDynamicsRequest
|
|
15807
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15808
|
+
* @returns ListApplicationUpdateDynamicsResponse
|
|
15809
|
+
*/
|
|
15810
|
+
async listApplicationUpdateDynamicsWithOptions(request: $_model.ListApplicationUpdateDynamicsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApplicationUpdateDynamicsResponse> {
|
|
15811
|
+
request.validate();
|
|
15812
|
+
let query = { };
|
|
15813
|
+
if (!$dara.isNull(request.lang)) {
|
|
15814
|
+
query["Lang"] = request.lang;
|
|
15815
|
+
}
|
|
15816
|
+
|
|
15817
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
15818
|
+
query["PageNo"] = request.pageNo;
|
|
15819
|
+
}
|
|
15820
|
+
|
|
15821
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15822
|
+
query["PageSize"] = request.pageSize;
|
|
15823
|
+
}
|
|
15824
|
+
|
|
15825
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15826
|
+
query: OpenApiUtil.query(query),
|
|
15827
|
+
});
|
|
15828
|
+
let params = new $OpenApiUtil.Params({
|
|
15829
|
+
action: "ListApplicationUpdateDynamics",
|
|
15830
|
+
version: "2017-12-07",
|
|
15831
|
+
protocol: "HTTPS",
|
|
15832
|
+
pathname: "/",
|
|
15833
|
+
method: "POST",
|
|
15834
|
+
authType: "AK",
|
|
15835
|
+
style: "RPC",
|
|
15836
|
+
reqBodyType: "formData",
|
|
15837
|
+
bodyType: "json",
|
|
15838
|
+
});
|
|
15839
|
+
return $dara.cast<$_model.ListApplicationUpdateDynamicsResponse>(await this.callApi(params, req, runtime), new $_model.ListApplicationUpdateDynamicsResponse({}));
|
|
15840
|
+
}
|
|
15841
|
+
|
|
15842
|
+
/**
|
|
15843
|
+
* Performs a paged query on the version update records of the built-in application signature library and returns the paging results in descending sequence of update time. Each record corresponds to an incremental update of the signature library and includes the list of application programs added or updated in this update.
|
|
15844
|
+
*
|
|
15845
|
+
* @param request - ListApplicationUpdateDynamicsRequest
|
|
15846
|
+
* @returns ListApplicationUpdateDynamicsResponse
|
|
15847
|
+
*/
|
|
15848
|
+
async listApplicationUpdateDynamics(request: $_model.ListApplicationUpdateDynamicsRequest): Promise<$_model.ListApplicationUpdateDynamicsResponse> {
|
|
15849
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15850
|
+
return await this.listApplicationUpdateDynamicsWithOptions(request, runtime);
|
|
15851
|
+
}
|
|
15852
|
+
|
|
15853
|
+
/**
|
|
15854
|
+
* Queries the applications in the built-in application signature library by using paging. Supports fuzzy match by application name, description, technology type, category name, and group name, exact filtering by application ID and category ID, and filtering by risk level. The query targets the global built-in application library regardless of the Alibaba Cloud account.
|
|
15855
|
+
*
|
|
15856
|
+
* @param request - ListApplicationsRequest
|
|
15857
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15858
|
+
* @returns ListApplicationsResponse
|
|
15859
|
+
*/
|
|
15860
|
+
async listApplicationsWithOptions(request: $_model.ListApplicationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApplicationsResponse> {
|
|
15861
|
+
request.validate();
|
|
15862
|
+
let query = { };
|
|
15863
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
15864
|
+
query["ApplicationId"] = request.applicationId;
|
|
15865
|
+
}
|
|
15866
|
+
|
|
15867
|
+
if (!$dara.isNull(request.applicationName)) {
|
|
15868
|
+
query["ApplicationName"] = request.applicationName;
|
|
15869
|
+
}
|
|
15870
|
+
|
|
15871
|
+
if (!$dara.isNull(request.categoryId)) {
|
|
15872
|
+
query["CategoryId"] = request.categoryId;
|
|
15873
|
+
}
|
|
15874
|
+
|
|
15875
|
+
if (!$dara.isNull(request.categoryName)) {
|
|
15876
|
+
query["CategoryName"] = request.categoryName;
|
|
15877
|
+
}
|
|
15878
|
+
|
|
15879
|
+
if (!$dara.isNull(request.description)) {
|
|
15880
|
+
query["Description"] = request.description;
|
|
15881
|
+
}
|
|
15882
|
+
|
|
15883
|
+
if (!$dara.isNull(request.groupName)) {
|
|
15884
|
+
query["GroupName"] = request.groupName;
|
|
15885
|
+
}
|
|
15886
|
+
|
|
15887
|
+
if (!$dara.isNull(request.lang)) {
|
|
15888
|
+
query["Lang"] = request.lang;
|
|
15889
|
+
}
|
|
15890
|
+
|
|
15891
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
15892
|
+
query["PageNo"] = request.pageNo;
|
|
15893
|
+
}
|
|
15894
|
+
|
|
15895
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15896
|
+
query["PageSize"] = request.pageSize;
|
|
15897
|
+
}
|
|
15898
|
+
|
|
15899
|
+
if (!$dara.isNull(request.risk)) {
|
|
15900
|
+
query["Risk"] = request.risk;
|
|
15901
|
+
}
|
|
15902
|
+
|
|
15903
|
+
if (!$dara.isNull(request.technology)) {
|
|
15904
|
+
query["Technology"] = request.technology;
|
|
15905
|
+
}
|
|
15906
|
+
|
|
15907
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15908
|
+
query: OpenApiUtil.query(query),
|
|
15909
|
+
});
|
|
15910
|
+
let params = new $OpenApiUtil.Params({
|
|
15911
|
+
action: "ListApplications",
|
|
15912
|
+
version: "2017-12-07",
|
|
15913
|
+
protocol: "HTTPS",
|
|
15914
|
+
pathname: "/",
|
|
15915
|
+
method: "POST",
|
|
15916
|
+
authType: "AK",
|
|
15917
|
+
style: "RPC",
|
|
15918
|
+
reqBodyType: "formData",
|
|
15919
|
+
bodyType: "json",
|
|
15920
|
+
});
|
|
15921
|
+
return $dara.cast<$_model.ListApplicationsResponse>(await this.callApi(params, req, runtime), new $_model.ListApplicationsResponse({}));
|
|
15922
|
+
}
|
|
15923
|
+
|
|
15924
|
+
/**
|
|
15925
|
+
* Queries the applications in the built-in application signature library by using paging. Supports fuzzy match by application name, description, technology type, category name, and group name, exact filtering by application ID and category ID, and filtering by risk level. The query targets the global built-in application library regardless of the Alibaba Cloud account.
|
|
15926
|
+
*
|
|
15927
|
+
* @param request - ListApplicationsRequest
|
|
15928
|
+
* @returns ListApplicationsResponse
|
|
15929
|
+
*/
|
|
15930
|
+
async listApplications(request: $_model.ListApplicationsRequest): Promise<$_model.ListApplicationsResponse> {
|
|
15931
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15932
|
+
return await this.listApplicationsWithOptions(request, runtime);
|
|
15933
|
+
}
|
|
15934
|
+
|
|
14906
15935
|
/**
|
|
14907
15936
|
* Queries the CA certificates for TLS inspection.
|
|
14908
15937
|
*
|
|
@@ -14910,26 +15939,146 @@ export default class Client extends OpenApi {
|
|
|
14910
15939
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
14911
15940
|
* @returns ListTlsInspectCACertificatesResponse
|
|
14912
15941
|
*/
|
|
14913
|
-
async listTlsInspectCACertificatesWithOptions(request: $_model.ListTlsInspectCACertificatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTlsInspectCACertificatesResponse> {
|
|
15942
|
+
async listTlsInspectCACertificatesWithOptions(request: $_model.ListTlsInspectCACertificatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTlsInspectCACertificatesResponse> {
|
|
15943
|
+
request.validate();
|
|
15944
|
+
let query = { };
|
|
15945
|
+
if (!$dara.isNull(request.caCertId)) {
|
|
15946
|
+
query["CaCertId"] = request.caCertId;
|
|
15947
|
+
}
|
|
15948
|
+
|
|
15949
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
15950
|
+
query["CurrentPage"] = request.currentPage;
|
|
15951
|
+
}
|
|
15952
|
+
|
|
15953
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15954
|
+
query["PageSize"] = request.pageSize;
|
|
15955
|
+
}
|
|
15956
|
+
|
|
15957
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15958
|
+
query: OpenApiUtil.query(query),
|
|
15959
|
+
});
|
|
15960
|
+
let params = new $OpenApiUtil.Params({
|
|
15961
|
+
action: "ListTlsInspectCACertificates",
|
|
15962
|
+
version: "2017-12-07",
|
|
15963
|
+
protocol: "HTTPS",
|
|
15964
|
+
pathname: "/",
|
|
15965
|
+
method: "POST",
|
|
15966
|
+
authType: "AK",
|
|
15967
|
+
style: "RPC",
|
|
15968
|
+
reqBodyType: "formData",
|
|
15969
|
+
bodyType: "json",
|
|
15970
|
+
});
|
|
15971
|
+
return $dara.cast<$_model.ListTlsInspectCACertificatesResponse>(await this.callApi(params, req, runtime), new $_model.ListTlsInspectCACertificatesResponse({}));
|
|
15972
|
+
}
|
|
15973
|
+
|
|
15974
|
+
/**
|
|
15975
|
+
* Queries the CA certificates for TLS inspection.
|
|
15976
|
+
*
|
|
15977
|
+
* @param request - ListTlsInspectCACertificatesRequest
|
|
15978
|
+
* @returns ListTlsInspectCACertificatesResponse
|
|
15979
|
+
*/
|
|
15980
|
+
async listTlsInspectCACertificates(request: $_model.ListTlsInspectCACertificatesRequest): Promise<$_model.ListTlsInspectCACertificatesResponse> {
|
|
15981
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15982
|
+
return await this.listTlsInspectCACertificatesWithOptions(request, runtime);
|
|
15983
|
+
}
|
|
15984
|
+
|
|
15985
|
+
/**
|
|
15986
|
+
* Performs a paged query on the web filtering rules. Supports paging and exact filtering by web filtering template ID, rule ID, and rule action.
|
|
15987
|
+
*
|
|
15988
|
+
* @param request - ListWebFilterRulesRequest
|
|
15989
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15990
|
+
* @returns ListWebFilterRulesResponse
|
|
15991
|
+
*/
|
|
15992
|
+
async listWebFilterRulesWithOptions(request: $_model.ListWebFilterRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListWebFilterRulesResponse> {
|
|
15993
|
+
request.validate();
|
|
15994
|
+
let query = { };
|
|
15995
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
15996
|
+
query["PageNo"] = request.pageNo;
|
|
15997
|
+
}
|
|
15998
|
+
|
|
15999
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
16000
|
+
query["PageSize"] = request.pageSize;
|
|
16001
|
+
}
|
|
16002
|
+
|
|
16003
|
+
if (!$dara.isNull(request.ruleAction)) {
|
|
16004
|
+
query["RuleAction"] = request.ruleAction;
|
|
16005
|
+
}
|
|
16006
|
+
|
|
16007
|
+
if (!$dara.isNull(request.webFilterRuleId)) {
|
|
16008
|
+
query["WebFilterRuleId"] = request.webFilterRuleId;
|
|
16009
|
+
}
|
|
16010
|
+
|
|
16011
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
16012
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
16013
|
+
}
|
|
16014
|
+
|
|
16015
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16016
|
+
query: OpenApiUtil.query(query),
|
|
16017
|
+
});
|
|
16018
|
+
let params = new $OpenApiUtil.Params({
|
|
16019
|
+
action: "ListWebFilterRules",
|
|
16020
|
+
version: "2017-12-07",
|
|
16021
|
+
protocol: "HTTPS",
|
|
16022
|
+
pathname: "/",
|
|
16023
|
+
method: "POST",
|
|
16024
|
+
authType: "AK",
|
|
16025
|
+
style: "RPC",
|
|
16026
|
+
reqBodyType: "formData",
|
|
16027
|
+
bodyType: "json",
|
|
16028
|
+
});
|
|
16029
|
+
return $dara.cast<$_model.ListWebFilterRulesResponse>(await this.callApi(params, req, runtime), new $_model.ListWebFilterRulesResponse({}));
|
|
16030
|
+
}
|
|
16031
|
+
|
|
16032
|
+
/**
|
|
16033
|
+
* Performs a paged query on the web filtering rules. Supports paging and exact filtering by web filtering template ID, rule ID, and rule action.
|
|
16034
|
+
*
|
|
16035
|
+
* @param request - ListWebFilterRulesRequest
|
|
16036
|
+
* @returns ListWebFilterRulesResponse
|
|
16037
|
+
*/
|
|
16038
|
+
async listWebFilterRules(request: $_model.ListWebFilterRulesRequest): Promise<$_model.ListWebFilterRulesResponse> {
|
|
16039
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16040
|
+
return await this.listWebFilterRulesWithOptions(request, runtime);
|
|
16041
|
+
}
|
|
16042
|
+
|
|
16043
|
+
/**
|
|
16044
|
+
* Queries the web filtering templates under the current Alibaba Cloud account by using paging. Supports fuzzy search by name and description, exact filtering by status, and batch exact filtering by template IDs.
|
|
16045
|
+
*
|
|
16046
|
+
* @param request - ListWebFilterTemplatesRequest
|
|
16047
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16048
|
+
* @returns ListWebFilterTemplatesResponse
|
|
16049
|
+
*/
|
|
16050
|
+
async listWebFilterTemplatesWithOptions(request: $_model.ListWebFilterTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListWebFilterTemplatesResponse> {
|
|
14914
16051
|
request.validate();
|
|
14915
16052
|
let query = { };
|
|
14916
|
-
if (!$dara.isNull(request.
|
|
14917
|
-
query["
|
|
16053
|
+
if (!$dara.isNull(request.description)) {
|
|
16054
|
+
query["Description"] = request.description;
|
|
14918
16055
|
}
|
|
14919
16056
|
|
|
14920
|
-
if (!$dara.isNull(request.
|
|
14921
|
-
query["
|
|
16057
|
+
if (!$dara.isNull(request.name)) {
|
|
16058
|
+
query["Name"] = request.name;
|
|
16059
|
+
}
|
|
16060
|
+
|
|
16061
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
16062
|
+
query["PageNo"] = request.pageNo;
|
|
14922
16063
|
}
|
|
14923
16064
|
|
|
14924
16065
|
if (!$dara.isNull(request.pageSize)) {
|
|
14925
16066
|
query["PageSize"] = request.pageSize;
|
|
14926
16067
|
}
|
|
14927
16068
|
|
|
16069
|
+
if (!$dara.isNull(request.status)) {
|
|
16070
|
+
query["Status"] = request.status;
|
|
16071
|
+
}
|
|
16072
|
+
|
|
16073
|
+
if (!$dara.isNull(request.webFilterTemplateIds)) {
|
|
16074
|
+
query["WebFilterTemplateIds"] = request.webFilterTemplateIds;
|
|
16075
|
+
}
|
|
16076
|
+
|
|
14928
16077
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
14929
16078
|
query: OpenApiUtil.query(query),
|
|
14930
16079
|
});
|
|
14931
16080
|
let params = new $OpenApiUtil.Params({
|
|
14932
|
-
action: "
|
|
16081
|
+
action: "ListWebFilterTemplates",
|
|
14933
16082
|
version: "2017-12-07",
|
|
14934
16083
|
protocol: "HTTPS",
|
|
14935
16084
|
pathname: "/",
|
|
@@ -14939,18 +16088,18 @@ export default class Client extends OpenApi {
|
|
|
14939
16088
|
reqBodyType: "formData",
|
|
14940
16089
|
bodyType: "json",
|
|
14941
16090
|
});
|
|
14942
|
-
return $dara.cast<$_model.
|
|
16091
|
+
return $dara.cast<$_model.ListWebFilterTemplatesResponse>(await this.callApi(params, req, runtime), new $_model.ListWebFilterTemplatesResponse({}));
|
|
14943
16092
|
}
|
|
14944
16093
|
|
|
14945
16094
|
/**
|
|
14946
|
-
* Queries the
|
|
16095
|
+
* Queries the web filtering templates under the current Alibaba Cloud account by using paging. Supports fuzzy search by name and description, exact filtering by status, and batch exact filtering by template IDs.
|
|
14947
16096
|
*
|
|
14948
|
-
* @param request -
|
|
14949
|
-
* @returns
|
|
16097
|
+
* @param request - ListWebFilterTemplatesRequest
|
|
16098
|
+
* @returns ListWebFilterTemplatesResponse
|
|
14950
16099
|
*/
|
|
14951
|
-
async
|
|
16100
|
+
async listWebFilterTemplates(request: $_model.ListWebFilterTemplatesRequest): Promise<$_model.ListWebFilterTemplatesResponse> {
|
|
14952
16101
|
let runtime = new $dara.RuntimeOptions({ });
|
|
14953
|
-
return await this.
|
|
16102
|
+
return await this.listWebFilterTemplatesWithOptions(request, runtime);
|
|
14954
16103
|
}
|
|
14955
16104
|
|
|
14956
16105
|
/**
|
|
@@ -15352,9 +16501,11 @@ export default class Client extends OpenApi {
|
|
|
15352
16501
|
* Modifies the priority of an access control policy.
|
|
15353
16502
|
*
|
|
15354
16503
|
* @remarks
|
|
15355
|
-
*
|
|
15356
|
-
* ##
|
|
15357
|
-
*
|
|
16504
|
+
* This operation is typically used to modify the configuration of an access control policy that allows, denies, or monitors traffic passing through Cloud Firewall.
|
|
16505
|
+
* ## Before you begin
|
|
16506
|
+
* Before calling this operation, call DescribeControlPolicy and pass the same Direction parameter to obtain the current policy list and the number of policies. This helps you determine the valid value range of the Order parameter, which is from 1 to the number of policies.
|
|
16507
|
+
* ## Rate limit
|
|
16508
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
|
|
15358
16509
|
*
|
|
15359
16510
|
* @param request - ModifyControlPolicyPriorityRequest
|
|
15360
16511
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15392,9 +16543,11 @@ export default class Client extends OpenApi {
|
|
|
15392
16543
|
* Modifies the priority of an access control policy.
|
|
15393
16544
|
*
|
|
15394
16545
|
* @remarks
|
|
15395
|
-
*
|
|
15396
|
-
* ##
|
|
15397
|
-
*
|
|
16546
|
+
* This operation is typically used to modify the configuration of an access control policy that allows, denies, or monitors traffic passing through Cloud Firewall.
|
|
16547
|
+
* ## Before you begin
|
|
16548
|
+
* Before calling this operation, call DescribeControlPolicy and pass the same Direction parameter to obtain the current policy list and the number of policies. This helps you determine the valid value range of the Order parameter, which is from 1 to the number of policies.
|
|
16549
|
+
* ## Rate limit
|
|
16550
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
|
|
15398
16551
|
*
|
|
15399
16552
|
* @param request - ModifyControlPolicyPriorityRequest
|
|
15400
16553
|
* @returns ModifyControlPolicyPriorityResponse
|
|
@@ -15559,7 +16712,14 @@ export default class Client extends OpenApi {
|
|
|
15559
16712
|
}
|
|
15560
16713
|
|
|
15561
16714
|
/**
|
|
15562
|
-
*
|
|
16715
|
+
* Modifies the route policy switch.
|
|
16716
|
+
*
|
|
16717
|
+
* @remarks
|
|
16718
|
+
* This operation modifies the route policy switch of the virtual private cloud (VPC) firewalls for a transit router (TR).
|
|
16719
|
+
* ## Before you begin
|
|
16720
|
+
* - You have created virtual private cloud (VPC) firewalls for a transit router (TR) and obtained the FirewallId by calling CreateTrFirewallV2.
|
|
16721
|
+
* - You have created a route policy and obtained the TrFirewallRoutePolicyId by calling CreateTrFirewallV2RoutePolicy.
|
|
16722
|
+
* - You can call DescribeTrFirewallsV2List and DescribeTrFirewallV2RoutePolicyList to query and confirm the preceding resources.
|
|
15563
16723
|
*
|
|
15564
16724
|
* @param request - ModifyFirewallV2RoutePolicySwitchRequest
|
|
15565
16725
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15606,7 +16766,14 @@ export default class Client extends OpenApi {
|
|
|
15606
16766
|
}
|
|
15607
16767
|
|
|
15608
16768
|
/**
|
|
15609
|
-
*
|
|
16769
|
+
* Modifies the route policy switch.
|
|
16770
|
+
*
|
|
16771
|
+
* @remarks
|
|
16772
|
+
* This operation modifies the route policy switch of the virtual private cloud (VPC) firewalls for a transit router (TR).
|
|
16773
|
+
* ## Before you begin
|
|
16774
|
+
* - You have created virtual private cloud (VPC) firewalls for a transit router (TR) and obtained the FirewallId by calling CreateTrFirewallV2.
|
|
16775
|
+
* - You have created a route policy and obtained the TrFirewallRoutePolicyId by calling CreateTrFirewallV2RoutePolicy.
|
|
16776
|
+
* - You can call DescribeTrFirewallsV2List and DescribeTrFirewallV2RoutePolicyList to query and confirm the preceding resources.
|
|
15610
16777
|
*
|
|
15611
16778
|
* @param request - ModifyFirewallV2RoutePolicySwitchRequest
|
|
15612
16779
|
* @returns ModifyFirewallV2RoutePolicySwitchResponse
|
|
@@ -15735,7 +16902,10 @@ export default class Client extends OpenApi {
|
|
|
15735
16902
|
}
|
|
15736
16903
|
|
|
15737
16904
|
/**
|
|
15738
|
-
*
|
|
16905
|
+
* Restores IPS rules to default.
|
|
16906
|
+
*
|
|
16907
|
+
* @remarks
|
|
16908
|
+
* Restores user-defined intrusion prevention system (IPS) rules to the system defaults by deleting user override records. After restoration, the rules follow the default values of the rule library. This operation uses the FirewallType parameter to determine the scope and input constraints:\\n- **InternetFirewall / VpcFirewall**: The scope is the entire account. RuleType is required. You must specify at least one of Rules or AttackApp.\\n- **NatFirewall**: The scope is a single NAT firewall instance specified by ProxyId. RuleType is optional. Both Rules and AttackApp are optional.\\nThe two branches handle an empty array for Rules differently. For the Internet or VPC firewall, passing [] is equivalent to restoring all rules of the specified RuleType. For the NAT firewall, passing [] returns a 400 ErrorParameters error. To restore all rules for a NAT firewall, do not pass the Rules parameter.
|
|
15739
16909
|
*
|
|
15740
16910
|
* @param request - ModifyIpsRulesToDefaultRequest
|
|
15741
16911
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15760,6 +16930,10 @@ export default class Client extends OpenApi {
|
|
|
15760
16930
|
query["Lang"] = request.lang;
|
|
15761
16931
|
}
|
|
15762
16932
|
|
|
16933
|
+
if (!$dara.isNull(request.proxyId)) {
|
|
16934
|
+
query["ProxyId"] = request.proxyId;
|
|
16935
|
+
}
|
|
16936
|
+
|
|
15763
16937
|
if (!$dara.isNull(request.ruleType)) {
|
|
15764
16938
|
query["RuleType"] = request.ruleType;
|
|
15765
16939
|
}
|
|
@@ -15790,7 +16964,10 @@ export default class Client extends OpenApi {
|
|
|
15790
16964
|
}
|
|
15791
16965
|
|
|
15792
16966
|
/**
|
|
15793
|
-
*
|
|
16967
|
+
* Restores IPS rules to default.
|
|
16968
|
+
*
|
|
16969
|
+
* @remarks
|
|
16970
|
+
* Restores user-defined intrusion prevention system (IPS) rules to the system defaults by deleting user override records. After restoration, the rules follow the default values of the rule library. This operation uses the FirewallType parameter to determine the scope and input constraints:\\n- **InternetFirewall / VpcFirewall**: The scope is the entire account. RuleType is required. You must specify at least one of Rules or AttackApp.\\n- **NatFirewall**: The scope is a single NAT firewall instance specified by ProxyId. RuleType is optional. Both Rules and AttackApp are optional.\\nThe two branches handle an empty array for Rules differently. For the Internet or VPC firewall, passing [] is equivalent to restoring all rules of the specified RuleType. For the NAT firewall, passing [] returns a 400 ErrorParameters error. To restore all rules for a NAT firewall, do not pass the Rules parameter.
|
|
15794
16971
|
*
|
|
15795
16972
|
* @param request - ModifyIpsRulesToDefaultRequest
|
|
15796
16973
|
* @returns ModifyIpsRulesToDefaultResponse
|
|
@@ -15995,7 +17172,15 @@ export default class Client extends OpenApi {
|
|
|
15995
17172
|
}
|
|
15996
17173
|
|
|
15997
17174
|
/**
|
|
15998
|
-
* Modifies
|
|
17175
|
+
* Modifies object group operations.
|
|
17176
|
+
*
|
|
17177
|
+
* @remarks
|
|
17178
|
+
* ## Before you begin
|
|
17179
|
+
* - Before you call this operation, you must activate a Cloud Firewall instance.
|
|
17180
|
+
* - You can call [DescribeUserBuyVersion](~~DescribeUserBuyVersion~~) to query the activation status. The UserStatus field in the response indicates whether the Cloud Firewall instance is valid. A value of false indicates that the instance is invalid or not activated.
|
|
17181
|
+
* - Activate a Cloud Firewall instance:
|
|
17182
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
17183
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
15999
17184
|
*
|
|
16000
17185
|
* @param request - ModifyObjectGroupOperationRequest
|
|
16001
17186
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16050,7 +17235,15 @@ export default class Client extends OpenApi {
|
|
|
16050
17235
|
}
|
|
16051
17236
|
|
|
16052
17237
|
/**
|
|
16053
|
-
* Modifies
|
|
17238
|
+
* Modifies object group operations.
|
|
17239
|
+
*
|
|
17240
|
+
* @remarks
|
|
17241
|
+
* ## Before you begin
|
|
17242
|
+
* - Before you call this operation, you must activate a Cloud Firewall instance.
|
|
17243
|
+
* - You can call [DescribeUserBuyVersion](~~DescribeUserBuyVersion~~) to query the activation status. The UserStatus field in the response indicates whether the Cloud Firewall instance is valid. A value of false indicates that the instance is invalid or not activated.
|
|
17244
|
+
* - Activate a Cloud Firewall instance:
|
|
17245
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
17246
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
16054
17247
|
*
|
|
16055
17248
|
* @param request - ModifyObjectGroupOperationRequest
|
|
16056
17249
|
* @returns ModifyObjectGroupOperationResponse
|
|
@@ -17347,7 +18540,7 @@ export default class Client extends OpenApi {
|
|
|
17347
18540
|
}
|
|
17348
18541
|
|
|
17349
18542
|
/**
|
|
17350
|
-
* Modifies the
|
|
18543
|
+
* Modifies the IPS whitelist for a VPC firewall. Before calling this operation, ensure that Cloud Firewall is activated. You can check the activation status by using the UserStatus parameter returned by the DescribeUserBuyVersion operation. A value of false indicates that Cloud Firewall is not activated.
|
|
17351
18544
|
*
|
|
17352
18545
|
* @param request - ModifyVpcFirewallIPSWhitelistRequest
|
|
17353
18546
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17398,7 +18591,7 @@ export default class Client extends OpenApi {
|
|
|
17398
18591
|
}
|
|
17399
18592
|
|
|
17400
18593
|
/**
|
|
17401
|
-
* Modifies the
|
|
18594
|
+
* Modifies the IPS whitelist for a VPC firewall. Before calling this operation, ensure that Cloud Firewall is activated. You can check the activation status by using the UserStatus parameter returned by the DescribeUserBuyVersion operation. A value of false indicates that Cloud Firewall is not activated.
|
|
17402
18595
|
*
|
|
17403
18596
|
* @param request - ModifyVpcFirewallIPSWhitelistRequest
|
|
17404
18597
|
* @returns ModifyVpcFirewallIPSWhitelistResponse
|
|
@@ -18082,10 +19275,18 @@ export default class Client extends OpenApi {
|
|
|
18082
19275
|
query["Lang"] = request.lang;
|
|
18083
19276
|
}
|
|
18084
19277
|
|
|
19278
|
+
if (!$dara.isNull(request.natRouteEntryList)) {
|
|
19279
|
+
query["NatRouteEntryList"] = request.natRouteEntryList;
|
|
19280
|
+
}
|
|
19281
|
+
|
|
18085
19282
|
if (!$dara.isNull(request.proxyId)) {
|
|
18086
19283
|
query["ProxyId"] = request.proxyId;
|
|
18087
19284
|
}
|
|
18088
19285
|
|
|
19286
|
+
if (!$dara.isNull(request.routeAction)) {
|
|
19287
|
+
query["RouteAction"] = request.routeAction;
|
|
19288
|
+
}
|
|
19289
|
+
|
|
18089
19290
|
if (!$dara.isNull(request.switch)) {
|
|
18090
19291
|
query["Switch"] = request.switch;
|
|
18091
19292
|
}
|
|
@@ -18220,8 +19421,8 @@ export default class Client extends OpenApi {
|
|
|
18220
19421
|
* Modifies the status of an ACL check detail.
|
|
18221
19422
|
*
|
|
18222
19423
|
* @remarks
|
|
18223
|
-
* ## QPS
|
|
18224
|
-
* The QPS limit for a single user is 10
|
|
19424
|
+
* ## QPS limits
|
|
19425
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
18225
19426
|
*
|
|
18226
19427
|
* @param request - UpdateAclCheckDetailStatusRequest
|
|
18227
19428
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18267,8 +19468,8 @@ export default class Client extends OpenApi {
|
|
|
18267
19468
|
* Modifies the status of an ACL check detail.
|
|
18268
19469
|
*
|
|
18269
19470
|
* @remarks
|
|
18270
|
-
* ## QPS
|
|
18271
|
-
* The QPS limit for a single user is 10
|
|
19471
|
+
* ## QPS limits
|
|
19472
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
|
|
18272
19473
|
*
|
|
18273
19474
|
* @param request - UpdateAclCheckDetailStatusRequest
|
|
18274
19475
|
* @returns UpdateAclCheckDetailStatusResponse
|
|
@@ -18278,6 +19479,192 @@ export default class Client extends OpenApi {
|
|
|
18278
19479
|
return await this.updateAclCheckDetailStatusWithOptions(request, runtime);
|
|
18279
19480
|
}
|
|
18280
19481
|
|
|
19482
|
+
/**
|
|
19483
|
+
* Modifies custom application rules in batches. You can modify up to 20 rules at a time. The template to which a rule belongs is queried based on the rule ID, so you do not need to specify the template ID.
|
|
19484
|
+
*
|
|
19485
|
+
* @param tmpReq - UpdateApplicationCustomRulesRequest
|
|
19486
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19487
|
+
* @returns UpdateApplicationCustomRulesResponse
|
|
19488
|
+
*/
|
|
19489
|
+
async updateApplicationCustomRulesWithOptions(tmpReq: $_model.UpdateApplicationCustomRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApplicationCustomRulesResponse> {
|
|
19490
|
+
tmpReq.validate();
|
|
19491
|
+
let request = new $_model.UpdateApplicationCustomRulesShrinkRequest({ });
|
|
19492
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
19493
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
19494
|
+
request.rulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
19495
|
+
}
|
|
19496
|
+
|
|
19497
|
+
let query = { };
|
|
19498
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
19499
|
+
query["Rules"] = request.rulesShrink;
|
|
19500
|
+
}
|
|
19501
|
+
|
|
19502
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19503
|
+
query: OpenApiUtil.query(query),
|
|
19504
|
+
});
|
|
19505
|
+
let params = new $OpenApiUtil.Params({
|
|
19506
|
+
action: "UpdateApplicationCustomRules",
|
|
19507
|
+
version: "2017-12-07",
|
|
19508
|
+
protocol: "HTTPS",
|
|
19509
|
+
pathname: "/",
|
|
19510
|
+
method: "POST",
|
|
19511
|
+
authType: "AK",
|
|
19512
|
+
style: "RPC",
|
|
19513
|
+
reqBodyType: "formData",
|
|
19514
|
+
bodyType: "json",
|
|
19515
|
+
});
|
|
19516
|
+
return $dara.cast<$_model.UpdateApplicationCustomRulesResponse>(await this.callApi(params, req, runtime), new $_model.UpdateApplicationCustomRulesResponse({}));
|
|
19517
|
+
}
|
|
19518
|
+
|
|
19519
|
+
/**
|
|
19520
|
+
* Modifies custom application rules in batches. You can modify up to 20 rules at a time. The template to which a rule belongs is queried based on the rule ID, so you do not need to specify the template ID.
|
|
19521
|
+
*
|
|
19522
|
+
* @param request - UpdateApplicationCustomRulesRequest
|
|
19523
|
+
* @returns UpdateApplicationCustomRulesResponse
|
|
19524
|
+
*/
|
|
19525
|
+
async updateApplicationCustomRules(request: $_model.UpdateApplicationCustomRulesRequest): Promise<$_model.UpdateApplicationCustomRulesResponse> {
|
|
19526
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19527
|
+
return await this.updateApplicationCustomRulesWithOptions(request, runtime);
|
|
19528
|
+
}
|
|
19529
|
+
|
|
19530
|
+
/**
|
|
19531
|
+
* Modifies the name, switch status, action for unidentified applications, or custom actions for built-in applications of an application template. The template ID must belong to the current Alibaba Cloud account.
|
|
19532
|
+
*
|
|
19533
|
+
* @remarks
|
|
19534
|
+
* ## QPS limit
|
|
19535
|
+
* The queries per second (QPS) limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
19536
|
+
*
|
|
19537
|
+
* @param tmpReq - UpdateApplicationTemplateRequest
|
|
19538
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19539
|
+
* @returns UpdateApplicationTemplateResponse
|
|
19540
|
+
*/
|
|
19541
|
+
async updateApplicationTemplateWithOptions(tmpReq: $_model.UpdateApplicationTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApplicationTemplateResponse> {
|
|
19542
|
+
tmpReq.validate();
|
|
19543
|
+
let request = new $_model.UpdateApplicationTemplateShrinkRequest({ });
|
|
19544
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
19545
|
+
if (!$dara.isNull(tmpReq.addBuiltInApplicationCustomActions)) {
|
|
19546
|
+
request.addBuiltInApplicationCustomActionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.addBuiltInApplicationCustomActions, "AddBuiltInApplicationCustomActions", "json");
|
|
19547
|
+
}
|
|
19548
|
+
|
|
19549
|
+
if (!$dara.isNull(tmpReq.removeBuiltInApplicationCustomActions)) {
|
|
19550
|
+
request.removeBuiltInApplicationCustomActionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.removeBuiltInApplicationCustomActions, "RemoveBuiltInApplicationCustomActions", "json");
|
|
19551
|
+
}
|
|
19552
|
+
|
|
19553
|
+
let query = { };
|
|
19554
|
+
if (!$dara.isNull(request.addBuiltInApplicationCustomActionsShrink)) {
|
|
19555
|
+
query["AddBuiltInApplicationCustomActions"] = request.addBuiltInApplicationCustomActionsShrink;
|
|
19556
|
+
}
|
|
19557
|
+
|
|
19558
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
19559
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
19560
|
+
}
|
|
19561
|
+
|
|
19562
|
+
if (!$dara.isNull(request.applicationTemplateName)) {
|
|
19563
|
+
query["ApplicationTemplateName"] = request.applicationTemplateName;
|
|
19564
|
+
}
|
|
19565
|
+
|
|
19566
|
+
if (!$dara.isNull(request.builtInApplicationStatus)) {
|
|
19567
|
+
query["BuiltInApplicationStatus"] = request.builtInApplicationStatus;
|
|
19568
|
+
}
|
|
19569
|
+
|
|
19570
|
+
if (!$dara.isNull(request.customRuleStatus)) {
|
|
19571
|
+
query["CustomRuleStatus"] = request.customRuleStatus;
|
|
19572
|
+
}
|
|
19573
|
+
|
|
19574
|
+
if (!$dara.isNull(request.description)) {
|
|
19575
|
+
query["Description"] = request.description;
|
|
19576
|
+
}
|
|
19577
|
+
|
|
19578
|
+
if (!$dara.isNull(request.removeBuiltInApplicationCustomActionsShrink)) {
|
|
19579
|
+
query["RemoveBuiltInApplicationCustomActions"] = request.removeBuiltInApplicationCustomActionsShrink;
|
|
19580
|
+
}
|
|
19581
|
+
|
|
19582
|
+
if (!$dara.isNull(request.templateStatus)) {
|
|
19583
|
+
query["TemplateStatus"] = request.templateStatus;
|
|
19584
|
+
}
|
|
19585
|
+
|
|
19586
|
+
if (!$dara.isNull(request.unknownAction)) {
|
|
19587
|
+
query["UnknownAction"] = request.unknownAction;
|
|
19588
|
+
}
|
|
19589
|
+
|
|
19590
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19591
|
+
query: OpenApiUtil.query(query),
|
|
19592
|
+
});
|
|
19593
|
+
let params = new $OpenApiUtil.Params({
|
|
19594
|
+
action: "UpdateApplicationTemplate",
|
|
19595
|
+
version: "2017-12-07",
|
|
19596
|
+
protocol: "HTTPS",
|
|
19597
|
+
pathname: "/",
|
|
19598
|
+
method: "POST",
|
|
19599
|
+
authType: "AK",
|
|
19600
|
+
style: "RPC",
|
|
19601
|
+
reqBodyType: "formData",
|
|
19602
|
+
bodyType: "json",
|
|
19603
|
+
});
|
|
19604
|
+
return $dara.cast<$_model.UpdateApplicationTemplateResponse>(await this.callApi(params, req, runtime), new $_model.UpdateApplicationTemplateResponse({}));
|
|
19605
|
+
}
|
|
19606
|
+
|
|
19607
|
+
/**
|
|
19608
|
+
* Modifies the name, switch status, action for unidentified applications, or custom actions for built-in applications of an application template. The template ID must belong to the current Alibaba Cloud account.
|
|
19609
|
+
*
|
|
19610
|
+
* @remarks
|
|
19611
|
+
* ## QPS limit
|
|
19612
|
+
* The queries per second (QPS) limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
19613
|
+
*
|
|
19614
|
+
* @param request - UpdateApplicationTemplateRequest
|
|
19615
|
+
* @returns UpdateApplicationTemplateResponse
|
|
19616
|
+
*/
|
|
19617
|
+
async updateApplicationTemplate(request: $_model.UpdateApplicationTemplateRequest): Promise<$_model.UpdateApplicationTemplateResponse> {
|
|
19618
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19619
|
+
return await this.updateApplicationTemplateWithOptions(request, runtime);
|
|
19620
|
+
}
|
|
19621
|
+
|
|
19622
|
+
/**
|
|
19623
|
+
* Enables the application control or web filtering feature for the current Alibaba Cloud account. Only enabling is supported. This feature cannot be enabled for Finance Cloud Free Edition or pay-as-you-go 1.0 instances.
|
|
19624
|
+
*
|
|
19625
|
+
* @param request - UpdateFirewallFeatureRequest
|
|
19626
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19627
|
+
* @returns UpdateFirewallFeatureResponse
|
|
19628
|
+
*/
|
|
19629
|
+
async updateFirewallFeatureWithOptions(request: $_model.UpdateFirewallFeatureRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFirewallFeatureResponse> {
|
|
19630
|
+
request.validate();
|
|
19631
|
+
let query = { };
|
|
19632
|
+
if (!$dara.isNull(request.featureName)) {
|
|
19633
|
+
query["FeatureName"] = request.featureName;
|
|
19634
|
+
}
|
|
19635
|
+
|
|
19636
|
+
if (!$dara.isNull(request.status)) {
|
|
19637
|
+
query["Status"] = request.status;
|
|
19638
|
+
}
|
|
19639
|
+
|
|
19640
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19641
|
+
query: OpenApiUtil.query(query),
|
|
19642
|
+
});
|
|
19643
|
+
let params = new $OpenApiUtil.Params({
|
|
19644
|
+
action: "UpdateFirewallFeature",
|
|
19645
|
+
version: "2017-12-07",
|
|
19646
|
+
protocol: "HTTPS",
|
|
19647
|
+
pathname: "/",
|
|
19648
|
+
method: "POST",
|
|
19649
|
+
authType: "AK",
|
|
19650
|
+
style: "RPC",
|
|
19651
|
+
reqBodyType: "formData",
|
|
19652
|
+
bodyType: "json",
|
|
19653
|
+
});
|
|
19654
|
+
return $dara.cast<$_model.UpdateFirewallFeatureResponse>(await this.callApi(params, req, runtime), new $_model.UpdateFirewallFeatureResponse({}));
|
|
19655
|
+
}
|
|
19656
|
+
|
|
19657
|
+
/**
|
|
19658
|
+
* Enables the application control or web filtering feature for the current Alibaba Cloud account. Only enabling is supported. This feature cannot be enabled for Finance Cloud Free Edition or pay-as-you-go 1.0 instances.
|
|
19659
|
+
*
|
|
19660
|
+
* @param request - UpdateFirewallFeatureRequest
|
|
19661
|
+
* @returns UpdateFirewallFeatureResponse
|
|
19662
|
+
*/
|
|
19663
|
+
async updateFirewallFeature(request: $_model.UpdateFirewallFeatureRequest): Promise<$_model.UpdateFirewallFeatureResponse> {
|
|
19664
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19665
|
+
return await this.updateFirewallFeatureWithOptions(request, runtime);
|
|
19666
|
+
}
|
|
19667
|
+
|
|
18281
19668
|
/**
|
|
18282
19669
|
* Updates the status of the Internet Border switch module for pay-as-you-go users.
|
|
18283
19670
|
*
|
|
@@ -18482,6 +19869,108 @@ export default class Client extends OpenApi {
|
|
|
18482
19869
|
return await this.updateSecurityProxyWithOptions(request, runtime);
|
|
18483
19870
|
}
|
|
18484
19871
|
|
|
19872
|
+
/**
|
|
19873
|
+
* Updates the actions and match conditions of web filtering rules in batches. You can update up to 20 rules at a time. The rule IDs in the list must be unique.
|
|
19874
|
+
*
|
|
19875
|
+
* @param tmpReq - UpdateWebFilterRulesRequest
|
|
19876
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19877
|
+
* @returns UpdateWebFilterRulesResponse
|
|
19878
|
+
*/
|
|
19879
|
+
async updateWebFilterRulesWithOptions(tmpReq: $_model.UpdateWebFilterRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWebFilterRulesResponse> {
|
|
19880
|
+
tmpReq.validate();
|
|
19881
|
+
let request = new $_model.UpdateWebFilterRulesShrinkRequest({ });
|
|
19882
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
19883
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
19884
|
+
request.rulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
19885
|
+
}
|
|
19886
|
+
|
|
19887
|
+
let query = { };
|
|
19888
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
19889
|
+
query["Rules"] = request.rulesShrink;
|
|
19890
|
+
}
|
|
19891
|
+
|
|
19892
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19893
|
+
query: OpenApiUtil.query(query),
|
|
19894
|
+
});
|
|
19895
|
+
let params = new $OpenApiUtil.Params({
|
|
19896
|
+
action: "UpdateWebFilterRules",
|
|
19897
|
+
version: "2017-12-07",
|
|
19898
|
+
protocol: "HTTPS",
|
|
19899
|
+
pathname: "/",
|
|
19900
|
+
method: "POST",
|
|
19901
|
+
authType: "AK",
|
|
19902
|
+
style: "RPC",
|
|
19903
|
+
reqBodyType: "formData",
|
|
19904
|
+
bodyType: "json",
|
|
19905
|
+
});
|
|
19906
|
+
return $dara.cast<$_model.UpdateWebFilterRulesResponse>(await this.callApi(params, req, runtime), new $_model.UpdateWebFilterRulesResponse({}));
|
|
19907
|
+
}
|
|
19908
|
+
|
|
19909
|
+
/**
|
|
19910
|
+
* Updates the actions and match conditions of web filtering rules in batches. You can update up to 20 rules at a time. The rule IDs in the list must be unique.
|
|
19911
|
+
*
|
|
19912
|
+
* @param request - UpdateWebFilterRulesRequest
|
|
19913
|
+
* @returns UpdateWebFilterRulesResponse
|
|
19914
|
+
*/
|
|
19915
|
+
async updateWebFilterRules(request: $_model.UpdateWebFilterRulesRequest): Promise<$_model.UpdateWebFilterRulesResponse> {
|
|
19916
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19917
|
+
return await this.updateWebFilterRulesWithOptions(request, runtime);
|
|
19918
|
+
}
|
|
19919
|
+
|
|
19920
|
+
/**
|
|
19921
|
+
* Modifies the name, status, or description of a web filtering template. The template ID must belong to the current Alibaba Cloud account.
|
|
19922
|
+
*
|
|
19923
|
+
* @param request - UpdateWebFilterTemplateRequest
|
|
19924
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19925
|
+
* @returns UpdateWebFilterTemplateResponse
|
|
19926
|
+
*/
|
|
19927
|
+
async updateWebFilterTemplateWithOptions(request: $_model.UpdateWebFilterTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWebFilterTemplateResponse> {
|
|
19928
|
+
request.validate();
|
|
19929
|
+
let query = { };
|
|
19930
|
+
if (!$dara.isNull(request.description)) {
|
|
19931
|
+
query["Description"] = request.description;
|
|
19932
|
+
}
|
|
19933
|
+
|
|
19934
|
+
if (!$dara.isNull(request.name)) {
|
|
19935
|
+
query["Name"] = request.name;
|
|
19936
|
+
}
|
|
19937
|
+
|
|
19938
|
+
if (!$dara.isNull(request.status)) {
|
|
19939
|
+
query["Status"] = request.status;
|
|
19940
|
+
}
|
|
19941
|
+
|
|
19942
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
19943
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
19944
|
+
}
|
|
19945
|
+
|
|
19946
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19947
|
+
query: OpenApiUtil.query(query),
|
|
19948
|
+
});
|
|
19949
|
+
let params = new $OpenApiUtil.Params({
|
|
19950
|
+
action: "UpdateWebFilterTemplate",
|
|
19951
|
+
version: "2017-12-07",
|
|
19952
|
+
protocol: "HTTPS",
|
|
19953
|
+
pathname: "/",
|
|
19954
|
+
method: "POST",
|
|
19955
|
+
authType: "AK",
|
|
19956
|
+
style: "RPC",
|
|
19957
|
+
reqBodyType: "formData",
|
|
19958
|
+
bodyType: "json",
|
|
19959
|
+
});
|
|
19960
|
+
return $dara.cast<$_model.UpdateWebFilterTemplateResponse>(await this.callApi(params, req, runtime), new $_model.UpdateWebFilterTemplateResponse({}));
|
|
19961
|
+
}
|
|
19962
|
+
|
|
19963
|
+
/**
|
|
19964
|
+
* Modifies the name, status, or description of a web filtering template. The template ID must belong to the current Alibaba Cloud account.
|
|
19965
|
+
*
|
|
19966
|
+
* @param request - UpdateWebFilterTemplateRequest
|
|
19967
|
+
* @returns UpdateWebFilterTemplateResponse
|
|
19968
|
+
*/
|
|
19969
|
+
async updateWebFilterTemplate(request: $_model.UpdateWebFilterTemplateRequest): Promise<$_model.UpdateWebFilterTemplateResponse> {
|
|
19970
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19971
|
+
return await this.updateWebFilterTemplateWithOptions(request, runtime);
|
|
19972
|
+
}
|
|
19973
|
+
|
|
18485
19974
|
/**
|
|
18486
19975
|
* Restores an access control backup.
|
|
18487
19976
|
*
|