alicloud.cms.HybridMonitorSlsTask
Explore with Pulumi AI
Provides a Cloud Monitor Service Hybrid Monitor Sls Task resource.
For information about Cloud Monitor Service Hybrid Monitor Sls Task and how to use it, see What is Hybrid Monitor Sls Task.
NOTE: Available since v1.179.0.
Create HybridMonitorSlsTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HybridMonitorSlsTask(name: string, args: HybridMonitorSlsTaskArgs, opts?: CustomResourceOptions);
@overload
def HybridMonitorSlsTask(resource_name: str,
args: HybridMonitorSlsTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HybridMonitorSlsTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
collect_target_type: Optional[str] = None,
namespace: Optional[str] = None,
sls_process_config: Optional[HybridMonitorSlsTaskSlsProcessConfigArgs] = None,
task_name: Optional[str] = None,
attach_labels: Optional[Sequence[HybridMonitorSlsTaskAttachLabelArgs]] = None,
collect_interval: Optional[int] = None,
description: Optional[str] = None)
func NewHybridMonitorSlsTask(ctx *Context, name string, args HybridMonitorSlsTaskArgs, opts ...ResourceOption) (*HybridMonitorSlsTask, error)
public HybridMonitorSlsTask(string name, HybridMonitorSlsTaskArgs args, CustomResourceOptions? opts = null)
public HybridMonitorSlsTask(String name, HybridMonitorSlsTaskArgs args)
public HybridMonitorSlsTask(String name, HybridMonitorSlsTaskArgs args, CustomResourceOptions options)
type: alicloud:cms:HybridMonitorSlsTask
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 HybridMonitorSlsTaskArgs
- 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 HybridMonitorSlsTaskArgs
- 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 HybridMonitorSlsTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HybridMonitorSlsTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HybridMonitorSlsTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var hybridMonitorSlsTaskResource = new AliCloud.Cms.HybridMonitorSlsTask("hybridMonitorSlsTaskResource", new()
{
CollectTargetType = "string",
Namespace = "string",
SlsProcessConfig = new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigArgs
{
Expresses = new[]
{
new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigExpressArgs
{
Alias = "string",
Express = "string",
},
},
Filter = new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigFilterArgs
{
Filters = new[]
{
new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs
{
Operator = "string",
SlsKeyName = "string",
Value = "string",
},
},
Relation = "string",
},
GroupBies = new[]
{
new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigGroupByArgs
{
Alias = "string",
SlsKeyName = "string",
},
},
Statistics = new[]
{
new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigStatisticArgs
{
Alias = "string",
Function = "string",
ParameterOne = "string",
ParameterTwo = "string",
SlsKeyName = "string",
},
},
},
TaskName = "string",
AttachLabels = new[]
{
new AliCloud.Cms.Inputs.HybridMonitorSlsTaskAttachLabelArgs
{
Name = "string",
Value = "string",
},
},
CollectInterval = 0,
Description = "string",
});
example, err := cms.NewHybridMonitorSlsTask(ctx, "hybridMonitorSlsTaskResource", &cms.HybridMonitorSlsTaskArgs{
CollectTargetType: pulumi.String("string"),
Namespace: pulumi.String("string"),
SlsProcessConfig: &cms.HybridMonitorSlsTaskSlsProcessConfigArgs{
Expresses: cms.HybridMonitorSlsTaskSlsProcessConfigExpressArray{
&cms.HybridMonitorSlsTaskSlsProcessConfigExpressArgs{
Alias: pulumi.String("string"),
Express: pulumi.String("string"),
},
},
Filter: &cms.HybridMonitorSlsTaskSlsProcessConfigFilterArgs{
Filters: cms.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArray{
&cms.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs{
Operator: pulumi.String("string"),
SlsKeyName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Relation: pulumi.String("string"),
},
GroupBies: cms.HybridMonitorSlsTaskSlsProcessConfigGroupByArray{
&cms.HybridMonitorSlsTaskSlsProcessConfigGroupByArgs{
Alias: pulumi.String("string"),
SlsKeyName: pulumi.String("string"),
},
},
Statistics: cms.HybridMonitorSlsTaskSlsProcessConfigStatisticArray{
&cms.HybridMonitorSlsTaskSlsProcessConfigStatisticArgs{
Alias: pulumi.String("string"),
Function: pulumi.String("string"),
ParameterOne: pulumi.String("string"),
ParameterTwo: pulumi.String("string"),
SlsKeyName: pulumi.String("string"),
},
},
},
TaskName: pulumi.String("string"),
AttachLabels: cms.HybridMonitorSlsTaskAttachLabelArray{
&cms.HybridMonitorSlsTaskAttachLabelArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
CollectInterval: pulumi.Int(0),
Description: pulumi.String("string"),
})
var hybridMonitorSlsTaskResource = new HybridMonitorSlsTask("hybridMonitorSlsTaskResource", HybridMonitorSlsTaskArgs.builder()
.collectTargetType("string")
.namespace("string")
.slsProcessConfig(HybridMonitorSlsTaskSlsProcessConfigArgs.builder()
.expresses(HybridMonitorSlsTaskSlsProcessConfigExpressArgs.builder()
.alias("string")
.express("string")
.build())
.filter(HybridMonitorSlsTaskSlsProcessConfigFilterArgs.builder()
.filters(HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs.builder()
.operator("string")
.slsKeyName("string")
.value("string")
.build())
.relation("string")
.build())
.groupBies(HybridMonitorSlsTaskSlsProcessConfigGroupByArgs.builder()
.alias("string")
.slsKeyName("string")
.build())
.statistics(HybridMonitorSlsTaskSlsProcessConfigStatisticArgs.builder()
.alias("string")
.function("string")
.parameterOne("string")
.parameterTwo("string")
.slsKeyName("string")
.build())
.build())
.taskName("string")
.attachLabels(HybridMonitorSlsTaskAttachLabelArgs.builder()
.name("string")
.value("string")
.build())
.collectInterval(0)
.description("string")
.build());
hybrid_monitor_sls_task_resource = alicloud.cms.HybridMonitorSlsTask("hybridMonitorSlsTaskResource",
collect_target_type="string",
namespace="string",
sls_process_config=alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigArgs(
expresses=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigExpressArgs(
alias="string",
express="string",
)],
filter=alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigFilterArgs(
filters=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs(
operator="string",
sls_key_name="string",
value="string",
)],
relation="string",
),
group_bies=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigGroupByArgs(
alias="string",
sls_key_name="string",
)],
statistics=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigStatisticArgs(
alias="string",
function="string",
parameter_one="string",
parameter_two="string",
sls_key_name="string",
)],
),
task_name="string",
attach_labels=[alicloud.cms.HybridMonitorSlsTaskAttachLabelArgs(
name="string",
value="string",
)],
collect_interval=0,
description="string")
const hybridMonitorSlsTaskResource = new alicloud.cms.HybridMonitorSlsTask("hybridMonitorSlsTaskResource", {
collectTargetType: "string",
namespace: "string",
slsProcessConfig: {
expresses: [{
alias: "string",
express: "string",
}],
filter: {
filters: [{
operator: "string",
slsKeyName: "string",
value: "string",
}],
relation: "string",
},
groupBies: [{
alias: "string",
slsKeyName: "string",
}],
statistics: [{
alias: "string",
"function": "string",
parameterOne: "string",
parameterTwo: "string",
slsKeyName: "string",
}],
},
taskName: "string",
attachLabels: [{
name: "string",
value: "string",
}],
collectInterval: 0,
description: "string",
});
type: alicloud:cms:HybridMonitorSlsTask
properties:
attachLabels:
- name: string
value: string
collectInterval: 0
collectTargetType: string
description: string
namespace: string
slsProcessConfig:
expresses:
- alias: string
express: string
filter:
filters:
- operator: string
slsKeyName: string
value: string
relation: string
groupBies:
- alias: string
slsKeyName: string
statistics:
- alias: string
function: string
parameterOne: string
parameterTwo: string
slsKeyName: string
taskName: string
HybridMonitorSlsTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The HybridMonitorSlsTask resource accepts the following input properties:
- Collect
Target stringType - The type of the collection target, enter the name of the Logstore group.
- Namespace string
- The name of the namespace.
- Sls
Process Pulumi.Config Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - Task
Name string - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- Attach
Labels List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Attach Label> - The label of the monitoring task. See
attach_labels
below. - Collect
Interval int - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - Description string
- The description of the metric import task.
- Collect
Target stringType - The type of the collection target, enter the name of the Logstore group.
- Namespace string
- The name of the namespace.
- Sls
Process HybridConfig Monitor Sls Task Sls Process Config Args - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - Task
Name string - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- Attach
Labels []HybridMonitor Sls Task Attach Label Args - The label of the monitoring task. See
attach_labels
below. - Collect
Interval int - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - Description string
- The description of the metric import task.
- collect
Target StringType - The type of the collection target, enter the name of the Logstore group.
- namespace String
- The name of the namespace.
- sls
Process HybridConfig Monitor Sls Task Sls Process Config - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task
Name String - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach
Labels List<HybridMonitor Sls Task Attach Label> - The label of the monitoring task. See
attach_labels
below. - collect
Interval Integer - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - description String
- The description of the metric import task.
- collect
Target stringType - The type of the collection target, enter the name of the Logstore group.
- namespace string
- The name of the namespace.
- sls
Process HybridConfig Monitor Sls Task Sls Process Config - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task
Name string - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach
Labels HybridMonitor Sls Task Attach Label[] - The label of the monitoring task. See
attach_labels
below. - collect
Interval number - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - description string
- The description of the metric import task.
- collect_
target_ strtype - The type of the collection target, enter the name of the Logstore group.
- namespace str
- The name of the namespace.
- sls_
process_ Hybridconfig Monitor Sls Task Sls Process Config Args - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task_
name str - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach_
labels Sequence[HybridMonitor Sls Task Attach Label Args] - The label of the monitoring task. See
attach_labels
below. - collect_
interval int - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - description str
- The description of the metric import task.
- collect
Target StringType - The type of the collection target, enter the name of the Logstore group.
- namespace String
- The name of the namespace.
- sls
Process Property MapConfig - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task
Name String - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach
Labels List<Property Map> - The label of the monitoring task. See
attach_labels
below. - collect
Interval Number - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - description String
- The description of the metric import task.
Outputs
All input properties are implicitly available as output properties. Additionally, the HybridMonitorSlsTask resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing HybridMonitorSlsTask Resource
Get an existing HybridMonitorSlsTask 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?: HybridMonitorSlsTaskState, opts?: CustomResourceOptions): HybridMonitorSlsTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attach_labels: Optional[Sequence[HybridMonitorSlsTaskAttachLabelArgs]] = None,
collect_interval: Optional[int] = None,
collect_target_type: Optional[str] = None,
description: Optional[str] = None,
namespace: Optional[str] = None,
sls_process_config: Optional[HybridMonitorSlsTaskSlsProcessConfigArgs] = None,
task_name: Optional[str] = None) -> HybridMonitorSlsTask
func GetHybridMonitorSlsTask(ctx *Context, name string, id IDInput, state *HybridMonitorSlsTaskState, opts ...ResourceOption) (*HybridMonitorSlsTask, error)
public static HybridMonitorSlsTask Get(string name, Input<string> id, HybridMonitorSlsTaskState? state, CustomResourceOptions? opts = null)
public static HybridMonitorSlsTask get(String name, Output<String> id, HybridMonitorSlsTaskState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Attach
Labels List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Attach Label> - The label of the monitoring task. See
attach_labels
below. - Collect
Interval int - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - Collect
Target stringType - The type of the collection target, enter the name of the Logstore group.
- Description string
- The description of the metric import task.
- Namespace string
- The name of the namespace.
- Sls
Process Pulumi.Config Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - Task
Name string - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- Attach
Labels []HybridMonitor Sls Task Attach Label Args - The label of the monitoring task. See
attach_labels
below. - Collect
Interval int - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - Collect
Target stringType - The type of the collection target, enter the name of the Logstore group.
- Description string
- The description of the metric import task.
- Namespace string
- The name of the namespace.
- Sls
Process HybridConfig Monitor Sls Task Sls Process Config Args - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - Task
Name string - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach
Labels List<HybridMonitor Sls Task Attach Label> - The label of the monitoring task. See
attach_labels
below. - collect
Interval Integer - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - collect
Target StringType - The type of the collection target, enter the name of the Logstore group.
- description String
- The description of the metric import task.
- namespace String
- The name of the namespace.
- sls
Process HybridConfig Monitor Sls Task Sls Process Config - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task
Name String - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach
Labels HybridMonitor Sls Task Attach Label[] - The label of the monitoring task. See
attach_labels
below. - collect
Interval number - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - collect
Target stringType - The type of the collection target, enter the name of the Logstore group.
- description string
- The description of the metric import task.
- namespace string
- The name of the namespace.
- sls
Process HybridConfig Monitor Sls Task Sls Process Config - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task
Name string - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach_
labels Sequence[HybridMonitor Sls Task Attach Label Args] - The label of the monitoring task. See
attach_labels
below. - collect_
interval int - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - collect_
target_ strtype - The type of the collection target, enter the name of the Logstore group.
- description str
- The description of the metric import task.
- namespace str
- The name of the namespace.
- sls_
process_ Hybridconfig Monitor Sls Task Sls Process Config Args - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task_
name str - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach
Labels List<Property Map> - The label of the monitoring task. See
attach_labels
below. - collect
Interval Number - The interval at which metrics are collected. Valid values:
15
,60
(default value). Unit: seconds. - collect
Target StringType - The type of the collection target, enter the name of the Logstore group.
- description String
- The description of the metric import task.
- namespace String
- The name of the namespace.
- sls
Process Property MapConfig - The configurations of the logs that are imported from Log Service. See
sls_process_config
below. - task
Name String - The name of the metric import task, enter the name of the metric for logs imported from Log Service.
Supporting Types
HybridMonitorSlsTaskAttachLabel, HybridMonitorSlsTaskAttachLabelArgs
HybridMonitorSlsTaskSlsProcessConfig, HybridMonitorSlsTaskSlsProcessConfigArgs
- Expresses
List<Pulumi.
Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Express> - The extended field that specifies the result of basic operations that are performed on aggregation results.
- Filter
Pulumi.
Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Filter - The conditions that are used to filter logs imported from Log Service. See
filter
below. - Group
Bies List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Group By> - The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See
group_by
below. - Statistics
List<Pulumi.
Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Statistic> - The method that is used to aggregate logs imported from Log Service. See
statistics
below.
- Expresses
[]Hybrid
Monitor Sls Task Sls Process Config Express - The extended field that specifies the result of basic operations that are performed on aggregation results.
- Filter
Hybrid
Monitor Sls Task Sls Process Config Filter - The conditions that are used to filter logs imported from Log Service. See
filter
below. - Group
Bies []HybridMonitor Sls Task Sls Process Config Group By - The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See
group_by
below. - Statistics
[]Hybrid
Monitor Sls Task Sls Process Config Statistic - The method that is used to aggregate logs imported from Log Service. See
statistics
below.
- expresses
List<Hybrid
Monitor Sls Task Sls Process Config Express> - The extended field that specifies the result of basic operations that are performed on aggregation results.
- filter
Hybrid
Monitor Sls Task Sls Process Config Filter - The conditions that are used to filter logs imported from Log Service. See
filter
below. - group
Bies List<HybridMonitor Sls Task Sls Process Config Group By> - The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See
group_by
below. - statistics
List<Hybrid
Monitor Sls Task Sls Process Config Statistic> - The method that is used to aggregate logs imported from Log Service. See
statistics
below.
- expresses
Hybrid
Monitor Sls Task Sls Process Config Express[] - The extended field that specifies the result of basic operations that are performed on aggregation results.
- filter
Hybrid
Monitor Sls Task Sls Process Config Filter - The conditions that are used to filter logs imported from Log Service. See
filter
below. - group
Bies HybridMonitor Sls Task Sls Process Config Group By[] - The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See
group_by
below. - statistics
Hybrid
Monitor Sls Task Sls Process Config Statistic[] - The method that is used to aggregate logs imported from Log Service. See
statistics
below.
- expresses
Sequence[Hybrid
Monitor Sls Task Sls Process Config Express] - The extended field that specifies the result of basic operations that are performed on aggregation results.
- filter
Hybrid
Monitor Sls Task Sls Process Config Filter - The conditions that are used to filter logs imported from Log Service. See
filter
below. - group_
bies Sequence[HybridMonitor Sls Task Sls Process Config Group By] - The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See
group_by
below. - statistics
Sequence[Hybrid
Monitor Sls Task Sls Process Config Statistic] - The method that is used to aggregate logs imported from Log Service. See
statistics
below.
- expresses List<Property Map>
- The extended field that specifies the result of basic operations that are performed on aggregation results.
- filter Property Map
- The conditions that are used to filter logs imported from Log Service. See
filter
below. - group
Bies List<Property Map> - The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See
group_by
below. - statistics List<Property Map>
- The method that is used to aggregate logs imported from Log Service. See
statistics
below.
HybridMonitorSlsTaskSlsProcessConfigExpress, HybridMonitorSlsTaskSlsProcessConfigExpressArgs
HybridMonitorSlsTaskSlsProcessConfigFilter, HybridMonitorSlsTaskSlsProcessConfigFilterArgs
- Filters
List<Pulumi.
Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Filter Filter> - The conditions that are used to filter logs imported from Log Service. See
filters
below. - Relation string
- The relationship between multiple filter conditions. Valid values:
and
(default value),or
.
- Filters
[]Hybrid
Monitor Sls Task Sls Process Config Filter Filter - The conditions that are used to filter logs imported from Log Service. See
filters
below. - Relation string
- The relationship between multiple filter conditions. Valid values:
and
(default value),or
.
- filters
List<Hybrid
Monitor Sls Task Sls Process Config Filter Filter> - The conditions that are used to filter logs imported from Log Service. See
filters
below. - relation String
- The relationship between multiple filter conditions. Valid values:
and
(default value),or
.
- filters
Hybrid
Monitor Sls Task Sls Process Config Filter Filter[] - The conditions that are used to filter logs imported from Log Service. See
filters
below. - relation string
- The relationship between multiple filter conditions. Valid values:
and
(default value),or
.
- filters
Sequence[Hybrid
Monitor Sls Task Sls Process Config Filter Filter] - The conditions that are used to filter logs imported from Log Service. See
filters
below. - relation str
- The relationship between multiple filter conditions. Valid values:
and
(default value),or
.
- filters List<Property Map>
- The conditions that are used to filter logs imported from Log Service. See
filters
below. - relation String
- The relationship between multiple filter conditions. Valid values:
and
(default value),or
.
HybridMonitorSlsTaskSlsProcessConfigFilterFilter, HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs
- Operator string
- The method that is used to filter logs imported from Log Service. Valid values:
>
,>=
,=
,<=
,<
,!=
,contain
,notContain
. - Sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- Value string
- Operator string
- The method that is used to filter logs imported from Log Service. Valid values:
>
,>=
,=
,<=
,<
,!=
,contain
,notContain
. - Sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- Value string
- operator String
- The method that is used to filter logs imported from Log Service. Valid values:
>
,>=
,=
,<=
,<
,!=
,contain
,notContain
. - sls
Key StringName - The name of the key that is used to filter logs imported from Log Service.
- value String
- operator string
- The method that is used to filter logs imported from Log Service. Valid values:
>
,>=
,=
,<=
,<
,!=
,contain
,notContain
. - sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- value string
- operator str
- The method that is used to filter logs imported from Log Service. Valid values:
>
,>=
,=
,<=
,<
,!=
,contain
,notContain
. - sls_
key_ strname - The name of the key that is used to filter logs imported from Log Service.
- value str
- operator String
- The method that is used to filter logs imported from Log Service. Valid values:
>
,>=
,=
,<=
,<
,!=
,contain
,notContain
. - sls
Key StringName - The name of the key that is used to filter logs imported from Log Service.
- value String
HybridMonitorSlsTaskSlsProcessConfigGroupBy, HybridMonitorSlsTaskSlsProcessConfigGroupByArgs
- Alias string
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- Sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- Alias string
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- Sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- alias String
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- sls
Key StringName - The name of the key that is used to filter logs imported from Log Service.
- alias string
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- alias str
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- sls_
key_ strname - The name of the key that is used to filter logs imported from Log Service.
- alias String
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- sls
Key StringName - The name of the key that is used to filter logs imported from Log Service.
HybridMonitorSlsTaskSlsProcessConfigStatistic, HybridMonitorSlsTaskSlsProcessConfigStatisticArgs
- Alias string
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- Function string
- The function that is used to aggregate log data within a statistical period. Valid values:
count
,sum
,avg
,max
,min
,value
,countps
,sumps
,distinct
,distribution
,percentile
. - Parameter
One string - The value of the function that is used to aggregate logs imported from Log Service.
- If you set the
function
parameter todistribution
, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200. - If you set the
function
parameter topercentile
, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
- If you set the
- Parameter
Two string - The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the
function
parameter is set todistribution
. This parameter specifies the upper limit of the statistical interval. - Sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- Alias string
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- Function string
- The function that is used to aggregate log data within a statistical period. Valid values:
count
,sum
,avg
,max
,min
,value
,countps
,sumps
,distinct
,distribution
,percentile
. - Parameter
One string - The value of the function that is used to aggregate logs imported from Log Service.
- If you set the
function
parameter todistribution
, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200. - If you set the
function
parameter topercentile
, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
- If you set the
- Parameter
Two string - The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the
function
parameter is set todistribution
. This parameter specifies the upper limit of the statistical interval. - Sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- alias String
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- function String
- The function that is used to aggregate log data within a statistical period. Valid values:
count
,sum
,avg
,max
,min
,value
,countps
,sumps
,distinct
,distribution
,percentile
. - parameter
One String - The value of the function that is used to aggregate logs imported from Log Service.
- If you set the
function
parameter todistribution
, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200. - If you set the
function
parameter topercentile
, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
- If you set the
- parameter
Two String - The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the
function
parameter is set todistribution
. This parameter specifies the upper limit of the statistical interval. - sls
Key StringName - The name of the key that is used to filter logs imported from Log Service.
- alias string
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- function string
- The function that is used to aggregate log data within a statistical period. Valid values:
count
,sum
,avg
,max
,min
,value
,countps
,sumps
,distinct
,distribution
,percentile
. - parameter
One string - The value of the function that is used to aggregate logs imported from Log Service.
- If you set the
function
parameter todistribution
, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200. - If you set the
function
parameter topercentile
, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
- If you set the
- parameter
Two string - The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the
function
parameter is set todistribution
. This parameter specifies the upper limit of the statistical interval. - sls
Key stringName - The name of the key that is used to filter logs imported from Log Service.
- alias str
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- function str
- The function that is used to aggregate log data within a statistical period. Valid values:
count
,sum
,avg
,max
,min
,value
,countps
,sumps
,distinct
,distribution
,percentile
. - parameter_
one str - The value of the function that is used to aggregate logs imported from Log Service.
- If you set the
function
parameter todistribution
, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200. - If you set the
function
parameter topercentile
, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
- If you set the
- parameter_
two str - The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the
function
parameter is set todistribution
. This parameter specifies the upper limit of the statistical interval. - sls_
key_ strname - The name of the key that is used to filter logs imported from Log Service.
- alias String
- The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
- function String
- The function that is used to aggregate log data within a statistical period. Valid values:
count
,sum
,avg
,max
,min
,value
,countps
,sumps
,distinct
,distribution
,percentile
. - parameter
One String - The value of the function that is used to aggregate logs imported from Log Service.
- If you set the
function
parameter todistribution
, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200. - If you set the
function
parameter topercentile
, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
- If you set the
- parameter
Two String - The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the
function
parameter is set todistribution
. This parameter specifies the upper limit of the statistical interval. - sls
Key StringName - The name of the key that is used to filter logs imported from Log Service.
Import
Cloud Monitor Service Hybrid Monitor Sls Task can be imported using the id, e.g.
$ pulumi import alicloud:cms/hybridMonitorSlsTask:HybridMonitorSlsTask example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.