@alicloud/cloudfw20171207 8.5.0 → 8.6.0
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 +701 -236
- package/dist/client.js +1578 -316
- 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/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 +18 -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 +18 -0
- package/dist/models/DeleteApplicationCustomRulesResponseBody.js +58 -0
- package/dist/models/DeleteApplicationCustomRulesResponseBody.js.map +1 -0
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.d.ts +18 -0
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.js +58 -0
- package/dist/models/DeleteApplicationCustomRulesShrinkRequest.js.map +1 -0
- package/dist/models/DeleteApplicationTemplateRequest.d.ts +18 -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 +18 -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 +3 -3
- package/dist/models/DescribeAckClustersResponseBody.d.ts +29 -16
- 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 +18 -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 +87 -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/DescribeBatchSlsDispatchStatusResponseBody.d.ts +13 -13
- package/dist/models/DescribeCfwRiskLevelSummaryRequest.d.ts +0 -1
- package/dist/models/DescribeCfwRiskLevelSummaryRequest.js.map +1 -1
- package/dist/models/DescribeConfiguredDomainNamesRequest.d.ts +1 -1
- package/dist/models/DescribeConfiguredDomainNamesResponseBody.d.ts +4 -4
- 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/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 +11 -11
- package/dist/models/DescribeEventLogResponseBody.d.ts +12 -12
- 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/DescribeFirewallTrafficTrendRequest.d.ts +7 -7
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +12 -12
- package/dist/models/DescribeFirewallVswitchResourcesRequest.d.ts +2 -2
- package/dist/models/DescribeFirewallVswitchResourcesResponseBody.d.ts +5 -5
- 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 +7 -7
- 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 +83 -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/DescribeIspInfoResponseBody.d.ts +1 -1
- package/dist/models/DescribeNatFirewallPrecheckDetailRequest.d.ts +2 -2
- package/dist/models/DescribeNatFirewallPrecheckDetailResponseBody.d.ts +11 -11
- 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/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/DescribeTrFirewallsV2detailRequest.d.ts +3 -3
- package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +28 -28
- 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 +61 -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 +94 -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 +28 -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 +79 -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 +39 -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 +99 -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/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/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 +103 -0
- package/dist/models/model.js +231 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +1681 -274
- 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/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 +34 -0
- package/src/models/DeleteApplicationCustomRulesResponse.ts +40 -0
- package/src/models/DeleteApplicationCustomRulesResponseBody.ts +31 -0
- package/src/models/DeleteApplicationCustomRulesShrinkRequest.ts +31 -0
- package/src/models/DeleteApplicationTemplateRequest.ts +31 -0
- package/src/models/DeleteApplicationTemplateResponse.ts +40 -0
- package/src/models/DeleteApplicationTemplateResponseBody.ts +31 -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 +3 -3
- package/src/models/DescribeAckClustersResponseBody.ts +29 -16
- 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 +31 -0
- package/src/models/DescribeApplicationStatisticsResponse.ts +40 -0
- package/src/models/DescribeApplicationStatisticsResponseBody.ts +151 -0
- package/src/models/DescribeAssetRiskListRequest.ts +4 -7
- package/src/models/DescribeAssetRiskListResponseBody.ts +11 -14
- package/src/models/DescribeBatchSlsDispatchStatusResponseBody.ts +13 -13
- package/src/models/DescribeCfwRiskLevelSummaryRequest.ts +0 -1
- package/src/models/DescribeConfiguredDomainNamesRequest.ts +1 -1
- package/src/models/DescribeConfiguredDomainNamesResponseBody.ts +4 -4
- package/src/models/DescribeControlPolicyDomainResolveRequest.ts +3 -5
- package/src/models/DescribeControlPolicyDomainResolveResponseBody.ts +2 -2
- package/src/models/DescribeDownloadTaskRequest.ts +5 -6
- package/src/models/DescribeDownloadTaskResponseBody.ts +7 -10
- package/src/models/DescribeEventLogRequest.ts +11 -11
- package/src/models/DescribeEventLogResponseBody.ts +12 -12
- package/src/models/DescribeFirewallDropStatisticsResponseBody.ts +4 -4
- package/src/models/DescribeFirewallDropTrendRequest.ts +3 -3
- package/src/models/DescribeFirewallDropTrendResponseBody.ts +4 -6
- package/src/models/DescribeFirewallTrafficTrendRequest.ts +7 -7
- package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +12 -12
- package/src/models/DescribeFirewallVswitchResourcesRequest.ts +2 -2
- package/src/models/DescribeFirewallVswitchResourcesResponseBody.ts +5 -5
- 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 +7 -7
- 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 +110 -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/DescribeIspInfoResponseBody.ts +1 -1
- package/src/models/DescribeNatFirewallPrecheckDetailRequest.ts +2 -2
- package/src/models/DescribeNatFirewallPrecheckDetailResponseBody.ts +11 -11
- 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/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/DescribeTrFirewallsV2detailRequest.ts +3 -3
- package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +28 -28
- 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 +90 -0
- package/src/models/ListApplicationCustomRulesResponse.ts +40 -0
- package/src/models/ListApplicationCustomRulesResponseBody.ts +153 -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 +45 -0
- package/src/models/ListApplicationUpdateDynamicsResponse.ts +40 -0
- package/src/models/ListApplicationUpdateDynamicsResponseBody.ts +132 -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 +65 -0
- package/src/models/ListWebFilterTemplatesResponse.ts +40 -0
- package/src/models/ListWebFilterTemplatesResponseBody.ts +160 -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/ModifyObjectGroupOperationRequest.ts +15 -15
- package/src/models/ModifyVpcFirewallIpswhitelistRequest.ts +6 -12
- package/src/models/ReleaseExpiredInstanceResponseBody.ts +2 -4
- 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 +103 -0
package/dist/client.js
CHANGED
|
@@ -41,6 +41,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
// This file is auto-generated, don't edit it
|
|
43
43
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
44
|
+
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
44
45
|
const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
|
|
45
46
|
const openapi_core_2 = require("@alicloud/openapi-core");
|
|
46
47
|
const $_model = __importStar(require("./models/model"));
|
|
@@ -48,6 +49,9 @@ __exportStar(require("./models/model"), exports);
|
|
|
48
49
|
class Client extends openapi_core_1.default {
|
|
49
50
|
constructor(config) {
|
|
50
51
|
super(config);
|
|
52
|
+
this._productId = "Cloudfw";
|
|
53
|
+
let gatewayClient = new gateway_pop_1.default();
|
|
54
|
+
this._spi = gatewayClient;
|
|
51
55
|
this._endpointRule = "central";
|
|
52
56
|
this._endpointMap = {
|
|
53
57
|
'ap-southeast-1': "cloudfw.ap-southeast-1.aliyuncs.com",
|
|
@@ -338,13 +342,13 @@ class Client extends openapi_core_1.default {
|
|
|
338
342
|
return await this.addControlPolicyWithOptions(request, runtime);
|
|
339
343
|
}
|
|
340
344
|
/**
|
|
341
|
-
*
|
|
345
|
+
* Creates a DNS firewall ACL.
|
|
342
346
|
*
|
|
343
347
|
* @remarks
|
|
344
348
|
* Creates a DNS firewall access control policy to allow, deny, or monitor traffic that passes through the DNS firewall.
|
|
345
349
|
* ## Quotas
|
|
346
350
|
* 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).
|
|
347
|
-
* > The DescribeAclCheckQuota operation returns the quota for the number of ACL policy checks, which is unrelated to firewall policy count quota
|
|
351
|
+
* > 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.
|
|
348
352
|
*
|
|
349
353
|
* @param request - AddDnsFirewallPolicyRequest
|
|
350
354
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -406,13 +410,13 @@ class Client extends openapi_core_1.default {
|
|
|
406
410
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddDnsFirewallPolicyResponse({}));
|
|
407
411
|
}
|
|
408
412
|
/**
|
|
409
|
-
*
|
|
413
|
+
* Creates a DNS firewall ACL.
|
|
410
414
|
*
|
|
411
415
|
* @remarks
|
|
412
416
|
* Creates a DNS firewall access control policy to allow, deny, or monitor traffic that passes through the DNS firewall.
|
|
413
417
|
* ## Quotas
|
|
414
418
|
* 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).
|
|
415
|
-
* > The DescribeAclCheckQuota operation returns the quota for the number of ACL policy checks, which is unrelated to firewall policy count quota
|
|
419
|
+
* > 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.
|
|
416
420
|
*
|
|
417
421
|
* @param request - AddDnsFirewallPolicyRequest
|
|
418
422
|
* @returns AddDnsFirewallPolicyResponse
|
|
@@ -424,6 +428,12 @@ class Client extends openapi_core_1.default {
|
|
|
424
428
|
/**
|
|
425
429
|
* Creates a real-time domain name resolution task.
|
|
426
430
|
*
|
|
431
|
+
* @remarks
|
|
432
|
+
* This operation creates a real-time domain name resolution task for a specified domain name.
|
|
433
|
+
* ## Before you begin
|
|
434
|
+
* - 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).
|
|
435
|
+
* - 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.
|
|
436
|
+
*
|
|
427
437
|
* @param request - AddDomainResolveRealtimeTaskRequest
|
|
428
438
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
429
439
|
* @returns AddDomainResolveRealtimeTaskResponse
|
|
@@ -459,6 +469,12 @@ class Client extends openapi_core_1.default {
|
|
|
459
469
|
/**
|
|
460
470
|
* Creates a real-time domain name resolution task.
|
|
461
471
|
*
|
|
472
|
+
* @remarks
|
|
473
|
+
* This operation creates a real-time domain name resolution task for a specified domain name.
|
|
474
|
+
* ## Before you begin
|
|
475
|
+
* - 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).
|
|
476
|
+
* - 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.
|
|
477
|
+
*
|
|
462
478
|
* @param request - AddDomainResolveRealtimeTaskRequest
|
|
463
479
|
* @returns AddDomainResolveRealtimeTaskResponse
|
|
464
480
|
*/
|
|
@@ -527,7 +543,7 @@ class Client extends openapi_core_1.default {
|
|
|
527
543
|
* @remarks
|
|
528
544
|
* 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.
|
|
529
545
|
* ## QPS limits
|
|
530
|
-
* 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
|
|
546
|
+
* 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.
|
|
531
547
|
*
|
|
532
548
|
* @param request - AddPrivateDnsDomainNameRequest
|
|
533
549
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -567,7 +583,7 @@ class Client extends openapi_core_1.default {
|
|
|
567
583
|
* @remarks
|
|
568
584
|
* 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.
|
|
569
585
|
* ## QPS limits
|
|
570
|
-
* 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
|
|
586
|
+
* 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.
|
|
571
587
|
*
|
|
572
588
|
* @param request - AddPrivateDnsDomainNameRequest
|
|
573
589
|
* @returns AddPrivateDnsDomainNameResponse
|
|
@@ -731,7 +747,7 @@ class Client extends openapi_core_1.default {
|
|
|
731
747
|
*
|
|
732
748
|
* @remarks
|
|
733
749
|
* ## QPS limits
|
|
734
|
-
* The QPS limit for a single user is 10
|
|
750
|
+
* 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.
|
|
735
751
|
*
|
|
736
752
|
* @param request - CreateAckClusterConnectorRequest
|
|
737
753
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -788,7 +804,7 @@ class Client extends openapi_core_1.default {
|
|
|
788
804
|
*
|
|
789
805
|
* @remarks
|
|
790
806
|
* ## QPS limits
|
|
791
|
-
* The QPS limit for a single user is 10
|
|
807
|
+
* 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.
|
|
792
808
|
*
|
|
793
809
|
* @param request - CreateAckClusterConnectorRequest
|
|
794
810
|
* @returns CreateAckClusterConnectorResponse
|
|
@@ -842,6 +858,115 @@ class Client extends openapi_core_1.default {
|
|
|
842
858
|
let runtime = new $dara.RuntimeOptions({});
|
|
843
859
|
return await this.createAclCheckWithOptions(request, runtime);
|
|
844
860
|
}
|
|
861
|
+
/**
|
|
862
|
+
* Creates custom rules in batches under a specified application template. A maximum of 100 rules can be created at a time, and the total number of rules in the template cannot exceed 100.
|
|
863
|
+
*
|
|
864
|
+
* @param tmpReq - CreateApplicationCustomRulesRequest
|
|
865
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
866
|
+
* @returns CreateApplicationCustomRulesResponse
|
|
867
|
+
*/
|
|
868
|
+
async createApplicationCustomRulesWithOptions(tmpReq, runtime) {
|
|
869
|
+
tmpReq.validate();
|
|
870
|
+
let request = new $_model.CreateApplicationCustomRulesShrinkRequest({});
|
|
871
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
872
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
873
|
+
request.rulesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
874
|
+
}
|
|
875
|
+
let query = {};
|
|
876
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
877
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
878
|
+
}
|
|
879
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
880
|
+
query["Rules"] = request.rulesShrink;
|
|
881
|
+
}
|
|
882
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
883
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
884
|
+
});
|
|
885
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
886
|
+
action: "CreateApplicationCustomRules",
|
|
887
|
+
version: "2017-12-07",
|
|
888
|
+
protocol: "HTTPS",
|
|
889
|
+
pathname: "/",
|
|
890
|
+
method: "POST",
|
|
891
|
+
authType: "AK",
|
|
892
|
+
style: "RPC",
|
|
893
|
+
reqBodyType: "formData",
|
|
894
|
+
bodyType: "json",
|
|
895
|
+
});
|
|
896
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationCustomRulesResponse({}));
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* Creates custom rules in batches under a specified application template. A maximum of 100 rules can be created at a time, and the total number of rules in the template cannot exceed 100.
|
|
900
|
+
*
|
|
901
|
+
* @param request - CreateApplicationCustomRulesRequest
|
|
902
|
+
* @returns CreateApplicationCustomRulesResponse
|
|
903
|
+
*/
|
|
904
|
+
async createApplicationCustomRules(request) {
|
|
905
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
906
|
+
return await this.createApplicationCustomRulesWithOptions(request, runtime);
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Creates an application program template. The template is at user granularity and can be referenced by the access control policies of the Internet, NAT, and virtual private cloud (VPC) firewalls. Before creating a template, ensure that the application control feature is enabled and the number of templates does not exceed the quota of the instance specifications.
|
|
910
|
+
*
|
|
911
|
+
* @param tmpReq - CreateApplicationTemplateRequest
|
|
912
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
913
|
+
* @returns CreateApplicationTemplateResponse
|
|
914
|
+
*/
|
|
915
|
+
async createApplicationTemplateWithOptions(tmpReq, runtime) {
|
|
916
|
+
tmpReq.validate();
|
|
917
|
+
let request = new $_model.CreateApplicationTemplateShrinkRequest({});
|
|
918
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
919
|
+
if (!$dara.isNull(tmpReq.addBuiltInApplicationCustomActions)) {
|
|
920
|
+
request.addBuiltInApplicationCustomActionsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.addBuiltInApplicationCustomActions, "AddBuiltInApplicationCustomActions", "json");
|
|
921
|
+
}
|
|
922
|
+
let query = {};
|
|
923
|
+
if (!$dara.isNull(request.addBuiltInApplicationCustomActionsShrink)) {
|
|
924
|
+
query["AddBuiltInApplicationCustomActions"] = request.addBuiltInApplicationCustomActionsShrink;
|
|
925
|
+
}
|
|
926
|
+
if (!$dara.isNull(request.applicationTemplateName)) {
|
|
927
|
+
query["ApplicationTemplateName"] = request.applicationTemplateName;
|
|
928
|
+
}
|
|
929
|
+
if (!$dara.isNull(request.builtInApplicationStatus)) {
|
|
930
|
+
query["BuiltInApplicationStatus"] = request.builtInApplicationStatus;
|
|
931
|
+
}
|
|
932
|
+
if (!$dara.isNull(request.customRuleStatus)) {
|
|
933
|
+
query["CustomRuleStatus"] = request.customRuleStatus;
|
|
934
|
+
}
|
|
935
|
+
if (!$dara.isNull(request.description)) {
|
|
936
|
+
query["Description"] = request.description;
|
|
937
|
+
}
|
|
938
|
+
if (!$dara.isNull(request.templateStatus)) {
|
|
939
|
+
query["TemplateStatus"] = request.templateStatus;
|
|
940
|
+
}
|
|
941
|
+
if (!$dara.isNull(request.unknownAction)) {
|
|
942
|
+
query["UnknownAction"] = request.unknownAction;
|
|
943
|
+
}
|
|
944
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
945
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
946
|
+
});
|
|
947
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
948
|
+
action: "CreateApplicationTemplate",
|
|
949
|
+
version: "2017-12-07",
|
|
950
|
+
protocol: "HTTPS",
|
|
951
|
+
pathname: "/",
|
|
952
|
+
method: "POST",
|
|
953
|
+
authType: "AK",
|
|
954
|
+
style: "RPC",
|
|
955
|
+
reqBodyType: "formData",
|
|
956
|
+
bodyType: "json",
|
|
957
|
+
});
|
|
958
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationTemplateResponse({}));
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* Creates an application program template. The template is at user granularity and can be referenced by the access control policies of the Internet, NAT, and virtual private cloud (VPC) firewalls. Before creating a template, ensure that the application control feature is enabled and the number of templates does not exceed the quota of the instance specifications.
|
|
962
|
+
*
|
|
963
|
+
* @param request - CreateApplicationTemplateRequest
|
|
964
|
+
* @returns CreateApplicationTemplateResponse
|
|
965
|
+
*/
|
|
966
|
+
async createApplicationTemplate(request) {
|
|
967
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
968
|
+
return await this.createApplicationTemplateWithOptions(request, runtime);
|
|
969
|
+
}
|
|
845
970
|
/**
|
|
846
971
|
* Creates a file download task.
|
|
847
972
|
*
|
|
@@ -939,7 +1064,7 @@ class Client extends openapi_core_1.default {
|
|
|
939
1064
|
* Creates an IPS private IP tracing association for an Internet NAT gateway that is protected by Cloud Firewall.
|
|
940
1065
|
* ## Before you begin
|
|
941
1066
|
* - 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.
|
|
942
|
-
* - If SNAT is configured for the NAT gateway, you must enable session
|
|
1067
|
+
* - If SNAT is configured for the NAT gateway, you must enable session logs first. Otherwise, the error code -103583 is returned.
|
|
943
1068
|
*
|
|
944
1069
|
* @param request - CreateIpsPrivateAssocRequest
|
|
945
1070
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -977,7 +1102,7 @@ class Client extends openapi_core_1.default {
|
|
|
977
1102
|
* Creates an IPS private IP tracing association for an Internet NAT gateway that is protected by Cloud Firewall.
|
|
978
1103
|
* ## Before you begin
|
|
979
1104
|
* - 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.
|
|
980
|
-
* - If SNAT is configured for the NAT gateway, you must enable session
|
|
1105
|
+
* - If SNAT is configured for the NAT gateway, you must enable session logs first. Otherwise, the error code -103583 is returned.
|
|
981
1106
|
*
|
|
982
1107
|
* @param request - CreateIpsPrivateAssocRequest
|
|
983
1108
|
* @returns CreateIpsPrivateAssocResponse
|
|
@@ -1101,10 +1226,10 @@ class Client extends openapi_core_1.default {
|
|
|
1101
1226
|
return await this.createNatFirewallControlPolicyWithOptions(request, runtime);
|
|
1102
1227
|
}
|
|
1103
1228
|
/**
|
|
1104
|
-
* Creates a
|
|
1229
|
+
* Creates a precheck for a NAT firewall.
|
|
1105
1230
|
*
|
|
1106
1231
|
* @remarks
|
|
1107
|
-
* Creates a policy that allows, denies, or monitors traffic
|
|
1232
|
+
* Creates a policy that allows, denies, or monitors traffic passing through a NAT firewall.
|
|
1108
1233
|
*
|
|
1109
1234
|
* @param request - CreateNatFirewallPreCheckRequest
|
|
1110
1235
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1144,10 +1269,10 @@ class Client extends openapi_core_1.default {
|
|
|
1144
1269
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateNatFirewallPreCheckResponse({}));
|
|
1145
1270
|
}
|
|
1146
1271
|
/**
|
|
1147
|
-
* Creates a
|
|
1272
|
+
* Creates a precheck for a NAT firewall.
|
|
1148
1273
|
*
|
|
1149
1274
|
* @remarks
|
|
1150
|
-
* Creates a policy that allows, denies, or monitors traffic
|
|
1275
|
+
* Creates a policy that allows, denies, or monitors traffic passing through a NAT firewall.
|
|
1151
1276
|
*
|
|
1152
1277
|
* @param request - CreateNatFirewallPreCheckRequest
|
|
1153
1278
|
* @returns CreateNatFirewallPreCheckResponse
|
|
@@ -1159,6 +1284,12 @@ class Client extends openapi_core_1.default {
|
|
|
1159
1284
|
/**
|
|
1160
1285
|
* Creates a NAT firewall asset synchronization task.
|
|
1161
1286
|
*
|
|
1287
|
+
* @remarks
|
|
1288
|
+
* Creates a NAT firewall asset synchronization task.
|
|
1289
|
+
* ## Before you begin
|
|
1290
|
+
* - 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.
|
|
1291
|
+
* - 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.
|
|
1292
|
+
*
|
|
1162
1293
|
* @param request - CreateNatFirewallSyncTaskRequest
|
|
1163
1294
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1164
1295
|
* @returns CreateNatFirewallSyncTaskResponse
|
|
@@ -1188,6 +1319,12 @@ class Client extends openapi_core_1.default {
|
|
|
1188
1319
|
/**
|
|
1189
1320
|
* Creates a NAT firewall asset synchronization task.
|
|
1190
1321
|
*
|
|
1322
|
+
* @remarks
|
|
1323
|
+
* Creates a NAT firewall asset synchronization task.
|
|
1324
|
+
* ## Before you begin
|
|
1325
|
+
* - 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.
|
|
1326
|
+
* - 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.
|
|
1327
|
+
*
|
|
1191
1328
|
* @param request - CreateNatFirewallSyncTaskRequest
|
|
1192
1329
|
* @returns CreateNatFirewallSyncTaskResponse
|
|
1193
1330
|
*/
|
|
@@ -1199,7 +1336,7 @@ class Client extends openapi_core_1.default {
|
|
|
1199
1336
|
* Creates a private DNS endpoint.
|
|
1200
1337
|
*
|
|
1201
1338
|
* @remarks
|
|
1202
|
-
* Creates a private DNS firewall endpoint. When you call this operation, you must specify PrimaryVSwitchId
|
|
1339
|
+
* 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.
|
|
1203
1340
|
*
|
|
1204
1341
|
* @param request - CreatePrivateDnsEndpointRequest
|
|
1205
1342
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1270,7 +1407,7 @@ class Client extends openapi_core_1.default {
|
|
|
1270
1407
|
* Creates a private DNS endpoint.
|
|
1271
1408
|
*
|
|
1272
1409
|
* @remarks
|
|
1273
|
-
* Creates a private DNS firewall endpoint. When you call this operation, you must specify PrimaryVSwitchId
|
|
1410
|
+
* 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.
|
|
1274
1411
|
*
|
|
1275
1412
|
* @param request - CreatePrivateDnsEndpointRequest
|
|
1276
1413
|
* @returns CreatePrivateDnsEndpointResponse
|
|
@@ -1652,9 +1789,9 @@ class Client extends openapi_core_1.default {
|
|
|
1652
1789
|
* Creates a manual configuration to create a VPC firewall.
|
|
1653
1790
|
*
|
|
1654
1791
|
* @remarks
|
|
1655
|
-
* This operation is
|
|
1792
|
+
* 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).
|
|
1656
1793
|
* ## QPS limits
|
|
1657
|
-
* The queries per second (QPS) limit
|
|
1794
|
+
* 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.
|
|
1658
1795
|
*
|
|
1659
1796
|
* @deprecated OpenAPI CreateVpcFirewallCenManualConfigure is deprecated
|
|
1660
1797
|
*
|
|
@@ -1703,9 +1840,9 @@ class Client extends openapi_core_1.default {
|
|
|
1703
1840
|
* Creates a manual configuration to create a VPC firewall.
|
|
1704
1841
|
*
|
|
1705
1842
|
* @remarks
|
|
1706
|
-
* This operation is
|
|
1843
|
+
* 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).
|
|
1707
1844
|
* ## QPS limits
|
|
1708
|
-
* The queries per second (QPS) limit
|
|
1845
|
+
* 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.
|
|
1709
1846
|
*
|
|
1710
1847
|
* @deprecated OpenAPI CreateVpcFirewallCenManualConfigure is deprecated
|
|
1711
1848
|
*
|
|
@@ -1912,10 +2049,10 @@ class Client extends openapi_core_1.default {
|
|
|
1912
2049
|
return await this.createVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
1913
2050
|
}
|
|
1914
2051
|
/**
|
|
1915
|
-
* Creates a
|
|
2052
|
+
* Creates a prerequisite task for enabling a VPC firewall.
|
|
1916
2053
|
*
|
|
1917
2054
|
* @remarks
|
|
1918
|
-
*
|
|
2055
|
+
* Creates a policy to allow, deny, or monitor traffic passing through a NAT firewall.
|
|
1919
2056
|
*
|
|
1920
2057
|
* @param request - CreateVpcFirewallPrecheckRequest
|
|
1921
2058
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1962,10 +2099,10 @@ class Client extends openapi_core_1.default {
|
|
|
1962
2099
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateVpcFirewallPrecheckResponse({}));
|
|
1963
2100
|
}
|
|
1964
2101
|
/**
|
|
1965
|
-
* Creates a
|
|
2102
|
+
* Creates a prerequisite task for enabling a VPC firewall.
|
|
1966
2103
|
*
|
|
1967
2104
|
* @remarks
|
|
1968
|
-
*
|
|
2105
|
+
* Creates a policy to allow, deny, or monitor traffic passing through a NAT firewall.
|
|
1969
2106
|
*
|
|
1970
2107
|
* @param request - CreateVpcFirewallPrecheckRequest
|
|
1971
2108
|
* @returns CreateVpcFirewallPrecheckResponse
|
|
@@ -1975,12 +2112,12 @@ class Client extends openapi_core_1.default {
|
|
|
1975
2112
|
return await this.createVpcFirewallPrecheckWithOptions(request, runtime);
|
|
1976
2113
|
}
|
|
1977
2114
|
/**
|
|
1978
|
-
* Creates a
|
|
2115
|
+
* Creates a VPC firewall asset synchronization task.
|
|
1979
2116
|
*
|
|
1980
2117
|
* @remarks
|
|
1981
|
-
* This operation
|
|
1982
|
-
* ### QPS
|
|
1983
|
-
* The
|
|
2118
|
+
* 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).
|
|
2119
|
+
* ### QPS limit
|
|
2120
|
+
* 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.
|
|
1984
2121
|
*
|
|
1985
2122
|
* @param request - CreateVpcFirewallTaskRequest
|
|
1986
2123
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2018,12 +2155,12 @@ class Client extends openapi_core_1.default {
|
|
|
2018
2155
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateVpcFirewallTaskResponse({}));
|
|
2019
2156
|
}
|
|
2020
2157
|
/**
|
|
2021
|
-
* Creates a
|
|
2158
|
+
* Creates a VPC firewall asset synchronization task.
|
|
2022
2159
|
*
|
|
2023
2160
|
* @remarks
|
|
2024
|
-
* This operation
|
|
2025
|
-
* ### QPS
|
|
2026
|
-
* The
|
|
2161
|
+
* 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).
|
|
2162
|
+
* ### QPS limit
|
|
2163
|
+
* 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.
|
|
2027
2164
|
*
|
|
2028
2165
|
* @param request - CreateVpcFirewallTaskRequest
|
|
2029
2166
|
* @returns CreateVpcFirewallTaskResponse
|
|
@@ -2032,12 +2169,104 @@ class Client extends openapi_core_1.default {
|
|
|
2032
2169
|
let runtime = new $dara.RuntimeOptions({});
|
|
2033
2170
|
return await this.createVpcFirewallTaskWithOptions(request, runtime);
|
|
2034
2171
|
}
|
|
2172
|
+
/**
|
|
2173
|
+
* 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 cannot exceed 100.
|
|
2174
|
+
*
|
|
2175
|
+
* @param tmpReq - CreateWebFilterRulesRequest
|
|
2176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2177
|
+
* @returns CreateWebFilterRulesResponse
|
|
2178
|
+
*/
|
|
2179
|
+
async createWebFilterRulesWithOptions(tmpReq, runtime) {
|
|
2180
|
+
tmpReq.validate();
|
|
2181
|
+
let request = new $_model.CreateWebFilterRulesShrinkRequest({});
|
|
2182
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
2183
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
2184
|
+
request.rulesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
2185
|
+
}
|
|
2186
|
+
let query = {};
|
|
2187
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
2188
|
+
query["Rules"] = request.rulesShrink;
|
|
2189
|
+
}
|
|
2190
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
2191
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
2192
|
+
}
|
|
2193
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2194
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2195
|
+
});
|
|
2196
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2197
|
+
action: "CreateWebFilterRules",
|
|
2198
|
+
version: "2017-12-07",
|
|
2199
|
+
protocol: "HTTPS",
|
|
2200
|
+
pathname: "/",
|
|
2201
|
+
method: "POST",
|
|
2202
|
+
authType: "AK",
|
|
2203
|
+
style: "RPC",
|
|
2204
|
+
reqBodyType: "formData",
|
|
2205
|
+
bodyType: "json",
|
|
2206
|
+
});
|
|
2207
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWebFilterRulesResponse({}));
|
|
2208
|
+
}
|
|
2209
|
+
/**
|
|
2210
|
+
* 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 cannot exceed 100.
|
|
2211
|
+
*
|
|
2212
|
+
* @param request - CreateWebFilterRulesRequest
|
|
2213
|
+
* @returns CreateWebFilterRulesResponse
|
|
2214
|
+
*/
|
|
2215
|
+
async createWebFilterRules(request) {
|
|
2216
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2217
|
+
return await this.createWebFilterRulesWithOptions(request, runtime);
|
|
2218
|
+
}
|
|
2219
|
+
/**
|
|
2220
|
+
* Creates a web filtering template. The template is at user granularity and can be referenced by access control policies of the 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.
|
|
2221
|
+
*
|
|
2222
|
+
* @param request - CreateWebFilterTemplateRequest
|
|
2223
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2224
|
+
* @returns CreateWebFilterTemplateResponse
|
|
2225
|
+
*/
|
|
2226
|
+
async createWebFilterTemplateWithOptions(request, runtime) {
|
|
2227
|
+
request.validate();
|
|
2228
|
+
let query = {};
|
|
2229
|
+
if (!$dara.isNull(request.description)) {
|
|
2230
|
+
query["Description"] = request.description;
|
|
2231
|
+
}
|
|
2232
|
+
if (!$dara.isNull(request.name)) {
|
|
2233
|
+
query["Name"] = request.name;
|
|
2234
|
+
}
|
|
2235
|
+
if (!$dara.isNull(request.status)) {
|
|
2236
|
+
query["Status"] = request.status;
|
|
2237
|
+
}
|
|
2238
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2239
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2240
|
+
});
|
|
2241
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2242
|
+
action: "CreateWebFilterTemplate",
|
|
2243
|
+
version: "2017-12-07",
|
|
2244
|
+
protocol: "HTTPS",
|
|
2245
|
+
pathname: "/",
|
|
2246
|
+
method: "POST",
|
|
2247
|
+
authType: "AK",
|
|
2248
|
+
style: "RPC",
|
|
2249
|
+
reqBodyType: "formData",
|
|
2250
|
+
bodyType: "json",
|
|
2251
|
+
});
|
|
2252
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWebFilterTemplateResponse({}));
|
|
2253
|
+
}
|
|
2254
|
+
/**
|
|
2255
|
+
* Creates a web filtering template. The template is at user granularity and can be referenced by access control policies of the 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.
|
|
2256
|
+
*
|
|
2257
|
+
* @param request - CreateWebFilterTemplateRequest
|
|
2258
|
+
* @returns CreateWebFilterTemplateResponse
|
|
2259
|
+
*/
|
|
2260
|
+
async createWebFilterTemplate(request) {
|
|
2261
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2262
|
+
return await this.createWebFilterTemplateWithOptions(request, runtime);
|
|
2263
|
+
}
|
|
2035
2264
|
/**
|
|
2036
2265
|
* Deletes an ACK cluster connector.
|
|
2037
2266
|
*
|
|
2038
2267
|
* @remarks
|
|
2039
|
-
* ##
|
|
2040
|
-
* The
|
|
2268
|
+
* ## Rate limit
|
|
2269
|
+
* 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.
|
|
2041
2270
|
*
|
|
2042
2271
|
* @param request - DeleteAckClusterConnectorRequest
|
|
2043
2272
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2069,8 +2298,8 @@ class Client extends openapi_core_1.default {
|
|
|
2069
2298
|
* Deletes an ACK cluster connector.
|
|
2070
2299
|
*
|
|
2071
2300
|
* @remarks
|
|
2072
|
-
* ##
|
|
2073
|
-
* The
|
|
2301
|
+
* ## Rate limit
|
|
2302
|
+
* 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.
|
|
2074
2303
|
*
|
|
2075
2304
|
* @param request - DeleteAckClusterConnectorRequest
|
|
2076
2305
|
* @returns DeleteAckClusterConnectorResponse
|
|
@@ -2083,9 +2312,9 @@ class Client extends openapi_core_1.default {
|
|
|
2083
2312
|
* Deletes an ACL backup.
|
|
2084
2313
|
*
|
|
2085
2314
|
* @remarks
|
|
2086
|
-
* This operation
|
|
2087
|
-
* ##
|
|
2088
|
-
*
|
|
2315
|
+
* This operation is typically used to delete address books in access control.
|
|
2316
|
+
* ## Rate limits
|
|
2317
|
+
* 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.
|
|
2089
2318
|
*
|
|
2090
2319
|
* @param request - DeleteAclBackupDataRequest
|
|
2091
2320
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2123,9 +2352,9 @@ class Client extends openapi_core_1.default {
|
|
|
2123
2352
|
* Deletes an ACL backup.
|
|
2124
2353
|
*
|
|
2125
2354
|
* @remarks
|
|
2126
|
-
* This operation
|
|
2127
|
-
* ##
|
|
2128
|
-
*
|
|
2355
|
+
* This operation is typically used to delete address books in access control.
|
|
2356
|
+
* ## Rate limits
|
|
2357
|
+
* 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.
|
|
2129
2358
|
*
|
|
2130
2359
|
* @param request - DeleteAclBackupDataRequest
|
|
2131
2360
|
* @returns DeleteAclBackupDataResponse
|
|
@@ -2189,6 +2418,89 @@ class Client extends openapi_core_1.default {
|
|
|
2189
2418
|
let runtime = new $dara.RuntimeOptions({});
|
|
2190
2419
|
return await this.deleteAddressBookWithOptions(request, runtime);
|
|
2191
2420
|
}
|
|
2421
|
+
/**
|
|
2422
|
+
* 删除应用程序自定义规则
|
|
2423
|
+
*
|
|
2424
|
+
* @param tmpReq - DeleteApplicationCustomRulesRequest
|
|
2425
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2426
|
+
* @returns DeleteApplicationCustomRulesResponse
|
|
2427
|
+
*/
|
|
2428
|
+
async deleteApplicationCustomRulesWithOptions(tmpReq, runtime) {
|
|
2429
|
+
tmpReq.validate();
|
|
2430
|
+
let request = new $_model.DeleteApplicationCustomRulesShrinkRequest({});
|
|
2431
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
2432
|
+
if (!$dara.isNull(tmpReq.applicationCustomRuleIds)) {
|
|
2433
|
+
request.applicationCustomRuleIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.applicationCustomRuleIds, "ApplicationCustomRuleIds", "json");
|
|
2434
|
+
}
|
|
2435
|
+
let query = {};
|
|
2436
|
+
if (!$dara.isNull(request.applicationCustomRuleIdsShrink)) {
|
|
2437
|
+
query["ApplicationCustomRuleIds"] = request.applicationCustomRuleIdsShrink;
|
|
2438
|
+
}
|
|
2439
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2440
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2441
|
+
});
|
|
2442
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2443
|
+
action: "DeleteApplicationCustomRules",
|
|
2444
|
+
version: "2017-12-07",
|
|
2445
|
+
protocol: "HTTPS",
|
|
2446
|
+
pathname: "/",
|
|
2447
|
+
method: "POST",
|
|
2448
|
+
authType: "AK",
|
|
2449
|
+
style: "RPC",
|
|
2450
|
+
reqBodyType: "formData",
|
|
2451
|
+
bodyType: "json",
|
|
2452
|
+
});
|
|
2453
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteApplicationCustomRulesResponse({}));
|
|
2454
|
+
}
|
|
2455
|
+
/**
|
|
2456
|
+
* 删除应用程序自定义规则
|
|
2457
|
+
*
|
|
2458
|
+
* @param request - DeleteApplicationCustomRulesRequest
|
|
2459
|
+
* @returns DeleteApplicationCustomRulesResponse
|
|
2460
|
+
*/
|
|
2461
|
+
async deleteApplicationCustomRules(request) {
|
|
2462
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2463
|
+
return await this.deleteApplicationCustomRulesWithOptions(request, runtime);
|
|
2464
|
+
}
|
|
2465
|
+
/**
|
|
2466
|
+
* 删除应用程序自定义模版
|
|
2467
|
+
*
|
|
2468
|
+
* @param request - DeleteApplicationTemplateRequest
|
|
2469
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2470
|
+
* @returns DeleteApplicationTemplateResponse
|
|
2471
|
+
*/
|
|
2472
|
+
async deleteApplicationTemplateWithOptions(request, runtime) {
|
|
2473
|
+
request.validate();
|
|
2474
|
+
let query = {};
|
|
2475
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
2476
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
2477
|
+
}
|
|
2478
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2479
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2480
|
+
});
|
|
2481
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2482
|
+
action: "DeleteApplicationTemplate",
|
|
2483
|
+
version: "2017-12-07",
|
|
2484
|
+
protocol: "HTTPS",
|
|
2485
|
+
pathname: "/",
|
|
2486
|
+
method: "POST",
|
|
2487
|
+
authType: "AK",
|
|
2488
|
+
style: "RPC",
|
|
2489
|
+
reqBodyType: "formData",
|
|
2490
|
+
bodyType: "json",
|
|
2491
|
+
});
|
|
2492
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteApplicationTemplateResponse({}));
|
|
2493
|
+
}
|
|
2494
|
+
/**
|
|
2495
|
+
* 删除应用程序自定义模版
|
|
2496
|
+
*
|
|
2497
|
+
* @param request - DeleteApplicationTemplateRequest
|
|
2498
|
+
* @returns DeleteApplicationTemplateResponse
|
|
2499
|
+
*/
|
|
2500
|
+
async deleteApplicationTemplate(request) {
|
|
2501
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2502
|
+
return await this.deleteApplicationTemplateWithOptions(request, runtime);
|
|
2503
|
+
}
|
|
2192
2504
|
/**
|
|
2193
2505
|
* Deletes an access control policy.
|
|
2194
2506
|
*
|
|
@@ -2302,10 +2614,10 @@ class Client extends openapi_core_1.default {
|
|
|
2302
2614
|
return await this.deleteControlPolicyTemplateWithOptions(request, runtime);
|
|
2303
2615
|
}
|
|
2304
2616
|
/**
|
|
2305
|
-
* Deletes a DNS firewall
|
|
2617
|
+
* Deletes a DNS firewall rule.
|
|
2306
2618
|
*
|
|
2307
2619
|
* @remarks
|
|
2308
|
-
*
|
|
2620
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
2309
2621
|
*
|
|
2310
2622
|
* @param request - DeleteDnsFirewallPolicyRequest
|
|
2311
2623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2340,10 +2652,10 @@ class Client extends openapi_core_1.default {
|
|
|
2340
2652
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDnsFirewallPolicyResponse({}));
|
|
2341
2653
|
}
|
|
2342
2654
|
/**
|
|
2343
|
-
* Deletes a DNS firewall
|
|
2655
|
+
* Deletes a DNS firewall rule.
|
|
2344
2656
|
*
|
|
2345
2657
|
* @remarks
|
|
2346
|
-
*
|
|
2658
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
2347
2659
|
*
|
|
2348
2660
|
* @param request - DeleteDnsFirewallPolicyRequest
|
|
2349
2661
|
* @returns DeleteDnsFirewallPolicyResponse
|
|
@@ -2641,12 +2953,12 @@ class Client extends openapi_core_1.default {
|
|
|
2641
2953
|
return await this.deleteNatFirewallControlPolicyBatchWithOptions(request, runtime);
|
|
2642
2954
|
}
|
|
2643
2955
|
/**
|
|
2644
|
-
*
|
|
2956
|
+
* Clears private DNS domain names.
|
|
2645
2957
|
*
|
|
2646
2958
|
* @remarks
|
|
2647
|
-
* This API
|
|
2648
|
-
* ## QPS
|
|
2649
|
-
*
|
|
2959
|
+
* 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.
|
|
2960
|
+
* ## QPS limits
|
|
2961
|
+
* 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.
|
|
2650
2962
|
*
|
|
2651
2963
|
* @param request - DeletePrivateDnsAllDomainNameRequest
|
|
2652
2964
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2678,12 +2990,12 @@ class Client extends openapi_core_1.default {
|
|
|
2678
2990
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePrivateDnsAllDomainNameResponse({}));
|
|
2679
2991
|
}
|
|
2680
2992
|
/**
|
|
2681
|
-
*
|
|
2993
|
+
* Clears private DNS domain names.
|
|
2682
2994
|
*
|
|
2683
2995
|
* @remarks
|
|
2684
|
-
* This API
|
|
2685
|
-
* ## QPS
|
|
2686
|
-
*
|
|
2996
|
+
* 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.
|
|
2997
|
+
* ## QPS limits
|
|
2998
|
+
* 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.
|
|
2687
2999
|
*
|
|
2688
3000
|
* @param request - DeletePrivateDnsAllDomainNameRequest
|
|
2689
3001
|
* @returns DeletePrivateDnsAllDomainNameResponse
|
|
@@ -2693,10 +3005,10 @@ class Client extends openapi_core_1.default {
|
|
|
2693
3005
|
return await this.deletePrivateDnsAllDomainNameWithOptions(request, runtime);
|
|
2694
3006
|
}
|
|
2695
3007
|
/**
|
|
2696
|
-
*
|
|
3008
|
+
* Deletes a private DNS domain name.
|
|
2697
3009
|
*
|
|
2698
3010
|
* @remarks
|
|
2699
|
-
* Deletes domain
|
|
3011
|
+
* Deletes a domain name that requires private DNS resolution.
|
|
2700
3012
|
*
|
|
2701
3013
|
* @param request - DeletePrivateDnsDomainNameRequest
|
|
2702
3014
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2731,10 +3043,10 @@ class Client extends openapi_core_1.default {
|
|
|
2731
3043
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePrivateDnsDomainNameResponse({}));
|
|
2732
3044
|
}
|
|
2733
3045
|
/**
|
|
2734
|
-
*
|
|
3046
|
+
* Deletes a private DNS domain name.
|
|
2735
3047
|
*
|
|
2736
3048
|
* @remarks
|
|
2737
|
-
* Deletes domain
|
|
3049
|
+
* Deletes a domain name that requires private DNS resolution.
|
|
2738
3050
|
*
|
|
2739
3051
|
* @param request - DeletePrivateDnsDomainNameRequest
|
|
2740
3052
|
* @returns DeletePrivateDnsDomainNameResponse
|
|
@@ -2747,7 +3059,7 @@ class Client extends openapi_core_1.default {
|
|
|
2747
3059
|
* Deletes a private DNS endpoint.
|
|
2748
3060
|
*
|
|
2749
3061
|
* @remarks
|
|
2750
|
-
*
|
|
3062
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
2751
3063
|
*
|
|
2752
3064
|
* @param request - DeletePrivateDnsEndpointRequest
|
|
2753
3065
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2782,7 +3094,7 @@ class Client extends openapi_core_1.default {
|
|
|
2782
3094
|
* Deletes a private DNS endpoint.
|
|
2783
3095
|
*
|
|
2784
3096
|
* @remarks
|
|
2785
|
-
*
|
|
3097
|
+
* Creates a policy to allow, deny, or monitor traffic that passes through a NAT firewall.
|
|
2786
3098
|
*
|
|
2787
3099
|
* @param request - DeletePrivateDnsEndpointRequest
|
|
2788
3100
|
* @returns DeletePrivateDnsEndpointResponse
|
|
@@ -3047,41 +3359,28 @@ class Client extends openapi_core_1.default {
|
|
|
3047
3359
|
return await this.deleteVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
3048
3360
|
}
|
|
3049
3361
|
/**
|
|
3050
|
-
*
|
|
3362
|
+
* 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.
|
|
3051
3363
|
*
|
|
3052
|
-
* @param
|
|
3364
|
+
* @param tmpReq - DeleteWebFilterRulesRequest
|
|
3053
3365
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3054
|
-
* @returns
|
|
3366
|
+
* @returns DeleteWebFilterRulesResponse
|
|
3055
3367
|
*/
|
|
3056
|
-
async
|
|
3057
|
-
|
|
3058
|
-
let
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
if (!$dara.isNull(request.firewallType)) {
|
|
3063
|
-
query["FirewallType"] = request.firewallType;
|
|
3064
|
-
}
|
|
3065
|
-
if (!$dara.isNull(request.interval)) {
|
|
3066
|
-
query["Interval"] = request.interval;
|
|
3067
|
-
}
|
|
3068
|
-
if (!$dara.isNull(request.lang)) {
|
|
3069
|
-
query["Lang"] = request.lang;
|
|
3070
|
-
}
|
|
3071
|
-
if (!$dara.isNull(request.lang)) {
|
|
3072
|
-
query["Lang"] = request.lang;
|
|
3073
|
-
}
|
|
3074
|
-
if (!$dara.isNull(request.sourceIp)) {
|
|
3075
|
-
query["SourceIp"] = request.sourceIp;
|
|
3368
|
+
async deleteWebFilterRulesWithOptions(tmpReq, runtime) {
|
|
3369
|
+
tmpReq.validate();
|
|
3370
|
+
let request = new $_model.DeleteWebFilterRulesShrinkRequest({});
|
|
3371
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3372
|
+
if (!$dara.isNull(tmpReq.webFilterRuleIds)) {
|
|
3373
|
+
request.webFilterRuleIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.webFilterRuleIds, "WebFilterRuleIds", "json");
|
|
3076
3374
|
}
|
|
3077
|
-
|
|
3078
|
-
|
|
3375
|
+
let query = {};
|
|
3376
|
+
if (!$dara.isNull(request.webFilterRuleIdsShrink)) {
|
|
3377
|
+
query["WebFilterRuleIds"] = request.webFilterRuleIdsShrink;
|
|
3079
3378
|
}
|
|
3080
3379
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3081
3380
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3082
3381
|
});
|
|
3083
3382
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3084
|
-
action: "
|
|
3383
|
+
action: "DeleteWebFilterRules",
|
|
3085
3384
|
version: "2017-12-07",
|
|
3086
3385
|
protocol: "HTTPS",
|
|
3087
3386
|
pathname: "/",
|
|
@@ -3091,31 +3390,133 @@ class Client extends openapi_core_1.default {
|
|
|
3091
3390
|
reqBodyType: "formData",
|
|
3092
3391
|
bodyType: "json",
|
|
3093
3392
|
});
|
|
3094
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3393
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWebFilterRulesResponse({}));
|
|
3095
3394
|
}
|
|
3096
3395
|
/**
|
|
3097
|
-
*
|
|
3396
|
+
* 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.
|
|
3098
3397
|
*
|
|
3099
|
-
* @param request -
|
|
3100
|
-
* @returns
|
|
3398
|
+
* @param request - DeleteWebFilterRulesRequest
|
|
3399
|
+
* @returns DeleteWebFilterRulesResponse
|
|
3101
3400
|
*/
|
|
3102
|
-
async
|
|
3401
|
+
async deleteWebFilterRules(request) {
|
|
3103
3402
|
let runtime = new $dara.RuntimeOptions({});
|
|
3104
|
-
return await this.
|
|
3403
|
+
return await this.deleteWebFilterRulesWithOptions(request, runtime);
|
|
3105
3404
|
}
|
|
3106
3405
|
/**
|
|
3107
|
-
*
|
|
3108
|
-
*
|
|
3109
|
-
* @remarks
|
|
3110
|
-
* The statistics apply to the current Cloud Firewall instance and include all data from the date of purchase.
|
|
3406
|
+
* Deletes a web filtering template. Deleting a template also deletes all web filtering rules in the template. A template cannot be deleted if it is referenced by an access control policy.
|
|
3111
3407
|
*
|
|
3408
|
+
* @param request - DeleteWebFilterTemplateRequest
|
|
3112
3409
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3113
|
-
* @returns
|
|
3410
|
+
* @returns DeleteWebFilterTemplateResponse
|
|
3114
3411
|
*/
|
|
3115
|
-
async
|
|
3116
|
-
|
|
3117
|
-
let
|
|
3118
|
-
|
|
3412
|
+
async deleteWebFilterTemplateWithOptions(request, runtime) {
|
|
3413
|
+
request.validate();
|
|
3414
|
+
let query = {};
|
|
3415
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
3416
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
3417
|
+
}
|
|
3418
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3419
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3420
|
+
});
|
|
3421
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3422
|
+
action: "DeleteWebFilterTemplate",
|
|
3423
|
+
version: "2017-12-07",
|
|
3424
|
+
protocol: "HTTPS",
|
|
3425
|
+
pathname: "/",
|
|
3426
|
+
method: "POST",
|
|
3427
|
+
authType: "AK",
|
|
3428
|
+
style: "RPC",
|
|
3429
|
+
reqBodyType: "formData",
|
|
3430
|
+
bodyType: "json",
|
|
3431
|
+
});
|
|
3432
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWebFilterTemplateResponse({}));
|
|
3433
|
+
}
|
|
3434
|
+
/**
|
|
3435
|
+
* Deletes a web filtering template. Deleting a template also deletes all web filtering rules in the template. A template cannot be deleted if it is referenced by an access control policy.
|
|
3436
|
+
*
|
|
3437
|
+
* @param request - DeleteWebFilterTemplateRequest
|
|
3438
|
+
* @returns DeleteWebFilterTemplateResponse
|
|
3439
|
+
*/
|
|
3440
|
+
async deleteWebFilterTemplate(request) {
|
|
3441
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3442
|
+
return await this.deleteWebFilterTemplateWithOptions(request, runtime);
|
|
3443
|
+
}
|
|
3444
|
+
/**
|
|
3445
|
+
* Queries the trend chart for Internet access control blocks.
|
|
3446
|
+
*
|
|
3447
|
+
* @param request - DescribeACLProtectTrendRequest
|
|
3448
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3449
|
+
* @returns DescribeACLProtectTrendResponse
|
|
3450
|
+
*/
|
|
3451
|
+
async describeACLProtectTrendWithOptions(request, runtime) {
|
|
3452
|
+
request.validate();
|
|
3453
|
+
let query = {};
|
|
3454
|
+
if (!$dara.isNull(request.endTime)) {
|
|
3455
|
+
query["EndTime"] = request.endTime;
|
|
3456
|
+
}
|
|
3457
|
+
if (!$dara.isNull(request.firewallType)) {
|
|
3458
|
+
query["FirewallType"] = request.firewallType;
|
|
3459
|
+
}
|
|
3460
|
+
if (!$dara.isNull(request.interval)) {
|
|
3461
|
+
query["Interval"] = request.interval;
|
|
3462
|
+
}
|
|
3463
|
+
if (!$dara.isNull(request.lang)) {
|
|
3464
|
+
query["Lang"] = request.lang;
|
|
3465
|
+
}
|
|
3466
|
+
if (!$dara.isNull(request.lang)) {
|
|
3467
|
+
query["Lang"] = request.lang;
|
|
3468
|
+
}
|
|
3469
|
+
if (!$dara.isNull(request.sourceIp)) {
|
|
3470
|
+
query["SourceIp"] = request.sourceIp;
|
|
3471
|
+
}
|
|
3472
|
+
if (!$dara.isNull(request.startTime)) {
|
|
3473
|
+
query["StartTime"] = request.startTime;
|
|
3474
|
+
}
|
|
3475
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3476
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3477
|
+
});
|
|
3478
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3479
|
+
action: "DescribeACLProtectTrend",
|
|
3480
|
+
version: "2017-12-07",
|
|
3481
|
+
protocol: "HTTPS",
|
|
3482
|
+
pathname: "/",
|
|
3483
|
+
method: "POST",
|
|
3484
|
+
authType: "AK",
|
|
3485
|
+
style: "RPC",
|
|
3486
|
+
reqBodyType: "formData",
|
|
3487
|
+
bodyType: "json",
|
|
3488
|
+
});
|
|
3489
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeACLProtectTrendResponse({}));
|
|
3490
|
+
}
|
|
3491
|
+
/**
|
|
3492
|
+
* Queries the trend chart for Internet access control blocks.
|
|
3493
|
+
*
|
|
3494
|
+
* @param request - DescribeACLProtectTrendRequest
|
|
3495
|
+
* @returns DescribeACLProtectTrendResponse
|
|
3496
|
+
*/
|
|
3497
|
+
async describeACLProtectTrend(request) {
|
|
3498
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3499
|
+
return await this.describeACLProtectTrendWithOptions(request, runtime);
|
|
3500
|
+
}
|
|
3501
|
+
/**
|
|
3502
|
+
* Queries the enabling status of AI-based network traffic analysis.
|
|
3503
|
+
*
|
|
3504
|
+
* @remarks
|
|
3505
|
+
* The statistical scope covers the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
3506
|
+
* ## Before you begin
|
|
3507
|
+
* - 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`.
|
|
3508
|
+
* - 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.
|
|
3509
|
+
* - Purchase Purchase Cloud Firewall instance:
|
|
3510
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
3511
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
3512
|
+
*
|
|
3513
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3514
|
+
* @returns DescribeAITrafficAnalysisStatusResponse
|
|
3515
|
+
*/
|
|
3516
|
+
async describeAITrafficAnalysisStatusWithOptions(runtime) {
|
|
3517
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
|
|
3518
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3519
|
+
action: "DescribeAITrafficAnalysisStatus",
|
|
3119
3520
|
version: "2017-12-07",
|
|
3120
3521
|
protocol: "HTTPS",
|
|
3121
3522
|
pathname: "/",
|
|
@@ -3128,10 +3529,16 @@ class Client extends openapi_core_1.default {
|
|
|
3128
3529
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAITrafficAnalysisStatusResponse({}));
|
|
3129
3530
|
}
|
|
3130
3531
|
/**
|
|
3131
|
-
* Queries the enabling status of AI-
|
|
3532
|
+
* Queries the enabling status of AI-based network traffic analysis.
|
|
3132
3533
|
*
|
|
3133
3534
|
* @remarks
|
|
3134
|
-
* The
|
|
3535
|
+
* The statistical scope covers the current Cloud Firewall instance of the user, including all data since the purchase date.
|
|
3536
|
+
* ## Before you begin
|
|
3537
|
+
* - 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`.
|
|
3538
|
+
* - 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.
|
|
3539
|
+
* - Purchase Purchase Cloud Firewall instance:
|
|
3540
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
3541
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
3135
3542
|
* @returns DescribeAITrafficAnalysisStatusResponse
|
|
3136
3543
|
*/
|
|
3137
3544
|
async describeAITrafficAnalysisStatus() {
|
|
@@ -3139,7 +3546,7 @@ class Client extends openapi_core_1.default {
|
|
|
3139
3546
|
return await this.describeAITrafficAnalysisStatusWithOptions(runtime);
|
|
3140
3547
|
}
|
|
3141
3548
|
/**
|
|
3142
|
-
* Queries the
|
|
3549
|
+
* Queries the regions for synchronization nodes.
|
|
3143
3550
|
*
|
|
3144
3551
|
* @param request - DescribeAccessInstanceRegionListRequest
|
|
3145
3552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3165,7 +3572,7 @@ class Client extends openapi_core_1.default {
|
|
|
3165
3572
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAccessInstanceRegionListResponse({}));
|
|
3166
3573
|
}
|
|
3167
3574
|
/**
|
|
3168
|
-
* Queries the
|
|
3575
|
+
* Queries the regions for synchronization nodes.
|
|
3169
3576
|
*
|
|
3170
3577
|
* @param request - DescribeAccessInstanceRegionListRequest
|
|
3171
3578
|
* @returns DescribeAccessInstanceRegionListResponse
|
|
@@ -3175,7 +3582,7 @@ class Client extends openapi_core_1.default {
|
|
|
3175
3582
|
return await this.describeAccessInstanceRegionListWithOptions(request, runtime);
|
|
3176
3583
|
}
|
|
3177
3584
|
/**
|
|
3178
|
-
* Queries the
|
|
3585
|
+
* Queries the progress of a synchronization node task.
|
|
3179
3586
|
*
|
|
3180
3587
|
* @param request - DescribeAccessInstanceTaskRequest
|
|
3181
3588
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3201,7 +3608,7 @@ class Client extends openapi_core_1.default {
|
|
|
3201
3608
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAccessInstanceTaskResponse({}));
|
|
3202
3609
|
}
|
|
3203
3610
|
/**
|
|
3204
|
-
* Queries the
|
|
3611
|
+
* Queries the progress of a synchronization node task.
|
|
3205
3612
|
*
|
|
3206
3613
|
* @param request - DescribeAccessInstanceTaskRequest
|
|
3207
3614
|
* @returns DescribeAccessInstanceTaskResponse
|
|
@@ -3247,7 +3654,7 @@ class Client extends openapi_core_1.default {
|
|
|
3247
3654
|
return await this.describeAccessInstanceVSwitchListWithOptions(request, runtime);
|
|
3248
3655
|
}
|
|
3249
3656
|
/**
|
|
3250
|
-
* Queries the VPCs
|
|
3657
|
+
* Queries the list of VPCs for synchronization nodes.
|
|
3251
3658
|
*
|
|
3252
3659
|
* @param request - DescribeAccessInstanceVpcListRequest
|
|
3253
3660
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3273,7 +3680,7 @@ class Client extends openapi_core_1.default {
|
|
|
3273
3680
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAccessInstanceVpcListResponse({}));
|
|
3274
3681
|
}
|
|
3275
3682
|
/**
|
|
3276
|
-
* Queries the VPCs
|
|
3683
|
+
* Queries the list of VPCs for synchronization nodes.
|
|
3277
3684
|
*
|
|
3278
3685
|
* @param request - DescribeAccessInstanceVpcListRequest
|
|
3279
3686
|
* @returns DescribeAccessInstanceVpcListResponse
|
|
@@ -3283,7 +3690,7 @@ class Client extends openapi_core_1.default {
|
|
|
3283
3690
|
return await this.describeAccessInstanceVpcListWithOptions(request, runtime);
|
|
3284
3691
|
}
|
|
3285
3692
|
/**
|
|
3286
|
-
*
|
|
3693
|
+
* Queries the available zones for synchronization nodes.
|
|
3287
3694
|
*
|
|
3288
3695
|
* @param request - DescribeAccessInstanceZoneListRequest
|
|
3289
3696
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3309,7 +3716,7 @@ class Client extends openapi_core_1.default {
|
|
|
3309
3716
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAccessInstanceZoneListResponse({}));
|
|
3310
3717
|
}
|
|
3311
3718
|
/**
|
|
3312
|
-
*
|
|
3719
|
+
* Queries the available zones for synchronization nodes.
|
|
3313
3720
|
*
|
|
3314
3721
|
* @param request - DescribeAccessInstanceZoneListRequest
|
|
3315
3722
|
* @returns DescribeAccessInstanceZoneListResponse
|
|
@@ -3361,11 +3768,11 @@ class Client extends openapi_core_1.default {
|
|
|
3361
3768
|
return await this.describeAckClusterConnectorWithOptions(request, runtime);
|
|
3362
3769
|
}
|
|
3363
3770
|
/**
|
|
3364
|
-
*
|
|
3771
|
+
* Lists the ACK cluster connectors.
|
|
3365
3772
|
*
|
|
3366
3773
|
* @remarks
|
|
3367
3774
|
* ## QPS limit
|
|
3368
|
-
* The
|
|
3775
|
+
* 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.
|
|
3369
3776
|
*
|
|
3370
3777
|
* @param request - DescribeAckClusterConnectorsRequest
|
|
3371
3778
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3415,11 +3822,11 @@ class Client extends openapi_core_1.default {
|
|
|
3415
3822
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAckClusterConnectorsResponse({}));
|
|
3416
3823
|
}
|
|
3417
3824
|
/**
|
|
3418
|
-
*
|
|
3825
|
+
* Lists the ACK cluster connectors.
|
|
3419
3826
|
*
|
|
3420
3827
|
* @remarks
|
|
3421
3828
|
* ## QPS limit
|
|
3422
|
-
* The
|
|
3829
|
+
* 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.
|
|
3423
3830
|
*
|
|
3424
3831
|
* @param request - DescribeAckClusterConnectorsRequest
|
|
3425
3832
|
* @returns DescribeAckClusterConnectorsResponse
|
|
@@ -3429,7 +3836,7 @@ class Client extends openapi_core_1.default {
|
|
|
3429
3836
|
return await this.describeAckClusterConnectorsWithOptions(request, runtime);
|
|
3430
3837
|
}
|
|
3431
3838
|
/**
|
|
3432
|
-
* Queries the namespaces
|
|
3839
|
+
* Queries the namespaces of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3433
3840
|
*
|
|
3434
3841
|
* @param request - DescribeAckClusterNamespacesRequest
|
|
3435
3842
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3458,7 +3865,7 @@ class Client extends openapi_core_1.default {
|
|
|
3458
3865
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAckClusterNamespacesResponse({}));
|
|
3459
3866
|
}
|
|
3460
3867
|
/**
|
|
3461
|
-
* Queries the namespaces
|
|
3868
|
+
* Queries the namespaces of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3462
3869
|
*
|
|
3463
3870
|
* @param request - DescribeAckClusterNamespacesRequest
|
|
3464
3871
|
* @returns DescribeAckClusterNamespacesResponse
|
|
@@ -3468,7 +3875,7 @@ class Client extends openapi_core_1.default {
|
|
|
3468
3875
|
return await this.describeAckClusterNamespacesWithOptions(request, runtime);
|
|
3469
3876
|
}
|
|
3470
3877
|
/**
|
|
3471
|
-
* Queries the
|
|
3878
|
+
* Queries the tags of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3472
3879
|
*
|
|
3473
3880
|
* @param request - DescribeAckClusterPodLabelsRequest
|
|
3474
3881
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3497,7 +3904,7 @@ class Client extends openapi_core_1.default {
|
|
|
3497
3904
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAckClusterPodLabelsResponse({}));
|
|
3498
3905
|
}
|
|
3499
3906
|
/**
|
|
3500
|
-
* Queries the
|
|
3907
|
+
* Queries the tags of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
|
|
3501
3908
|
*
|
|
3502
3909
|
* @param request - DescribeAckClusterPodLabelsRequest
|
|
3503
3910
|
* @returns DescribeAckClusterPodLabelsResponse
|
|
@@ -3507,7 +3914,7 @@ class Client extends openapi_core_1.default {
|
|
|
3507
3914
|
return await this.describeAckClusterPodLabelsWithOptions(request, runtime);
|
|
3508
3915
|
}
|
|
3509
3916
|
/**
|
|
3510
|
-
* Queries
|
|
3917
|
+
* Queries a list of Alibaba Cloud Kubernetes container service (ACK) clusters that meet specified conditions, such as cluster type and specifications.
|
|
3511
3918
|
*
|
|
3512
3919
|
* @param request - DescribeAckClustersRequest
|
|
3513
3920
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3557,7 +3964,7 @@ class Client extends openapi_core_1.default {
|
|
|
3557
3964
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAckClustersResponse({}));
|
|
3558
3965
|
}
|
|
3559
3966
|
/**
|
|
3560
|
-
* Queries
|
|
3967
|
+
* Queries a list of Alibaba Cloud Kubernetes container service (ACK) clusters that meet specified conditions, such as cluster type and specifications.
|
|
3561
3968
|
*
|
|
3562
3969
|
* @param request - DescribeAckClustersRequest
|
|
3563
3970
|
* @returns DescribeAckClustersResponse
|
|
@@ -3567,11 +3974,11 @@ class Client extends openapi_core_1.default {
|
|
|
3567
3974
|
return await this.describeAckClustersWithOptions(request, runtime);
|
|
3568
3975
|
}
|
|
3569
3976
|
/**
|
|
3570
|
-
*
|
|
3977
|
+
* Lists access control applications.
|
|
3571
3978
|
*
|
|
3572
3979
|
* @remarks
|
|
3573
|
-
* ## QPS
|
|
3574
|
-
* The
|
|
3980
|
+
* ## QPS limits
|
|
3981
|
+
* 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.
|
|
3575
3982
|
*
|
|
3576
3983
|
* @param request - DescribeAclAppsRequest
|
|
3577
3984
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3597,11 +4004,11 @@ class Client extends openapi_core_1.default {
|
|
|
3597
4004
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAclAppsResponse({}));
|
|
3598
4005
|
}
|
|
3599
4006
|
/**
|
|
3600
|
-
*
|
|
4007
|
+
* Lists access control applications.
|
|
3601
4008
|
*
|
|
3602
4009
|
* @remarks
|
|
3603
|
-
* ## QPS
|
|
3604
|
-
* The
|
|
4010
|
+
* ## QPS limits
|
|
4011
|
+
* 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.
|
|
3605
4012
|
*
|
|
3606
4013
|
* @param request - DescribeAclAppsRequest
|
|
3607
4014
|
* @returns DescribeAclAppsResponse
|
|
@@ -3611,7 +4018,7 @@ class Client extends openapi_core_1.default {
|
|
|
3611
4018
|
return await this.describeAclAppsWithOptions(request, runtime);
|
|
3612
4019
|
}
|
|
3613
4020
|
/**
|
|
3614
|
-
* Queries
|
|
4021
|
+
* Queries the access control backup list.
|
|
3615
4022
|
*
|
|
3616
4023
|
* @param request - DescribeAclBackupListRequest
|
|
3617
4024
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3649,7 +4056,7 @@ class Client extends openapi_core_1.default {
|
|
|
3649
4056
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAclBackupListResponse({}));
|
|
3650
4057
|
}
|
|
3651
4058
|
/**
|
|
3652
|
-
* Queries
|
|
4059
|
+
* Queries the access control backup list.
|
|
3653
4060
|
*
|
|
3654
4061
|
* @param request - DescribeAclBackupListRequest
|
|
3655
4062
|
* @returns DescribeAclBackupListResponse
|
|
@@ -3659,11 +4066,11 @@ class Client extends openapi_core_1.default {
|
|
|
3659
4066
|
return await this.describeAclBackupListWithOptions(request, runtime);
|
|
3660
4067
|
}
|
|
3661
4068
|
/**
|
|
3662
|
-
* Queries the details of an
|
|
4069
|
+
* Queries the details of an ACL check.
|
|
3663
4070
|
*
|
|
3664
4071
|
* @remarks
|
|
3665
|
-
* ## QPS
|
|
3666
|
-
*
|
|
4072
|
+
* ## QPS limits
|
|
4073
|
+
* 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.
|
|
3667
4074
|
*
|
|
3668
4075
|
* @param request - DescribeAclCheckRequest
|
|
3669
4076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3689,11 +4096,11 @@ class Client extends openapi_core_1.default {
|
|
|
3689
4096
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAclCheckResponse({}));
|
|
3690
4097
|
}
|
|
3691
4098
|
/**
|
|
3692
|
-
* Queries the details of an
|
|
4099
|
+
* Queries the details of an ACL check.
|
|
3693
4100
|
*
|
|
3694
4101
|
* @remarks
|
|
3695
|
-
* ## QPS
|
|
3696
|
-
*
|
|
4102
|
+
* ## QPS limits
|
|
4103
|
+
* 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.
|
|
3697
4104
|
*
|
|
3698
4105
|
* @param request - DescribeAclCheckRequest
|
|
3699
4106
|
* @returns DescribeAclCheckResponse
|
|
@@ -3703,11 +4110,11 @@ class Client extends openapi_core_1.default {
|
|
|
3703
4110
|
return await this.describeAclCheckWithOptions(request, runtime);
|
|
3704
4111
|
}
|
|
3705
4112
|
/**
|
|
3706
|
-
* Queries the
|
|
4113
|
+
* Queries the ACL check quota.
|
|
3707
4114
|
*
|
|
3708
4115
|
* @remarks
|
|
3709
|
-
* ## QPS
|
|
3710
|
-
*
|
|
4116
|
+
* ## QPS limit
|
|
4117
|
+
* 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.
|
|
3711
4118
|
*
|
|
3712
4119
|
* @param request - DescribeAclCheckQuotaRequest
|
|
3713
4120
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3733,11 +4140,11 @@ class Client extends openapi_core_1.default {
|
|
|
3733
4140
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAclCheckQuotaResponse({}));
|
|
3734
4141
|
}
|
|
3735
4142
|
/**
|
|
3736
|
-
* Queries the
|
|
4143
|
+
* Queries the ACL check quota.
|
|
3737
4144
|
*
|
|
3738
4145
|
* @remarks
|
|
3739
|
-
* ## QPS
|
|
3740
|
-
*
|
|
4146
|
+
* ## QPS limit
|
|
4147
|
+
* 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.
|
|
3741
4148
|
*
|
|
3742
4149
|
* @param request - DescribeAclCheckQuotaRequest
|
|
3743
4150
|
* @returns DescribeAclCheckQuotaResponse
|
|
@@ -3747,11 +4154,11 @@ class Client extends openapi_core_1.default {
|
|
|
3747
4154
|
return await this.describeAclCheckQuotaWithOptions(request, runtime);
|
|
3748
4155
|
}
|
|
3749
4156
|
/**
|
|
3750
|
-
* Queries
|
|
4157
|
+
* Queries ACL check records in batches.
|
|
3751
4158
|
*
|
|
3752
4159
|
* @remarks
|
|
3753
4160
|
* ## QPS limit
|
|
3754
|
-
* The
|
|
4161
|
+
* 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.
|
|
3755
4162
|
*
|
|
3756
4163
|
* @param request - DescribeAclChecksRequest
|
|
3757
4164
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3777,11 +4184,11 @@ class Client extends openapi_core_1.default {
|
|
|
3777
4184
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAclChecksResponse({}));
|
|
3778
4185
|
}
|
|
3779
4186
|
/**
|
|
3780
|
-
* Queries
|
|
4187
|
+
* Queries ACL check records in batches.
|
|
3781
4188
|
*
|
|
3782
4189
|
* @remarks
|
|
3783
4190
|
* ## QPS limit
|
|
3784
|
-
* The
|
|
4191
|
+
* 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.
|
|
3785
4192
|
*
|
|
3786
4193
|
* @param request - DescribeAclChecksRequest
|
|
3787
4194
|
* @returns DescribeAclChecksResponse
|
|
@@ -3791,11 +4198,11 @@ class Client extends openapi_core_1.default {
|
|
|
3791
4198
|
return await this.describeAclChecksWithOptions(request, runtime);
|
|
3792
4199
|
}
|
|
3793
4200
|
/**
|
|
3794
|
-
* Retrieves the total number of
|
|
4201
|
+
* Retrieves the total number of ACL configurations.
|
|
3795
4202
|
*
|
|
3796
4203
|
* @remarks
|
|
3797
|
-
* ## QPS
|
|
3798
|
-
* The
|
|
4204
|
+
* ## QPS limits
|
|
4205
|
+
* The QPS limit for a single user calling this API operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
3799
4206
|
*
|
|
3800
4207
|
* @param request - DescribeAclRuleCountRequest
|
|
3801
4208
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3827,11 +4234,11 @@ class Client extends openapi_core_1.default {
|
|
|
3827
4234
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAclRuleCountResponse({}));
|
|
3828
4235
|
}
|
|
3829
4236
|
/**
|
|
3830
|
-
* Retrieves the total number of
|
|
4237
|
+
* Retrieves the total number of ACL configurations.
|
|
3831
4238
|
*
|
|
3832
4239
|
* @remarks
|
|
3833
|
-
* ## QPS
|
|
3834
|
-
* The
|
|
4240
|
+
* ## QPS limits
|
|
4241
|
+
* The QPS limit for a single user calling this API operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
3835
4242
|
*
|
|
3836
4243
|
* @param request - DescribeAclRuleCountRequest
|
|
3837
4244
|
* @returns DescribeAclRuleCountResponse
|
|
@@ -3844,8 +4251,8 @@ class Client extends openapi_core_1.default {
|
|
|
3844
4251
|
* Retrieves the ACL whitelist.
|
|
3845
4252
|
*
|
|
3846
4253
|
* @remarks
|
|
3847
|
-
* ## QPS
|
|
3848
|
-
* The
|
|
4254
|
+
* ## QPS limits
|
|
4255
|
+
* The QPS limit for a single user for this API operation 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.
|
|
3849
4256
|
*
|
|
3850
4257
|
* @param request - DescribeAclWhitelistRequest
|
|
3851
4258
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3880,8 +4287,8 @@ class Client extends openapi_core_1.default {
|
|
|
3880
4287
|
* Retrieves the ACL whitelist.
|
|
3881
4288
|
*
|
|
3882
4289
|
* @remarks
|
|
3883
|
-
* ## QPS
|
|
3884
|
-
* The
|
|
4290
|
+
* ## QPS limits
|
|
4291
|
+
* The QPS limit for a single user for this API operation 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.
|
|
3885
4292
|
*
|
|
3886
4293
|
* @param request - DescribeAclWhitelistRequest
|
|
3887
4294
|
* @returns DescribeAclWhitelistResponse
|
|
@@ -3965,6 +4372,45 @@ class Client extends openapi_core_1.default {
|
|
|
3965
4372
|
let runtime = new $dara.RuntimeOptions({});
|
|
3966
4373
|
return await this.describeAddressBookWithOptions(request, runtime);
|
|
3967
4374
|
}
|
|
4375
|
+
/**
|
|
4376
|
+
* 查询应用程序统计
|
|
4377
|
+
*
|
|
4378
|
+
* @param request - DescribeApplicationStatisticsRequest
|
|
4379
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4380
|
+
* @returns DescribeApplicationStatisticsResponse
|
|
4381
|
+
*/
|
|
4382
|
+
async describeApplicationStatisticsWithOptions(request, runtime) {
|
|
4383
|
+
request.validate();
|
|
4384
|
+
let query = {};
|
|
4385
|
+
if (!$dara.isNull(request.lang)) {
|
|
4386
|
+
query["Lang"] = request.lang;
|
|
4387
|
+
}
|
|
4388
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4389
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4390
|
+
});
|
|
4391
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4392
|
+
action: "DescribeApplicationStatistics",
|
|
4393
|
+
version: "2017-12-07",
|
|
4394
|
+
protocol: "HTTPS",
|
|
4395
|
+
pathname: "/",
|
|
4396
|
+
method: "POST",
|
|
4397
|
+
authType: "AK",
|
|
4398
|
+
style: "RPC",
|
|
4399
|
+
reqBodyType: "formData",
|
|
4400
|
+
bodyType: "json",
|
|
4401
|
+
});
|
|
4402
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationStatisticsResponse({}));
|
|
4403
|
+
}
|
|
4404
|
+
/**
|
|
4405
|
+
* 查询应用程序统计
|
|
4406
|
+
*
|
|
4407
|
+
* @param request - DescribeApplicationStatisticsRequest
|
|
4408
|
+
* @returns DescribeApplicationStatisticsResponse
|
|
4409
|
+
*/
|
|
4410
|
+
async describeApplicationStatistics(request) {
|
|
4411
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4412
|
+
return await this.describeApplicationStatisticsWithOptions(request, runtime);
|
|
4413
|
+
}
|
|
3968
4414
|
/**
|
|
3969
4415
|
* Queries information about assets protected by Cloud Firewall.
|
|
3970
4416
|
*
|
|
@@ -4057,7 +4503,7 @@ class Client extends openapi_core_1.default {
|
|
|
4057
4503
|
return await this.describeAssetListWithOptions(request, runtime);
|
|
4058
4504
|
}
|
|
4059
4505
|
/**
|
|
4060
|
-
* Retrieves the
|
|
4506
|
+
* Retrieves the list of asset risk levels.
|
|
4061
4507
|
*
|
|
4062
4508
|
* @param request - DescribeAssetRiskListRequest
|
|
4063
4509
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4095,7 +4541,7 @@ class Client extends openapi_core_1.default {
|
|
|
4095
4541
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAssetRiskListResponse({}));
|
|
4096
4542
|
}
|
|
4097
4543
|
/**
|
|
4098
|
-
* Retrieves the
|
|
4544
|
+
* Retrieves the list of asset risk levels.
|
|
4099
4545
|
*
|
|
4100
4546
|
* @param request - DescribeAssetRiskListRequest
|
|
4101
4547
|
* @returns DescribeAssetRiskListResponse
|
|
@@ -4241,7 +4687,7 @@ class Client extends openapi_core_1.default {
|
|
|
4241
4687
|
return await this.describeBatchSlsDispatchStatusWithOptions(request, runtime);
|
|
4242
4688
|
}
|
|
4243
4689
|
/**
|
|
4244
|
-
* Queries the firewall risk
|
|
4690
|
+
* Queries the firewall risk levels.
|
|
4245
4691
|
*
|
|
4246
4692
|
* @deprecated OpenAPI DescribeCfwRiskLevelSummary is deprecated
|
|
4247
4693
|
*
|
|
@@ -4278,7 +4724,7 @@ class Client extends openapi_core_1.default {
|
|
|
4278
4724
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCfwRiskLevelSummaryResponse({}));
|
|
4279
4725
|
}
|
|
4280
4726
|
/**
|
|
4281
|
-
* Queries the firewall risk
|
|
4727
|
+
* Queries the firewall risk levels.
|
|
4282
4728
|
*
|
|
4283
4729
|
* @deprecated OpenAPI DescribeCfwRiskLevelSummary is deprecated
|
|
4284
4730
|
*
|
|
@@ -4397,7 +4843,7 @@ class Client extends openapi_core_1.default {
|
|
|
4397
4843
|
return await this.describeConfiguredDestinationIPWithOptions(request, runtime);
|
|
4398
4844
|
}
|
|
4399
4845
|
/**
|
|
4400
|
-
* Queries the list of outbound domains
|
|
4846
|
+
* Queries the list of outbound domains.
|
|
4401
4847
|
*
|
|
4402
4848
|
* @param request - DescribeConfiguredDomainNamesRequest
|
|
4403
4849
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4450,7 +4896,7 @@ class Client extends openapi_core_1.default {
|
|
|
4450
4896
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeConfiguredDomainNamesResponse({}));
|
|
4451
4897
|
}
|
|
4452
4898
|
/**
|
|
4453
|
-
* Queries the list of outbound domains
|
|
4899
|
+
* Queries the list of outbound domains.
|
|
4454
4900
|
*
|
|
4455
4901
|
* @param request - DescribeConfiguredDomainNamesRequest
|
|
4456
4902
|
* @returns DescribeConfiguredDomainNamesResponse
|
|
@@ -4836,7 +5282,7 @@ class Client extends openapi_core_1.default {
|
|
|
4836
5282
|
return await this.describeDomainResolveWithOptions(request, runtime);
|
|
4837
5283
|
}
|
|
4838
5284
|
/**
|
|
4839
|
-
* Queries
|
|
5285
|
+
* Queries file download tasks, including task information and download URLs.
|
|
4840
5286
|
*
|
|
4841
5287
|
* @param request - DescribeDownloadTaskRequest
|
|
4842
5288
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4874,7 +5320,7 @@ class Client extends openapi_core_1.default {
|
|
|
4874
5320
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDownloadTaskResponse({}));
|
|
4875
5321
|
}
|
|
4876
5322
|
/**
|
|
4877
|
-
* Queries
|
|
5323
|
+
* Queries file download tasks, including task information and download URLs.
|
|
4878
5324
|
*
|
|
4879
5325
|
* @param request - DescribeDownloadTaskRequest
|
|
4880
5326
|
* @returns DescribeDownloadTaskResponse
|
|
@@ -4935,9 +5381,9 @@ class Client extends openapi_core_1.default {
|
|
|
4935
5381
|
* Queries the event logs of Cloud Firewall.
|
|
4936
5382
|
*
|
|
4937
5383
|
* @remarks
|
|
4938
|
-
* 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 in pages. StartTime and EndTime are UNIX timestamps in seconds. The time span
|
|
5384
|
+
* 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 in pages. StartTime and EndTime are UNIX timestamps in seconds. The time span for a single query cannot exceed 8 days. If FirewallType is not specified, the Internet Border firewall (InternetFirewall) is queried by default. To query the VPC firewall, set FirewallType to VpcFirewall.
|
|
4939
5385
|
* ## QPS limits
|
|
4940
|
-
* The QPS limit per user
|
|
5386
|
+
* The QPS limit per user is 10 calls per second. If you exceed the limit, API calls are throttled, which may affect your services. Make API calls at a reasonable frequency.
|
|
4941
5387
|
*
|
|
4942
5388
|
* @param request - DescribeEventLogRequest
|
|
4943
5389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5008,9 +5454,9 @@ class Client extends openapi_core_1.default {
|
|
|
5008
5454
|
* Queries the event logs of Cloud Firewall.
|
|
5009
5455
|
*
|
|
5010
5456
|
* @remarks
|
|
5011
|
-
* 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 in pages. StartTime and EndTime are UNIX timestamps in seconds. The time span
|
|
5457
|
+
* 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 in pages. StartTime and EndTime are UNIX timestamps in seconds. The time span for a single query cannot exceed 8 days. If FirewallType is not specified, the Internet Border firewall (InternetFirewall) is queried by default. To query the VPC firewall, set FirewallType to VpcFirewall.
|
|
5012
5458
|
* ## QPS limits
|
|
5013
|
-
* The QPS limit per user
|
|
5459
|
+
* The QPS limit per user is 10 calls per second. If you exceed the limit, API calls are throttled, which may affect your services. Make API calls at a reasonable frequency.
|
|
5014
5460
|
*
|
|
5015
5461
|
* @param request - DescribeEventLogRequest
|
|
5016
5462
|
* @returns DescribeEventLogResponse
|
|
@@ -5020,11 +5466,11 @@ class Client extends openapi_core_1.default {
|
|
|
5020
5466
|
return await this.describeEventLogWithOptions(request, runtime);
|
|
5021
5467
|
}
|
|
5022
5468
|
/**
|
|
5023
|
-
* Retrieves
|
|
5469
|
+
* Retrieves firewall DROP data statistics.
|
|
5024
5470
|
*
|
|
5025
5471
|
* @remarks
|
|
5026
5472
|
* ### QPS limit
|
|
5027
|
-
* The
|
|
5473
|
+
* 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 services. Call this API operation at a reasonable frequency.
|
|
5028
5474
|
*
|
|
5029
5475
|
* @deprecated OpenAPI DescribeFirewallDropStatistics is deprecated
|
|
5030
5476
|
*
|
|
@@ -5048,11 +5494,11 @@ class Client extends openapi_core_1.default {
|
|
|
5048
5494
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFirewallDropStatisticsResponse({}));
|
|
5049
5495
|
}
|
|
5050
5496
|
/**
|
|
5051
|
-
* Retrieves
|
|
5497
|
+
* Retrieves firewall DROP data statistics.
|
|
5052
5498
|
*
|
|
5053
5499
|
* @remarks
|
|
5054
5500
|
* ### QPS limit
|
|
5055
|
-
* The
|
|
5501
|
+
* 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 services. Call this API operation at a reasonable frequency.
|
|
5056
5502
|
*
|
|
5057
5503
|
* @deprecated OpenAPI DescribeFirewallDropStatistics is deprecated
|
|
5058
5504
|
* @returns DescribeFirewallDropStatisticsResponse
|
|
@@ -5063,7 +5509,7 @@ class Client extends openapi_core_1.default {
|
|
|
5063
5509
|
return await this.describeFirewallDropStatisticsWithOptions(runtime);
|
|
5064
5510
|
}
|
|
5065
5511
|
/**
|
|
5066
|
-
* Retrieves the overall firewall
|
|
5512
|
+
* Retrieves the overall firewall blocking trends, including Internet, VPC, and NAT traffic.
|
|
5067
5513
|
*
|
|
5068
5514
|
* @param request - DescribeFirewallDropTrendRequest
|
|
5069
5515
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5098,7 +5544,7 @@ class Client extends openapi_core_1.default {
|
|
|
5098
5544
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFirewallDropTrendResponse({}));
|
|
5099
5545
|
}
|
|
5100
5546
|
/**
|
|
5101
|
-
* Retrieves the overall firewall
|
|
5547
|
+
* Retrieves the overall firewall blocking trends, including Internet, VPC, and NAT traffic.
|
|
5102
5548
|
*
|
|
5103
5549
|
* @param request - DescribeFirewallDropTrendRequest
|
|
5104
5550
|
* @returns DescribeFirewallDropTrendResponse
|
|
@@ -5167,7 +5613,7 @@ class Client extends openapi_core_1.default {
|
|
|
5167
5613
|
return await this.describeFirewallTaskWithOptions(request, runtime);
|
|
5168
5614
|
}
|
|
5169
5615
|
/**
|
|
5170
|
-
* Queries the traffic
|
|
5616
|
+
* Queries the traffic trends of the firewall.
|
|
5171
5617
|
*
|
|
5172
5618
|
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5173
5619
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5202,7 +5648,7 @@ class Client extends openapi_core_1.default {
|
|
|
5202
5648
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFirewallTrafficTrendResponse({}));
|
|
5203
5649
|
}
|
|
5204
5650
|
/**
|
|
5205
|
-
* Queries the traffic
|
|
5651
|
+
* Queries the traffic trends of the firewall.
|
|
5206
5652
|
*
|
|
5207
5653
|
* @param request - DescribeFirewallTrafficTrendRequest
|
|
5208
5654
|
* @returns DescribeFirewallTrafficTrendResponse
|
|
@@ -5283,7 +5729,7 @@ class Client extends openapi_core_1.default {
|
|
|
5283
5729
|
return await this.describeFirewallVSwitchWithOptions(request, runtime);
|
|
5284
5730
|
}
|
|
5285
5731
|
/**
|
|
5286
|
-
* Queries
|
|
5732
|
+
* Queries firewall vSwitch resources.
|
|
5287
5733
|
*
|
|
5288
5734
|
* @param request - DescribeFirewallVswitchResourcesRequest
|
|
5289
5735
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5324,7 +5770,7 @@ class Client extends openapi_core_1.default {
|
|
|
5324
5770
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFirewallVswitchResourcesResponse({}));
|
|
5325
5771
|
}
|
|
5326
5772
|
/**
|
|
5327
|
-
* Queries
|
|
5773
|
+
* Queries firewall vSwitch resources.
|
|
5328
5774
|
*
|
|
5329
5775
|
* @param request - DescribeFirewallVswitchResourcesRequest
|
|
5330
5776
|
* @returns DescribeFirewallVswitchResourcesResponse
|
|
@@ -5497,7 +5943,7 @@ class Client extends openapi_core_1.default {
|
|
|
5497
5943
|
return await this.describeInstanceMembersWithOptions(request, runtime);
|
|
5498
5944
|
}
|
|
5499
5945
|
/**
|
|
5500
|
-
* Retrieves the account in a resource directory for
|
|
5946
|
+
* Retrieves the account in a resource directory for the instance.
|
|
5501
5947
|
*
|
|
5502
5948
|
* @param request - DescribeInstanceRdAccountsRequest
|
|
5503
5949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5544,7 +5990,7 @@ class Client extends openapi_core_1.default {
|
|
|
5544
5990
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceRdAccountsResponse({}));
|
|
5545
5991
|
}
|
|
5546
5992
|
/**
|
|
5547
|
-
* Retrieves the account in a resource directory for
|
|
5993
|
+
* Retrieves the account in a resource directory for the instance.
|
|
5548
5994
|
*
|
|
5549
5995
|
* @param request - DescribeInstanceRdAccountsRequest
|
|
5550
5996
|
* @returns DescribeInstanceRdAccountsResponse
|
|
@@ -5596,11 +6042,11 @@ class Client extends openapi_core_1.default {
|
|
|
5596
6042
|
return await this.describeInstanceRiskLevelsWithOptions(request, runtime);
|
|
5597
6043
|
}
|
|
5598
6044
|
/**
|
|
5599
|
-
* Internet
|
|
6045
|
+
* Queries Internet defense trends.
|
|
5600
6046
|
*
|
|
5601
6047
|
* @remarks
|
|
5602
6048
|
* ## QPS limit
|
|
5603
|
-
*
|
|
6049
|
+
* 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.
|
|
5604
6050
|
*
|
|
5605
6051
|
* @param request - DescribeInternetDropTrafficTrendRequest
|
|
5606
6052
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5647,11 +6093,11 @@ class Client extends openapi_core_1.default {
|
|
|
5647
6093
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetDropTrafficTrendResponse({}));
|
|
5648
6094
|
}
|
|
5649
6095
|
/**
|
|
5650
|
-
* Internet
|
|
6096
|
+
* Queries Internet defense trends.
|
|
5651
6097
|
*
|
|
5652
6098
|
* @remarks
|
|
5653
6099
|
* ## QPS limit
|
|
5654
|
-
*
|
|
6100
|
+
* 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.
|
|
5655
6101
|
*
|
|
5656
6102
|
* @param request - DescribeInternetDropTrafficTrendRequest
|
|
5657
6103
|
* @returns DescribeInternetDropTrafficTrendResponse
|
|
@@ -5661,7 +6107,7 @@ class Client extends openapi_core_1.default {
|
|
|
5661
6107
|
return await this.describeInternetDropTrafficTrendWithOptions(request, runtime);
|
|
5662
6108
|
}
|
|
5663
6109
|
/**
|
|
5664
|
-
*
|
|
6110
|
+
* Retrieves the details of Internet exposure.
|
|
5665
6111
|
*
|
|
5666
6112
|
* @param request - DescribeInternetOpenDetailRequest
|
|
5667
6113
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5741,7 +6187,7 @@ class Client extends openapi_core_1.default {
|
|
|
5741
6187
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetOpenDetailResponse({}));
|
|
5742
6188
|
}
|
|
5743
6189
|
/**
|
|
5744
|
-
*
|
|
6190
|
+
* Retrieves the details of Internet exposure.
|
|
5745
6191
|
*
|
|
5746
6192
|
* @param request - DescribeInternetOpenDetailRequest
|
|
5747
6193
|
* @returns DescribeInternetOpenDetailResponse
|
|
@@ -5826,11 +6272,11 @@ class Client extends openapi_core_1.default {
|
|
|
5826
6272
|
return await this.describeInternetOpenIpWithOptions(request, runtime);
|
|
5827
6273
|
}
|
|
5828
6274
|
/**
|
|
5829
|
-
* Queries
|
|
6275
|
+
* Queries open ports on the Internet.
|
|
5830
6276
|
*
|
|
5831
6277
|
* @remarks
|
|
5832
|
-
* ##
|
|
5833
|
-
* The queries per second (QPS) limit for
|
|
6278
|
+
* ## Rate limit
|
|
6279
|
+
* 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.
|
|
5834
6280
|
*
|
|
5835
6281
|
* @param request - DescribeInternetOpenPortRequest
|
|
5836
6282
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5892,11 +6338,11 @@ class Client extends openapi_core_1.default {
|
|
|
5892
6338
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetOpenPortResponse({}));
|
|
5893
6339
|
}
|
|
5894
6340
|
/**
|
|
5895
|
-
* Queries
|
|
6341
|
+
* Queries open ports on the Internet.
|
|
5896
6342
|
*
|
|
5897
6343
|
* @remarks
|
|
5898
|
-
* ##
|
|
5899
|
-
* The queries per second (QPS) limit for
|
|
6344
|
+
* ## Rate limit
|
|
6345
|
+
* 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.
|
|
5900
6346
|
*
|
|
5901
6347
|
* @param request - DescribeInternetOpenPortRequest
|
|
5902
6348
|
* @returns DescribeInternetOpenPortResponse
|
|
@@ -5906,11 +6352,11 @@ class Client extends openapi_core_1.default {
|
|
|
5906
6352
|
return await this.describeInternetOpenPortWithOptions(request, runtime);
|
|
5907
6353
|
}
|
|
5908
6354
|
/**
|
|
5909
|
-
* Queries
|
|
6355
|
+
* Queries Internet-facing open services.
|
|
5910
6356
|
*
|
|
5911
6357
|
* @remarks
|
|
5912
6358
|
* ## QPS limits
|
|
5913
|
-
*
|
|
6359
|
+
* 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.
|
|
5914
6360
|
*
|
|
5915
6361
|
* @param request - DescribeInternetOpenServiceRequest
|
|
5916
6362
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5972,11 +6418,11 @@ class Client extends openapi_core_1.default {
|
|
|
5972
6418
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetOpenServiceResponse({}));
|
|
5973
6419
|
}
|
|
5974
6420
|
/**
|
|
5975
|
-
* Queries
|
|
6421
|
+
* Queries Internet-facing open services.
|
|
5976
6422
|
*
|
|
5977
6423
|
* @remarks
|
|
5978
6424
|
* ## QPS limits
|
|
5979
|
-
*
|
|
6425
|
+
* 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.
|
|
5980
6426
|
*
|
|
5981
6427
|
* @param request - DescribeInternetOpenServiceRequest
|
|
5982
6428
|
* @returns DescribeInternetOpenServiceResponse
|
|
@@ -5986,7 +6432,7 @@ class Client extends openapi_core_1.default {
|
|
|
5986
6432
|
return await this.describeInternetOpenServiceWithOptions(request, runtime);
|
|
5987
6433
|
}
|
|
5988
6434
|
/**
|
|
5989
|
-
* Retrieves
|
|
6435
|
+
* Retrieves Internet exposure statistics.
|
|
5990
6436
|
*
|
|
5991
6437
|
* @param request - DescribeInternetOpenStatisticRequest
|
|
5992
6438
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6027,7 +6473,7 @@ class Client extends openapi_core_1.default {
|
|
|
6027
6473
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetOpenStatisticResponse({}));
|
|
6028
6474
|
}
|
|
6029
6475
|
/**
|
|
6030
|
-
* Retrieves
|
|
6476
|
+
* Retrieves Internet exposure statistics.
|
|
6031
6477
|
*
|
|
6032
6478
|
* @param request - DescribeInternetOpenStatisticRequest
|
|
6033
6479
|
* @returns DescribeInternetOpenStatisticResponse
|
|
@@ -6037,7 +6483,7 @@ class Client extends openapi_core_1.default {
|
|
|
6037
6483
|
return await this.describeInternetOpenStatisticWithOptions(request, runtime);
|
|
6038
6484
|
}
|
|
6039
6485
|
/**
|
|
6040
|
-
* Retrieves
|
|
6486
|
+
* Retrieves the list of Internet service names.
|
|
6041
6487
|
*
|
|
6042
6488
|
* @param request - DescribeInternetServiceNameListRequest
|
|
6043
6489
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6072,7 +6518,7 @@ class Client extends openapi_core_1.default {
|
|
|
6072
6518
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetServiceNameListResponse({}));
|
|
6073
6519
|
}
|
|
6074
6520
|
/**
|
|
6075
|
-
* Retrieves
|
|
6521
|
+
* Retrieves the list of Internet service names.
|
|
6076
6522
|
*
|
|
6077
6523
|
* @param request - DescribeInternetServiceNameListRequest
|
|
6078
6524
|
* @returns DescribeInternetServiceNameListResponse
|
|
@@ -6082,7 +6528,7 @@ class Client extends openapi_core_1.default {
|
|
|
6082
6528
|
return await this.describeInternetServiceNameListWithOptions(request, runtime);
|
|
6083
6529
|
}
|
|
6084
6530
|
/**
|
|
6085
|
-
* Retrieves
|
|
6531
|
+
* Retrieves Internet-facing SLB instances.
|
|
6086
6532
|
*
|
|
6087
6533
|
* @param request - DescribeInternetSlbRequest
|
|
6088
6534
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6144,7 +6590,7 @@ class Client extends openapi_core_1.default {
|
|
|
6144
6590
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetSlbResponse({}));
|
|
6145
6591
|
}
|
|
6146
6592
|
/**
|
|
6147
|
-
* Retrieves
|
|
6593
|
+
* Retrieves Internet-facing SLB instances.
|
|
6148
6594
|
*
|
|
6149
6595
|
* @param request - DescribeInternetSlbRequest
|
|
6150
6596
|
* @returns DescribeInternetSlbResponse
|
|
@@ -6154,7 +6600,7 @@ class Client extends openapi_core_1.default {
|
|
|
6154
6600
|
return await this.describeInternetSlbWithOptions(request, runtime);
|
|
6155
6601
|
}
|
|
6156
6602
|
/**
|
|
6157
|
-
*
|
|
6603
|
+
* Queries the top Internet traffic by time.
|
|
6158
6604
|
*
|
|
6159
6605
|
* @param request - DescribeInternetTimeTopRequest
|
|
6160
6606
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6228,7 +6674,7 @@ class Client extends openapi_core_1.default {
|
|
|
6228
6674
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInternetTimeTopResponse({}));
|
|
6229
6675
|
}
|
|
6230
6676
|
/**
|
|
6231
|
-
*
|
|
6677
|
+
* Queries the top Internet traffic by time.
|
|
6232
6678
|
*
|
|
6233
6679
|
* @param request - DescribeInternetTimeTopRequest
|
|
6234
6680
|
* @returns DescribeInternetTimeTopResponse
|
|
@@ -6379,7 +6825,7 @@ class Client extends openapi_core_1.default {
|
|
|
6379
6825
|
return await this.describeInternetTrafficTrendWithOptions(request, runtime);
|
|
6380
6826
|
}
|
|
6381
6827
|
/**
|
|
6382
|
-
* Queries
|
|
6828
|
+
* Queries ECS vulnerability trends.
|
|
6383
6829
|
*
|
|
6384
6830
|
* @param request - DescribeInvadeEcsTrendRequest
|
|
6385
6831
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6420,7 +6866,7 @@ class Client extends openapi_core_1.default {
|
|
|
6420
6866
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInvadeEcsTrendResponse({}));
|
|
6421
6867
|
}
|
|
6422
6868
|
/**
|
|
6423
|
-
* Queries
|
|
6869
|
+
* Queries ECS vulnerability trends.
|
|
6424
6870
|
*
|
|
6425
6871
|
* @param request - DescribeInvadeEcsTrendRequest
|
|
6426
6872
|
* @returns DescribeInvadeEcsTrendResponse
|
|
@@ -6430,7 +6876,7 @@ class Client extends openapi_core_1.default {
|
|
|
6430
6876
|
return await this.describeInvadeEcsTrendWithOptions(request, runtime);
|
|
6431
6877
|
}
|
|
6432
6878
|
/**
|
|
6433
|
-
* Retrieves the details of a
|
|
6879
|
+
* Retrieves the details of a compromise awareness event.
|
|
6434
6880
|
*
|
|
6435
6881
|
* @param request - DescribeInvadeEventDetailRequest
|
|
6436
6882
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6474,7 +6920,7 @@ class Client extends openapi_core_1.default {
|
|
|
6474
6920
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInvadeEventDetailResponse({}));
|
|
6475
6921
|
}
|
|
6476
6922
|
/**
|
|
6477
|
-
* Retrieves the details of a
|
|
6923
|
+
* Retrieves the details of a compromise awareness event.
|
|
6478
6924
|
*
|
|
6479
6925
|
* @param request - DescribeInvadeEventDetailRequest
|
|
6480
6926
|
* @returns DescribeInvadeEventDetailResponse
|
|
@@ -6622,7 +7068,80 @@ class Client extends openapi_core_1.default {
|
|
|
6622
7068
|
return await this.describeInvadeEventNameListWithOptions(request, runtime);
|
|
6623
7069
|
}
|
|
6624
7070
|
/**
|
|
6625
|
-
*
|
|
7071
|
+
* Retrieves the raw payload of a vulnerability event.
|
|
7072
|
+
*
|
|
7073
|
+
* @remarks
|
|
7074
|
+
* Queries the raw 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. Both StartTime and EndTime are required and must be UNIX timestamps in seconds. The response includes the original payload text, 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.
|
|
7075
|
+
* ## Rate limit
|
|
7076
|
+
* 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.
|
|
7077
|
+
*
|
|
7078
|
+
* @param request - DescribeInvadeEventPayloadRequest
|
|
7079
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7080
|
+
* @returns DescribeInvadeEventPayloadResponse
|
|
7081
|
+
*/
|
|
7082
|
+
async describeInvadeEventPayloadWithOptions(request, runtime) {
|
|
7083
|
+
request.validate();
|
|
7084
|
+
let query = {};
|
|
7085
|
+
if (!$dara.isNull(request.assetsInstanceId)) {
|
|
7086
|
+
query["AssetsInstanceId"] = request.assetsInstanceId;
|
|
7087
|
+
}
|
|
7088
|
+
if (!$dara.isNull(request.endTime)) {
|
|
7089
|
+
query["EndTime"] = request.endTime;
|
|
7090
|
+
}
|
|
7091
|
+
if (!$dara.isNull(request.eventUuid)) {
|
|
7092
|
+
query["EventUuid"] = request.eventUuid;
|
|
7093
|
+
}
|
|
7094
|
+
if (!$dara.isNull(request.lang)) {
|
|
7095
|
+
query["Lang"] = request.lang;
|
|
7096
|
+
}
|
|
7097
|
+
if (!$dara.isNull(request.lang)) {
|
|
7098
|
+
query["Lang"] = request.lang;
|
|
7099
|
+
}
|
|
7100
|
+
if (!$dara.isNull(request.privateIP)) {
|
|
7101
|
+
query["PrivateIP"] = request.privateIP;
|
|
7102
|
+
}
|
|
7103
|
+
if (!$dara.isNull(request.publicIP)) {
|
|
7104
|
+
query["PublicIP"] = request.publicIP;
|
|
7105
|
+
}
|
|
7106
|
+
if (!$dara.isNull(request.sourceIp)) {
|
|
7107
|
+
query["SourceIp"] = request.sourceIp;
|
|
7108
|
+
}
|
|
7109
|
+
if (!$dara.isNull(request.startTime)) {
|
|
7110
|
+
query["StartTime"] = request.startTime;
|
|
7111
|
+
}
|
|
7112
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7113
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7114
|
+
});
|
|
7115
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7116
|
+
action: "DescribeInvadeEventPayload",
|
|
7117
|
+
version: "2017-12-07",
|
|
7118
|
+
protocol: "HTTPS",
|
|
7119
|
+
pathname: "/",
|
|
7120
|
+
method: "POST",
|
|
7121
|
+
authType: "AK",
|
|
7122
|
+
style: "RPC",
|
|
7123
|
+
reqBodyType: "formData",
|
|
7124
|
+
bodyType: "json",
|
|
7125
|
+
});
|
|
7126
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInvadeEventPayloadResponse({}));
|
|
7127
|
+
}
|
|
7128
|
+
/**
|
|
7129
|
+
* Retrieves the raw payload of a vulnerability event.
|
|
7130
|
+
*
|
|
7131
|
+
* @remarks
|
|
7132
|
+
* Queries the raw 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. Both StartTime and EndTime are required and must be UNIX timestamps in seconds. The response includes the original payload text, 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.
|
|
7133
|
+
* ## Rate limit
|
|
7134
|
+
* 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.
|
|
7135
|
+
*
|
|
7136
|
+
* @param request - DescribeInvadeEventPayloadRequest
|
|
7137
|
+
* @returns DescribeInvadeEventPayloadResponse
|
|
7138
|
+
*/
|
|
7139
|
+
async describeInvadeEventPayload(request) {
|
|
7140
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7141
|
+
return await this.describeInvadeEventPayloadWithOptions(request, runtime);
|
|
7142
|
+
}
|
|
7143
|
+
/**
|
|
7144
|
+
* Retrieves vulnerability event statistics.
|
|
6626
7145
|
*
|
|
6627
7146
|
* @param request - DescribeInvadeEventStatisticRequest
|
|
6628
7147
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6663,7 +7182,7 @@ class Client extends openapi_core_1.default {
|
|
|
6663
7182
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInvadeEventStatisticResponse({}));
|
|
6664
7183
|
}
|
|
6665
7184
|
/**
|
|
6666
|
-
*
|
|
7185
|
+
* Retrieves vulnerability event statistics.
|
|
6667
7186
|
*
|
|
6668
7187
|
* @param request - DescribeInvadeEventStatisticRequest
|
|
6669
7188
|
* @returns DescribeInvadeEventStatisticResponse
|
|
@@ -6673,12 +7192,12 @@ class Client extends openapi_core_1.default {
|
|
|
6673
7192
|
return await this.describeInvadeEventStatisticWithOptions(request, runtime);
|
|
6674
7193
|
}
|
|
6675
7194
|
/**
|
|
6676
|
-
* Queries the
|
|
7195
|
+
* Queries the IPS private IP tracing list.
|
|
6677
7196
|
*
|
|
6678
7197
|
* @remarks
|
|
6679
|
-
* This operation queries information about assets
|
|
6680
|
-
* ##
|
|
6681
|
-
*
|
|
7198
|
+
* This operation is generally used to perform paged queries on the information about assets protected by Cloud Firewall.
|
|
7199
|
+
* ## QPS limits
|
|
7200
|
+
* 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.
|
|
6682
7201
|
*
|
|
6683
7202
|
* @param request - DescribeIpsPrivateAssocRequest
|
|
6684
7203
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6725,12 +7244,12 @@ class Client extends openapi_core_1.default {
|
|
|
6725
7244
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeIpsPrivateAssocResponse({}));
|
|
6726
7245
|
}
|
|
6727
7246
|
/**
|
|
6728
|
-
* Queries the
|
|
7247
|
+
* Queries the IPS private IP tracing list.
|
|
6729
7248
|
*
|
|
6730
7249
|
* @remarks
|
|
6731
|
-
* This operation queries information about assets
|
|
6732
|
-
* ##
|
|
6733
|
-
*
|
|
7250
|
+
* This operation is generally used to perform paged queries on the information about assets protected by Cloud Firewall.
|
|
7251
|
+
* ## QPS limits
|
|
7252
|
+
* 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.
|
|
6734
7253
|
*
|
|
6735
7254
|
* @param request - DescribeIpsPrivateAssocRequest
|
|
6736
7255
|
* @returns DescribeIpsPrivateAssocResponse
|
|
@@ -7219,7 +7738,7 @@ class Client extends openapi_core_1.default {
|
|
|
7219
7738
|
return await this.describeNatFirewallPolicyPriorUsedWithOptions(request, runtime);
|
|
7220
7739
|
}
|
|
7221
7740
|
/**
|
|
7222
|
-
* Queries the precheck
|
|
7741
|
+
* Queries the precheck results of a NAT firewall.
|
|
7223
7742
|
*
|
|
7224
7743
|
* @param request - DescribeNatFirewallPrecheckDetailRequest
|
|
7225
7744
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7245,7 +7764,7 @@ class Client extends openapi_core_1.default {
|
|
|
7245
7764
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNatFirewallPrecheckDetailResponse({}));
|
|
7246
7765
|
}
|
|
7247
7766
|
/**
|
|
7248
|
-
* Queries the precheck
|
|
7767
|
+
* Queries the precheck results of a NAT firewall.
|
|
7249
7768
|
*
|
|
7250
7769
|
* @param request - DescribeNatFirewallPrecheckDetailRequest
|
|
7251
7770
|
* @returns DescribeNatFirewallPrecheckDetailResponse
|
|
@@ -7291,7 +7810,7 @@ class Client extends openapi_core_1.default {
|
|
|
7291
7810
|
return await this.describeNatFirewallQuotaWithOptions(request, runtime);
|
|
7292
7811
|
}
|
|
7293
7812
|
/**
|
|
7294
|
-
* Queries the top traffic
|
|
7813
|
+
* Queries the top traffic of a NAT firewall at a specific point in time.
|
|
7295
7814
|
*
|
|
7296
7815
|
* @param request - DescribeNatFirewallTimeTopRequest
|
|
7297
7816
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7317,7 +7836,7 @@ class Client extends openapi_core_1.default {
|
|
|
7317
7836
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNatFirewallTimeTopResponse({}));
|
|
7318
7837
|
}
|
|
7319
7838
|
/**
|
|
7320
|
-
* Queries the top traffic
|
|
7839
|
+
* Queries the top traffic of a NAT firewall at a specific point in time.
|
|
7321
7840
|
*
|
|
7322
7841
|
* @param request - DescribeNatFirewallTimeTopRequest
|
|
7323
7842
|
* @returns DescribeNatFirewallTimeTopResponse
|
|
@@ -7558,7 +8077,7 @@ class Client extends openapi_core_1.default {
|
|
|
7558
8077
|
return await this.describeNetworkTrafficTopRatioWithOptions(request, runtime);
|
|
7559
8078
|
}
|
|
7560
8079
|
/**
|
|
7561
|
-
* Retrieves statistics
|
|
8080
|
+
* 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.
|
|
7562
8081
|
*
|
|
7563
8082
|
* @param request - DescribeOpenIpAccessSrcStatRequest
|
|
7564
8083
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7599,7 +8118,7 @@ class Client extends openapi_core_1.default {
|
|
|
7599
8118
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOpenIpAccessSrcStatResponse({}));
|
|
7600
8119
|
}
|
|
7601
8120
|
/**
|
|
7602
|
-
* Retrieves statistics
|
|
8121
|
+
* 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.
|
|
7603
8122
|
*
|
|
7604
8123
|
* @param request - DescribeOpenIpAccessSrcStatRequest
|
|
7605
8124
|
* @returns DescribeOpenIpAccessSrcStatResponse
|
|
@@ -7849,7 +8368,13 @@ class Client extends openapi_core_1.default {
|
|
|
7849
8368
|
return await this.describeOutgoingDestinationCategoryWithOptions(request, runtime);
|
|
7850
8369
|
}
|
|
7851
8370
|
/**
|
|
7852
|
-
*
|
|
8371
|
+
* Queries the destination IP addresses of outbound connections.
|
|
8372
|
+
*
|
|
8373
|
+
* @remarks
|
|
8374
|
+
* This operation queries the destination IP addresses of outbound connections.
|
|
8375
|
+
* ## Before you begin
|
|
8376
|
+
* - Make sure that Cloud Firewall is activated for your account. Both subscription and pay-as-you-go editions are supported.
|
|
8377
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. A value of false indicates that Cloud Firewall is not activated.
|
|
7853
8378
|
*
|
|
7854
8379
|
* @param request - DescribeOutgoingDestinationIPRequest
|
|
7855
8380
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7917,7 +8442,13 @@ class Client extends openapi_core_1.default {
|
|
|
7917
8442
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOutgoingDestinationIPResponse({}));
|
|
7918
8443
|
}
|
|
7919
8444
|
/**
|
|
7920
|
-
*
|
|
8445
|
+
* Queries the destination IP addresses of outbound connections.
|
|
8446
|
+
*
|
|
8447
|
+
* @remarks
|
|
8448
|
+
* This operation queries the destination IP addresses of outbound connections.
|
|
8449
|
+
* ## Before you begin
|
|
8450
|
+
* - Make sure that Cloud Firewall is activated for your account. Both subscription and pay-as-you-go editions are supported.
|
|
8451
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. A value of false indicates that Cloud Firewall is not activated.
|
|
7921
8452
|
*
|
|
7922
8453
|
* @param request - DescribeOutgoingDestinationIPRequest
|
|
7923
8454
|
* @returns DescribeOutgoingDestinationIPResponse
|
|
@@ -8173,7 +8704,7 @@ class Client extends openapi_core_1.default {
|
|
|
8173
8704
|
return await this.describeOutgoingDomainDetailWithOptions(request, runtime);
|
|
8174
8705
|
}
|
|
8175
8706
|
/**
|
|
8176
|
-
*
|
|
8707
|
+
* 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.
|
|
8177
8708
|
*
|
|
8178
8709
|
* @param request - DescribeOutgoingRiskDomainAndIpCountRequest
|
|
8179
8710
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8199,7 +8730,7 @@ class Client extends openapi_core_1.default {
|
|
|
8199
8730
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOutgoingRiskDomainAndIpCountResponse({}));
|
|
8200
8731
|
}
|
|
8201
8732
|
/**
|
|
8202
|
-
*
|
|
8733
|
+
* 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.
|
|
8203
8734
|
*
|
|
8204
8735
|
* @param request - DescribeOutgoingRiskDomainAndIpCountRequest
|
|
8205
8736
|
* @returns DescribeOutgoingRiskDomainAndIpCountResponse
|
|
@@ -8209,7 +8740,13 @@ class Client extends openapi_core_1.default {
|
|
|
8209
8740
|
return await this.describeOutgoingRiskDomainAndIpCountWithOptions(request, runtime);
|
|
8210
8741
|
}
|
|
8211
8742
|
/**
|
|
8212
|
-
* Queries outbound connection
|
|
8743
|
+
* Queries the trend of outbound connection risks.
|
|
8744
|
+
*
|
|
8745
|
+
* @remarks
|
|
8746
|
+
* This operation queries the trend of outbound connection risks.
|
|
8747
|
+
* ## Before you begin
|
|
8748
|
+
* - Ensure that Cloud Firewall is activated before you call this operation.
|
|
8749
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. If false is returned, the service is not activated.
|
|
8213
8750
|
*
|
|
8214
8751
|
* @param request - DescribeOutgoingRiskTrendRequest
|
|
8215
8752
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8250,7 +8787,13 @@ class Client extends openapi_core_1.default {
|
|
|
8250
8787
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOutgoingRiskTrendResponse({}));
|
|
8251
8788
|
}
|
|
8252
8789
|
/**
|
|
8253
|
-
* Queries outbound connection
|
|
8790
|
+
* Queries the trend of outbound connection risks.
|
|
8791
|
+
*
|
|
8792
|
+
* @remarks
|
|
8793
|
+
* This operation queries the trend of outbound connection risks.
|
|
8794
|
+
* ## Before you begin
|
|
8795
|
+
* - Ensure that Cloud Firewall is activated before you call this operation.
|
|
8796
|
+
* - You can call the DescribeUserBuyVersion operation to query the UserStatus parameter. If false is returned, the service is not activated.
|
|
8254
8797
|
*
|
|
8255
8798
|
* @param request - DescribeOutgoingRiskTrendRequest
|
|
8256
8799
|
* @returns DescribeOutgoingRiskTrendResponse
|
|
@@ -8443,12 +8986,14 @@ class Client extends openapi_core_1.default {
|
|
|
8443
8986
|
return await this.describePageDocumentsWithOptions(request, runtime);
|
|
8444
8987
|
}
|
|
8445
8988
|
/**
|
|
8446
|
-
* Queries the status of strict mode for access control policies.
|
|
8989
|
+
* Queries the enabling status of strict mode for access control policies.
|
|
8447
8990
|
*
|
|
8448
8991
|
* @remarks
|
|
8449
|
-
*
|
|
8450
|
-
* ##
|
|
8451
|
-
*
|
|
8992
|
+
* This operation is typically used to query the enabling status of strict mode for access control policies.
|
|
8993
|
+
* ## Before you begin
|
|
8994
|
+
* - 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).
|
|
8995
|
+
* ## Rate limit
|
|
8996
|
+
* 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.
|
|
8452
8997
|
*
|
|
8453
8998
|
* @param request - DescribePolicyAdvancedConfigRequest
|
|
8454
8999
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8483,12 +9028,14 @@ class Client extends openapi_core_1.default {
|
|
|
8483
9028
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolicyAdvancedConfigResponse({}));
|
|
8484
9029
|
}
|
|
8485
9030
|
/**
|
|
8486
|
-
* Queries the status of strict mode for access control policies.
|
|
9031
|
+
* Queries the enabling status of strict mode for access control policies.
|
|
8487
9032
|
*
|
|
8488
9033
|
* @remarks
|
|
8489
|
-
*
|
|
8490
|
-
* ##
|
|
8491
|
-
*
|
|
9034
|
+
* This operation is typically used to query the enabling status of strict mode for access control policies.
|
|
9035
|
+
* ## Before you begin
|
|
9036
|
+
* - 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).
|
|
9037
|
+
* ## Rate limit
|
|
9038
|
+
* 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.
|
|
8492
9039
|
*
|
|
8493
9040
|
* @param request - DescribePolicyAdvancedConfigRequest
|
|
8494
9041
|
* @returns DescribePolicyAdvancedConfigResponse
|
|
@@ -8556,10 +9103,10 @@ class Client extends openapi_core_1.default {
|
|
|
8556
9103
|
return await this.describePolicyPriorUsedWithOptions(request, runtime);
|
|
8557
9104
|
}
|
|
8558
9105
|
/**
|
|
8559
|
-
* Queries
|
|
9106
|
+
* Queries pay-as-you-go 2.0 bills.
|
|
8560
9107
|
*
|
|
8561
9108
|
* @remarks
|
|
8562
|
-
*
|
|
9109
|
+
* 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.
|
|
8563
9110
|
*
|
|
8564
9111
|
* @param request - DescribePostpayBillRequest
|
|
8565
9112
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8603,10 +9150,10 @@ class Client extends openapi_core_1.default {
|
|
|
8603
9150
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePostpayBillResponse({}));
|
|
8604
9151
|
}
|
|
8605
9152
|
/**
|
|
8606
|
-
* Queries
|
|
9153
|
+
* Queries pay-as-you-go 2.0 bills.
|
|
8607
9154
|
*
|
|
8608
9155
|
* @remarks
|
|
8609
|
-
*
|
|
9156
|
+
* 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.
|
|
8610
9157
|
*
|
|
8611
9158
|
* @param request - DescribePostpayBillRequest
|
|
8612
9159
|
* @returns DescribePostpayBillResponse
|
|
@@ -9135,8 +9682,8 @@ class Client extends openapi_core_1.default {
|
|
|
9135
9682
|
* Retrieves region information.
|
|
9136
9683
|
*
|
|
9137
9684
|
* @remarks
|
|
9138
|
-
* ## QPS
|
|
9139
|
-
* The
|
|
9685
|
+
* ## QPS limits
|
|
9686
|
+
* 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.
|
|
9140
9687
|
*
|
|
9141
9688
|
* @param request - DescribeRegionInfoRequest
|
|
9142
9689
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9177,8 +9724,8 @@ class Client extends openapi_core_1.default {
|
|
|
9177
9724
|
* Retrieves region information.
|
|
9178
9725
|
*
|
|
9179
9726
|
* @remarks
|
|
9180
|
-
* ## QPS
|
|
9181
|
-
* The
|
|
9727
|
+
* ## QPS limits
|
|
9728
|
+
* 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.
|
|
9182
9729
|
*
|
|
9183
9730
|
* @param request - DescribeRegionInfoRequest
|
|
9184
9731
|
* @returns DescribeRegionInfoResponse
|
|
@@ -10468,7 +11015,7 @@ class Client extends openapi_core_1.default {
|
|
|
10468
11015
|
return await this.describeSlsAnalyzeOpenStatusWithOptions(request, runtime);
|
|
10469
11016
|
}
|
|
10470
11017
|
/**
|
|
10471
|
-
* Queries the execution status of a log configuration
|
|
11018
|
+
* Queries the execution status of a log configuration modification task.
|
|
10472
11019
|
*
|
|
10473
11020
|
* @remarks
|
|
10474
11021
|
* Before calling this operation, call ModifySlsDispatchConfig to obtain the TaskId.
|
|
@@ -10500,7 +11047,7 @@ class Client extends openapi_core_1.default {
|
|
|
10500
11047
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTaskDispatchStatusResponse({}));
|
|
10501
11048
|
}
|
|
10502
11049
|
/**
|
|
10503
|
-
* Queries the execution status of a log configuration
|
|
11050
|
+
* Queries the execution status of a log configuration modification task.
|
|
10504
11051
|
*
|
|
10505
11052
|
* @remarks
|
|
10506
11053
|
* Before calling this operation, call ModifySlsDispatchConfig to obtain the TaskId.
|
|
@@ -10655,7 +11202,7 @@ class Client extends openapi_core_1.default {
|
|
|
10655
11202
|
* Retrieves the details of a VPC firewall for a transit router.
|
|
10656
11203
|
*
|
|
10657
11204
|
* @remarks
|
|
10658
|
-
* Queries the details of a
|
|
11205
|
+
* 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.
|
|
10659
11206
|
*
|
|
10660
11207
|
* @param request - DescribeTrFirewallsV2DetailRequest
|
|
10661
11208
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10690,7 +11237,7 @@ class Client extends openapi_core_1.default {
|
|
|
10690
11237
|
* Retrieves the details of a VPC firewall for a transit router.
|
|
10691
11238
|
*
|
|
10692
11239
|
* @remarks
|
|
10693
|
-
* Queries the details of a
|
|
11240
|
+
* 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.
|
|
10694
11241
|
*
|
|
10695
11242
|
* @param request - DescribeTrFirewallsV2DetailRequest
|
|
10696
11243
|
* @returns DescribeTrFirewallsV2DetailResponse
|
|
@@ -11636,7 +12183,7 @@ class Client extends openapi_core_1.default {
|
|
|
11636
12183
|
return await this.describeVpcFirewallAssetListWithOptions(request, runtime);
|
|
11637
12184
|
}
|
|
11638
12185
|
/**
|
|
11639
|
-
* Queries the regions where
|
|
12186
|
+
* Queries the regions where VPC firewall assets are enabled.
|
|
11640
12187
|
*
|
|
11641
12188
|
* @param request - DescribeVpcFirewallAssetRegionListRequest
|
|
11642
12189
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11662,7 +12209,7 @@ class Client extends openapi_core_1.default {
|
|
|
11662
12209
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVpcFirewallAssetRegionListResponse({}));
|
|
11663
12210
|
}
|
|
11664
12211
|
/**
|
|
11665
|
-
* Queries the regions where
|
|
12212
|
+
* Queries the regions where VPC firewall assets are enabled.
|
|
11666
12213
|
*
|
|
11667
12214
|
* @param request - DescribeVpcFirewallAssetRegionListRequest
|
|
11668
12215
|
* @returns DescribeVpcFirewallAssetRegionListResponse
|
|
@@ -11880,10 +12427,12 @@ class Client extends openapi_core_1.default {
|
|
|
11880
12427
|
return await this.describeVpcFirewallCenSummaryListWithOptions(request, runtime);
|
|
11881
12428
|
}
|
|
11882
12429
|
/**
|
|
11883
|
-
* Queries all access control
|
|
12430
|
+
* Queries all access control policies of the specified virtual private cloud (VPC) firewalls.
|
|
11884
12431
|
*
|
|
11885
12432
|
* @remarks
|
|
11886
|
-
* 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
|
|
12433
|
+
* 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.
|
|
12434
|
+
* ## QPS limits
|
|
12435
|
+
* 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.
|
|
11887
12436
|
*
|
|
11888
12437
|
* @param request - DescribeVpcFirewallControlPolicyRequest
|
|
11889
12438
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11948,10 +12497,12 @@ class Client extends openapi_core_1.default {
|
|
|
11948
12497
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVpcFirewallControlPolicyResponse({}));
|
|
11949
12498
|
}
|
|
11950
12499
|
/**
|
|
11951
|
-
* Queries all access control
|
|
12500
|
+
* Queries all access control policies of the specified virtual private cloud (VPC) firewalls.
|
|
11952
12501
|
*
|
|
11953
12502
|
* @remarks
|
|
11954
|
-
* 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
|
|
12503
|
+
* 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.
|
|
12504
|
+
* ## QPS limits
|
|
12505
|
+
* 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.
|
|
11955
12506
|
*
|
|
11956
12507
|
* @param request - DescribeVpcFirewallControlPolicyRequest
|
|
11957
12508
|
* @returns DescribeVpcFirewallControlPolicyResponse
|
|
@@ -12751,7 +13302,7 @@ class Client extends openapi_core_1.default {
|
|
|
12751
13302
|
return await this.describeVpcFirewallTrafficTrendWithOptions(request, runtime);
|
|
12752
13303
|
}
|
|
12753
13304
|
/**
|
|
12754
|
-
* Queries the list of zones available for
|
|
13305
|
+
* Queries the list of zones available for VPC firewalls.
|
|
12755
13306
|
*
|
|
12756
13307
|
* @param request - DescribeVpcFirewallZoneRequest
|
|
12757
13308
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12798,7 +13349,7 @@ class Client extends openapi_core_1.default {
|
|
|
12798
13349
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVpcFirewallZoneResponse({}));
|
|
12799
13350
|
}
|
|
12800
13351
|
/**
|
|
12801
|
-
* Queries the list of zones available for
|
|
13352
|
+
* Queries the list of zones available for VPC firewalls.
|
|
12802
13353
|
*
|
|
12803
13354
|
* @param request - DescribeVpcFirewallZoneRequest
|
|
12804
13355
|
* @returns DescribeVpcFirewallZoneResponse
|
|
@@ -13074,42 +13625,456 @@ class Client extends openapi_core_1.default {
|
|
|
13074
13625
|
reqBodyType: "formData",
|
|
13075
13626
|
bodyType: "json",
|
|
13076
13627
|
});
|
|
13077
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableSdlProtectedAssetResponse({}));
|
|
13628
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableSdlProtectedAssetResponse({}));
|
|
13629
|
+
}
|
|
13630
|
+
/**
|
|
13631
|
+
* Enables Sensitive Data Leak (SDL) protection for assets. Before calling this operation, ensure that the SDL feature is activated. You can query DescribeUserBuyVersion.Sdl to check the status. A value of 1 indicates that the feature is activated.
|
|
13632
|
+
*
|
|
13633
|
+
* @remarks
|
|
13634
|
+
* Enables data leak detection (SDL) protection for the specified assets.
|
|
13635
|
+
*
|
|
13636
|
+
* @param request - EnableSdlProtectedAssetRequest
|
|
13637
|
+
* @returns EnableSdlProtectedAssetResponse
|
|
13638
|
+
*/
|
|
13639
|
+
async enableSdlProtectedAsset(request) {
|
|
13640
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13641
|
+
return await this.enableSdlProtectedAssetWithOptions(request, runtime);
|
|
13642
|
+
}
|
|
13643
|
+
/**
|
|
13644
|
+
* 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.
|
|
13645
|
+
*
|
|
13646
|
+
* @param request - GetApplicationTemplateRequest
|
|
13647
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13648
|
+
* @returns GetApplicationTemplateResponse
|
|
13649
|
+
*/
|
|
13650
|
+
async getApplicationTemplateWithOptions(request, runtime) {
|
|
13651
|
+
request.validate();
|
|
13652
|
+
let query = {};
|
|
13653
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
13654
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
13655
|
+
}
|
|
13656
|
+
if (!$dara.isNull(request.builtInApplicationActionType)) {
|
|
13657
|
+
query["BuiltInApplicationActionType"] = request.builtInApplicationActionType;
|
|
13658
|
+
}
|
|
13659
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13660
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13661
|
+
});
|
|
13662
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13663
|
+
action: "GetApplicationTemplate",
|
|
13664
|
+
version: "2017-12-07",
|
|
13665
|
+
protocol: "HTTPS",
|
|
13666
|
+
pathname: "/",
|
|
13667
|
+
method: "POST",
|
|
13668
|
+
authType: "AK",
|
|
13669
|
+
style: "RPC",
|
|
13670
|
+
reqBodyType: "formData",
|
|
13671
|
+
bodyType: "json",
|
|
13672
|
+
});
|
|
13673
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApplicationTemplateResponse({}));
|
|
13674
|
+
}
|
|
13675
|
+
/**
|
|
13676
|
+
* 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.
|
|
13677
|
+
*
|
|
13678
|
+
* @param request - GetApplicationTemplateRequest
|
|
13679
|
+
* @returns GetApplicationTemplateResponse
|
|
13680
|
+
*/
|
|
13681
|
+
async getApplicationTemplate(request) {
|
|
13682
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13683
|
+
return await this.getApplicationTemplateWithOptions(request, runtime);
|
|
13684
|
+
}
|
|
13685
|
+
/**
|
|
13686
|
+
* 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.
|
|
13687
|
+
*
|
|
13688
|
+
* @param request - GetFirewallFeatureRequest
|
|
13689
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13690
|
+
* @returns GetFirewallFeatureResponse
|
|
13691
|
+
*/
|
|
13692
|
+
async getFirewallFeatureWithOptions(request, runtime) {
|
|
13693
|
+
request.validate();
|
|
13694
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
|
|
13695
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13696
|
+
action: "GetFirewallFeature",
|
|
13697
|
+
version: "2017-12-07",
|
|
13698
|
+
protocol: "HTTPS",
|
|
13699
|
+
pathname: "/",
|
|
13700
|
+
method: "POST",
|
|
13701
|
+
authType: "AK",
|
|
13702
|
+
style: "RPC",
|
|
13703
|
+
reqBodyType: "formData",
|
|
13704
|
+
bodyType: "json",
|
|
13705
|
+
});
|
|
13706
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFirewallFeatureResponse({}));
|
|
13707
|
+
}
|
|
13708
|
+
/**
|
|
13709
|
+
* 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.
|
|
13710
|
+
*
|
|
13711
|
+
* @param request - GetFirewallFeatureRequest
|
|
13712
|
+
* @returns GetFirewallFeatureResponse
|
|
13713
|
+
*/
|
|
13714
|
+
async getFirewallFeature(request) {
|
|
13715
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13716
|
+
return await this.getFirewallFeatureWithOptions(request, runtime);
|
|
13717
|
+
}
|
|
13718
|
+
/**
|
|
13719
|
+
* Retrieves the download path for the certificate of a Transport Layer Security (TLS) inspection policy.
|
|
13720
|
+
*
|
|
13721
|
+
* @remarks
|
|
13722
|
+
* This operation returns a temporary download link for the Certificate Authority (CA) certificate. The link is valid for one minute. After the link expires, call this operation again to obtain a new download link.
|
|
13723
|
+
*
|
|
13724
|
+
* @param request - GetTlsInspectCertificateDownloadUrlRequest
|
|
13725
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13726
|
+
* @returns GetTlsInspectCertificateDownloadUrlResponse
|
|
13727
|
+
*/
|
|
13728
|
+
async getTlsInspectCertificateDownloadUrlWithOptions(request, runtime) {
|
|
13729
|
+
request.validate();
|
|
13730
|
+
let query = {};
|
|
13731
|
+
if (!$dara.isNull(request.caCertId)) {
|
|
13732
|
+
query["CaCertId"] = request.caCertId;
|
|
13733
|
+
}
|
|
13734
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13735
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13736
|
+
});
|
|
13737
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13738
|
+
action: "GetTlsInspectCertificateDownloadUrl",
|
|
13739
|
+
version: "2017-12-07",
|
|
13740
|
+
protocol: "HTTPS",
|
|
13741
|
+
pathname: "/",
|
|
13742
|
+
method: "POST",
|
|
13743
|
+
authType: "AK",
|
|
13744
|
+
style: "RPC",
|
|
13745
|
+
reqBodyType: "formData",
|
|
13746
|
+
bodyType: "json",
|
|
13747
|
+
});
|
|
13748
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTlsInspectCertificateDownloadUrlResponse({}));
|
|
13749
|
+
}
|
|
13750
|
+
/**
|
|
13751
|
+
* Retrieves the download path for the certificate of a Transport Layer Security (TLS) inspection policy.
|
|
13752
|
+
*
|
|
13753
|
+
* @remarks
|
|
13754
|
+
* This operation returns a temporary download link for the Certificate Authority (CA) certificate. The link is valid for one minute. After the link expires, call this operation again to obtain a new download link.
|
|
13755
|
+
*
|
|
13756
|
+
* @param request - GetTlsInspectCertificateDownloadUrlRequest
|
|
13757
|
+
* @returns GetTlsInspectCertificateDownloadUrlResponse
|
|
13758
|
+
*/
|
|
13759
|
+
async getTlsInspectCertificateDownloadUrl(request) {
|
|
13760
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13761
|
+
return await this.getTlsInspectCertificateDownloadUrlWithOptions(request, runtime);
|
|
13762
|
+
}
|
|
13763
|
+
/**
|
|
13764
|
+
* 查询应用程序自定义规则列表
|
|
13765
|
+
*
|
|
13766
|
+
* @param request - ListApplicationCustomRulesRequest
|
|
13767
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13768
|
+
* @returns ListApplicationCustomRulesResponse
|
|
13769
|
+
*/
|
|
13770
|
+
async listApplicationCustomRulesWithOptions(request, runtime) {
|
|
13771
|
+
request.validate();
|
|
13772
|
+
let query = {};
|
|
13773
|
+
if (!$dara.isNull(request.applicationCustomRuleId)) {
|
|
13774
|
+
query["ApplicationCustomRuleId"] = request.applicationCustomRuleId;
|
|
13775
|
+
}
|
|
13776
|
+
if (!$dara.isNull(request.applicationCustomRuleName)) {
|
|
13777
|
+
query["ApplicationCustomRuleName"] = request.applicationCustomRuleName;
|
|
13778
|
+
}
|
|
13779
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
13780
|
+
query["ApplicationId"] = request.applicationId;
|
|
13781
|
+
}
|
|
13782
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
13783
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
13784
|
+
}
|
|
13785
|
+
if (!$dara.isNull(request.lang)) {
|
|
13786
|
+
query["Lang"] = request.lang;
|
|
13787
|
+
}
|
|
13788
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
13789
|
+
query["PageNo"] = request.pageNo;
|
|
13790
|
+
}
|
|
13791
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
13792
|
+
query["PageSize"] = request.pageSize;
|
|
13793
|
+
}
|
|
13794
|
+
if (!$dara.isNull(request.priority)) {
|
|
13795
|
+
query["Priority"] = request.priority;
|
|
13796
|
+
}
|
|
13797
|
+
if (!$dara.isNull(request.ruleAction)) {
|
|
13798
|
+
query["RuleAction"] = request.ruleAction;
|
|
13799
|
+
}
|
|
13800
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13801
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13802
|
+
});
|
|
13803
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13804
|
+
action: "ListApplicationCustomRules",
|
|
13805
|
+
version: "2017-12-07",
|
|
13806
|
+
protocol: "HTTPS",
|
|
13807
|
+
pathname: "/",
|
|
13808
|
+
method: "POST",
|
|
13809
|
+
authType: "AK",
|
|
13810
|
+
style: "RPC",
|
|
13811
|
+
reqBodyType: "formData",
|
|
13812
|
+
bodyType: "json",
|
|
13813
|
+
});
|
|
13814
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApplicationCustomRulesResponse({}));
|
|
13815
|
+
}
|
|
13816
|
+
/**
|
|
13817
|
+
* 查询应用程序自定义规则列表
|
|
13818
|
+
*
|
|
13819
|
+
* @param request - ListApplicationCustomRulesRequest
|
|
13820
|
+
* @returns ListApplicationCustomRulesResponse
|
|
13821
|
+
*/
|
|
13822
|
+
async listApplicationCustomRules(request) {
|
|
13823
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13824
|
+
return await this.listApplicationCustomRulesWithOptions(request, runtime);
|
|
13825
|
+
}
|
|
13826
|
+
/**
|
|
13827
|
+
* Performs a paged query to retrieve the application program templates under the current Alibaba Cloud account. The paging operation supports fuzzy search by template name and description, batch exact filtering by template IDs, and exact filtering by switch statuses and actions for unidentified applications.
|
|
13828
|
+
*
|
|
13829
|
+
* @param request - ListApplicationTemplateRequest
|
|
13830
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13831
|
+
* @returns ListApplicationTemplateResponse
|
|
13832
|
+
*/
|
|
13833
|
+
async listApplicationTemplateWithOptions(request, runtime) {
|
|
13834
|
+
request.validate();
|
|
13835
|
+
let query = {};
|
|
13836
|
+
if (!$dara.isNull(request.applicationTemplateIds)) {
|
|
13837
|
+
query["ApplicationTemplateIds"] = request.applicationTemplateIds;
|
|
13838
|
+
}
|
|
13839
|
+
if (!$dara.isNull(request.applicationTemplateName)) {
|
|
13840
|
+
query["ApplicationTemplateName"] = request.applicationTemplateName;
|
|
13841
|
+
}
|
|
13842
|
+
if (!$dara.isNull(request.builtInApplicationStatus)) {
|
|
13843
|
+
query["BuiltInApplicationStatus"] = request.builtInApplicationStatus;
|
|
13844
|
+
}
|
|
13845
|
+
if (!$dara.isNull(request.customRuleStatus)) {
|
|
13846
|
+
query["CustomRuleStatus"] = request.customRuleStatus;
|
|
13847
|
+
}
|
|
13848
|
+
if (!$dara.isNull(request.description)) {
|
|
13849
|
+
query["Description"] = request.description;
|
|
13850
|
+
}
|
|
13851
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
13852
|
+
query["PageNo"] = request.pageNo;
|
|
13853
|
+
}
|
|
13854
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
13855
|
+
query["PageSize"] = request.pageSize;
|
|
13856
|
+
}
|
|
13857
|
+
if (!$dara.isNull(request.templateStatus)) {
|
|
13858
|
+
query["TemplateStatus"] = request.templateStatus;
|
|
13859
|
+
}
|
|
13860
|
+
if (!$dara.isNull(request.unknownAction)) {
|
|
13861
|
+
query["UnknownAction"] = request.unknownAction;
|
|
13862
|
+
}
|
|
13863
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13864
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13865
|
+
});
|
|
13866
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13867
|
+
action: "ListApplicationTemplate",
|
|
13868
|
+
version: "2017-12-07",
|
|
13869
|
+
protocol: "HTTPS",
|
|
13870
|
+
pathname: "/",
|
|
13871
|
+
method: "POST",
|
|
13872
|
+
authType: "AK",
|
|
13873
|
+
style: "RPC",
|
|
13874
|
+
reqBodyType: "formData",
|
|
13875
|
+
bodyType: "json",
|
|
13876
|
+
});
|
|
13877
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApplicationTemplateResponse({}));
|
|
13878
|
+
}
|
|
13879
|
+
/**
|
|
13880
|
+
* Performs a paged query to retrieve the application program templates under the current Alibaba Cloud account. The paging operation supports fuzzy search by template name and description, batch exact filtering by template IDs, and exact filtering by switch statuses and actions for unidentified applications.
|
|
13881
|
+
*
|
|
13882
|
+
* @param request - ListApplicationTemplateRequest
|
|
13883
|
+
* @returns ListApplicationTemplateResponse
|
|
13884
|
+
*/
|
|
13885
|
+
async listApplicationTemplate(request) {
|
|
13886
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13887
|
+
return await this.listApplicationTemplateWithOptions(request, runtime);
|
|
13888
|
+
}
|
|
13889
|
+
/**
|
|
13890
|
+
* 查询应用程序更新动态列表
|
|
13891
|
+
*
|
|
13892
|
+
* @param request - ListApplicationUpdateDynamicsRequest
|
|
13893
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13894
|
+
* @returns ListApplicationUpdateDynamicsResponse
|
|
13895
|
+
*/
|
|
13896
|
+
async listApplicationUpdateDynamicsWithOptions(request, runtime) {
|
|
13897
|
+
request.validate();
|
|
13898
|
+
let query = {};
|
|
13899
|
+
if (!$dara.isNull(request.lang)) {
|
|
13900
|
+
query["Lang"] = request.lang;
|
|
13901
|
+
}
|
|
13902
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
13903
|
+
query["PageNo"] = request.pageNo;
|
|
13904
|
+
}
|
|
13905
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
13906
|
+
query["PageSize"] = request.pageSize;
|
|
13907
|
+
}
|
|
13908
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13909
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13910
|
+
});
|
|
13911
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13912
|
+
action: "ListApplicationUpdateDynamics",
|
|
13913
|
+
version: "2017-12-07",
|
|
13914
|
+
protocol: "HTTPS",
|
|
13915
|
+
pathname: "/",
|
|
13916
|
+
method: "POST",
|
|
13917
|
+
authType: "AK",
|
|
13918
|
+
style: "RPC",
|
|
13919
|
+
reqBodyType: "formData",
|
|
13920
|
+
bodyType: "json",
|
|
13921
|
+
});
|
|
13922
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApplicationUpdateDynamicsResponse({}));
|
|
13923
|
+
}
|
|
13924
|
+
/**
|
|
13925
|
+
* 查询应用程序更新动态列表
|
|
13926
|
+
*
|
|
13927
|
+
* @param request - ListApplicationUpdateDynamicsRequest
|
|
13928
|
+
* @returns ListApplicationUpdateDynamicsResponse
|
|
13929
|
+
*/
|
|
13930
|
+
async listApplicationUpdateDynamics(request) {
|
|
13931
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13932
|
+
return await this.listApplicationUpdateDynamicsWithOptions(request, runtime);
|
|
13933
|
+
}
|
|
13934
|
+
/**
|
|
13935
|
+
* Performs a paging query on the list of applications in the built-in application signature library. Supports fuzzy match by application name, description, technology type, category name, and group name, exact match 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.
|
|
13936
|
+
*
|
|
13937
|
+
* @param request - ListApplicationsRequest
|
|
13938
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13939
|
+
* @returns ListApplicationsResponse
|
|
13940
|
+
*/
|
|
13941
|
+
async listApplicationsWithOptions(request, runtime) {
|
|
13942
|
+
request.validate();
|
|
13943
|
+
let query = {};
|
|
13944
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
13945
|
+
query["ApplicationId"] = request.applicationId;
|
|
13946
|
+
}
|
|
13947
|
+
if (!$dara.isNull(request.applicationName)) {
|
|
13948
|
+
query["ApplicationName"] = request.applicationName;
|
|
13949
|
+
}
|
|
13950
|
+
if (!$dara.isNull(request.categoryId)) {
|
|
13951
|
+
query["CategoryId"] = request.categoryId;
|
|
13952
|
+
}
|
|
13953
|
+
if (!$dara.isNull(request.categoryName)) {
|
|
13954
|
+
query["CategoryName"] = request.categoryName;
|
|
13955
|
+
}
|
|
13956
|
+
if (!$dara.isNull(request.description)) {
|
|
13957
|
+
query["Description"] = request.description;
|
|
13958
|
+
}
|
|
13959
|
+
if (!$dara.isNull(request.groupName)) {
|
|
13960
|
+
query["GroupName"] = request.groupName;
|
|
13961
|
+
}
|
|
13962
|
+
if (!$dara.isNull(request.lang)) {
|
|
13963
|
+
query["Lang"] = request.lang;
|
|
13964
|
+
}
|
|
13965
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
13966
|
+
query["PageNo"] = request.pageNo;
|
|
13967
|
+
}
|
|
13968
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
13969
|
+
query["PageSize"] = request.pageSize;
|
|
13970
|
+
}
|
|
13971
|
+
if (!$dara.isNull(request.risk)) {
|
|
13972
|
+
query["Risk"] = request.risk;
|
|
13973
|
+
}
|
|
13974
|
+
if (!$dara.isNull(request.technology)) {
|
|
13975
|
+
query["Technology"] = request.technology;
|
|
13976
|
+
}
|
|
13977
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13978
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13979
|
+
});
|
|
13980
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13981
|
+
action: "ListApplications",
|
|
13982
|
+
version: "2017-12-07",
|
|
13983
|
+
protocol: "HTTPS",
|
|
13984
|
+
pathname: "/",
|
|
13985
|
+
method: "POST",
|
|
13986
|
+
authType: "AK",
|
|
13987
|
+
style: "RPC",
|
|
13988
|
+
reqBodyType: "formData",
|
|
13989
|
+
bodyType: "json",
|
|
13990
|
+
});
|
|
13991
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApplicationsResponse({}));
|
|
13992
|
+
}
|
|
13993
|
+
/**
|
|
13994
|
+
* Performs a paging query on the list of applications in the built-in application signature library. Supports fuzzy match by application name, description, technology type, category name, and group name, exact match 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.
|
|
13995
|
+
*
|
|
13996
|
+
* @param request - ListApplicationsRequest
|
|
13997
|
+
* @returns ListApplicationsResponse
|
|
13998
|
+
*/
|
|
13999
|
+
async listApplications(request) {
|
|
14000
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
14001
|
+
return await this.listApplicationsWithOptions(request, runtime);
|
|
14002
|
+
}
|
|
14003
|
+
/**
|
|
14004
|
+
* Queries the CA certificates for TLS inspection.
|
|
14005
|
+
*
|
|
14006
|
+
* @param request - ListTlsInspectCACertificatesRequest
|
|
14007
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14008
|
+
* @returns ListTlsInspectCACertificatesResponse
|
|
14009
|
+
*/
|
|
14010
|
+
async listTlsInspectCACertificatesWithOptions(request, runtime) {
|
|
14011
|
+
request.validate();
|
|
14012
|
+
let query = {};
|
|
14013
|
+
if (!$dara.isNull(request.caCertId)) {
|
|
14014
|
+
query["CaCertId"] = request.caCertId;
|
|
14015
|
+
}
|
|
14016
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
14017
|
+
query["CurrentPage"] = request.currentPage;
|
|
14018
|
+
}
|
|
14019
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
14020
|
+
query["PageSize"] = request.pageSize;
|
|
14021
|
+
}
|
|
14022
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
14023
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
14024
|
+
});
|
|
14025
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
14026
|
+
action: "ListTlsInspectCACertificates",
|
|
14027
|
+
version: "2017-12-07",
|
|
14028
|
+
protocol: "HTTPS",
|
|
14029
|
+
pathname: "/",
|
|
14030
|
+
method: "POST",
|
|
14031
|
+
authType: "AK",
|
|
14032
|
+
style: "RPC",
|
|
14033
|
+
reqBodyType: "formData",
|
|
14034
|
+
bodyType: "json",
|
|
14035
|
+
});
|
|
14036
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTlsInspectCACertificatesResponse({}));
|
|
13078
14037
|
}
|
|
13079
14038
|
/**
|
|
13080
|
-
*
|
|
13081
|
-
*
|
|
13082
|
-
* @remarks
|
|
13083
|
-
* Enables data leak detection (SDL) protection for the specified assets.
|
|
14039
|
+
* Queries the CA certificates for TLS inspection.
|
|
13084
14040
|
*
|
|
13085
|
-
* @param request -
|
|
13086
|
-
* @returns
|
|
14041
|
+
* @param request - ListTlsInspectCACertificatesRequest
|
|
14042
|
+
* @returns ListTlsInspectCACertificatesResponse
|
|
13087
14043
|
*/
|
|
13088
|
-
async
|
|
14044
|
+
async listTlsInspectCACertificates(request) {
|
|
13089
14045
|
let runtime = new $dara.RuntimeOptions({});
|
|
13090
|
-
return await this.
|
|
14046
|
+
return await this.listTlsInspectCACertificatesWithOptions(request, runtime);
|
|
13091
14047
|
}
|
|
13092
14048
|
/**
|
|
13093
|
-
*
|
|
13094
|
-
*
|
|
13095
|
-
* @remarks
|
|
13096
|
-
* This operation returns a temporary download link for the Certificate Authority (CA) certificate. The link is valid for one minute. After the link expires, call this operation again to obtain a new download link.
|
|
14049
|
+
* Performs a paged query on the list of web filtering rules. Supports paging and exact filtering by web filtering template ID, rule ID, and rule action.
|
|
13097
14050
|
*
|
|
13098
|
-
* @param request -
|
|
14051
|
+
* @param request - ListWebFilterRulesRequest
|
|
13099
14052
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
13100
|
-
* @returns
|
|
14053
|
+
* @returns ListWebFilterRulesResponse
|
|
13101
14054
|
*/
|
|
13102
|
-
async
|
|
14055
|
+
async listWebFilterRulesWithOptions(request, runtime) {
|
|
13103
14056
|
request.validate();
|
|
13104
14057
|
let query = {};
|
|
13105
|
-
if (!$dara.isNull(request.
|
|
13106
|
-
query["
|
|
14058
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
14059
|
+
query["PageNo"] = request.pageNo;
|
|
14060
|
+
}
|
|
14061
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
14062
|
+
query["PageSize"] = request.pageSize;
|
|
14063
|
+
}
|
|
14064
|
+
if (!$dara.isNull(request.ruleAction)) {
|
|
14065
|
+
query["RuleAction"] = request.ruleAction;
|
|
14066
|
+
}
|
|
14067
|
+
if (!$dara.isNull(request.webFilterRuleId)) {
|
|
14068
|
+
query["WebFilterRuleId"] = request.webFilterRuleId;
|
|
14069
|
+
}
|
|
14070
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
14071
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
13107
14072
|
}
|
|
13108
14073
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13109
14074
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13110
14075
|
});
|
|
13111
14076
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13112
|
-
action: "
|
|
14077
|
+
action: "ListWebFilterRules",
|
|
13113
14078
|
version: "2017-12-07",
|
|
13114
14079
|
protocol: "HTTPS",
|
|
13115
14080
|
pathname: "/",
|
|
@@ -13119,45 +14084,51 @@ class Client extends openapi_core_1.default {
|
|
|
13119
14084
|
reqBodyType: "formData",
|
|
13120
14085
|
bodyType: "json",
|
|
13121
14086
|
});
|
|
13122
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
14087
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWebFilterRulesResponse({}));
|
|
13123
14088
|
}
|
|
13124
14089
|
/**
|
|
13125
|
-
*
|
|
13126
|
-
*
|
|
13127
|
-
* @remarks
|
|
13128
|
-
* This operation returns a temporary download link for the Certificate Authority (CA) certificate. The link is valid for one minute. After the link expires, call this operation again to obtain a new download link.
|
|
14090
|
+
* Performs a paged query on the list of web filtering rules. Supports paging and exact filtering by web filtering template ID, rule ID, and rule action.
|
|
13129
14091
|
*
|
|
13130
|
-
* @param request -
|
|
13131
|
-
* @returns
|
|
14092
|
+
* @param request - ListWebFilterRulesRequest
|
|
14093
|
+
* @returns ListWebFilterRulesResponse
|
|
13132
14094
|
*/
|
|
13133
|
-
async
|
|
14095
|
+
async listWebFilterRules(request) {
|
|
13134
14096
|
let runtime = new $dara.RuntimeOptions({});
|
|
13135
|
-
return await this.
|
|
14097
|
+
return await this.listWebFilterRulesWithOptions(request, runtime);
|
|
13136
14098
|
}
|
|
13137
14099
|
/**
|
|
13138
|
-
*
|
|
14100
|
+
* 查询Web过滤模版列表
|
|
13139
14101
|
*
|
|
13140
|
-
* @param request -
|
|
14102
|
+
* @param request - ListWebFilterTemplatesRequest
|
|
13141
14103
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
13142
|
-
* @returns
|
|
14104
|
+
* @returns ListWebFilterTemplatesResponse
|
|
13143
14105
|
*/
|
|
13144
|
-
async
|
|
14106
|
+
async listWebFilterTemplatesWithOptions(request, runtime) {
|
|
13145
14107
|
request.validate();
|
|
13146
14108
|
let query = {};
|
|
13147
|
-
if (!$dara.isNull(request.
|
|
13148
|
-
query["
|
|
14109
|
+
if (!$dara.isNull(request.description)) {
|
|
14110
|
+
query["Description"] = request.description;
|
|
13149
14111
|
}
|
|
13150
|
-
if (!$dara.isNull(request.
|
|
13151
|
-
query["
|
|
14112
|
+
if (!$dara.isNull(request.name)) {
|
|
14113
|
+
query["Name"] = request.name;
|
|
14114
|
+
}
|
|
14115
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
14116
|
+
query["PageNo"] = request.pageNo;
|
|
13152
14117
|
}
|
|
13153
14118
|
if (!$dara.isNull(request.pageSize)) {
|
|
13154
14119
|
query["PageSize"] = request.pageSize;
|
|
13155
14120
|
}
|
|
14121
|
+
if (!$dara.isNull(request.status)) {
|
|
14122
|
+
query["Status"] = request.status;
|
|
14123
|
+
}
|
|
14124
|
+
if (!$dara.isNull(request.webFilterTemplateIds)) {
|
|
14125
|
+
query["WebFilterTemplateIds"] = request.webFilterTemplateIds;
|
|
14126
|
+
}
|
|
13156
14127
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13157
14128
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13158
14129
|
});
|
|
13159
14130
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13160
|
-
action: "
|
|
14131
|
+
action: "ListWebFilterTemplates",
|
|
13161
14132
|
version: "2017-12-07",
|
|
13162
14133
|
protocol: "HTTPS",
|
|
13163
14134
|
pathname: "/",
|
|
@@ -13167,17 +14138,17 @@ class Client extends openapi_core_1.default {
|
|
|
13167
14138
|
reqBodyType: "formData",
|
|
13168
14139
|
bodyType: "json",
|
|
13169
14140
|
});
|
|
13170
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
14141
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWebFilterTemplatesResponse({}));
|
|
13171
14142
|
}
|
|
13172
14143
|
/**
|
|
13173
|
-
*
|
|
14144
|
+
* 查询Web过滤模版列表
|
|
13174
14145
|
*
|
|
13175
|
-
* @param request -
|
|
13176
|
-
* @returns
|
|
14146
|
+
* @param request - ListWebFilterTemplatesRequest
|
|
14147
|
+
* @returns ListWebFilterTemplatesResponse
|
|
13177
14148
|
*/
|
|
13178
|
-
async
|
|
14149
|
+
async listWebFilterTemplates(request) {
|
|
13179
14150
|
let runtime = new $dara.RuntimeOptions({});
|
|
13180
|
-
return await this.
|
|
14151
|
+
return await this.listWebFilterTemplatesWithOptions(request, runtime);
|
|
13181
14152
|
}
|
|
13182
14153
|
/**
|
|
13183
14154
|
* Modifies an address book.
|
|
@@ -13520,9 +14491,11 @@ class Client extends openapi_core_1.default {
|
|
|
13520
14491
|
* Modifies the priority of an access control policy.
|
|
13521
14492
|
*
|
|
13522
14493
|
* @remarks
|
|
13523
|
-
*
|
|
13524
|
-
* ##
|
|
13525
|
-
*
|
|
14494
|
+
* This operation is typically used to modify the configuration of an access control policy that allows, denies, or monitors traffic passing through Cloud Firewall.
|
|
14495
|
+
* ## Before you begin
|
|
14496
|
+
* 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.
|
|
14497
|
+
* ## Rate limit
|
|
14498
|
+
* 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.
|
|
13526
14499
|
*
|
|
13527
14500
|
* @param request - ModifyControlPolicyPriorityRequest
|
|
13528
14501
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13557,9 +14530,11 @@ class Client extends openapi_core_1.default {
|
|
|
13557
14530
|
* Modifies the priority of an access control policy.
|
|
13558
14531
|
*
|
|
13559
14532
|
* @remarks
|
|
13560
|
-
*
|
|
13561
|
-
* ##
|
|
13562
|
-
*
|
|
14533
|
+
* This operation is typically used to modify the configuration of an access control policy that allows, denies, or monitors traffic passing through Cloud Firewall.
|
|
14534
|
+
* ## Before you begin
|
|
14535
|
+
* 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.
|
|
14536
|
+
* ## Rate limit
|
|
14537
|
+
* 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.
|
|
13563
14538
|
*
|
|
13564
14539
|
* @param request - ModifyControlPolicyPriorityRequest
|
|
13565
14540
|
* @returns ModifyControlPolicyPriorityResponse
|
|
@@ -13701,7 +14676,14 @@ class Client extends openapi_core_1.default {
|
|
|
13701
14676
|
return await this.modifyDnsFirewallPolicyWithOptions(request, runtime);
|
|
13702
14677
|
}
|
|
13703
14678
|
/**
|
|
13704
|
-
*
|
|
14679
|
+
* Modifies the route policy switch.
|
|
14680
|
+
*
|
|
14681
|
+
* @remarks
|
|
14682
|
+
* This operation modifies the route policy switch of the virtual private cloud (VPC) firewalls for a transit router (TR).
|
|
14683
|
+
* ## Before you begin
|
|
14684
|
+
* - You have created virtual private cloud (VPC) firewalls for a transit router (TR) and obtained the FirewallId by calling CreateTrFirewallV2.
|
|
14685
|
+
* - You have created a route policy and obtained the TrFirewallRoutePolicyId by calling CreateTrFirewallV2RoutePolicy.
|
|
14686
|
+
* - You can call DescribeTrFirewallsV2List and DescribeTrFirewallV2RoutePolicyList to query and confirm the preceding resources.
|
|
13705
14687
|
*
|
|
13706
14688
|
* @param request - ModifyFirewallV2RoutePolicySwitchRequest
|
|
13707
14689
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13742,7 +14724,14 @@ class Client extends openapi_core_1.default {
|
|
|
13742
14724
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyFirewallV2RoutePolicySwitchResponse({}));
|
|
13743
14725
|
}
|
|
13744
14726
|
/**
|
|
13745
|
-
*
|
|
14727
|
+
* Modifies the route policy switch.
|
|
14728
|
+
*
|
|
14729
|
+
* @remarks
|
|
14730
|
+
* This operation modifies the route policy switch of the virtual private cloud (VPC) firewalls for a transit router (TR).
|
|
14731
|
+
* ## Before you begin
|
|
14732
|
+
* - You have created virtual private cloud (VPC) firewalls for a transit router (TR) and obtained the FirewallId by calling CreateTrFirewallV2.
|
|
14733
|
+
* - You have created a route policy and obtained the TrFirewallRoutePolicyId by calling CreateTrFirewallV2RoutePolicy.
|
|
14734
|
+
* - You can call DescribeTrFirewallsV2List and DescribeTrFirewallV2RoutePolicyList to query and confirm the preceding resources.
|
|
13746
14735
|
*
|
|
13747
14736
|
* @param request - ModifyFirewallV2RoutePolicySwitchRequest
|
|
13748
14737
|
* @returns ModifyFirewallV2RoutePolicySwitchResponse
|
|
@@ -14077,7 +15066,15 @@ class Client extends openapi_core_1.default {
|
|
|
14077
15066
|
return await this.modifyNatFirewallControlPolicyPositionWithOptions(request, runtime);
|
|
14078
15067
|
}
|
|
14079
15068
|
/**
|
|
14080
|
-
* Modifies
|
|
15069
|
+
* Modifies object group operations.
|
|
15070
|
+
*
|
|
15071
|
+
* @remarks
|
|
15072
|
+
* ## Before you begin
|
|
15073
|
+
* - Before you call this operation, you must activate a Cloud Firewall instance.
|
|
15074
|
+
* - 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.
|
|
15075
|
+
* - Activate a Cloud Firewall instance:
|
|
15076
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
15077
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
14081
15078
|
*
|
|
14082
15079
|
* @param request - ModifyObjectGroupOperationRequest
|
|
14083
15080
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14124,7 +15121,15 @@ class Client extends openapi_core_1.default {
|
|
|
14124
15121
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyObjectGroupOperationResponse({}));
|
|
14125
15122
|
}
|
|
14126
15123
|
/**
|
|
14127
|
-
* Modifies
|
|
15124
|
+
* Modifies object group operations.
|
|
15125
|
+
*
|
|
15126
|
+
* @remarks
|
|
15127
|
+
* ## Before you begin
|
|
15128
|
+
* - Before you call this operation, you must activate a Cloud Firewall instance.
|
|
15129
|
+
* - 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.
|
|
15130
|
+
* - Activate a Cloud Firewall instance:
|
|
15131
|
+
* - China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
|
|
15132
|
+
* - International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
|
|
14128
15133
|
*
|
|
14129
15134
|
* @param request - ModifyObjectGroupOperationRequest
|
|
14130
15135
|
* @returns ModifyObjectGroupOperationResponse
|
|
@@ -15273,7 +16278,7 @@ class Client extends openapi_core_1.default {
|
|
|
15273
16278
|
return await this.modifyVpcFirewallDefaultIPSConfigWithOptions(request, runtime);
|
|
15274
16279
|
}
|
|
15275
16280
|
/**
|
|
15276
|
-
* Modifies the
|
|
16281
|
+
* 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.
|
|
15277
16282
|
*
|
|
15278
16283
|
* @param request - ModifyVpcFirewallIPSWhitelistRequest
|
|
15279
16284
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15317,7 +16322,7 @@ class Client extends openapi_core_1.default {
|
|
|
15317
16322
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyVpcFirewallIPSWhitelistResponse({}));
|
|
15318
16323
|
}
|
|
15319
16324
|
/**
|
|
15320
|
-
* Modifies the
|
|
16325
|
+
* 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.
|
|
15321
16326
|
*
|
|
15322
16327
|
* @param request - ModifyVpcFirewallIPSWhitelistRequest
|
|
15323
16328
|
* @returns ModifyVpcFirewallIPSWhitelistResponse
|
|
@@ -16062,8 +17067,8 @@ class Client extends openapi_core_1.default {
|
|
|
16062
17067
|
* Modifies the status of an ACL check detail.
|
|
16063
17068
|
*
|
|
16064
17069
|
* @remarks
|
|
16065
|
-
* ## QPS
|
|
16066
|
-
* The QPS limit for a single user is 10
|
|
17070
|
+
* ## QPS limits
|
|
17071
|
+
* 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.
|
|
16067
17072
|
*
|
|
16068
17073
|
* @param request - UpdateAclCheckDetailStatusRequest
|
|
16069
17074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16104,8 +17109,8 @@ class Client extends openapi_core_1.default {
|
|
|
16104
17109
|
* Modifies the status of an ACL check detail.
|
|
16105
17110
|
*
|
|
16106
17111
|
* @remarks
|
|
16107
|
-
* ## QPS
|
|
16108
|
-
* The QPS limit for a single user is 10
|
|
17112
|
+
* ## QPS limits
|
|
17113
|
+
* 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.
|
|
16109
17114
|
*
|
|
16110
17115
|
* @param request - UpdateAclCheckDetailStatusRequest
|
|
16111
17116
|
* @returns UpdateAclCheckDetailStatusResponse
|
|
@@ -16114,6 +17119,171 @@ class Client extends openapi_core_1.default {
|
|
|
16114
17119
|
let runtime = new $dara.RuntimeOptions({});
|
|
16115
17120
|
return await this.updateAclCheckDetailStatusWithOptions(request, runtime);
|
|
16116
17121
|
}
|
|
17122
|
+
/**
|
|
17123
|
+
* Modifies multiple custom application rules in batches. You can modify up to 20 rules at a time. The template to which a rule belongs is determined by the rule ID, so you do not need to specify the template ID.
|
|
17124
|
+
*
|
|
17125
|
+
* @param tmpReq - UpdateApplicationCustomRulesRequest
|
|
17126
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17127
|
+
* @returns UpdateApplicationCustomRulesResponse
|
|
17128
|
+
*/
|
|
17129
|
+
async updateApplicationCustomRulesWithOptions(tmpReq, runtime) {
|
|
17130
|
+
tmpReq.validate();
|
|
17131
|
+
let request = new $_model.UpdateApplicationCustomRulesShrinkRequest({});
|
|
17132
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
17133
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
17134
|
+
request.rulesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
17135
|
+
}
|
|
17136
|
+
let query = {};
|
|
17137
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
17138
|
+
query["Rules"] = request.rulesShrink;
|
|
17139
|
+
}
|
|
17140
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
17141
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
17142
|
+
});
|
|
17143
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
17144
|
+
action: "UpdateApplicationCustomRules",
|
|
17145
|
+
version: "2017-12-07",
|
|
17146
|
+
protocol: "HTTPS",
|
|
17147
|
+
pathname: "/",
|
|
17148
|
+
method: "POST",
|
|
17149
|
+
authType: "AK",
|
|
17150
|
+
style: "RPC",
|
|
17151
|
+
reqBodyType: "formData",
|
|
17152
|
+
bodyType: "json",
|
|
17153
|
+
});
|
|
17154
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApplicationCustomRulesResponse({}));
|
|
17155
|
+
}
|
|
17156
|
+
/**
|
|
17157
|
+
* Modifies multiple custom application rules in batches. You can modify up to 20 rules at a time. The template to which a rule belongs is determined by the rule ID, so you do not need to specify the template ID.
|
|
17158
|
+
*
|
|
17159
|
+
* @param request - UpdateApplicationCustomRulesRequest
|
|
17160
|
+
* @returns UpdateApplicationCustomRulesResponse
|
|
17161
|
+
*/
|
|
17162
|
+
async updateApplicationCustomRules(request) {
|
|
17163
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
17164
|
+
return await this.updateApplicationCustomRulesWithOptions(request, runtime);
|
|
17165
|
+
}
|
|
17166
|
+
/**
|
|
17167
|
+
* 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.
|
|
17168
|
+
*
|
|
17169
|
+
* @remarks
|
|
17170
|
+
* ## QPS limit
|
|
17171
|
+
* 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 business. Call this API operation at a reasonable frequency.
|
|
17172
|
+
*
|
|
17173
|
+
* @param tmpReq - UpdateApplicationTemplateRequest
|
|
17174
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17175
|
+
* @returns UpdateApplicationTemplateResponse
|
|
17176
|
+
*/
|
|
17177
|
+
async updateApplicationTemplateWithOptions(tmpReq, runtime) {
|
|
17178
|
+
tmpReq.validate();
|
|
17179
|
+
let request = new $_model.UpdateApplicationTemplateShrinkRequest({});
|
|
17180
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
17181
|
+
if (!$dara.isNull(tmpReq.addBuiltInApplicationCustomActions)) {
|
|
17182
|
+
request.addBuiltInApplicationCustomActionsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.addBuiltInApplicationCustomActions, "AddBuiltInApplicationCustomActions", "json");
|
|
17183
|
+
}
|
|
17184
|
+
if (!$dara.isNull(tmpReq.removeBuiltInApplicationCustomActions)) {
|
|
17185
|
+
request.removeBuiltInApplicationCustomActionsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.removeBuiltInApplicationCustomActions, "RemoveBuiltInApplicationCustomActions", "json");
|
|
17186
|
+
}
|
|
17187
|
+
let query = {};
|
|
17188
|
+
if (!$dara.isNull(request.addBuiltInApplicationCustomActionsShrink)) {
|
|
17189
|
+
query["AddBuiltInApplicationCustomActions"] = request.addBuiltInApplicationCustomActionsShrink;
|
|
17190
|
+
}
|
|
17191
|
+
if (!$dara.isNull(request.applicationTemplateId)) {
|
|
17192
|
+
query["ApplicationTemplateId"] = request.applicationTemplateId;
|
|
17193
|
+
}
|
|
17194
|
+
if (!$dara.isNull(request.applicationTemplateName)) {
|
|
17195
|
+
query["ApplicationTemplateName"] = request.applicationTemplateName;
|
|
17196
|
+
}
|
|
17197
|
+
if (!$dara.isNull(request.builtInApplicationStatus)) {
|
|
17198
|
+
query["BuiltInApplicationStatus"] = request.builtInApplicationStatus;
|
|
17199
|
+
}
|
|
17200
|
+
if (!$dara.isNull(request.customRuleStatus)) {
|
|
17201
|
+
query["CustomRuleStatus"] = request.customRuleStatus;
|
|
17202
|
+
}
|
|
17203
|
+
if (!$dara.isNull(request.description)) {
|
|
17204
|
+
query["Description"] = request.description;
|
|
17205
|
+
}
|
|
17206
|
+
if (!$dara.isNull(request.removeBuiltInApplicationCustomActionsShrink)) {
|
|
17207
|
+
query["RemoveBuiltInApplicationCustomActions"] = request.removeBuiltInApplicationCustomActionsShrink;
|
|
17208
|
+
}
|
|
17209
|
+
if (!$dara.isNull(request.templateStatus)) {
|
|
17210
|
+
query["TemplateStatus"] = request.templateStatus;
|
|
17211
|
+
}
|
|
17212
|
+
if (!$dara.isNull(request.unknownAction)) {
|
|
17213
|
+
query["UnknownAction"] = request.unknownAction;
|
|
17214
|
+
}
|
|
17215
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
17216
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
17217
|
+
});
|
|
17218
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
17219
|
+
action: "UpdateApplicationTemplate",
|
|
17220
|
+
version: "2017-12-07",
|
|
17221
|
+
protocol: "HTTPS",
|
|
17222
|
+
pathname: "/",
|
|
17223
|
+
method: "POST",
|
|
17224
|
+
authType: "AK",
|
|
17225
|
+
style: "RPC",
|
|
17226
|
+
reqBodyType: "formData",
|
|
17227
|
+
bodyType: "json",
|
|
17228
|
+
});
|
|
17229
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApplicationTemplateResponse({}));
|
|
17230
|
+
}
|
|
17231
|
+
/**
|
|
17232
|
+
* 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.
|
|
17233
|
+
*
|
|
17234
|
+
* @remarks
|
|
17235
|
+
* ## QPS limit
|
|
17236
|
+
* 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 business. Call this API operation at a reasonable frequency.
|
|
17237
|
+
*
|
|
17238
|
+
* @param request - UpdateApplicationTemplateRequest
|
|
17239
|
+
* @returns UpdateApplicationTemplateResponse
|
|
17240
|
+
*/
|
|
17241
|
+
async updateApplicationTemplate(request) {
|
|
17242
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
17243
|
+
return await this.updateApplicationTemplateWithOptions(request, runtime);
|
|
17244
|
+
}
|
|
17245
|
+
/**
|
|
17246
|
+
* Enables the application control or web filtering feature for the current Alibaba Cloud account. This operation only supports enabling the feature. Disabling is not supported. This feature is not supported for Finance Cloud Free Edition or pay-as-you-go 1.0 instances.
|
|
17247
|
+
*
|
|
17248
|
+
* @param request - UpdateFirewallFeatureRequest
|
|
17249
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17250
|
+
* @returns UpdateFirewallFeatureResponse
|
|
17251
|
+
*/
|
|
17252
|
+
async updateFirewallFeatureWithOptions(request, runtime) {
|
|
17253
|
+
request.validate();
|
|
17254
|
+
let query = {};
|
|
17255
|
+
if (!$dara.isNull(request.featureName)) {
|
|
17256
|
+
query["FeatureName"] = request.featureName;
|
|
17257
|
+
}
|
|
17258
|
+
if (!$dara.isNull(request.status)) {
|
|
17259
|
+
query["Status"] = request.status;
|
|
17260
|
+
}
|
|
17261
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
17262
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
17263
|
+
});
|
|
17264
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
17265
|
+
action: "UpdateFirewallFeature",
|
|
17266
|
+
version: "2017-12-07",
|
|
17267
|
+
protocol: "HTTPS",
|
|
17268
|
+
pathname: "/",
|
|
17269
|
+
method: "POST",
|
|
17270
|
+
authType: "AK",
|
|
17271
|
+
style: "RPC",
|
|
17272
|
+
reqBodyType: "formData",
|
|
17273
|
+
bodyType: "json",
|
|
17274
|
+
});
|
|
17275
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFirewallFeatureResponse({}));
|
|
17276
|
+
}
|
|
17277
|
+
/**
|
|
17278
|
+
* Enables the application control or web filtering feature for the current Alibaba Cloud account. This operation only supports enabling the feature. Disabling is not supported. This feature is not supported for Finance Cloud Free Edition or pay-as-you-go 1.0 instances.
|
|
17279
|
+
*
|
|
17280
|
+
* @param request - UpdateFirewallFeatureRequest
|
|
17281
|
+
* @returns UpdateFirewallFeatureResponse
|
|
17282
|
+
*/
|
|
17283
|
+
async updateFirewallFeature(request) {
|
|
17284
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
17285
|
+
return await this.updateFirewallFeatureWithOptions(request, runtime);
|
|
17286
|
+
}
|
|
16117
17287
|
/**
|
|
16118
17288
|
* Updates the status of the Internet Border switch module for pay-as-you-go users.
|
|
16119
17289
|
*
|
|
@@ -16297,6 +17467,98 @@ class Client extends openapi_core_1.default {
|
|
|
16297
17467
|
let runtime = new $dara.RuntimeOptions({});
|
|
16298
17468
|
return await this.updateSecurityProxyWithOptions(request, runtime);
|
|
16299
17469
|
}
|
|
17470
|
+
/**
|
|
17471
|
+
* Modifies the actions and match conditions of web filtering rules in batches. You can modify up to 20 rules at a time, and the rule IDs in the list must be unique.
|
|
17472
|
+
*
|
|
17473
|
+
* @param tmpReq - UpdateWebFilterRulesRequest
|
|
17474
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17475
|
+
* @returns UpdateWebFilterRulesResponse
|
|
17476
|
+
*/
|
|
17477
|
+
async updateWebFilterRulesWithOptions(tmpReq, runtime) {
|
|
17478
|
+
tmpReq.validate();
|
|
17479
|
+
let request = new $_model.UpdateWebFilterRulesShrinkRequest({});
|
|
17480
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
17481
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
17482
|
+
request.rulesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
17483
|
+
}
|
|
17484
|
+
let query = {};
|
|
17485
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
17486
|
+
query["Rules"] = request.rulesShrink;
|
|
17487
|
+
}
|
|
17488
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
17489
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
17490
|
+
});
|
|
17491
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
17492
|
+
action: "UpdateWebFilterRules",
|
|
17493
|
+
version: "2017-12-07",
|
|
17494
|
+
protocol: "HTTPS",
|
|
17495
|
+
pathname: "/",
|
|
17496
|
+
method: "POST",
|
|
17497
|
+
authType: "AK",
|
|
17498
|
+
style: "RPC",
|
|
17499
|
+
reqBodyType: "formData",
|
|
17500
|
+
bodyType: "json",
|
|
17501
|
+
});
|
|
17502
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWebFilterRulesResponse({}));
|
|
17503
|
+
}
|
|
17504
|
+
/**
|
|
17505
|
+
* Modifies the actions and match conditions of web filtering rules in batches. You can modify up to 20 rules at a time, and the rule IDs in the list must be unique.
|
|
17506
|
+
*
|
|
17507
|
+
* @param request - UpdateWebFilterRulesRequest
|
|
17508
|
+
* @returns UpdateWebFilterRulesResponse
|
|
17509
|
+
*/
|
|
17510
|
+
async updateWebFilterRules(request) {
|
|
17511
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
17512
|
+
return await this.updateWebFilterRulesWithOptions(request, runtime);
|
|
17513
|
+
}
|
|
17514
|
+
/**
|
|
17515
|
+
* Modifies the name, status, or description of a web filtering template. The template ID must belong to the current Alibaba Cloud account.
|
|
17516
|
+
*
|
|
17517
|
+
* @param request - UpdateWebFilterTemplateRequest
|
|
17518
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17519
|
+
* @returns UpdateWebFilterTemplateResponse
|
|
17520
|
+
*/
|
|
17521
|
+
async updateWebFilterTemplateWithOptions(request, runtime) {
|
|
17522
|
+
request.validate();
|
|
17523
|
+
let query = {};
|
|
17524
|
+
if (!$dara.isNull(request.description)) {
|
|
17525
|
+
query["Description"] = request.description;
|
|
17526
|
+
}
|
|
17527
|
+
if (!$dara.isNull(request.name)) {
|
|
17528
|
+
query["Name"] = request.name;
|
|
17529
|
+
}
|
|
17530
|
+
if (!$dara.isNull(request.status)) {
|
|
17531
|
+
query["Status"] = request.status;
|
|
17532
|
+
}
|
|
17533
|
+
if (!$dara.isNull(request.webFilterTemplateId)) {
|
|
17534
|
+
query["WebFilterTemplateId"] = request.webFilterTemplateId;
|
|
17535
|
+
}
|
|
17536
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
17537
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
17538
|
+
});
|
|
17539
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
17540
|
+
action: "UpdateWebFilterTemplate",
|
|
17541
|
+
version: "2017-12-07",
|
|
17542
|
+
protocol: "HTTPS",
|
|
17543
|
+
pathname: "/",
|
|
17544
|
+
method: "POST",
|
|
17545
|
+
authType: "AK",
|
|
17546
|
+
style: "RPC",
|
|
17547
|
+
reqBodyType: "formData",
|
|
17548
|
+
bodyType: "json",
|
|
17549
|
+
});
|
|
17550
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWebFilterTemplateResponse({}));
|
|
17551
|
+
}
|
|
17552
|
+
/**
|
|
17553
|
+
* Modifies the name, status, or description of a web filtering template. The template ID must belong to the current Alibaba Cloud account.
|
|
17554
|
+
*
|
|
17555
|
+
* @param request - UpdateWebFilterTemplateRequest
|
|
17556
|
+
* @returns UpdateWebFilterTemplateResponse
|
|
17557
|
+
*/
|
|
17558
|
+
async updateWebFilterTemplate(request) {
|
|
17559
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
17560
|
+
return await this.updateWebFilterTemplateWithOptions(request, runtime);
|
|
17561
|
+
}
|
|
16300
17562
|
/**
|
|
16301
17563
|
* Restores an access control backup.
|
|
16302
17564
|
*
|