1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. EventsAuditTrack
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.EventsAuditTrack

Explore with Pulumi AI

Provides a resource to create events audit track

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = new tencentcloud.EventsAuditTrack("example", {
    filters: {
        resourceFields: [
            {
                actionType: "*",
                eventNames: [
                    "AddSubAccount",
                    "AddSubAccountCheckingMFA",
                ],
                resourceType: "cam",
            },
            {
                actionType: "*",
                eventNames: ["*"],
                resourceType: "cvm",
            },
            {
                actionType: "*",
                eventNames: ["*"],
                resourceType: "tke",
            },
        ],
    },
    status: 1,
    storage: {
        storageName: "393953ac-5c1b-457d-911d-376271b1b4f2",
        storagePrefix: "cloudaudit",
        storageRegion: "ap-guangzhou",
        storageType: "cls",
    },
    trackForAllMembers: 0,
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.EventsAuditTrack("example",
    filters={
        "resource_fields": [
            {
                "action_type": "*",
                "event_names": [
                    "AddSubAccount",
                    "AddSubAccountCheckingMFA",
                ],
                "resource_type": "cam",
            },
            {
                "action_type": "*",
                "event_names": ["*"],
                "resource_type": "cvm",
            },
            {
                "action_type": "*",
                "event_names": ["*"],
                "resource_type": "tke",
            },
        ],
    },
    status=1,
    storage={
        "storage_name": "393953ac-5c1b-457d-911d-376271b1b4f2",
        "storage_prefix": "cloudaudit",
        "storage_region": "ap-guangzhou",
        "storage_type": "cls",
    },
    track_for_all_members=0)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := tencentcloud.NewEventsAuditTrack(ctx, "example", &tencentcloud.EventsAuditTrackArgs{
			Filters: &tencentcloud.EventsAuditTrackFiltersArgs{
				ResourceFields: tencentcloud.EventsAuditTrackFiltersResourceFieldArray{
					&tencentcloud.EventsAuditTrackFiltersResourceFieldArgs{
						ActionType: pulumi.String("*"),
						EventNames: pulumi.StringArray{
							pulumi.String("AddSubAccount"),
							pulumi.String("AddSubAccountCheckingMFA"),
						},
						ResourceType: pulumi.String("cam"),
					},
					&tencentcloud.EventsAuditTrackFiltersResourceFieldArgs{
						ActionType: pulumi.String("*"),
						EventNames: pulumi.StringArray{
							pulumi.String("*"),
						},
						ResourceType: pulumi.String("cvm"),
					},
					&tencentcloud.EventsAuditTrackFiltersResourceFieldArgs{
						ActionType: pulumi.String("*"),
						EventNames: pulumi.StringArray{
							pulumi.String("*"),
						},
						ResourceType: pulumi.String("tke"),
					},
				},
			},
			Status: pulumi.Float64(1),
			Storage: &tencentcloud.EventsAuditTrackStorageArgs{
				StorageName:   pulumi.String("393953ac-5c1b-457d-911d-376271b1b4f2"),
				StoragePrefix: pulumi.String("cloudaudit"),
				StorageRegion: pulumi.String("ap-guangzhou"),
				StorageType:   pulumi.String("cls"),
			},
			TrackForAllMembers: pulumi.Float64(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var example = new Tencentcloud.EventsAuditTrack("example", new()
    {
        Filters = new Tencentcloud.Inputs.EventsAuditTrackFiltersArgs
        {
            ResourceFields = new[]
            {
                new Tencentcloud.Inputs.EventsAuditTrackFiltersResourceFieldArgs
                {
                    ActionType = "*",
                    EventNames = new[]
                    {
                        "AddSubAccount",
                        "AddSubAccountCheckingMFA",
                    },
                    ResourceType = "cam",
                },
                new Tencentcloud.Inputs.EventsAuditTrackFiltersResourceFieldArgs
                {
                    ActionType = "*",
                    EventNames = new[]
                    {
                        "*",
                    },
                    ResourceType = "cvm",
                },
                new Tencentcloud.Inputs.EventsAuditTrackFiltersResourceFieldArgs
                {
                    ActionType = "*",
                    EventNames = new[]
                    {
                        "*",
                    },
                    ResourceType = "tke",
                },
            },
        },
        Status = 1,
        Storage = new Tencentcloud.Inputs.EventsAuditTrackStorageArgs
        {
            StorageName = "393953ac-5c1b-457d-911d-376271b1b4f2",
            StoragePrefix = "cloudaudit",
            StorageRegion = "ap-guangzhou",
            StorageType = "cls",
        },
        TrackForAllMembers = 0,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.EventsAuditTrack;
import com.pulumi.tencentcloud.EventsAuditTrackArgs;
import com.pulumi.tencentcloud.inputs.EventsAuditTrackFiltersArgs;
import com.pulumi.tencentcloud.inputs.EventsAuditTrackStorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new EventsAuditTrack("example", EventsAuditTrackArgs.builder()
            .filters(EventsAuditTrackFiltersArgs.builder()
                .resourceFields(                
                    EventsAuditTrackFiltersResourceFieldArgs.builder()
                        .actionType("*")
                        .eventNames(                        
                            "AddSubAccount",
                            "AddSubAccountCheckingMFA")
                        .resourceType("cam")
                        .build(),
                    EventsAuditTrackFiltersResourceFieldArgs.builder()
                        .actionType("*")
                        .eventNames("*")
                        .resourceType("cvm")
                        .build(),
                    EventsAuditTrackFiltersResourceFieldArgs.builder()
                        .actionType("*")
                        .eventNames("*")
                        .resourceType("tke")
                        .build())
                .build())
            .status(1)
            .storage(EventsAuditTrackStorageArgs.builder()
                .storageName("393953ac-5c1b-457d-911d-376271b1b4f2")
                .storagePrefix("cloudaudit")
                .storageRegion("ap-guangzhou")
                .storageType("cls")
                .build())
            .trackForAllMembers(0)
            .build());

    }
}
Copy
resources:
  example:
    type: tencentcloud:EventsAuditTrack
    properties:
      filters:
        resourceFields:
          - actionType: '*'
            eventNames:
              - AddSubAccount
              - AddSubAccountCheckingMFA
            resourceType: cam
          - actionType: '*'
            eventNames:
              - '*'
            resourceType: cvm
          - actionType: '*'
            eventNames:
              - '*'
            resourceType: tke
      status: 1
      storage:
        storageName: 393953ac-5c1b-457d-911d-376271b1b4f2
        storagePrefix: cloudaudit
        storageRegion: ap-guangzhou
        storageType: cls
      trackForAllMembers: 0
Copy

Create EventsAuditTrack Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EventsAuditTrack(name: string, args: EventsAuditTrackArgs, opts?: CustomResourceOptions);
@overload
def EventsAuditTrack(resource_name: str,
                     args: EventsAuditTrackArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def EventsAuditTrack(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     filters: Optional[EventsAuditTrackFiltersArgs] = None,
                     status: Optional[float] = None,
                     storage: Optional[EventsAuditTrackStorageArgs] = None,
                     events_audit_track_id: Optional[str] = None,
                     name: Optional[str] = None,
                     track_for_all_members: Optional[float] = None)
func NewEventsAuditTrack(ctx *Context, name string, args EventsAuditTrackArgs, opts ...ResourceOption) (*EventsAuditTrack, error)
public EventsAuditTrack(string name, EventsAuditTrackArgs args, CustomResourceOptions? opts = null)
public EventsAuditTrack(String name, EventsAuditTrackArgs args)
public EventsAuditTrack(String name, EventsAuditTrackArgs args, CustomResourceOptions options)
type: tencentcloud:EventsAuditTrack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EventsAuditTrackArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EventsAuditTrackArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EventsAuditTrackArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EventsAuditTrackArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EventsAuditTrackArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EventsAuditTrack Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EventsAuditTrack resource accepts the following input properties:

Filters This property is required. EventsAuditTrackFilters
Data filtering criteria.
Status This property is required. double
Tracking set status (0: Not enabled; 1: Enabled).
Storage This property is required. EventsAuditTrackStorage
Storage type of shipped data. Valid values: cos, cls.
EventsAuditTrackId string
ID of the resource.
Name string
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
TrackForAllMembers double
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
Filters This property is required. EventsAuditTrackFiltersArgs
Data filtering criteria.
Status This property is required. float64
Tracking set status (0: Not enabled; 1: Enabled).
Storage This property is required. EventsAuditTrackStorageArgs
Storage type of shipped data. Valid values: cos, cls.
EventsAuditTrackId string
ID of the resource.
Name string
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
TrackForAllMembers float64
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
filters This property is required. EventsAuditTrackFilters
Data filtering criteria.
status This property is required. Double
Tracking set status (0: Not enabled; 1: Enabled).
storage This property is required. EventsAuditTrackStorage
Storage type of shipped data. Valid values: cos, cls.
eventsAuditTrackId String
ID of the resource.
name String
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
trackForAllMembers Double
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
filters This property is required. EventsAuditTrackFilters
Data filtering criteria.
status This property is required. number
Tracking set status (0: Not enabled; 1: Enabled).
storage This property is required. EventsAuditTrackStorage
Storage type of shipped data. Valid values: cos, cls.
eventsAuditTrackId string
ID of the resource.
name string
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
trackForAllMembers number
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
filters This property is required. EventsAuditTrackFiltersArgs
Data filtering criteria.
status This property is required. float
Tracking set status (0: Not enabled; 1: Enabled).
storage This property is required. EventsAuditTrackStorageArgs
Storage type of shipped data. Valid values: cos, cls.
events_audit_track_id str
ID of the resource.
name str
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
track_for_all_members float
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
filters This property is required. Property Map
Data filtering criteria.
status This property is required. Number
Tracking set status (0: Not enabled; 1: Enabled).
storage This property is required. Property Map
Storage type of shipped data. Valid values: cos, cls.
eventsAuditTrackId String
ID of the resource.
name String
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
trackForAllMembers Number
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).

Outputs

All input properties are implicitly available as output properties. Additionally, the EventsAuditTrack resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
TrackId double
Whether the log list has come to an end. true: Yes. Pagination is not required.
Id string
The provider-assigned unique ID for this managed resource.
TrackId float64
Whether the log list has come to an end. true: Yes. Pagination is not required.
id String
The provider-assigned unique ID for this managed resource.
trackId Double
Whether the log list has come to an end. true: Yes. Pagination is not required.
id string
The provider-assigned unique ID for this managed resource.
trackId number
Whether the log list has come to an end. true: Yes. Pagination is not required.
id str
The provider-assigned unique ID for this managed resource.
track_id float
Whether the log list has come to an end. true: Yes. Pagination is not required.
id String
The provider-assigned unique ID for this managed resource.
trackId Number
Whether the log list has come to an end. true: Yes. Pagination is not required.

Look up Existing EventsAuditTrack Resource

Get an existing EventsAuditTrack resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EventsAuditTrackState, opts?: CustomResourceOptions): EventsAuditTrack
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        events_audit_track_id: Optional[str] = None,
        filters: Optional[EventsAuditTrackFiltersArgs] = None,
        name: Optional[str] = None,
        status: Optional[float] = None,
        storage: Optional[EventsAuditTrackStorageArgs] = None,
        track_for_all_members: Optional[float] = None,
        track_id: Optional[float] = None) -> EventsAuditTrack
func GetEventsAuditTrack(ctx *Context, name string, id IDInput, state *EventsAuditTrackState, opts ...ResourceOption) (*EventsAuditTrack, error)
public static EventsAuditTrack Get(string name, Input<string> id, EventsAuditTrackState? state, CustomResourceOptions? opts = null)
public static EventsAuditTrack get(String name, Output<String> id, EventsAuditTrackState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:EventsAuditTrack    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
EventsAuditTrackId string
ID of the resource.
Filters EventsAuditTrackFilters
Data filtering criteria.
Name string
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
Status double
Tracking set status (0: Not enabled; 1: Enabled).
Storage EventsAuditTrackStorage
Storage type of shipped data. Valid values: cos, cls.
TrackForAllMembers double
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
TrackId double
Whether the log list has come to an end. true: Yes. Pagination is not required.
EventsAuditTrackId string
ID of the resource.
Filters EventsAuditTrackFiltersArgs
Data filtering criteria.
Name string
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
Status float64
Tracking set status (0: Not enabled; 1: Enabled).
Storage EventsAuditTrackStorageArgs
Storage type of shipped data. Valid values: cos, cls.
TrackForAllMembers float64
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
TrackId float64
Whether the log list has come to an end. true: Yes. Pagination is not required.
eventsAuditTrackId String
ID of the resource.
filters EventsAuditTrackFilters
Data filtering criteria.
name String
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
status Double
Tracking set status (0: Not enabled; 1: Enabled).
storage EventsAuditTrackStorage
Storage type of shipped data. Valid values: cos, cls.
trackForAllMembers Double
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
trackId Double
Whether the log list has come to an end. true: Yes. Pagination is not required.
eventsAuditTrackId string
ID of the resource.
filters EventsAuditTrackFilters
Data filtering criteria.
name string
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
status number
Tracking set status (0: Not enabled; 1: Enabled).
storage EventsAuditTrackStorage
Storage type of shipped data. Valid values: cos, cls.
trackForAllMembers number
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
trackId number
Whether the log list has come to an end. true: Yes. Pagination is not required.
events_audit_track_id str
ID of the resource.
filters EventsAuditTrackFiltersArgs
Data filtering criteria.
name str
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
status float
Tracking set status (0: Not enabled; 1: Enabled).
storage EventsAuditTrackStorageArgs
Storage type of shipped data. Valid values: cos, cls.
track_for_all_members float
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
track_id float
Whether the log list has come to an end. true: Yes. Pagination is not required.
eventsAuditTrackId String
ID of the resource.
filters Property Map
Data filtering criteria.
name String
Tracking set name, which can only contain 3-48 letters, digits, hyphens, and underscores.
status Number
Tracking set status (0: Not enabled; 1: Enabled).
storage Property Map
Storage type of shipped data. Valid values: cos, cls.
trackForAllMembers Number
Whether to enable the feature of shipping organization members operation logs to the organization admin account or the trusted service admin account (0: Not enabled; 1: Enabled. This feature can only be enabled by the organization admin account or the trusted service admin account).
trackId Number
Whether the log list has come to an end. true: Yes. Pagination is not required.

Supporting Types

EventsAuditTrackFilters
, EventsAuditTrackFiltersArgs

resourceFields List<Property Map>
Resource filtering conditions.

EventsAuditTrackFiltersResourceField
, EventsAuditTrackFiltersResourceFieldArgs

ActionType This property is required. string
Tracking set event type (Read: Read; Write: Write; *: All).
EventNames This property is required. List<string>
The list of API names of tracking set events. When ResourceType is *, the value of EventNames must be *. When ResourceType is a specified product, the value of EventNames can be *. When ResourceType is cos or cls, up to 10 APIs are supported.
ResourceType This property is required. string
The product to which the tracking set event belongs. The value can be a single product such as cos, or * that indicates all products.
ActionType This property is required. string
Tracking set event type (Read: Read; Write: Write; *: All).
EventNames This property is required. []string
The list of API names of tracking set events. When ResourceType is *, the value of EventNames must be *. When ResourceType is a specified product, the value of EventNames can be *. When ResourceType is cos or cls, up to 10 APIs are supported.
ResourceType This property is required. string
The product to which the tracking set event belongs. The value can be a single product such as cos, or * that indicates all products.
actionType This property is required. String
Tracking set event type (Read: Read; Write: Write; *: All).
eventNames This property is required. List<String>
The list of API names of tracking set events. When ResourceType is *, the value of EventNames must be *. When ResourceType is a specified product, the value of EventNames can be *. When ResourceType is cos or cls, up to 10 APIs are supported.
resourceType This property is required. String
The product to which the tracking set event belongs. The value can be a single product such as cos, or * that indicates all products.
actionType This property is required. string
Tracking set event type (Read: Read; Write: Write; *: All).
eventNames This property is required. string[]
The list of API names of tracking set events. When ResourceType is *, the value of EventNames must be *. When ResourceType is a specified product, the value of EventNames can be *. When ResourceType is cos or cls, up to 10 APIs are supported.
resourceType This property is required. string
The product to which the tracking set event belongs. The value can be a single product such as cos, or * that indicates all products.
action_type This property is required. str
Tracking set event type (Read: Read; Write: Write; *: All).
event_names This property is required. Sequence[str]
The list of API names of tracking set events. When ResourceType is *, the value of EventNames must be *. When ResourceType is a specified product, the value of EventNames can be *. When ResourceType is cos or cls, up to 10 APIs are supported.
resource_type This property is required. str
The product to which the tracking set event belongs. The value can be a single product such as cos, or * that indicates all products.
actionType This property is required. String
Tracking set event type (Read: Read; Write: Write; *: All).
eventNames This property is required. List<String>
The list of API names of tracking set events. When ResourceType is *, the value of EventNames must be *. When ResourceType is a specified product, the value of EventNames can be *. When ResourceType is cos or cls, up to 10 APIs are supported.
resourceType This property is required. String
The product to which the tracking set event belongs. The value can be a single product such as cos, or * that indicates all products.

EventsAuditTrackStorage
, EventsAuditTrackStorageArgs

StorageName This property is required. string
Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
StoragePrefix This property is required. string
Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
StorageRegion This property is required. string
StorageRegion *string json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'.
StorageType This property is required. string
Storage type (Valid values: cos, cls).
StorageAccountId string
Designated to store user ID.
StorageAppId string
Designated to store user app ID.
StorageName This property is required. string
Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
StoragePrefix This property is required. string
Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
StorageRegion This property is required. string
StorageRegion *string json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'.
StorageType This property is required. string
Storage type (Valid values: cos, cls).
StorageAccountId string
Designated to store user ID.
StorageAppId string
Designated to store user app ID.
storageName This property is required. String
Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
storagePrefix This property is required. String
Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
storageRegion This property is required. String
StorageRegion *string json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'.
storageType This property is required. String
Storage type (Valid values: cos, cls).
storageAccountId String
Designated to store user ID.
storageAppId String
Designated to store user app ID.
storageName This property is required. string
Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
storagePrefix This property is required. string
Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
storageRegion This property is required. string
StorageRegion *string json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'.
storageType This property is required. string
Storage type (Valid values: cos, cls).
storageAccountId string
Designated to store user ID.
storageAppId string
Designated to store user app ID.
storage_name This property is required. str
Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
storage_prefix This property is required. str
Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
storage_region This property is required. str
StorageRegion *string json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'.
storage_type This property is required. str
Storage type (Valid values: cos, cls).
storage_account_id str
Designated to store user ID.
storage_app_id str
Designated to store user app ID.
storageName This property is required. String
Storage name. For COS, the storage name is the custom bucket name, which can contain up to 50 lowercase letters, digits, and hyphens. It cannot contain "-APPID" and cannot start or end with a hyphen. For CLS, the storage name is the log topic ID, which can contain 1-50 characters.
storagePrefix This property is required. String
Storage directory prefix. The COS log file prefix can only contain 3-40 letters and digits.
storageRegion This property is required. String
StorageRegion *string json:'StorageRegion,omitnil,omitempty' name: 'StorageRegion'.
storageType This property is required. String
Storage type (Valid values: cos, cls).
storageAccountId String
Designated to store user ID.
storageAppId String
Designated to store user app ID.

Import

events audit track can be imported using the id, e.g.

$ pulumi import tencentcloud:index/eventsAuditTrack:EventsAuditTrack example 24283
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.