1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. AuditTrack
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.AuditTrack

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a audit track

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.AuditTrack("example", {
        actionType: "Read",
        eventNames: ["*"],
        resourceType: "*",
        status: 1,
        storage: {
            storageName: "db90b92c-91d2-46b0-94ac-debbbb21dc4e",
            storagePrefix: "cloudaudit",
            storageRegion: "ap-guangzhou",
            storageType: "cls",
        },
        trackForAllMembers: 0,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.AuditTrack("example",
        action_type="Read",
        event_names=["*"],
        resource_type="*",
        status=1,
        storage={
            "storage_name": "db90b92c-91d2-46b0-94ac-debbbb21dc4e",
            "storage_prefix": "cloudaudit",
            "storage_region": "ap-guangzhou",
            "storage_type": "cls",
        },
        track_for_all_members=0)
    
    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.NewAuditTrack(ctx, "example", &tencentcloud.AuditTrackArgs{
    			ActionType: pulumi.String("Read"),
    			EventNames: pulumi.StringArray{
    				pulumi.String("*"),
    			},
    			ResourceType: pulumi.String("*"),
    			Status:       pulumi.Float64(1),
    			Storage: &tencentcloud.AuditTrackStorageArgs{
    				StorageName:   pulumi.String("db90b92c-91d2-46b0-94ac-debbbb21dc4e"),
    				StoragePrefix: pulumi.String("cloudaudit"),
    				StorageRegion: pulumi.String("ap-guangzhou"),
    				StorageType:   pulumi.String("cls"),
    			},
    			TrackForAllMembers: pulumi.Float64(0),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.AuditTrack("example", new()
        {
            ActionType = "Read",
            EventNames = new[]
            {
                "*",
            },
            ResourceType = "*",
            Status = 1,
            Storage = new Tencentcloud.Inputs.AuditTrackStorageArgs
            {
                StorageName = "db90b92c-91d2-46b0-94ac-debbbb21dc4e",
                StoragePrefix = "cloudaudit",
                StorageRegion = "ap-guangzhou",
                StorageType = "cls",
            },
            TrackForAllMembers = 0,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.AuditTrack;
    import com.pulumi.tencentcloud.AuditTrackArgs;
    import com.pulumi.tencentcloud.inputs.AuditTrackStorageArgs;
    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 AuditTrack("example", AuditTrackArgs.builder()
                .actionType("Read")
                .eventNames("*")
                .resourceType("*")
                .status(1)
                .storage(AuditTrackStorageArgs.builder()
                    .storageName("db90b92c-91d2-46b0-94ac-debbbb21dc4e")
                    .storagePrefix("cloudaudit")
                    .storageRegion("ap-guangzhou")
                    .storageType("cls")
                    .build())
                .trackForAllMembers(0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:AuditTrack
        properties:
          actionType: Read
          eventNames:
            - '*'
          resourceType: '*'
          status: 1
          storage:
            storageName: db90b92c-91d2-46b0-94ac-debbbb21dc4e
            storagePrefix: cloudaudit
            storageRegion: ap-guangzhou
            storageType: cls
          trackForAllMembers: 0
    

    Specify storage user

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.AuditTrack("example", {
        actionType: "Read",
        eventNames: ["*"],
        resourceType: "*",
        status: 1,
        storage: {
            storageAccountId: "100037717137",
            storageAppId: "1309116520",
            storageName: "db90b92c-91d2-46b0-94ac-debbbb21dc4e",
            storagePrefix: "cloudaudit",
            storageRegion: "ap-guangzhou",
            storageType: "cos",
        },
        trackForAllMembers: 0,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.AuditTrack("example",
        action_type="Read",
        event_names=["*"],
        resource_type="*",
        status=1,
        storage={
            "storage_account_id": "100037717137",
            "storage_app_id": "1309116520",
            "storage_name": "db90b92c-91d2-46b0-94ac-debbbb21dc4e",
            "storage_prefix": "cloudaudit",
            "storage_region": "ap-guangzhou",
            "storage_type": "cos",
        },
        track_for_all_members=0)
    
    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.NewAuditTrack(ctx, "example", &tencentcloud.AuditTrackArgs{
    			ActionType: pulumi.String("Read"),
    			EventNames: pulumi.StringArray{
    				pulumi.String("*"),
    			},
    			ResourceType: pulumi.String("*"),
    			Status:       pulumi.Float64(1),
    			Storage: &tencentcloud.AuditTrackStorageArgs{
    				StorageAccountId: pulumi.String("100037717137"),
    				StorageAppId:     pulumi.String("1309116520"),
    				StorageName:      pulumi.String("db90b92c-91d2-46b0-94ac-debbbb21dc4e"),
    				StoragePrefix:    pulumi.String("cloudaudit"),
    				StorageRegion:    pulumi.String("ap-guangzhou"),
    				StorageType:      pulumi.String("cos"),
    			},
    			TrackForAllMembers: pulumi.Float64(0),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.AuditTrack("example", new()
        {
            ActionType = "Read",
            EventNames = new[]
            {
                "*",
            },
            ResourceType = "*",
            Status = 1,
            Storage = new Tencentcloud.Inputs.AuditTrackStorageArgs
            {
                StorageAccountId = "100037717137",
                StorageAppId = "1309116520",
                StorageName = "db90b92c-91d2-46b0-94ac-debbbb21dc4e",
                StoragePrefix = "cloudaudit",
                StorageRegion = "ap-guangzhou",
                StorageType = "cos",
            },
            TrackForAllMembers = 0,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.AuditTrack;
    import com.pulumi.tencentcloud.AuditTrackArgs;
    import com.pulumi.tencentcloud.inputs.AuditTrackStorageArgs;
    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 AuditTrack("example", AuditTrackArgs.builder()
                .actionType("Read")
                .eventNames("*")
                .resourceType("*")
                .status(1)
                .storage(AuditTrackStorageArgs.builder()
                    .storageAccountId("100037717137")
                    .storageAppId("1309116520")
                    .storageName("db90b92c-91d2-46b0-94ac-debbbb21dc4e")
                    .storagePrefix("cloudaudit")
                    .storageRegion("ap-guangzhou")
                    .storageType("cos")
                    .build())
                .trackForAllMembers(0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:AuditTrack
        properties:
          actionType: Read
          eventNames:
            - '*'
          resourceType: '*'
          status: 1
          storage:
            storageAccountId: '100037717137'
            storageAppId: '1309116520'
            storageName: db90b92c-91d2-46b0-94ac-debbbb21dc4e
            storagePrefix: cloudaudit
            storageRegion: ap-guangzhou
            storageType: cos
          trackForAllMembers: 0
    

    Create AuditTrack Resource

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

    Constructor syntax

    new AuditTrack(name: string, args: AuditTrackArgs, opts?: CustomResourceOptions);
    @overload
    def AuditTrack(resource_name: str,
                   args: AuditTrackArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuditTrack(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   action_type: Optional[str] = None,
                   event_names: Optional[Sequence[str]] = None,
                   resource_type: Optional[str] = None,
                   status: Optional[float] = None,
                   storage: Optional[AuditTrackStorageArgs] = None,
                   audit_track_id: Optional[str] = None,
                   name: Optional[str] = None,
                   track_for_all_members: Optional[float] = None)
    func NewAuditTrack(ctx *Context, name string, args AuditTrackArgs, opts ...ResourceOption) (*AuditTrack, error)
    public AuditTrack(string name, AuditTrackArgs args, CustomResourceOptions? opts = null)
    public AuditTrack(String name, AuditTrackArgs args)
    public AuditTrack(String name, AuditTrackArgs args, CustomResourceOptions options)
    
    type: tencentcloud:AuditTrack
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    AuditTrack 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 AuditTrack resource accepts the following input properties:

    ActionType string
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    EventNames List<string>
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    ResourceType string
    Track product, optional:- *: All product- Single product, such as cos.
    Status double
    Track status, optional:- 0: Close- 1: Open.
    Storage AuditTrackStorage
    Track Storage, support cos and cls.
    AuditTrackId string
    ID of the resource.
    Name string
    Track name.
    TrackForAllMembers double
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    ActionType string
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    EventNames []string
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    ResourceType string
    Track product, optional:- *: All product- Single product, such as cos.
    Status float64
    Track status, optional:- 0: Close- 1: Open.
    Storage AuditTrackStorageArgs
    Track Storage, support cos and cls.
    AuditTrackId string
    ID of the resource.
    Name string
    Track name.
    TrackForAllMembers float64
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    actionType String
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    eventNames List<String>
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    resourceType String
    Track product, optional:- *: All product- Single product, such as cos.
    status Double
    Track status, optional:- 0: Close- 1: Open.
    storage AuditTrackStorage
    Track Storage, support cos and cls.
    auditTrackId String
    ID of the resource.
    name String
    Track name.
    trackForAllMembers Double
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    actionType string
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    eventNames string[]
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    resourceType string
    Track product, optional:- *: All product- Single product, such as cos.
    status number
    Track status, optional:- 0: Close- 1: Open.
    storage AuditTrackStorage
    Track Storage, support cos and cls.
    auditTrackId string
    ID of the resource.
    name string
    Track name.
    trackForAllMembers number
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    action_type str
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    event_names Sequence[str]
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    resource_type str
    Track product, optional:- *: All product- Single product, such as cos.
    status float
    Track status, optional:- 0: Close- 1: Open.
    storage AuditTrackStorageArgs
    Track Storage, support cos and cls.
    audit_track_id str
    ID of the resource.
    name str
    Track name.
    track_for_all_members float
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    actionType String
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    eventNames List<String>
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    resourceType String
    Track product, optional:- *: All product- Single product, such as cos.
    status Number
    Track status, optional:- 0: Close- 1: Open.
    storage Property Map
    Track Storage, support cos and cls.
    auditTrackId String
    ID of the resource.
    name String
    Track name.
    trackForAllMembers Number
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.

    Outputs

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

    CreateTime string
    Track create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreateTime string
    Track create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    createTime String
    Track create time.
    id String
    The provider-assigned unique ID for this managed resource.
    createTime string
    Track create time.
    id string
    The provider-assigned unique ID for this managed resource.
    create_time str
    Track create time.
    id str
    The provider-assigned unique ID for this managed resource.
    createTime String
    Track create time.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AuditTrack Resource

    Get an existing AuditTrack 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?: AuditTrackState, opts?: CustomResourceOptions): AuditTrack
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action_type: Optional[str] = None,
            audit_track_id: Optional[str] = None,
            create_time: Optional[str] = None,
            event_names: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            resource_type: Optional[str] = None,
            status: Optional[float] = None,
            storage: Optional[AuditTrackStorageArgs] = None,
            track_for_all_members: Optional[float] = None) -> AuditTrack
    func GetAuditTrack(ctx *Context, name string, id IDInput, state *AuditTrackState, opts ...ResourceOption) (*AuditTrack, error)
    public static AuditTrack Get(string name, Input<string> id, AuditTrackState? state, CustomResourceOptions? opts = null)
    public static AuditTrack get(String name, Output<String> id, AuditTrackState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:AuditTrack    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    ActionType string
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    AuditTrackId string
    ID of the resource.
    CreateTime string
    Track create time.
    EventNames List<string>
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    Name string
    Track name.
    ResourceType string
    Track product, optional:- *: All product- Single product, such as cos.
    Status double
    Track status, optional:- 0: Close- 1: Open.
    Storage AuditTrackStorage
    Track Storage, support cos and cls.
    TrackForAllMembers double
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    ActionType string
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    AuditTrackId string
    ID of the resource.
    CreateTime string
    Track create time.
    EventNames []string
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    Name string
    Track name.
    ResourceType string
    Track product, optional:- *: All product- Single product, such as cos.
    Status float64
    Track status, optional:- 0: Close- 1: Open.
    Storage AuditTrackStorageArgs
    Track Storage, support cos and cls.
    TrackForAllMembers float64
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    actionType String
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    auditTrackId String
    ID of the resource.
    createTime String
    Track create time.
    eventNames List<String>
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    name String
    Track name.
    resourceType String
    Track product, optional:- *: All product- Single product, such as cos.
    status Double
    Track status, optional:- 0: Close- 1: Open.
    storage AuditTrackStorage
    Track Storage, support cos and cls.
    trackForAllMembers Double
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    actionType string
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    auditTrackId string
    ID of the resource.
    createTime string
    Track create time.
    eventNames string[]
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    name string
    Track name.
    resourceType string
    Track product, optional:- *: All product- Single product, such as cos.
    status number
    Track status, optional:- 0: Close- 1: Open.
    storage AuditTrackStorage
    Track Storage, support cos and cls.
    trackForAllMembers number
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    action_type str
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    audit_track_id str
    ID of the resource.
    create_time str
    Track create time.
    event_names Sequence[str]
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    name str
    Track name.
    resource_type str
    Track product, optional:- *: All product- Single product, such as cos.
    status float
    Track status, optional:- 0: Close- 1: Open.
    storage AuditTrackStorageArgs
    Track Storage, support cos and cls.
    track_for_all_members float
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.
    actionType String
    Track interface type, optional:- Read: Read interface- Write: Write interface- *: All interface.
    auditTrackId String
    ID of the resource.
    createTime String
    Track create time.
    eventNames List<String>
    Track interface name list:- when ResourceType is *, EventNames is must [&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support all interface:[&amp;quot;*&amp;quot;]- when ResourceType is a single product, EventNames support some interface, up to 10.
    name String
    Track name.
    resourceType String
    Track product, optional:- *: All product- Single product, such as cos.
    status Number
    Track status, optional:- 0: Close- 1: Open.
    storage Property Map
    Track Storage, support cos and cls.
    trackForAllMembers Number
    Whether to enable the delivery of group member operation logs to the group management account or trusted service management account, optional:- 0: Close- 1: Open.

    Supporting Types

    AuditTrackStorage, AuditTrackStorageArgs

    StorageName string
    Track Storage name:- when StorageType is cls, StorageName is cls topicId- when StorageType is cos, StorageName is cos bucket name that does not contain -APPID.
    StoragePrefix string
    Storage path prefix.
    StorageRegion string
    Storage region.
    StorageType string
    Track Storage type, optional:- cos- cls.
    StorageAccountId string
    Designated to store user ID.
    StorageAppId string
    Designated to store user appid.
    StorageName string
    Track Storage name:- when StorageType is cls, StorageName is cls topicId- when StorageType is cos, StorageName is cos bucket name that does not contain -APPID.
    StoragePrefix string
    Storage path prefix.
    StorageRegion string
    Storage region.
    StorageType string
    Track Storage type, optional:- cos- cls.
    StorageAccountId string
    Designated to store user ID.
    StorageAppId string
    Designated to store user appid.
    storageName String
    Track Storage name:- when StorageType is cls, StorageName is cls topicId- when StorageType is cos, StorageName is cos bucket name that does not contain -APPID.
    storagePrefix String
    Storage path prefix.
    storageRegion String
    Storage region.
    storageType String
    Track Storage type, optional:- cos- cls.
    storageAccountId String
    Designated to store user ID.
    storageAppId String
    Designated to store user appid.
    storageName string
    Track Storage name:- when StorageType is cls, StorageName is cls topicId- when StorageType is cos, StorageName is cos bucket name that does not contain -APPID.
    storagePrefix string
    Storage path prefix.
    storageRegion string
    Storage region.
    storageType string
    Track Storage type, optional:- cos- cls.
    storageAccountId string
    Designated to store user ID.
    storageAppId string
    Designated to store user appid.
    storage_name str
    Track Storage name:- when StorageType is cls, StorageName is cls topicId- when StorageType is cos, StorageName is cos bucket name that does not contain -APPID.
    storage_prefix str
    Storage path prefix.
    storage_region str
    Storage region.
    storage_type str
    Track Storage type, optional:- cos- cls.
    storage_account_id str
    Designated to store user ID.
    storage_app_id str
    Designated to store user appid.
    storageName String
    Track Storage name:- when StorageType is cls, StorageName is cls topicId- when StorageType is cos, StorageName is cos bucket name that does not contain -APPID.
    storagePrefix String
    Storage path prefix.
    storageRegion String
    Storage region.
    storageType String
    Track Storage type, optional:- cos- cls.
    storageAccountId String
    Designated to store user ID.
    storageAppId String
    Designated to store user appid.

    Import

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

    $ pulumi import tencentcloud:index/auditTrack:AuditTrack example 24283
    

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack