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

tencentcloud.TeoRealtimeLogDelivery

Explore with Pulumi AI

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

    Provides a resource to create a teo teo_realtime_log_delivery

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const teoRealtimeLogDelivery = new tencentcloud.TeoRealtimeLogDelivery("teoRealtimeLogDelivery", {
        area: "overseas",
        deliveryStatus: "disabled",
        entityLists: ["sid-2yvhjw98uaco"],
        fields: [
            "ServiceID",
            "ConnectTimeStamp",
            "DisconnetTimeStamp",
            "DisconnetReason",
            "ClientRealIP",
            "ClientRegion",
            "EdgeIP",
            "ForwardProtocol",
            "ForwardPort",
            "SentBytes",
            "ReceivedBytes",
            "LogTimeStamp",
        ],
        logFormat: {
            fieldDelimiter: ",",
            formatType: "json",
            recordDelimiter: `
    
    `,
            recordPrefix: "{",
            recordSuffix: "}",
        },
        logType: "application",
        s3: {
            accessId: "xxxxxxxxxx",
            accessKey: "xxxxxxxxxx",
            bucket: "test-1253833068",
            compressType: "gzip",
            endpoint: "https://test-1253833068.cos.ap-nanjing.myqcloud.com",
            region: "ap-nanjing",
        },
        sample: 0,
        taskName: "test",
        taskType: "s3",
        zoneId: "zone-2qtuhspy7cr6",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    teo_realtime_log_delivery = tencentcloud.TeoRealtimeLogDelivery("teoRealtimeLogDelivery",
        area="overseas",
        delivery_status="disabled",
        entity_lists=["sid-2yvhjw98uaco"],
        fields=[
            "ServiceID",
            "ConnectTimeStamp",
            "DisconnetTimeStamp",
            "DisconnetReason",
            "ClientRealIP",
            "ClientRegion",
            "EdgeIP",
            "ForwardProtocol",
            "ForwardPort",
            "SentBytes",
            "ReceivedBytes",
            "LogTimeStamp",
        ],
        log_format={
            "field_delimiter": ",",
            "format_type": "json",
            "record_delimiter": """
    
    """,
            "record_prefix": "{",
            "record_suffix": "}",
        },
        log_type="application",
        s3={
            "access_id": "xxxxxxxxxx",
            "access_key": "xxxxxxxxxx",
            "bucket": "test-1253833068",
            "compress_type": "gzip",
            "endpoint": "https://test-1253833068.cos.ap-nanjing.myqcloud.com",
            "region": "ap-nanjing",
        },
        sample=0,
        task_name="test",
        task_type="s3",
        zone_id="zone-2qtuhspy7cr6")
    
    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.NewTeoRealtimeLogDelivery(ctx, "teoRealtimeLogDelivery", &tencentcloud.TeoRealtimeLogDeliveryArgs{
    			Area:           pulumi.String("overseas"),
    			DeliveryStatus: pulumi.String("disabled"),
    			EntityLists: pulumi.StringArray{
    				pulumi.String("sid-2yvhjw98uaco"),
    			},
    			Fields: pulumi.StringArray{
    				pulumi.String("ServiceID"),
    				pulumi.String("ConnectTimeStamp"),
    				pulumi.String("DisconnetTimeStamp"),
    				pulumi.String("DisconnetReason"),
    				pulumi.String("ClientRealIP"),
    				pulumi.String("ClientRegion"),
    				pulumi.String("EdgeIP"),
    				pulumi.String("ForwardProtocol"),
    				pulumi.String("ForwardPort"),
    				pulumi.String("SentBytes"),
    				pulumi.String("ReceivedBytes"),
    				pulumi.String("LogTimeStamp"),
    			},
    			LogFormat: &tencentcloud.TeoRealtimeLogDeliveryLogFormatArgs{
    				FieldDelimiter:  pulumi.String(","),
    				FormatType:      pulumi.String("json"),
    				RecordDelimiter: pulumi.String("\n\n"),
    				RecordPrefix:    pulumi.String("{"),
    				RecordSuffix:    pulumi.String("}"),
    			},
    			LogType: pulumi.String("application"),
    			S3: &tencentcloud.TeoRealtimeLogDeliveryS3Args{
    				AccessId:     pulumi.String("xxxxxxxxxx"),
    				AccessKey:    pulumi.String("xxxxxxxxxx"),
    				Bucket:       pulumi.String("test-1253833068"),
    				CompressType: pulumi.String("gzip"),
    				Endpoint:     pulumi.String("https://test-1253833068.cos.ap-nanjing.myqcloud.com"),
    				Region:       pulumi.String("ap-nanjing"),
    			},
    			Sample:   pulumi.Float64(0),
    			TaskName: pulumi.String("test"),
    			TaskType: pulumi.String("s3"),
    			ZoneId:   pulumi.String("zone-2qtuhspy7cr6"),
    		})
    		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 teoRealtimeLogDelivery = new Tencentcloud.TeoRealtimeLogDelivery("teoRealtimeLogDelivery", new()
        {
            Area = "overseas",
            DeliveryStatus = "disabled",
            EntityLists = new[]
            {
                "sid-2yvhjw98uaco",
            },
            Fields = new[]
            {
                "ServiceID",
                "ConnectTimeStamp",
                "DisconnetTimeStamp",
                "DisconnetReason",
                "ClientRealIP",
                "ClientRegion",
                "EdgeIP",
                "ForwardProtocol",
                "ForwardPort",
                "SentBytes",
                "ReceivedBytes",
                "LogTimeStamp",
            },
            LogFormat = new Tencentcloud.Inputs.TeoRealtimeLogDeliveryLogFormatArgs
            {
                FieldDelimiter = ",",
                FormatType = "json",
                RecordDelimiter = @"
    
    ",
                RecordPrefix = "{",
                RecordSuffix = "}",
            },
            LogType = "application",
            S3 = new Tencentcloud.Inputs.TeoRealtimeLogDeliveryS3Args
            {
                AccessId = "xxxxxxxxxx",
                AccessKey = "xxxxxxxxxx",
                Bucket = "test-1253833068",
                CompressType = "gzip",
                Endpoint = "https://test-1253833068.cos.ap-nanjing.myqcloud.com",
                Region = "ap-nanjing",
            },
            Sample = 0,
            TaskName = "test",
            TaskType = "s3",
            ZoneId = "zone-2qtuhspy7cr6",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoRealtimeLogDelivery;
    import com.pulumi.tencentcloud.TeoRealtimeLogDeliveryArgs;
    import com.pulumi.tencentcloud.inputs.TeoRealtimeLogDeliveryLogFormatArgs;
    import com.pulumi.tencentcloud.inputs.TeoRealtimeLogDeliveryS3Args;
    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 teoRealtimeLogDelivery = new TeoRealtimeLogDelivery("teoRealtimeLogDelivery", TeoRealtimeLogDeliveryArgs.builder()
                .area("overseas")
                .deliveryStatus("disabled")
                .entityLists("sid-2yvhjw98uaco")
                .fields(            
                    "ServiceID",
                    "ConnectTimeStamp",
                    "DisconnetTimeStamp",
                    "DisconnetReason",
                    "ClientRealIP",
                    "ClientRegion",
                    "EdgeIP",
                    "ForwardProtocol",
                    "ForwardPort",
                    "SentBytes",
                    "ReceivedBytes",
                    "LogTimeStamp")
                .logFormat(TeoRealtimeLogDeliveryLogFormatArgs.builder()
                    .fieldDelimiter(",")
                    .formatType("json")
                    .recordDelimiter("""
    
    
                    """)
                    .recordPrefix("{")
                    .recordSuffix("}")
                    .build())
                .logType("application")
                .s3(TeoRealtimeLogDeliveryS3Args.builder()
                    .accessId("xxxxxxxxxx")
                    .accessKey("xxxxxxxxxx")
                    .bucket("test-1253833068")
                    .compressType("gzip")
                    .endpoint("https://test-1253833068.cos.ap-nanjing.myqcloud.com")
                    .region("ap-nanjing")
                    .build())
                .sample(0)
                .taskName("test")
                .taskType("s3")
                .zoneId("zone-2qtuhspy7cr6")
                .build());
    
        }
    }
    
    resources:
      teoRealtimeLogDelivery:
        type: tencentcloud:TeoRealtimeLogDelivery
        properties:
          area: overseas
          deliveryStatus: disabled
          entityLists:
            - sid-2yvhjw98uaco
          fields:
            - ServiceID
            - ConnectTimeStamp
            - DisconnetTimeStamp
            - DisconnetReason
            - ClientRealIP
            - ClientRegion
            - EdgeIP
            - ForwardProtocol
            - ForwardPort
            - SentBytes
            - ReceivedBytes
            - LogTimeStamp
          logFormat:
            fieldDelimiter: ','
            formatType: json
            recordDelimiter: |2+
    
            recordPrefix: '{'
            recordSuffix: '}'
          logType: application
          s3:
            accessId: xxxxxxxxxx
            accessKey: xxxxxxxxxx
            bucket: test-1253833068
            compressType: gzip
            endpoint: https://test-1253833068.cos.ap-nanjing.myqcloud.com
            region: ap-nanjing
          sample: 0
          taskName: test
          taskType: s3
          zoneId: zone-2qtuhspy7cr6
    

    Create TeoRealtimeLogDelivery Resource

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

    Constructor syntax

    new TeoRealtimeLogDelivery(name: string, args: TeoRealtimeLogDeliveryArgs, opts?: CustomResourceOptions);
    @overload
    def TeoRealtimeLogDelivery(resource_name: str,
                               args: TeoRealtimeLogDeliveryArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoRealtimeLogDelivery(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               log_type: Optional[str] = None,
                               zone_id: Optional[str] = None,
                               task_type: Optional[str] = None,
                               task_name: Optional[str] = None,
                               area: Optional[str] = None,
                               sample: Optional[float] = None,
                               entity_lists: Optional[Sequence[str]] = None,
                               fields: Optional[Sequence[str]] = None,
                               delivery_conditions: Optional[Sequence[TeoRealtimeLogDeliveryDeliveryConditionArgs]] = None,
                               log_format: Optional[TeoRealtimeLogDeliveryLogFormatArgs] = None,
                               s3: Optional[TeoRealtimeLogDeliveryS3Args] = None,
                               delivery_status: Optional[str] = None,
                               custom_fields: Optional[Sequence[TeoRealtimeLogDeliveryCustomFieldArgs]] = None,
                               custom_endpoint: Optional[TeoRealtimeLogDeliveryCustomEndpointArgs] = None,
                               teo_realtime_log_delivery_id: Optional[str] = None,
                               cls: Optional[TeoRealtimeLogDeliveryClsArgs] = None)
    func NewTeoRealtimeLogDelivery(ctx *Context, name string, args TeoRealtimeLogDeliveryArgs, opts ...ResourceOption) (*TeoRealtimeLogDelivery, error)
    public TeoRealtimeLogDelivery(string name, TeoRealtimeLogDeliveryArgs args, CustomResourceOptions? opts = null)
    public TeoRealtimeLogDelivery(String name, TeoRealtimeLogDeliveryArgs args)
    public TeoRealtimeLogDelivery(String name, TeoRealtimeLogDeliveryArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoRealtimeLogDelivery
    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 TeoRealtimeLogDeliveryArgs
    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 TeoRealtimeLogDeliveryArgs
    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 TeoRealtimeLogDeliveryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeoRealtimeLogDeliveryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeoRealtimeLogDeliveryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Area string
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    EntityLists List<string>
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    Fields List<string>
    A list of preset fields for delivery.
    LogType string
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    Sample double
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    TaskName string
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    TaskType string
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    ZoneId string
    ID of the site.
    Cls TeoRealtimeLogDeliveryCls
    CLS configuration information. This parameter is required when TaskType is cls.
    CustomEndpoint TeoRealtimeLogDeliveryCustomEndpoint
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    CustomFields List<TeoRealtimeLogDeliveryCustomField>
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    DeliveryConditions List<TeoRealtimeLogDeliveryDeliveryCondition>
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    DeliveryStatus string
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    LogFormat TeoRealtimeLogDeliveryLogFormat
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    S3 TeoRealtimeLogDeliveryS3
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    TeoRealtimeLogDeliveryId string
    ID of the resource.
    Area string
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    EntityLists []string
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    Fields []string
    A list of preset fields for delivery.
    LogType string
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    Sample float64
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    TaskName string
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    TaskType string
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    ZoneId string
    ID of the site.
    Cls TeoRealtimeLogDeliveryClsArgs
    CLS configuration information. This parameter is required when TaskType is cls.
    CustomEndpoint TeoRealtimeLogDeliveryCustomEndpointArgs
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    CustomFields []TeoRealtimeLogDeliveryCustomFieldArgs
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    DeliveryConditions []TeoRealtimeLogDeliveryDeliveryConditionArgs
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    DeliveryStatus string
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    LogFormat TeoRealtimeLogDeliveryLogFormatArgs
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    S3 TeoRealtimeLogDeliveryS3Args
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    TeoRealtimeLogDeliveryId string
    ID of the resource.
    area String
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    entityLists List<String>
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields List<String>
    A list of preset fields for delivery.
    logType String
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    sample Double
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    taskName String
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    taskType String
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    zoneId String
    ID of the site.
    cls TeoRealtimeLogDeliveryCls
    CLS configuration information. This parameter is required when TaskType is cls.
    customEndpoint TeoRealtimeLogDeliveryCustomEndpoint
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    customFields List<TeoRealtimeLogDeliveryCustomField>
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    deliveryConditions List<TeoRealtimeLogDeliveryDeliveryCondition>
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    deliveryStatus String
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    logFormat TeoRealtimeLogDeliveryLogFormat
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    s3 TeoRealtimeLogDeliveryS3
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    teoRealtimeLogDeliveryId String
    ID of the resource.
    area string
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    entityLists string[]
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields string[]
    A list of preset fields for delivery.
    logType string
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    sample number
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    taskName string
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    taskType string
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    zoneId string
    ID of the site.
    cls TeoRealtimeLogDeliveryCls
    CLS configuration information. This parameter is required when TaskType is cls.
    customEndpoint TeoRealtimeLogDeliveryCustomEndpoint
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    customFields TeoRealtimeLogDeliveryCustomField[]
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    deliveryConditions TeoRealtimeLogDeliveryDeliveryCondition[]
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    deliveryStatus string
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    logFormat TeoRealtimeLogDeliveryLogFormat
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    s3 TeoRealtimeLogDeliveryS3
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    teoRealtimeLogDeliveryId string
    ID of the resource.
    area str
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    entity_lists Sequence[str]
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields Sequence[str]
    A list of preset fields for delivery.
    log_type str
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    sample float
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    task_name str
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    task_type str
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    zone_id str
    ID of the site.
    cls TeoRealtimeLogDeliveryClsArgs
    CLS configuration information. This parameter is required when TaskType is cls.
    custom_endpoint TeoRealtimeLogDeliveryCustomEndpointArgs
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    custom_fields Sequence[TeoRealtimeLogDeliveryCustomFieldArgs]
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    delivery_conditions Sequence[TeoRealtimeLogDeliveryDeliveryConditionArgs]
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    delivery_status str
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    log_format TeoRealtimeLogDeliveryLogFormatArgs
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    s3 TeoRealtimeLogDeliveryS3Args
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    teo_realtime_log_delivery_id str
    ID of the resource.
    area String
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    entityLists List<String>
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields List<String>
    A list of preset fields for delivery.
    logType String
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    sample Number
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    taskName String
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    taskType String
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    zoneId String
    ID of the site.
    cls Property Map
    CLS configuration information. This parameter is required when TaskType is cls.
    customEndpoint Property Map
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    customFields List<Property Map>
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    deliveryConditions List<Property Map>
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    deliveryStatus String
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    logFormat Property Map
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    s3 Property Map
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    teoRealtimeLogDeliveryId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    TaskId string
    Real-time log delivery task ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    TaskId string
    Real-time log delivery task ID.
    id String
    The provider-assigned unique ID for this managed resource.
    taskId String
    Real-time log delivery task ID.
    id string
    The provider-assigned unique ID for this managed resource.
    taskId string
    Real-time log delivery task ID.
    id str
    The provider-assigned unique ID for this managed resource.
    task_id str
    Real-time log delivery task ID.
    id String
    The provider-assigned unique ID for this managed resource.
    taskId String
    Real-time log delivery task ID.

    Look up Existing TeoRealtimeLogDelivery Resource

    Get an existing TeoRealtimeLogDelivery 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?: TeoRealtimeLogDeliveryState, opts?: CustomResourceOptions): TeoRealtimeLogDelivery
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            area: Optional[str] = None,
            cls: Optional[TeoRealtimeLogDeliveryClsArgs] = None,
            custom_endpoint: Optional[TeoRealtimeLogDeliveryCustomEndpointArgs] = None,
            custom_fields: Optional[Sequence[TeoRealtimeLogDeliveryCustomFieldArgs]] = None,
            delivery_conditions: Optional[Sequence[TeoRealtimeLogDeliveryDeliveryConditionArgs]] = None,
            delivery_status: Optional[str] = None,
            entity_lists: Optional[Sequence[str]] = None,
            fields: Optional[Sequence[str]] = None,
            log_format: Optional[TeoRealtimeLogDeliveryLogFormatArgs] = None,
            log_type: Optional[str] = None,
            s3: Optional[TeoRealtimeLogDeliveryS3Args] = None,
            sample: Optional[float] = None,
            task_id: Optional[str] = None,
            task_name: Optional[str] = None,
            task_type: Optional[str] = None,
            teo_realtime_log_delivery_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> TeoRealtimeLogDelivery
    func GetTeoRealtimeLogDelivery(ctx *Context, name string, id IDInput, state *TeoRealtimeLogDeliveryState, opts ...ResourceOption) (*TeoRealtimeLogDelivery, error)
    public static TeoRealtimeLogDelivery Get(string name, Input<string> id, TeoRealtimeLogDeliveryState? state, CustomResourceOptions? opts = null)
    public static TeoRealtimeLogDelivery get(String name, Output<String> id, TeoRealtimeLogDeliveryState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoRealtimeLogDelivery    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:
    Area string
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    Cls TeoRealtimeLogDeliveryCls
    CLS configuration information. This parameter is required when TaskType is cls.
    CustomEndpoint TeoRealtimeLogDeliveryCustomEndpoint
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    CustomFields List<TeoRealtimeLogDeliveryCustomField>
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    DeliveryConditions List<TeoRealtimeLogDeliveryDeliveryCondition>
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    DeliveryStatus string
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    EntityLists List<string>
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    Fields List<string>
    A list of preset fields for delivery.
    LogFormat TeoRealtimeLogDeliveryLogFormat
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    LogType string
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    S3 TeoRealtimeLogDeliveryS3
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    Sample double
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    TaskId string
    Real-time log delivery task ID.
    TaskName string
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    TaskType string
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    TeoRealtimeLogDeliveryId string
    ID of the resource.
    ZoneId string
    ID of the site.
    Area string
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    Cls TeoRealtimeLogDeliveryClsArgs
    CLS configuration information. This parameter is required when TaskType is cls.
    CustomEndpoint TeoRealtimeLogDeliveryCustomEndpointArgs
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    CustomFields []TeoRealtimeLogDeliveryCustomFieldArgs
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    DeliveryConditions []TeoRealtimeLogDeliveryDeliveryConditionArgs
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    DeliveryStatus string
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    EntityLists []string
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    Fields []string
    A list of preset fields for delivery.
    LogFormat TeoRealtimeLogDeliveryLogFormatArgs
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    LogType string
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    S3 TeoRealtimeLogDeliveryS3Args
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    Sample float64
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    TaskId string
    Real-time log delivery task ID.
    TaskName string
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    TaskType string
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    TeoRealtimeLogDeliveryId string
    ID of the resource.
    ZoneId string
    ID of the site.
    area String
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    cls TeoRealtimeLogDeliveryCls
    CLS configuration information. This parameter is required when TaskType is cls.
    customEndpoint TeoRealtimeLogDeliveryCustomEndpoint
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    customFields List<TeoRealtimeLogDeliveryCustomField>
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    deliveryConditions List<TeoRealtimeLogDeliveryDeliveryCondition>
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    deliveryStatus String
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    entityLists List<String>
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields List<String>
    A list of preset fields for delivery.
    logFormat TeoRealtimeLogDeliveryLogFormat
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    logType String
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    s3 TeoRealtimeLogDeliveryS3
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    sample Double
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    taskId String
    Real-time log delivery task ID.
    taskName String
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    taskType String
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    teoRealtimeLogDeliveryId String
    ID of the resource.
    zoneId String
    ID of the site.
    area string
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    cls TeoRealtimeLogDeliveryCls
    CLS configuration information. This parameter is required when TaskType is cls.
    customEndpoint TeoRealtimeLogDeliveryCustomEndpoint
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    customFields TeoRealtimeLogDeliveryCustomField[]
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    deliveryConditions TeoRealtimeLogDeliveryDeliveryCondition[]
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    deliveryStatus string
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    entityLists string[]
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields string[]
    A list of preset fields for delivery.
    logFormat TeoRealtimeLogDeliveryLogFormat
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    logType string
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    s3 TeoRealtimeLogDeliveryS3
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    sample number
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    taskId string
    Real-time log delivery task ID.
    taskName string
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    taskType string
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    teoRealtimeLogDeliveryId string
    ID of the resource.
    zoneId string
    ID of the site.
    area str
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    cls TeoRealtimeLogDeliveryClsArgs
    CLS configuration information. This parameter is required when TaskType is cls.
    custom_endpoint TeoRealtimeLogDeliveryCustomEndpointArgs
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    custom_fields Sequence[TeoRealtimeLogDeliveryCustomFieldArgs]
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    delivery_conditions Sequence[TeoRealtimeLogDeliveryDeliveryConditionArgs]
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    delivery_status str
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    entity_lists Sequence[str]
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields Sequence[str]
    A list of preset fields for delivery.
    log_format TeoRealtimeLogDeliveryLogFormatArgs
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    log_type str
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    s3 TeoRealtimeLogDeliveryS3Args
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    sample float
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    task_id str
    Real-time log delivery task ID.
    task_name str
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    task_type str
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    teo_realtime_log_delivery_id str
    ID of the resource.
    zone_id str
    ID of the site.
    area String
    Data delivery area, possible values are: mainland: within mainland China; overseas: worldwide (excluding mainland China).
    cls Property Map
    CLS configuration information. This parameter is required when TaskType is cls.
    customEndpoint Property Map
    Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
    customFields List<Property Map>
    The list of custom fields delivered supports extracting specified field values from HTTP request headers, response headers, and cookies. Custom field names cannot be repeated and cannot exceed 200 fields.
    deliveryConditions List<Property Map>
    The filter condition for log delivery. If it is not filled, all logs will be delivered.
    deliveryStatus String
    The status of the real-time log delivery task. The values are: enabled: enabled; disabled: disabled. Leave it blank to keep the original configuration. Not required when creating.
    entityLists List<String>
    List of entities (seven-layer domain names or four-layer proxy instances) corresponding to real-time log delivery tasks. Example values are as follows: Seven-layer domain name: domain.example.com; four-layer proxy instance: sid-2s69eb5wcms7. For values, refer to: https://cloud.tencent.com/document/api/1552/80690, https://cloud.tencent.com/document/api/1552/86336.
    fields List<String>
    A list of preset fields for delivery.
    logFormat Property Map
    The output format of log delivery. If it is not filled, it means the default format. The default format logic is as follows: when TaskType is custom_endpoint, the default format is an array of multiple JSON objects, each JSON object is a log; when TaskType is s3, the default format is JSON Lines; in particular, when TaskType is cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to pass LogFormat.
    logType String
    Data delivery type, the values are: domain: site acceleration log; application: four-layer proxy log; web-rateLiming: rate limit and CC attack protection log; web-attack: managed rule log; web-rule: custom rule log; web-bot: Bot management log.
    s3 Property Map
    Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
    sample Number
    The sampling ratio is in thousandths, with a value range of 1-1000. For example, filling in 605 means the sampling ratio is 60.5%. Leaving it blank means the sampling ratio is 100%.
    taskId String
    Real-time log delivery task ID.
    taskName String
    The name of the real-time log delivery task. The format is a combination of numbers, English, -, and _. The maximum length is 200 characters.
    taskType String
    The real-time log delivery task type. The possible values are: cls: push to Tencent Cloud CLS; custom_endpoint: push to a custom HTTP(S) address; s3: push to an AWS S3 compatible storage bucket address.
    teoRealtimeLogDeliveryId String
    ID of the resource.
    zoneId String
    ID of the site.

    Supporting Types

    TeoRealtimeLogDeliveryCls, TeoRealtimeLogDeliveryClsArgs

    LogSetId string
    Tencent Cloud CLS log set ID.
    LogSetRegion string
    The region where the Tencent Cloud CLS log set is located.
    TopicId string
    Tencent Cloud CLS log topic ID.
    LogSetId string
    Tencent Cloud CLS log set ID.
    LogSetRegion string
    The region where the Tencent Cloud CLS log set is located.
    TopicId string
    Tencent Cloud CLS log topic ID.
    logSetId String
    Tencent Cloud CLS log set ID.
    logSetRegion String
    The region where the Tencent Cloud CLS log set is located.
    topicId String
    Tencent Cloud CLS log topic ID.
    logSetId string
    Tencent Cloud CLS log set ID.
    logSetRegion string
    The region where the Tencent Cloud CLS log set is located.
    topicId string
    Tencent Cloud CLS log topic ID.
    log_set_id str
    Tencent Cloud CLS log set ID.
    log_set_region str
    The region where the Tencent Cloud CLS log set is located.
    topic_id str
    Tencent Cloud CLS log topic ID.
    logSetId String
    Tencent Cloud CLS log set ID.
    logSetRegion String
    The region where the Tencent Cloud CLS log set is located.
    topicId String
    Tencent Cloud CLS log topic ID.

    TeoRealtimeLogDeliveryCustomEndpoint, TeoRealtimeLogDeliveryCustomEndpointArgs

    Url string
    The custom HTTP interface address for real-time log delivery. Currently, only HTTP/HTTPS protocols are supported.
    AccessId string
    Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
    AccessKey string
    Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
    CompressType string
    Data compression type, the possible values are: gzip: use gzip compression. If it is not filled in, compression is not enabled.
    Headers List<TeoRealtimeLogDeliveryCustomEndpointHeader>
    The custom request header carried when delivering logs. If the header name you fill in is the default header carried by EdgeOne log push, such as Content-Type, then the header value you fill in will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of logs included in each POST request.
    Protocol string
    When sending logs via POST request, the application layer protocol type used can be: http: HTTP protocol; https: HTTPS protocol. If not filled in, the protocol type will be parsed according to the filled in URL address.
    Url string
    The custom HTTP interface address for real-time log delivery. Currently, only HTTP/HTTPS protocols are supported.
    AccessId string
    Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
    AccessKey string
    Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
    CompressType string
    Data compression type, the possible values are: gzip: use gzip compression. If it is not filled in, compression is not enabled.
    Headers []TeoRealtimeLogDeliveryCustomEndpointHeader
    The custom request header carried when delivering logs. If the header name you fill in is the default header carried by EdgeOne log push, such as Content-Type, then the header value you fill in will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of logs included in each POST request.
    Protocol string
    When sending logs via POST request, the application layer protocol type used can be: http: HTTP protocol; https: HTTPS protocol. If not filled in, the protocol type will be parsed according to the filled in URL address.
    url String
    The custom HTTP interface address for real-time log delivery. Currently, only HTTP/HTTPS protocols are supported.
    accessId String
    Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
    accessKey String
    Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
    compressType String
    Data compression type, the possible values are: gzip: use gzip compression. If it is not filled in, compression is not enabled.
    headers List<TeoRealtimeLogDeliveryCustomEndpointHeader>
    The custom request header carried when delivering logs. If the header name you fill in is the default header carried by EdgeOne log push, such as Content-Type, then the header value you fill in will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of logs included in each POST request.
    protocol String
    When sending logs via POST request, the application layer protocol type used can be: http: HTTP protocol; https: HTTPS protocol. If not filled in, the protocol type will be parsed according to the filled in URL address.
    url string
    The custom HTTP interface address for real-time log delivery. Currently, only HTTP/HTTPS protocols are supported.
    accessId string
    Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
    accessKey string
    Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
    compressType string
    Data compression type, the possible values are: gzip: use gzip compression. If it is not filled in, compression is not enabled.
    headers TeoRealtimeLogDeliveryCustomEndpointHeader[]
    The custom request header carried when delivering logs. If the header name you fill in is the default header carried by EdgeOne log push, such as Content-Type, then the header value you fill in will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of logs included in each POST request.
    protocol string
    When sending logs via POST request, the application layer protocol type used can be: http: HTTP protocol; https: HTTPS protocol. If not filled in, the protocol type will be parsed according to the filled in URL address.
    url str
    The custom HTTP interface address for real-time log delivery. Currently, only HTTP/HTTPS protocols are supported.
    access_id str
    Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
    access_key str
    Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
    compress_type str
    Data compression type, the possible values are: gzip: use gzip compression. If it is not filled in, compression is not enabled.
    headers Sequence[TeoRealtimeLogDeliveryCustomEndpointHeader]
    The custom request header carried when delivering logs. If the header name you fill in is the default header carried by EdgeOne log push, such as Content-Type, then the header value you fill in will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of logs included in each POST request.
    protocol str
    When sending logs via POST request, the application layer protocol type used can be: http: HTTP protocol; https: HTTPS protocol. If not filled in, the protocol type will be parsed according to the filled in URL address.
    url String
    The custom HTTP interface address for real-time log delivery. Currently, only HTTP/HTTPS protocols are supported.
    accessId String
    Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
    accessKey String
    Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
    compressType String
    Data compression type, the possible values are: gzip: use gzip compression. If it is not filled in, compression is not enabled.
    headers List<Property Map>
    The custom request header carried when delivering logs. If the header name you fill in is the default header carried by EdgeOne log push, such as Content-Type, then the header value you fill in will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of logs included in each POST request.
    protocol String
    When sending logs via POST request, the application layer protocol type used can be: http: HTTP protocol; https: HTTPS protocol. If not filled in, the protocol type will be parsed according to the filled in URL address.

    TeoRealtimeLogDeliveryCustomEndpointHeader, TeoRealtimeLogDeliveryCustomEndpointHeaderArgs

    Name string
    HTTP header name.
    Value string
    HTTP header value.
    Name string
    HTTP header name.
    Value string
    HTTP header value.
    name String
    HTTP header name.
    value String
    HTTP header value.
    name string
    HTTP header name.
    value string
    HTTP header value.
    name str
    HTTP header name.
    value str
    HTTP header value.
    name String
    HTTP header name.
    value String
    HTTP header value.

    TeoRealtimeLogDeliveryCustomField, TeoRealtimeLogDeliveryCustomFieldArgs

    Name string
    Extract data from the specified location in the HTTP request and response. The values are: ReqHeader: extract the specified field value from the HTTP request header; RspHeader: extract the specified field value from the HTTP response header; Cookie: extract the specified field value from the Cookie.
    Value string
    The name of the parameter whose value needs to be extracted, for example: Accept-Language.
    Enabled bool
    Whether to deliver this field. If left blank, this field will not be delivered.
    Name string
    Extract data from the specified location in the HTTP request and response. The values are: ReqHeader: extract the specified field value from the HTTP request header; RspHeader: extract the specified field value from the HTTP response header; Cookie: extract the specified field value from the Cookie.
    Value string
    The name of the parameter whose value needs to be extracted, for example: Accept-Language.
    Enabled bool
    Whether to deliver this field. If left blank, this field will not be delivered.
    name String
    Extract data from the specified location in the HTTP request and response. The values are: ReqHeader: extract the specified field value from the HTTP request header; RspHeader: extract the specified field value from the HTTP response header; Cookie: extract the specified field value from the Cookie.
    value String
    The name of the parameter whose value needs to be extracted, for example: Accept-Language.
    enabled Boolean
    Whether to deliver this field. If left blank, this field will not be delivered.
    name string
    Extract data from the specified location in the HTTP request and response. The values are: ReqHeader: extract the specified field value from the HTTP request header; RspHeader: extract the specified field value from the HTTP response header; Cookie: extract the specified field value from the Cookie.
    value string
    The name of the parameter whose value needs to be extracted, for example: Accept-Language.
    enabled boolean
    Whether to deliver this field. If left blank, this field will not be delivered.
    name str
    Extract data from the specified location in the HTTP request and response. The values are: ReqHeader: extract the specified field value from the HTTP request header; RspHeader: extract the specified field value from the HTTP response header; Cookie: extract the specified field value from the Cookie.
    value str
    The name of the parameter whose value needs to be extracted, for example: Accept-Language.
    enabled bool
    Whether to deliver this field. If left blank, this field will not be delivered.
    name String
    Extract data from the specified location in the HTTP request and response. The values are: ReqHeader: extract the specified field value from the HTTP request header; RspHeader: extract the specified field value from the HTTP response header; Cookie: extract the specified field value from the Cookie.
    value String
    The name of the parameter whose value needs to be extracted, for example: Accept-Language.
    enabled Boolean
    Whether to deliver this field. If left blank, this field will not be delivered.

    TeoRealtimeLogDeliveryDeliveryCondition, TeoRealtimeLogDeliveryDeliveryConditionArgs

    Conditions List<TeoRealtimeLogDeliveryDeliveryConditionCondition>
    Log filtering conditions, the detailed filtering conditions are as follows: - EdgeResponseStatusCode: filter according to the status code returned by the EdgeOne node to the client. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to 0; - OriginResponseStatusCode: filter according to the origin response status code. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to -1; - SecurityAction: filter according to the final disposal action after the request hits the security rule. Supported operators: equal; Optional options are as follows: -: unknown/miss; Monitor: observe; JSChallenge: JavaScript challenge; Deny: intercept; Allow: allow; BlockIP: IP ban; Redirect: redirect; ReturnCustomPage: return to a custom page; ManagedChallenge: managed challenge; Silence: silent; LongDelay: respond after a long wait; ShortDelay: respond after a short wait; -SecurityModule: filter according to the name of the security module that finally handles the request. Supported operators: equal; Optional options: -: unknown/missed; CustomRule: Web Protection - Custom Rules; RateLimitingCustomRule: Web Protection - Rate Limiting Rules; ManagedRule: Web Protection - Managed Rules; L7DDoS: Web Protection - CC Attack Protection; BotManagement: Bot Management - Bot Basic Management; BotClientReputation: Bot Management - Client Profile Analysis; BotBehaviorAnalysis: Bot Management - Bot Intelligent Analysis; BotCustomRule: Bot Management - Custom Bot Rules; BotActiveDetection: Bot Management - Active Feature Recognition.
    Conditions []TeoRealtimeLogDeliveryDeliveryConditionCondition
    Log filtering conditions, the detailed filtering conditions are as follows: - EdgeResponseStatusCode: filter according to the status code returned by the EdgeOne node to the client. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to 0; - OriginResponseStatusCode: filter according to the origin response status code. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to -1; - SecurityAction: filter according to the final disposal action after the request hits the security rule. Supported operators: equal; Optional options are as follows: -: unknown/miss; Monitor: observe; JSChallenge: JavaScript challenge; Deny: intercept; Allow: allow; BlockIP: IP ban; Redirect: redirect; ReturnCustomPage: return to a custom page; ManagedChallenge: managed challenge; Silence: silent; LongDelay: respond after a long wait; ShortDelay: respond after a short wait; -SecurityModule: filter according to the name of the security module that finally handles the request. Supported operators: equal; Optional options: -: unknown/missed; CustomRule: Web Protection - Custom Rules; RateLimitingCustomRule: Web Protection - Rate Limiting Rules; ManagedRule: Web Protection - Managed Rules; L7DDoS: Web Protection - CC Attack Protection; BotManagement: Bot Management - Bot Basic Management; BotClientReputation: Bot Management - Client Profile Analysis; BotBehaviorAnalysis: Bot Management - Bot Intelligent Analysis; BotCustomRule: Bot Management - Custom Bot Rules; BotActiveDetection: Bot Management - Active Feature Recognition.
    conditions List<TeoRealtimeLogDeliveryDeliveryConditionCondition>
    Log filtering conditions, the detailed filtering conditions are as follows: - EdgeResponseStatusCode: filter according to the status code returned by the EdgeOne node to the client. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to 0; - OriginResponseStatusCode: filter according to the origin response status code. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to -1; - SecurityAction: filter according to the final disposal action after the request hits the security rule. Supported operators: equal; Optional options are as follows: -: unknown/miss; Monitor: observe; JSChallenge: JavaScript challenge; Deny: intercept; Allow: allow; BlockIP: IP ban; Redirect: redirect; ReturnCustomPage: return to a custom page; ManagedChallenge: managed challenge; Silence: silent; LongDelay: respond after a long wait; ShortDelay: respond after a short wait; -SecurityModule: filter according to the name of the security module that finally handles the request. Supported operators: equal; Optional options: -: unknown/missed; CustomRule: Web Protection - Custom Rules; RateLimitingCustomRule: Web Protection - Rate Limiting Rules; ManagedRule: Web Protection - Managed Rules; L7DDoS: Web Protection - CC Attack Protection; BotManagement: Bot Management - Bot Basic Management; BotClientReputation: Bot Management - Client Profile Analysis; BotBehaviorAnalysis: Bot Management - Bot Intelligent Analysis; BotCustomRule: Bot Management - Custom Bot Rules; BotActiveDetection: Bot Management - Active Feature Recognition.
    conditions TeoRealtimeLogDeliveryDeliveryConditionCondition[]
    Log filtering conditions, the detailed filtering conditions are as follows: - EdgeResponseStatusCode: filter according to the status code returned by the EdgeOne node to the client. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to 0; - OriginResponseStatusCode: filter according to the origin response status code. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to -1; - SecurityAction: filter according to the final disposal action after the request hits the security rule. Supported operators: equal; Optional options are as follows: -: unknown/miss; Monitor: observe; JSChallenge: JavaScript challenge; Deny: intercept; Allow: allow; BlockIP: IP ban; Redirect: redirect; ReturnCustomPage: return to a custom page; ManagedChallenge: managed challenge; Silence: silent; LongDelay: respond after a long wait; ShortDelay: respond after a short wait; -SecurityModule: filter according to the name of the security module that finally handles the request. Supported operators: equal; Optional options: -: unknown/missed; CustomRule: Web Protection - Custom Rules; RateLimitingCustomRule: Web Protection - Rate Limiting Rules; ManagedRule: Web Protection - Managed Rules; L7DDoS: Web Protection - CC Attack Protection; BotManagement: Bot Management - Bot Basic Management; BotClientReputation: Bot Management - Client Profile Analysis; BotBehaviorAnalysis: Bot Management - Bot Intelligent Analysis; BotCustomRule: Bot Management - Custom Bot Rules; BotActiveDetection: Bot Management - Active Feature Recognition.
    conditions Sequence[TeoRealtimeLogDeliveryDeliveryConditionCondition]
    Log filtering conditions, the detailed filtering conditions are as follows: - EdgeResponseStatusCode: filter according to the status code returned by the EdgeOne node to the client. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to 0; - OriginResponseStatusCode: filter according to the origin response status code. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to -1; - SecurityAction: filter according to the final disposal action after the request hits the security rule. Supported operators: equal; Optional options are as follows: -: unknown/miss; Monitor: observe; JSChallenge: JavaScript challenge; Deny: intercept; Allow: allow; BlockIP: IP ban; Redirect: redirect; ReturnCustomPage: return to a custom page; ManagedChallenge: managed challenge; Silence: silent; LongDelay: respond after a long wait; ShortDelay: respond after a short wait; -SecurityModule: filter according to the name of the security module that finally handles the request. Supported operators: equal; Optional options: -: unknown/missed; CustomRule: Web Protection - Custom Rules; RateLimitingCustomRule: Web Protection - Rate Limiting Rules; ManagedRule: Web Protection - Managed Rules; L7DDoS: Web Protection - CC Attack Protection; BotManagement: Bot Management - Bot Basic Management; BotClientReputation: Bot Management - Client Profile Analysis; BotBehaviorAnalysis: Bot Management - Bot Intelligent Analysis; BotCustomRule: Bot Management - Custom Bot Rules; BotActiveDetection: Bot Management - Active Feature Recognition.
    conditions List<Property Map>
    Log filtering conditions, the detailed filtering conditions are as follows: - EdgeResponseStatusCode: filter according to the status code returned by the EdgeOne node to the client. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to 0; - OriginResponseStatusCode: filter according to the origin response status code. Supported operators: equal, great, less, great_equal, less_equal; Value range: any integer greater than or equal to -1; - SecurityAction: filter according to the final disposal action after the request hits the security rule. Supported operators: equal; Optional options are as follows: -: unknown/miss; Monitor: observe; JSChallenge: JavaScript challenge; Deny: intercept; Allow: allow; BlockIP: IP ban; Redirect: redirect; ReturnCustomPage: return to a custom page; ManagedChallenge: managed challenge; Silence: silent; LongDelay: respond after a long wait; ShortDelay: respond after a short wait; -SecurityModule: filter according to the name of the security module that finally handles the request. Supported operators: equal; Optional options: -: unknown/missed; CustomRule: Web Protection - Custom Rules; RateLimitingCustomRule: Web Protection - Rate Limiting Rules; ManagedRule: Web Protection - Managed Rules; L7DDoS: Web Protection - CC Attack Protection; BotManagement: Bot Management - Bot Basic Management; BotClientReputation: Bot Management - Client Profile Analysis; BotBehaviorAnalysis: Bot Management - Bot Intelligent Analysis; BotCustomRule: Bot Management - Custom Bot Rules; BotActiveDetection: Bot Management - Active Feature Recognition.

    TeoRealtimeLogDeliveryDeliveryConditionCondition, TeoRealtimeLogDeliveryDeliveryConditionConditionArgs

    Key string
    The key of the filter condition.
    Operator string
    Query condition operator, operation types are: equals: equal; notEquals: not equal; include: include; notInclude: not include; startWith: start with value; notStartWith: not start with value; endWith: end with value; notEndWith: not end with value.
    Values List<string>
    The value of the filter condition.
    Key string
    The key of the filter condition.
    Operator string
    Query condition operator, operation types are: equals: equal; notEquals: not equal; include: include; notInclude: not include; startWith: start with value; notStartWith: not start with value; endWith: end with value; notEndWith: not end with value.
    Values []string
    The value of the filter condition.
    key String
    The key of the filter condition.
    operator String
    Query condition operator, operation types are: equals: equal; notEquals: not equal; include: include; notInclude: not include; startWith: start with value; notStartWith: not start with value; endWith: end with value; notEndWith: not end with value.
    values List<String>
    The value of the filter condition.
    key string
    The key of the filter condition.
    operator string
    Query condition operator, operation types are: equals: equal; notEquals: not equal; include: include; notInclude: not include; startWith: start with value; notStartWith: not start with value; endWith: end with value; notEndWith: not end with value.
    values string[]
    The value of the filter condition.
    key str
    The key of the filter condition.
    operator str
    Query condition operator, operation types are: equals: equal; notEquals: not equal; include: include; notInclude: not include; startWith: start with value; notStartWith: not start with value; endWith: end with value; notEndWith: not end with value.
    values Sequence[str]
    The value of the filter condition.
    key String
    The key of the filter condition.
    operator String
    Query condition operator, operation types are: equals: equal; notEquals: not equal; include: include; notInclude: not include; startWith: start with value; notStartWith: not start with value; endWith: end with value; notEndWith: not end with value.
    values List<String>
    The value of the filter condition.

    TeoRealtimeLogDeliveryLogFormat, TeoRealtimeLogDeliveryLogFormatArgs

    FormatType string
    The default output format type for log delivery. The possible values are: json: Use the default log output format JSON Lines. The fields in a single log are presented as key-value pairs; csv: Use the default log output format csv. Only field values are presented in a single log, without field names.
    BatchPrefix string
    A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
    BatchSuffix string
    A string to append after each log delivery batch.
    FieldDelimiter string
    In a single log record, a string is inserted between fields as a separator. The possible values are: : tab character; ,: comma; ;: semicolon.
    RecordDelimiter string
    The string inserted between log records as a separator. The possible values are: : newline character; : tab character; ,: comma.
    RecordPrefix string
    A string to prepend to each log record.
    RecordSuffix string
    A string to append to each log record.
    FormatType string
    The default output format type for log delivery. The possible values are: json: Use the default log output format JSON Lines. The fields in a single log are presented as key-value pairs; csv: Use the default log output format csv. Only field values are presented in a single log, without field names.
    BatchPrefix string
    A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
    BatchSuffix string
    A string to append after each log delivery batch.
    FieldDelimiter string
    In a single log record, a string is inserted between fields as a separator. The possible values are: : tab character; ,: comma; ;: semicolon.
    RecordDelimiter string
    The string inserted between log records as a separator. The possible values are: : newline character; : tab character; ,: comma.
    RecordPrefix string
    A string to prepend to each log record.
    RecordSuffix string
    A string to append to each log record.
    formatType String
    The default output format type for log delivery. The possible values are: json: Use the default log output format JSON Lines. The fields in a single log are presented as key-value pairs; csv: Use the default log output format csv. Only field values are presented in a single log, without field names.
    batchPrefix String
    A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
    batchSuffix String
    A string to append after each log delivery batch.
    fieldDelimiter String
    In a single log record, a string is inserted between fields as a separator. The possible values are: : tab character; ,: comma; ;: semicolon.
    recordDelimiter String
    The string inserted between log records as a separator. The possible values are: : newline character; : tab character; ,: comma.
    recordPrefix String
    A string to prepend to each log record.
    recordSuffix String
    A string to append to each log record.
    formatType string
    The default output format type for log delivery. The possible values are: json: Use the default log output format JSON Lines. The fields in a single log are presented as key-value pairs; csv: Use the default log output format csv. Only field values are presented in a single log, without field names.
    batchPrefix string
    A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
    batchSuffix string
    A string to append after each log delivery batch.
    fieldDelimiter string
    In a single log record, a string is inserted between fields as a separator. The possible values are: : tab character; ,: comma; ;: semicolon.
    recordDelimiter string
    The string inserted between log records as a separator. The possible values are: : newline character; : tab character; ,: comma.
    recordPrefix string
    A string to prepend to each log record.
    recordSuffix string
    A string to append to each log record.
    format_type str
    The default output format type for log delivery. The possible values are: json: Use the default log output format JSON Lines. The fields in a single log are presented as key-value pairs; csv: Use the default log output format csv. Only field values are presented in a single log, without field names.
    batch_prefix str
    A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
    batch_suffix str
    A string to append after each log delivery batch.
    field_delimiter str
    In a single log record, a string is inserted between fields as a separator. The possible values are: : tab character; ,: comma; ;: semicolon.
    record_delimiter str
    The string inserted between log records as a separator. The possible values are: : newline character; : tab character; ,: comma.
    record_prefix str
    A string to prepend to each log record.
    record_suffix str
    A string to append to each log record.
    formatType String
    The default output format type for log delivery. The possible values are: json: Use the default log output format JSON Lines. The fields in a single log are presented as key-value pairs; csv: Use the default log output format csv. Only field values are presented in a single log, without field names.
    batchPrefix String
    A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
    batchSuffix String
    A string to append after each log delivery batch.
    fieldDelimiter String
    In a single log record, a string is inserted between fields as a separator. The possible values are: : tab character; ,: comma; ;: semicolon.
    recordDelimiter String
    The string inserted between log records as a separator. The possible values are: : newline character; : tab character; ,: comma.
    recordPrefix String
    A string to prepend to each log record.
    recordSuffix String
    A string to append to each log record.

    TeoRealtimeLogDeliveryS3, TeoRealtimeLogDeliveryS3Args

    AccessId string
    The Access Key ID used to access the bucket.
    AccessKey string
    The secret key used to access the bucket.
    Bucket string
    Bucket name and log storage directory, for example: your_bucket_name/EO-logs/. If this directory does not exist in the bucket, it will be created automatically.
    Endpoint string
    URLs that do not include bucket names or paths, for example: https://storage.googleapis.com, https://s3.ap-northeast-2.amazonaws.com, https://cos.ap-nanjing.myqcloud.com.
    Region string
    The region where the bucket is located, for example: ap-northeast-2.
    CompressType string
    Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
    AccessId string
    The Access Key ID used to access the bucket.
    AccessKey string
    The secret key used to access the bucket.
    Bucket string
    Bucket name and log storage directory, for example: your_bucket_name/EO-logs/. If this directory does not exist in the bucket, it will be created automatically.
    Endpoint string
    URLs that do not include bucket names or paths, for example: https://storage.googleapis.com, https://s3.ap-northeast-2.amazonaws.com, https://cos.ap-nanjing.myqcloud.com.
    Region string
    The region where the bucket is located, for example: ap-northeast-2.
    CompressType string
    Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
    accessId String
    The Access Key ID used to access the bucket.
    accessKey String
    The secret key used to access the bucket.
    bucket String
    Bucket name and log storage directory, for example: your_bucket_name/EO-logs/. If this directory does not exist in the bucket, it will be created automatically.
    endpoint String
    URLs that do not include bucket names or paths, for example: https://storage.googleapis.com, https://s3.ap-northeast-2.amazonaws.com, https://cos.ap-nanjing.myqcloud.com.
    region String
    The region where the bucket is located, for example: ap-northeast-2.
    compressType String
    Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
    accessId string
    The Access Key ID used to access the bucket.
    accessKey string
    The secret key used to access the bucket.
    bucket string
    Bucket name and log storage directory, for example: your_bucket_name/EO-logs/. If this directory does not exist in the bucket, it will be created automatically.
    endpoint string
    URLs that do not include bucket names or paths, for example: https://storage.googleapis.com, https://s3.ap-northeast-2.amazonaws.com, https://cos.ap-nanjing.myqcloud.com.
    region string
    The region where the bucket is located, for example: ap-northeast-2.
    compressType string
    Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
    access_id str
    The Access Key ID used to access the bucket.
    access_key str
    The secret key used to access the bucket.
    bucket str
    Bucket name and log storage directory, for example: your_bucket_name/EO-logs/. If this directory does not exist in the bucket, it will be created automatically.
    endpoint str
    URLs that do not include bucket names or paths, for example: https://storage.googleapis.com, https://s3.ap-northeast-2.amazonaws.com, https://cos.ap-nanjing.myqcloud.com.
    region str
    The region where the bucket is located, for example: ap-northeast-2.
    compress_type str
    Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
    accessId String
    The Access Key ID used to access the bucket.
    accessKey String
    The secret key used to access the bucket.
    bucket String
    Bucket name and log storage directory, for example: your_bucket_name/EO-logs/. If this directory does not exist in the bucket, it will be created automatically.
    endpoint String
    URLs that do not include bucket names or paths, for example: https://storage.googleapis.com, https://s3.ap-northeast-2.amazonaws.com, https://cos.ap-nanjing.myqcloud.com.
    region String
    The region where the bucket is located, for example: ap-northeast-2.
    compressType String
    Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.

    Import

    teo teo_realtime_log_delivery can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/teoRealtimeLogDelivery:TeoRealtimeLogDelivery teo_realtime_log_delivery zoneId#taskId
    

    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