1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. TeoCreateClsIndexOperation
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Provides a resource to create CLS index for TEO realtime log delivery task.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      example:
        type: tencentcloud:TeoRealtimeLogDelivery
        properties:
          area: overseas
          deliveryStatus: enabled
          entityLists:
            - sid-2yvhjw98uaco
          fields:
            - ServiceID
            - ConnectTimeStamp
            - DisconnetTimeStamp
            - DisconnetReason
            - ClientRealIP
            - ClientRegion
            - EdgeIP
            - ForwardProtocol
            - ForwardPort
            - SentBytes
            - ReceivedBytes
            - LogTimeStamp
          logType: application
          sample: 0
          taskName: test-task
          taskType: cls
          zoneId: zone-2qtuhspy7cr6
          logFormat:
            type: json
            delimiter: ""
          cls:
            region: ap-guangzhou
            logSetId: xxxxxxxxxx
            topicId: xxxxxxxxxx
            enableTimestamp: true
      exampleTeoCreateClsIndexOperation:
        type: tencentcloud:TeoCreateClsIndexOperation
        name: example
        properties:
          zoneId: ${example.zoneId}
          taskId: ${example.taskId}
    
    Example coming soon!
    

    Create TeoCreateClsIndexOperation Resource

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

    Constructor syntax

    new TeoCreateClsIndexOperation(name: string, args: TeoCreateClsIndexOperationArgs, opts?: CustomResourceOptions);
    @overload
    def TeoCreateClsIndexOperation(resource_name: str,
                                   args: TeoCreateClsIndexOperationArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoCreateClsIndexOperation(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   task_id: Optional[str] = None,
                                   zone_id: Optional[str] = None,
                                   teo_create_cls_index_operation_id: Optional[str] = None)
    func NewTeoCreateClsIndexOperation(ctx *Context, name string, args TeoCreateClsIndexOperationArgs, opts ...ResourceOption) (*TeoCreateClsIndexOperation, error)
    public TeoCreateClsIndexOperation(string name, TeoCreateClsIndexOperationArgs args, CustomResourceOptions? opts = null)
    public TeoCreateClsIndexOperation(String name, TeoCreateClsIndexOperationArgs args)
    public TeoCreateClsIndexOperation(String name, TeoCreateClsIndexOperationArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoCreateClsIndexOperation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_teocreateclsindexoperation" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TeoCreateClsIndexOperationArgs
    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 TeoCreateClsIndexOperationArgs
    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 TeoCreateClsIndexOperationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeoCreateClsIndexOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeoCreateClsIndexOperationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    TaskId string
    Realtime log delivery task ID.
    ZoneId string
    Zone ID.
    TeoCreateClsIndexOperationId string
    ID of the resource.
    TaskId string
    Realtime log delivery task ID.
    ZoneId string
    Zone ID.
    TeoCreateClsIndexOperationId string
    ID of the resource.
    task_id string
    Realtime log delivery task ID.
    zone_id string
    Zone ID.
    teo_create_cls_index_operation_id string
    ID of the resource.
    taskId String
    Realtime log delivery task ID.
    zoneId String
    Zone ID.
    teoCreateClsIndexOperationId String
    ID of the resource.
    taskId string
    Realtime log delivery task ID.
    zoneId string
    Zone ID.
    teoCreateClsIndexOperationId string
    ID of the resource.
    task_id str
    Realtime log delivery task ID.
    zone_id str
    Zone ID.
    teo_create_cls_index_operation_id str
    ID of the resource.
    taskId String
    Realtime log delivery task ID.
    zoneId String
    Zone ID.
    teoCreateClsIndexOperationId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TeoCreateClsIndexOperation Resource

    Get an existing TeoCreateClsIndexOperation 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?: TeoCreateClsIndexOperationState, opts?: CustomResourceOptions): TeoCreateClsIndexOperation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            task_id: Optional[str] = None,
            teo_create_cls_index_operation_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> TeoCreateClsIndexOperation
    func GetTeoCreateClsIndexOperation(ctx *Context, name string, id IDInput, state *TeoCreateClsIndexOperationState, opts ...ResourceOption) (*TeoCreateClsIndexOperation, error)
    public static TeoCreateClsIndexOperation Get(string name, Input<string> id, TeoCreateClsIndexOperationState? state, CustomResourceOptions? opts = null)
    public static TeoCreateClsIndexOperation get(String name, Output<String> id, TeoCreateClsIndexOperationState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoCreateClsIndexOperation    get:      id: ${id}
    import {
      to = tencentcloud_teocreateclsindexoperation.example
      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:
    TaskId string
    Realtime log delivery task ID.
    TeoCreateClsIndexOperationId string
    ID of the resource.
    ZoneId string
    Zone ID.
    TaskId string
    Realtime log delivery task ID.
    TeoCreateClsIndexOperationId string
    ID of the resource.
    ZoneId string
    Zone ID.
    task_id string
    Realtime log delivery task ID.
    teo_create_cls_index_operation_id string
    ID of the resource.
    zone_id string
    Zone ID.
    taskId String
    Realtime log delivery task ID.
    teoCreateClsIndexOperationId String
    ID of the resource.
    zoneId String
    Zone ID.
    taskId string
    Realtime log delivery task ID.
    teoCreateClsIndexOperationId string
    ID of the resource.
    zoneId string
    Zone ID.
    task_id str
    Realtime log delivery task ID.
    teo_create_cls_index_operation_id str
    ID of the resource.
    zone_id str
    Zone ID.
    taskId String
    Realtime log delivery task ID.
    teoCreateClsIndexOperationId String
    ID of the resource.
    zoneId String
    Zone ID.

    Import

    The resource can be imported by using the zone_id, e.g.

    $ pulumi import tencentcloud:index/teoCreateClsIndexOperation:TeoCreateClsIndexOperation example zone-12345678
    

    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.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.