Collection Policy Args
Provides a SLS Collection Policy resource. Orchestration policies for cloud product log collection. For information about SLS Collection Policy and how to use it, see What is Collection Policy.
NOTE: Available since v1.232.0.
Import
SLS Collection Policy can be imported using the id, e.g.
$ pulumi import alicloud:sls/collectionPolicy:CollectionPolicy example <id>
Constructors
Properties
Centralized transfer configuration. See centralize_config
below.
Whether to enable centralized Conversion. The default value is false.
The configuration is supported only when the log type is global. For example, if the productCode is sls, global logs will be collected to the corresponding region during the first configuration. See data_config
below.
Collection rule configuration. See policy_config
below.
The name of the rule, with a minimum of 3 characters and a maximum of 63 characters, must start with a letter.
Product code.
For Resource Directory configuration, the account must have opened the resource directory and be an administrator or a delegated administrator. See resource_directory
below.