DescribeBatchSlsDispatchStatus

Updated at:

Queries the log delivery status.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-cloudfirewall:DescribeBatchSlsDispatchStatus

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language type for receiving messages.

Valid values:

  • en :

    English.

  • zh :

    Chinese.

zh

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

7036EBAB-F85F-5AAE-976F-C75AEE59****

LogstoreName

string

The name of the Logstore in Simple Log Service.

rs-stats

ProjectName

string

The name of the project in Simple Log Service.

cloudfirewallnew-project-199053910542****-cn-hangzhou

ItemList

array<object>

The list of log services.

object

The list of log services.

DispatchName

string

The name of the delivery type.

internet-traffic-log

DispatchValue

string

The value of the log classification.

internet_log

SearchName

string

The name of the search type. This parameter is fixed as log_type and can be ignored.

log_type

Enable

boolean

The delivery status.

true

ConfigStatus

string

The delivery configuration status.

success_finished

FilterKeys

array

The supported filter conditions for the Internet and VPC firewalls.

string

The supported filter conditions for the Internet and VPC firewalls.

Valid values:

  • other :

    Other.

  • attack :

    Attack.

  • acl :

    ACL

attack

LogVersion

string

The log version. A value of 1 indicates one Logstore, and a value of 2 indicates two Logstores.

1

InfoList

array<object>

The list of Logstore details.

array<object>

The information list.

LogstoreName

string

The name of the Logstore in Simple Log Service.

cloudfirewall-logstore

ProjectName

string

The name of the project in Simple Log Service.

cloudfirewall-project-1204872307283650-cn-hangzhou

ItemList

array<object>

The log delivery configuration details.

object

The log delivery configuration details.

DispatchName

string

The name of the delivery type.

internet-traffic-log

DispatchValue

string

The log classification key. Valid values:

internet_log

vpc_firewall_log

nat_firewall_log

ipv6_firewall_log

dns_firewall_log

ipv6_firewall_log

SearchName

string

The name of the search type. This parameter is fixed as log_type and can be ignored.

log_type

Enable

boolean

The enablement status of the delivery type.

true

ConfigStatus

string

The configuration status.

success_finished

FilterKeys

array

The detailed delivery configuration for the Internet and VPC firewalls.

string

The specific field name. A value of attack indicates attack event logs, acl indicates access control logs, and other indicates other logs.

attack,other

Site

string

The site. A value of cn indicates the Chinese mainland, intl indicates regions outside the Chinese mainland, and global indicates global.

cn

Examples

Success response

JSON format

{
  "RequestId": "7036EBAB-F85F-5AAE-976F-C75AEE59****",
  "LogstoreName": "rs-stats",
  "ProjectName": "cloudfirewallnew-project-199053910542****-cn-hangzhou",
  "ItemList": [
    {
      "DispatchName": "internet-traffic-log",
      "DispatchValue": "internet_log",
      "SearchName": "log_type",
      "Enable": true,
      "ConfigStatus": "success_finished",
      "FilterKeys": [
        "attack"
      ]
    }
  ],
  "LogVersion": "1",
  "InfoList": [
    {
      "LogstoreName": "cloudfirewall-logstore",
      "ProjectName": "cloudfirewall-project-1204872307283650-cn-hangzhou",
      "ItemList": [
        {
          "DispatchName": "internet-traffic-log",
          "DispatchValue": "ipv6_firewall_log",
          "SearchName": "log_type",
          "Enable": true,
          "ConfigStatus": "success_finished",
          "FilterKeys": [
            "attack,other"
          ]
        }
      ],
      "Site": "cn"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvokeError Invoke rosttea's api failed. Log Service query is abnormal. Check whether the Project failed to be created or deleted.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.