tencentcloud.TeoRealtimeLogDelivery
Explore with Pulumi AI
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). - Entity
Lists 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.
- Log
Type 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%.
- Task
Name 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.
- Task
Type 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. - Zone
Id string - ID of the site.
- Cls
Teo
Realtime Log Delivery Cls - CLS configuration information. This parameter is required when TaskType is cls.
- Custom
Endpoint TeoRealtime Log Delivery Custom Endpoint - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- Custom
Fields List<TeoRealtime Log Delivery Custom Field> - 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 List<TeoRealtime Log Delivery Delivery Condition> - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- Delivery
Status 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. - Log
Format TeoRealtime Log Delivery Log Format - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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
Teo
Realtime Log Delivery S3 - Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
- Teo
Realtime stringLog Delivery Id - ID of the resource.
- Area string
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - Entity
Lists []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.
- Log
Type 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%.
- Task
Name 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.
- Task
Type 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. - Zone
Id string - ID of the site.
- Cls
Teo
Realtime Log Delivery Cls Args - CLS configuration information. This parameter is required when TaskType is cls.
- Custom
Endpoint TeoRealtime Log Delivery Custom Endpoint Args - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- Custom
Fields []TeoRealtime Log Delivery Custom Field Args - 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 []TeoRealtime Log Delivery Delivery Condition Args - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- Delivery
Status 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. - Log
Format TeoRealtime Log Delivery Log Format Args - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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
Teo
Realtime Log Delivery S3Args - Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
- Teo
Realtime stringLog Delivery Id - ID of the resource.
- area String
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - entity
Lists 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.
- log
Type 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%.
- task
Name 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.
- task
Type 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. - zone
Id String - ID of the site.
- cls
Teo
Realtime Log Delivery Cls - CLS configuration information. This parameter is required when TaskType is cls.
- custom
Endpoint TeoRealtime Log Delivery Custom Endpoint - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom
Fields List<TeoRealtime Log Delivery Custom Field> - 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 List<TeoRealtime Log Delivery Delivery Condition> - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- delivery
Status 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. - log
Format TeoRealtime Log Delivery Log Format - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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
Teo
Realtime Log Delivery S3 - Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
- teo
Realtime StringLog Delivery Id - ID of the resource.
- area string
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - entity
Lists 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.
- log
Type 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%.
- task
Name 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.
- task
Type 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. - zone
Id string - ID of the site.
- cls
Teo
Realtime Log Delivery Cls - CLS configuration information. This parameter is required when TaskType is cls.
- custom
Endpoint TeoRealtime Log Delivery Custom Endpoint - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom
Fields TeoRealtime Log Delivery Custom Field[] - 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 TeoRealtime Log Delivery Delivery Condition[] - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- delivery
Status 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. - log
Format TeoRealtime Log Delivery Log Format - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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
Teo
Realtime Log Delivery S3 - Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
- teo
Realtime stringLog Delivery Id - 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
Teo
Realtime Log Delivery Cls Args - CLS configuration information. This parameter is required when TaskType is cls.
- custom_
endpoint TeoRealtime Log Delivery Custom Endpoint Args - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom_
fields Sequence[TeoRealtime Log Delivery Custom Field Args] - 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[TeoRealtime Log Delivery Delivery Condition Args] - 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 TeoRealtime Log Delivery Log Format Args - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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
Teo
Realtime Log Delivery S3Args - Configuration information of AWS S3 compatible storage bucket. This parameter is required when TaskType is s3.
- teo_
realtime_ strlog_ delivery_ id - ID of the resource.
- area String
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - entity
Lists 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.
- log
Type 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%.
- task
Name 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.
- task
Type 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. - zone
Id String - ID of the site.
- cls Property Map
- CLS configuration information. This parameter is required when TaskType is cls.
- custom
Endpoint Property Map - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom
Fields 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.
- delivery
Conditions List<Property Map> - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- delivery
Status 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. - log
Format 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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.
- teo
Realtime StringLog Delivery Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeoRealtimeLogDelivery resource produces the following output properties:
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.
- Area string
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - Cls
Teo
Realtime Log Delivery Cls - CLS configuration information. This parameter is required when TaskType is cls.
- Custom
Endpoint TeoRealtime Log Delivery Custom Endpoint - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- Custom
Fields List<TeoRealtime Log Delivery Custom Field> - 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 List<TeoRealtime Log Delivery Delivery Condition> - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- Delivery
Status 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. - Entity
Lists 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.
- Log
Format TeoRealtime Log Delivery Log Format - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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 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
Teo
Realtime Log Delivery S3 - 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%.
- Task
Id string - Real-time log delivery task ID.
- Task
Name 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.
- Task
Type 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. - Teo
Realtime stringLog Delivery Id - ID of the resource.
- Zone
Id string - ID of the site.
- Area string
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - Cls
Teo
Realtime Log Delivery Cls Args - CLS configuration information. This parameter is required when TaskType is cls.
- Custom
Endpoint TeoRealtime Log Delivery Custom Endpoint Args - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- Custom
Fields []TeoRealtime Log Delivery Custom Field Args - 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 []TeoRealtime Log Delivery Delivery Condition Args - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- Delivery
Status 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. - Entity
Lists []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.
- Log
Format TeoRealtime Log Delivery Log Format Args - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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 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
Teo
Realtime Log Delivery S3Args - 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%.
- Task
Id string - Real-time log delivery task ID.
- Task
Name 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.
- Task
Type 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. - Teo
Realtime stringLog Delivery Id - ID of the resource.
- Zone
Id string - ID of the site.
- area String
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - cls
Teo
Realtime Log Delivery Cls - CLS configuration information. This parameter is required when TaskType is cls.
- custom
Endpoint TeoRealtime Log Delivery Custom Endpoint - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom
Fields List<TeoRealtime Log Delivery Custom Field> - 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 List<TeoRealtime Log Delivery Delivery Condition> - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- delivery
Status 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. - entity
Lists 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.
- log
Format TeoRealtime Log Delivery Log Format - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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 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
Teo
Realtime Log Delivery S3 - 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%.
- task
Id String - Real-time log delivery task ID.
- task
Name 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.
- task
Type 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. - teo
Realtime StringLog Delivery Id - ID of the resource.
- zone
Id String - ID of the site.
- area string
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - cls
Teo
Realtime Log Delivery Cls - CLS configuration information. This parameter is required when TaskType is cls.
- custom
Endpoint TeoRealtime Log Delivery Custom Endpoint - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom
Fields TeoRealtime Log Delivery Custom Field[] - 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 TeoRealtime Log Delivery Delivery Condition[] - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- delivery
Status 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. - entity
Lists 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.
- log
Format TeoRealtime Log Delivery Log Format - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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 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
Teo
Realtime Log Delivery S3 - 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%.
- task
Id string - Real-time log delivery task ID.
- task
Name 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.
- task
Type 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. - teo
Realtime stringLog Delivery Id - ID of the resource.
- zone
Id string - ID of the site.
- area str
- Data delivery area, possible values are:
mainland
: within mainland China;overseas
: worldwide (excluding mainland China). - cls
Teo
Realtime Log Delivery Cls Args - CLS configuration information. This parameter is required when TaskType is cls.
- custom_
endpoint TeoRealtime Log Delivery Custom Endpoint Args - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom_
fields Sequence[TeoRealtime Log Delivery Custom Field Args] - 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[TeoRealtime Log Delivery Delivery Condition Args] - 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 TeoRealtime Log Delivery Log Format Args - 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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
Teo
Realtime Log Delivery S3Args - 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_ strlog_ delivery_ id - 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.
- custom
Endpoint Property Map - Customize the configuration information of the HTTP service. This parameter is required when TaskType is set to custom_endpoint.
- custom
Fields 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.
- delivery
Conditions List<Property Map> - The filter condition for log delivery. If it is not filled, all logs will be delivered.
- delivery
Status 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. - entity
Lists 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.
- log
Format 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 iss3
, the default format is JSON Lines; in particular, when TaskType iscls
, 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 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%.
- task
Id String - Real-time log delivery task ID.
- task
Name 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.
- task
Type 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. - teo
Realtime StringLog Delivery Id - ID of the resource.
- zone
Id String - ID of the site.
Supporting Types
TeoRealtimeLogDeliveryCls, TeoRealtimeLogDeliveryClsArgs
- Log
Set stringId - Tencent Cloud CLS log set ID.
- Log
Set stringRegion - The region where the Tencent Cloud CLS log set is located.
- Topic
Id string - Tencent Cloud CLS log topic ID.
- Log
Set stringId - Tencent Cloud CLS log set ID.
- Log
Set stringRegion - The region where the Tencent Cloud CLS log set is located.
- Topic
Id string - Tencent Cloud CLS log topic ID.
- log
Set StringId - Tencent Cloud CLS log set ID.
- log
Set StringRegion - The region where the Tencent Cloud CLS log set is located.
- topic
Id String - Tencent Cloud CLS log topic ID.
- log
Set stringId - Tencent Cloud CLS log set ID.
- log
Set stringRegion - The region where the Tencent Cloud CLS log set is located.
- topic
Id string - Tencent Cloud CLS log topic ID.
- log_
set_ strid - Tencent Cloud CLS log set ID.
- log_
set_ strregion - The region where the Tencent Cloud CLS log set is located.
- topic_
id str - Tencent Cloud CLS log topic ID.
- log
Set StringId - Tencent Cloud CLS log set ID.
- log
Set StringRegion - The region where the Tencent Cloud CLS log set is located.
- topic
Id 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.
- Access
Id string - Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
- Access
Key string - Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
- Compress
Type string - Data compression type, the possible values are:
gzip
: use gzip compression. If it is not filled in, compression is not enabled. - Headers
List<Teo
Realtime Log Delivery Custom Endpoint Header> - 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.
- Access
Id string - Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
- Access
Key string - Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
- Compress
Type string - Data compression type, the possible values are:
gzip
: use gzip compression. If it is not filled in, compression is not enabled. - Headers
[]Teo
Realtime Log Delivery Custom Endpoint Header - 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.
- access
Id String - Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
- access
Key String - Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
- compress
Type String - Data compression type, the possible values are:
gzip
: use gzip compression. If it is not filled in, compression is not enabled. - headers
List<Teo
Realtime Log Delivery Custom Endpoint Header> - 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.
- access
Id string - Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
- access
Key string - Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
- compress
Type string - Data compression type, the possible values are:
gzip
: use gzip compression. If it is not filled in, compression is not enabled. - headers
Teo
Realtime Log Delivery Custom Endpoint Header[] - 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[Teo
Realtime Log Delivery Custom Endpoint Header] - 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.
- access
Id String - Fill in a custom SecretId to generate an encrypted signature. This parameter is required if the source site requires authentication.
- access
Key String - Fill in the custom SecretKey to generate the encrypted signature. This parameter is required if the source site requires authentication.
- compress
Type 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
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<Teo
Realtime Log Delivery Delivery Condition Condition> - 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
[]Teo
Realtime Log Delivery Delivery Condition Condition - 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<Teo
Realtime Log Delivery Delivery Condition Condition> - 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
Teo
Realtime Log Delivery Delivery Condition Condition[] - 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[Teo
Realtime Log Delivery Delivery Condition Condition] - 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
- Format
Type 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. - Batch
Prefix string - A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
- Batch
Suffix string - A string to append after each log delivery batch.
- Field
Delimiter string - In a single log record, a string is inserted between fields as a separator. The possible values are:
: tab character;
,
: comma;;
: semicolon. - Record
Delimiter string - The string inserted between log records as a separator. The possible values are:
: newline character;
: tab character;
,
: comma. - Record
Prefix string - A string to prepend to each log record.
- Record
Suffix string - A string to append to each log record.
- Format
Type 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. - Batch
Prefix string - A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
- Batch
Suffix string - A string to append after each log delivery batch.
- Field
Delimiter string - In a single log record, a string is inserted between fields as a separator. The possible values are:
: tab character;
,
: comma;;
: semicolon. - Record
Delimiter string - The string inserted between log records as a separator. The possible values are:
: newline character;
: tab character;
,
: comma. - Record
Prefix string - A string to prepend to each log record.
- Record
Suffix string - A string to append to each log record.
- format
Type 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. - batch
Prefix String - A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
- batch
Suffix String - A string to append after each log delivery batch.
- field
Delimiter String - In a single log record, a string is inserted between fields as a separator. The possible values are:
: tab character;
,
: comma;;
: semicolon. - record
Delimiter String - The string inserted between log records as a separator. The possible values are:
: newline character;
: tab character;
,
: comma. - record
Prefix String - A string to prepend to each log record.
- record
Suffix String - A string to append to each log record.
- format
Type 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. - batch
Prefix string - A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
- batch
Suffix string - A string to append after each log delivery batch.
- field
Delimiter string - In a single log record, a string is inserted between fields as a separator. The possible values are:
: tab character;
,
: comma;;
: semicolon. - record
Delimiter string - The string inserted between log records as a separator. The possible values are:
: newline character;
: tab character;
,
: comma. - record
Prefix string - A string to prepend to each log record.
- record
Suffix 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.
- format
Type 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. - batch
Prefix String - A string to be added before each log delivery batch. Each log delivery batch may contain multiple log records.
- batch
Suffix String - A string to append after each log delivery batch.
- field
Delimiter String - In a single log record, a string is inserted between fields as a separator. The possible values are:
: tab character;
,
: comma;;
: semicolon. - record
Delimiter String - The string inserted between log records as a separator. The possible values are:
: newline character;
: tab character;
,
: comma. - record
Prefix String - A string to prepend to each log record.
- record
Suffix String - A string to append to each log record.
TeoRealtimeLogDeliveryS3, TeoRealtimeLogDeliveryS3Args
- Access
Id string - The Access Key ID used to access the bucket.
- Access
Key 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.
- Compress
Type string - Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
- Access
Id string - The Access Key ID used to access the bucket.
- Access
Key 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.
- Compress
Type string - Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
- access
Id String - The Access Key ID used to access the bucket.
- access
Key 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.
- compress
Type String - Data compression type, the values are: gzip: gzip compression. If it is not filled in, compression is not enabled.
- access
Id string - The Access Key ID used to access the bucket.
- access
Key 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.
- compress
Type 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.
- access
Id String - The Access Key ID used to access the bucket.
- access
Key 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.
- compress
Type 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.