Module log
This page documents the language specification for the alicloud package. If you're looking for help working with the inputs, outputs, or functions of alicloud resources in a Pulumi program, please see the resource documentation for examples and API reference.
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-alicloudrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-alicloudrepo.
Resources
Others
- AlertArgs
- AlertState
- AuditArgs
- AuditState
- DashboardArgs
- DashboardState
- LogTailAttachmentArgs
- LogTailAttachmentState
- LogTailConfigArgs
- LogTailConfigState
- MachineGroupArgs
- MachineGroupState
- ProjectArgs
- ProjectState
- StoreArgs
- StoreIndexArgs
- StoreIndexState
- StoreState
Resources
Resource Alert
class Alert extends CustomResourceconstructor
new Alert(name: string, args: AlertArgs, opts?: pulumi.CustomResourceOptions)Create a Alert resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertState, opts?: pulumi.CustomResourceOptions): AlertGet an existing Alert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is AlertReturns true if the given object is an instance of Alert. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property alertDescription
public alertDescription: pulumi.Output<string | undefined>;Alert description.
property alertDisplayname
public alertDisplayname: pulumi.Output<string>;Alert displayname.
property alertName
public alertName: pulumi.Output<string>;Name of logstore for configuring alarm service.
property condition
public condition: pulumi.Output<string>;Conditional expression, such as: count> 100.
property dashboard
public dashboard: pulumi.Output<string>;property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property muteUntil
public muteUntil: pulumi.Output<number | undefined>;Timestamp, notifications before closing again.
property notificationLists
public notificationLists: pulumi.Output<AlertNotificationList[]>;Alarm information notification list.
property notifyThreshold
public notifyThreshold: pulumi.Output<number | undefined>;Notification threshold, which is not notified until the number of triggers is reached. The default is 1.
property projectName
public projectName: pulumi.Output<string>;The project name.
property queryLists
public queryLists: pulumi.Output<AlertQueryList[]>;Multiple conditions for configured alarm query.
property scheduleInterval
public scheduleInterval: pulumi.Output<string | undefined>;Execution interval. 60 seconds minimum, such as 60s, 1h.
property scheduleType
public scheduleType: pulumi.Output<string | undefined>;Default FixedRate. No need to configure this parameter.
property throttling
public throttling: pulumi.Output<string | undefined>;Notification interval, default is no interval. Support number + unit type, for example 60s, 1h.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource Audit
class Audit extends CustomResourceSLS log audit exists in the form of log service app.
In addition to inheriting all SLS functions, it also enhances the real-time automatic centralized collection of audit related logs across multi cloud products under multi accounts, and provides support for storage, query and information summary required by audit. It covers actiontrail, OSS, NAS, SLB, API gateway, RDS, WAF, cloud firewall, cloud security center and other products.
NOTE: Available in 1.81.0
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = new alicloud.log.Audit("example", {
aliuid: "12345678",
displayName: "tf-audit-test",
variableMap: {
actiontrail_enabled: "true",
actiontrail_ttl: "180",
oss_access_enabled: "true",
oss_access_ttl: "180",
},
});constructor
new Audit(name: string, args: AuditArgs, opts?: pulumi.CustomResourceOptions)Create a Audit resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuditState, opts?: pulumi.CustomResourceOptions): AuditGet an existing Audit resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is AuditReturns true if the given object is an instance of Audit. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property aliuid
public aliuid: pulumi.Output<string>;Aliuid value of your account.
property displayName
public displayName: pulumi.Output<string>;Name of SLS log audit.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property multiAccounts
public multiAccounts: pulumi.Output<string[] | undefined>;Multi-account configuration, please fill in multiple aliuid.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property variableMap
public variableMap: pulumi.Output<{[key: string]: any} | undefined>;Log audit detailed configuration.
Resource Dashboard
class Dashboard extends CustomResourceThe dashboard is a real-time data analysis platform provided by the log service. You can display frequently used query and analysis statements in the form of charts and save statistical charts to the dashboard. Refer to details.
NOTE: Available in 1.86.0
constructor
new Dashboard(name: string, args: DashboardArgs, opts?: pulumi.CustomResourceOptions)Create a Dashboard resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DashboardState, opts?: pulumi.CustomResourceOptions): DashboardGet an existing Dashboard resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is DashboardReturns true if the given object is an instance of Dashboard. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property charList
public charList: pulumi.Output<string>;Configuration of charts in the dashboard.
property dashboardName
public dashboardName: pulumi.Output<string>;The name of the Log Dashboard.
property displayName
public displayName: pulumi.Output<string | undefined>;Dashboard alias.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property projectName
public projectName: pulumi.Output<string>;The name of the log project. It is the only in one Alicloud account.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource LogTailAttachment
class LogTailAttachment extends CustomResourceconstructor
new LogTailAttachment(name: string, args: LogTailAttachmentArgs, opts?: pulumi.CustomResourceOptions)Create a LogTailAttachment resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogTailAttachmentState, opts?: pulumi.CustomResourceOptions): LogTailAttachmentGet an existing LogTailAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is LogTailAttachmentReturns true if the given object is an instance of LogTailAttachment. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property logtailConfigName
public logtailConfigName: pulumi.Output<string>;The Logtail configuration name, which is unique in the same project.
property machineGroupName
public machineGroupName: pulumi.Output<string>;The machine group name, which is unique in the same project.
property project
public project: pulumi.Output<string>;The project name to the log store belongs.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource LogTailConfig
class LogTailConfig extends CustomResourceconstructor
new LogTailConfig(name: string, args: LogTailConfigArgs, opts?: pulumi.CustomResourceOptions)Create a LogTailConfig resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogTailConfigState, opts?: pulumi.CustomResourceOptions): LogTailConfigGet an existing LogTailConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is LogTailConfigReturns true if the given object is an instance of LogTailConfig. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property inputDetail
public inputDetail: pulumi.Output<string>;The logtail configure the required JSON files. (Refer to details)
property inputType
public inputType: pulumi.Output<string>;The input type. Currently only two types of files and plugin are supported.
property logSample
public logSample: pulumi.Output<string | undefined>;(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.
property logstore
public logstore: pulumi.Output<string>;The log store name to the query index belongs.
property name
public name: pulumi.Output<string>;The Logtail configuration name, which is unique in the same project.
property outputType
public outputType: pulumi.Output<string>;The output type. Currently, only LogService is supported.
property project
public project: pulumi.Output<string>;The project name to the log store belongs.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource MachineGroup
class MachineGroup extends CustomResourceconstructor
new MachineGroup(name: string, args: MachineGroupArgs, opts?: pulumi.CustomResourceOptions)Create a MachineGroup resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MachineGroupState, opts?: pulumi.CustomResourceOptions): MachineGroupGet an existing MachineGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is MachineGroupReturns true if the given object is an instance of MachineGroup. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property identifyLists
public identifyLists: pulumi.Output<string[]>;The specific machine identification, which can be an IP address or user-defined identity.
property identifyType
public identifyType: pulumi.Output<string | undefined>;The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
property name
public name: pulumi.Output<string>;The machine group name, which is unique in the same project.
property project
public project: pulumi.Output<string>;The project name to the machine group belongs.
property topic
public topic: pulumi.Output<string | undefined>;The topic of a machine group.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource Project
class Project extends CustomResourceconstructor
new Project(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions)Create a Project resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectState, opts?: pulumi.CustomResourceOptions): ProjectGet an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ProjectReturns true if the given object is an instance of Project. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property description
public description: pulumi.Output<string | undefined>;Description of the log project.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the log project. It is the only in one Alicloud account.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource Store
class Store extends CustomResourceconstructor
new Store(name: string, args: StoreArgs, opts?: pulumi.CustomResourceOptions)Create a Store resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StoreState, opts?: pulumi.CustomResourceOptions): StoreGet an existing Store resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is StoreReturns true if the given object is an instance of Store. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property appendMeta
public appendMeta: pulumi.Output<boolean | undefined>;Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
property autoSplit
public autoSplit: pulumi.Output<boolean | undefined>;Determines whether to automatically split a shard. Default to true.
property enableWebTracking
public enableWebTracking: pulumi.Output<boolean | undefined>;Determines whether to enable Web Tracking. Default false.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property maxSplitShardCount
public maxSplitShardCount: pulumi.Output<number | undefined>;The maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.
property name
public name: pulumi.Output<string>;The log store, which is unique in the same project.
property project
public project: pulumi.Output<string>;The project name to the log store belongs.
property retentionPeriod
public retentionPeriod: pulumi.Output<number | undefined>;The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is “3650”.
property shardCount
public shardCount: pulumi.Output<number | undefined>;The number of shards in this log store. Default to 2. You can modify it by “Split” or “Merge” operations. Refer to details
property shards
public shards: pulumi.Output<StoreShard[]>;property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource StoreIndex
class StoreIndex extends CustomResourceconstructor
new StoreIndex(name: string, args: StoreIndexArgs, opts?: pulumi.CustomResourceOptions)Create a StoreIndex resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StoreIndexState, opts?: pulumi.CustomResourceOptions): StoreIndexGet an existing StoreIndex resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is StoreIndexReturns true if the given object is an instance of StoreIndex. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property fieldSearches
public fieldSearches: pulumi.Output<StoreIndexFieldSearch[] | undefined>;List configurations of field search index. Valid item as follows:
property fullText
public fullText: pulumi.Output<StoreIndexFullText | undefined>;The configuration of full text index. Valid item as follows:
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property logstore
public logstore: pulumi.Output<string>;The log store name to the query index belongs.
property project
public project: pulumi.Output<string>;The project name to the log store belongs.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface AlertArgs
interface AlertArgsThe set of arguments for constructing a Alert resource.
property alertDescription
alertDescription?: pulumi.Input<string>;Alert description.
property alertDisplayname
alertDisplayname: pulumi.Input<string>;Alert displayname.
property alertName
alertName: pulumi.Input<string>;Name of logstore for configuring alarm service.
property condition
condition: pulumi.Input<string>;Conditional expression, such as: count> 100.
property dashboard
dashboard: pulumi.Input<string>;property muteUntil
muteUntil?: pulumi.Input<number>;Timestamp, notifications before closing again.
property notificationLists
notificationLists: pulumi.Input<pulumi.Input<AlertNotificationList>[]>;Alarm information notification list.
property notifyThreshold
notifyThreshold?: pulumi.Input<number>;Notification threshold, which is not notified until the number of triggers is reached. The default is 1.
property projectName
projectName: pulumi.Input<string>;The project name.
property queryLists
queryLists: pulumi.Input<pulumi.Input<AlertQueryList>[]>;Multiple conditions for configured alarm query.
property scheduleInterval
scheduleInterval?: pulumi.Input<string>;Execution interval. 60 seconds minimum, such as 60s, 1h.
property scheduleType
scheduleType?: pulumi.Input<string>;Default FixedRate. No need to configure this parameter.
property throttling
throttling?: pulumi.Input<string>;Notification interval, default is no interval. Support number + unit type, for example 60s, 1h.
interface AlertState
interface AlertStateInput properties used for looking up and filtering Alert resources.
property alertDescription
alertDescription?: pulumi.Input<string>;Alert description.
property alertDisplayname
alertDisplayname?: pulumi.Input<string>;Alert displayname.
property alertName
alertName?: pulumi.Input<string>;Name of logstore for configuring alarm service.
property condition
condition?: pulumi.Input<string>;Conditional expression, such as: count> 100.
property dashboard
dashboard?: pulumi.Input<string>;property muteUntil
muteUntil?: pulumi.Input<number>;Timestamp, notifications before closing again.
property notificationLists
notificationLists?: pulumi.Input<pulumi.Input<AlertNotificationList>[]>;Alarm information notification list.
property notifyThreshold
notifyThreshold?: pulumi.Input<number>;Notification threshold, which is not notified until the number of triggers is reached. The default is 1.
property projectName
projectName?: pulumi.Input<string>;The project name.
property queryLists
queryLists?: pulumi.Input<pulumi.Input<AlertQueryList>[]>;Multiple conditions for configured alarm query.
property scheduleInterval
scheduleInterval?: pulumi.Input<string>;Execution interval. 60 seconds minimum, such as 60s, 1h.
property scheduleType
scheduleType?: pulumi.Input<string>;Default FixedRate. No need to configure this parameter.
property throttling
throttling?: pulumi.Input<string>;Notification interval, default is no interval. Support number + unit type, for example 60s, 1h.
interface AuditArgs
interface AuditArgsThe set of arguments for constructing a Audit resource.
property aliuid
aliuid: pulumi.Input<string>;Aliuid value of your account.
property displayName
displayName: pulumi.Input<string>;Name of SLS log audit.
property multiAccounts
multiAccounts?: pulumi.Input<pulumi.Input<string>[]>;Multi-account configuration, please fill in multiple aliuid.
property variableMap
variableMap?: pulumi.Input<{[key: string]: any}>;Log audit detailed configuration.
interface AuditState
interface AuditStateInput properties used for looking up and filtering Audit resources.
property aliuid
aliuid?: pulumi.Input<string>;Aliuid value of your account.
property displayName
displayName?: pulumi.Input<string>;Name of SLS log audit.
property multiAccounts
multiAccounts?: pulumi.Input<pulumi.Input<string>[]>;Multi-account configuration, please fill in multiple aliuid.
property variableMap
variableMap?: pulumi.Input<{[key: string]: any}>;Log audit detailed configuration.
interface DashboardArgs
interface DashboardArgsThe set of arguments for constructing a Dashboard resource.
property charList
charList: pulumi.Input<string>;Configuration of charts in the dashboard.
property dashboardName
dashboardName: pulumi.Input<string>;The name of the Log Dashboard.
property displayName
displayName?: pulumi.Input<string>;Dashboard alias.
property projectName
projectName: pulumi.Input<string>;The name of the log project. It is the only in one Alicloud account.
interface DashboardState
interface DashboardStateInput properties used for looking up and filtering Dashboard resources.
property charList
charList?: pulumi.Input<string>;Configuration of charts in the dashboard.
property dashboardName
dashboardName?: pulumi.Input<string>;The name of the Log Dashboard.
property displayName
displayName?: pulumi.Input<string>;Dashboard alias.
property projectName
projectName?: pulumi.Input<string>;The name of the log project. It is the only in one Alicloud account.
interface LogTailAttachmentArgs
interface LogTailAttachmentArgsThe set of arguments for constructing a LogTailAttachment resource.
property logtailConfigName
logtailConfigName: pulumi.Input<string>;The Logtail configuration name, which is unique in the same project.
property machineGroupName
machineGroupName: pulumi.Input<string>;The machine group name, which is unique in the same project.
property project
project: pulumi.Input<string>;The project name to the log store belongs.
interface LogTailAttachmentState
interface LogTailAttachmentStateInput properties used for looking up and filtering LogTailAttachment resources.
property logtailConfigName
logtailConfigName?: pulumi.Input<string>;The Logtail configuration name, which is unique in the same project.
property machineGroupName
machineGroupName?: pulumi.Input<string>;The machine group name, which is unique in the same project.
property project
project?: pulumi.Input<string>;The project name to the log store belongs.
interface LogTailConfigArgs
interface LogTailConfigArgsThe set of arguments for constructing a LogTailConfig resource.
property inputDetail
inputDetail: pulumi.Input<string>;The logtail configure the required JSON files. (Refer to details)
property inputType
inputType: pulumi.Input<string>;The input type. Currently only two types of files and plugin are supported.
property logSample
logSample?: pulumi.Input<string>;(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.
property logstore
logstore: pulumi.Input<string>;The log store name to the query index belongs.
property name
name?: pulumi.Input<string>;The Logtail configuration name, which is unique in the same project.
property outputType
outputType: pulumi.Input<string>;The output type. Currently, only LogService is supported.
property project
project: pulumi.Input<string>;The project name to the log store belongs.
interface LogTailConfigState
interface LogTailConfigStateInput properties used for looking up and filtering LogTailConfig resources.
property inputDetail
inputDetail?: pulumi.Input<string>;The logtail configure the required JSON files. (Refer to details)
property inputType
inputType?: pulumi.Input<string>;The input type. Currently only two types of files and plugin are supported.
property logSample
logSample?: pulumi.Input<string>;(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.
property logstore
logstore?: pulumi.Input<string>;The log store name to the query index belongs.
property name
name?: pulumi.Input<string>;The Logtail configuration name, which is unique in the same project.
property outputType
outputType?: pulumi.Input<string>;The output type. Currently, only LogService is supported.
property project
project?: pulumi.Input<string>;The project name to the log store belongs.
interface MachineGroupArgs
interface MachineGroupArgsThe set of arguments for constructing a MachineGroup resource.
property identifyLists
identifyLists: pulumi.Input<pulumi.Input<string>[]>;The specific machine identification, which can be an IP address or user-defined identity.
property identifyType
identifyType?: pulumi.Input<string>;The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
property name
name?: pulumi.Input<string>;The machine group name, which is unique in the same project.
property project
project: pulumi.Input<string>;The project name to the machine group belongs.
property topic
topic?: pulumi.Input<string>;The topic of a machine group.
interface MachineGroupState
interface MachineGroupStateInput properties used for looking up and filtering MachineGroup resources.
property identifyLists
identifyLists?: pulumi.Input<pulumi.Input<string>[]>;The specific machine identification, which can be an IP address or user-defined identity.
property identifyType
identifyType?: pulumi.Input<string>;The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
property name
name?: pulumi.Input<string>;The machine group name, which is unique in the same project.
property project
project?: pulumi.Input<string>;The project name to the machine group belongs.
property topic
topic?: pulumi.Input<string>;The topic of a machine group.
interface ProjectArgs
interface ProjectArgsThe set of arguments for constructing a Project resource.
property description
description?: pulumi.Input<string>;Description of the log project.
property name
name?: pulumi.Input<string>;The name of the log project. It is the only in one Alicloud account.
interface ProjectState
interface ProjectStateInput properties used for looking up and filtering Project resources.
property description
description?: pulumi.Input<string>;Description of the log project.
property name
name?: pulumi.Input<string>;The name of the log project. It is the only in one Alicloud account.
interface StoreArgs
interface StoreArgsThe set of arguments for constructing a Store resource.
property appendMeta
appendMeta?: pulumi.Input<boolean>;Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
property autoSplit
autoSplit?: pulumi.Input<boolean>;Determines whether to automatically split a shard. Default to true.
property enableWebTracking
enableWebTracking?: pulumi.Input<boolean>;Determines whether to enable Web Tracking. Default false.
property maxSplitShardCount
maxSplitShardCount?: pulumi.Input<number>;The maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.
property name
name?: pulumi.Input<string>;The log store, which is unique in the same project.
property project
project: pulumi.Input<string>;The project name to the log store belongs.
property retentionPeriod
retentionPeriod?: pulumi.Input<number>;The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is “3650”.
property shardCount
shardCount?: pulumi.Input<number>;The number of shards in this log store. Default to 2. You can modify it by “Split” or “Merge” operations. Refer to details
interface StoreIndexArgs
interface StoreIndexArgsThe set of arguments for constructing a StoreIndex resource.
property fieldSearches
fieldSearches?: pulumi.Input<pulumi.Input<StoreIndexFieldSearch>[]>;List configurations of field search index. Valid item as follows:
property fullText
fullText?: pulumi.Input<StoreIndexFullText>;The configuration of full text index. Valid item as follows:
property logstore
logstore: pulumi.Input<string>;The log store name to the query index belongs.
property project
project: pulumi.Input<string>;The project name to the log store belongs.
interface StoreIndexState
interface StoreIndexStateInput properties used for looking up and filtering StoreIndex resources.
property fieldSearches
fieldSearches?: pulumi.Input<pulumi.Input<StoreIndexFieldSearch>[]>;List configurations of field search index. Valid item as follows:
property fullText
fullText?: pulumi.Input<StoreIndexFullText>;The configuration of full text index. Valid item as follows:
property logstore
logstore?: pulumi.Input<string>;The log store name to the query index belongs.
property project
project?: pulumi.Input<string>;The project name to the log store belongs.
interface StoreState
interface StoreStateInput properties used for looking up and filtering Store resources.
property appendMeta
appendMeta?: pulumi.Input<boolean>;Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
property autoSplit
autoSplit?: pulumi.Input<boolean>;Determines whether to automatically split a shard. Default to true.
property enableWebTracking
enableWebTracking?: pulumi.Input<boolean>;Determines whether to enable Web Tracking. Default false.
property maxSplitShardCount
maxSplitShardCount?: pulumi.Input<number>;The maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.
property name
name?: pulumi.Input<string>;The log store, which is unique in the same project.
property project
project?: pulumi.Input<string>;The project name to the log store belongs.
property retentionPeriod
retentionPeriod?: pulumi.Input<number>;The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is “3650”.
property shardCount
shardCount?: pulumi.Input<number>;The number of shards in this log store. Default to 2. You can modify it by “Split” or “Merge” operations. Refer to details
property shards
shards?: pulumi.Input<pulumi.Input<StoreShard>[]>;