published on Monday, May 11, 2026 by tencentcloudstack
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:
- Task
Id string - Realtime log delivery task ID.
- Zone
Id string - Zone ID.
- Teo
Create stringCls Index Operation Id - ID of the resource.
- Task
Id string - Realtime log delivery task ID.
- Zone
Id string - Zone ID.
- Teo
Create stringCls Index Operation Id - ID of the resource.
- task_
id string - Realtime log delivery task ID.
- zone_
id string - Zone ID.
- teo_
create_ stringcls_ index_ operation_ id - ID of the resource.
- task
Id String - Realtime log delivery task ID.
- zone
Id String - Zone ID.
- teo
Create StringCls Index Operation Id - ID of the resource.
- task
Id string - Realtime log delivery task ID.
- zone
Id string - Zone ID.
- teo
Create stringCls Index Operation Id - ID of the resource.
- task_
id str - Realtime log delivery task ID.
- zone_
id str - Zone ID.
- teo_
create_ strcls_ index_ operation_ id - ID of the resource.
- task
Id String - Realtime log delivery task ID.
- zone
Id String - Zone ID.
- teo
Create StringCls Index Operation Id - 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) -> TeoCreateClsIndexOperationfunc 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.
- Task
Id string - Realtime log delivery task ID.
- Teo
Create stringCls Index Operation Id - ID of the resource.
- Zone
Id string - Zone ID.
- Task
Id string - Realtime log delivery task ID.
- Teo
Create stringCls Index Operation Id - ID of the resource.
- Zone
Id string - Zone ID.
- task_
id string - Realtime log delivery task ID.
- teo_
create_ stringcls_ index_ operation_ id - ID of the resource.
- zone_
id string - Zone ID.
- task
Id String - Realtime log delivery task ID.
- teo
Create StringCls Index Operation Id - ID of the resource.
- zone
Id String - Zone ID.
- task
Id string - Realtime log delivery task ID.
- teo
Create stringCls Index Operation Id - ID of the resource.
- zone
Id string - Zone ID.
- task_
id str - Realtime log delivery task ID.
- teo_
create_ strcls_ index_ operation_ id - ID of the resource.
- zone_
id str - Zone ID.
- task
Id String - Realtime log delivery task ID.
- teo
Create StringCls Index Operation Id - ID of the resource.
- zone
Id 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
tencentcloudTerraform Provider.
published on Monday, May 11, 2026 by tencentcloudstack
