ibm.LogsE2m
Explore with Pulumi AI
Create, update, and delete logs_e2ms with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const logsE2mInstance = new ibm.LogsE2m("logsE2mInstance", {
instanceId: ibm_resource_instance.logs_instance.guid,
region: ibm_resource_instance.logs_instance.location,
description: "example E2M decription",
logsQuery: {
applicationnameFilters: [],
severityFilters: [
"debug",
"error",
],
subsystemnameFilters: [],
},
type: "logs2metrics",
});
import pulumi
import pulumi_ibm as ibm
logs_e2m_instance = ibm.LogsE2m("logsE2mInstance",
instance_id=ibm_resource_instance["logs_instance"]["guid"],
region=ibm_resource_instance["logs_instance"]["location"],
description="example E2M decription",
logs_query={
"applicationname_filters": [],
"severity_filters": [
"debug",
"error",
],
"subsystemname_filters": [],
},
type="logs2metrics")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewLogsE2m(ctx, "logsE2mInstance", &ibm.LogsE2mArgs{
InstanceId: pulumi.Any(ibm_resource_instance.Logs_instance.Guid),
Region: pulumi.Any(ibm_resource_instance.Logs_instance.Location),
Description: pulumi.String("example E2M decription"),
LogsQuery: &ibm.LogsE2mLogsQueryArgs{
ApplicationnameFilters: pulumi.StringArray{},
SeverityFilters: pulumi.StringArray{
pulumi.String("debug"),
pulumi.String("error"),
},
SubsystemnameFilters: pulumi.StringArray{},
},
Type: pulumi.String("logs2metrics"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var logsE2mInstance = new Ibm.LogsE2m("logsE2mInstance", new()
{
InstanceId = ibm_resource_instance.Logs_instance.Guid,
Region = ibm_resource_instance.Logs_instance.Location,
Description = "example E2M decription",
LogsQuery = new Ibm.Inputs.LogsE2mLogsQueryArgs
{
ApplicationnameFilters = new() { },
SeverityFilters = new[]
{
"debug",
"error",
},
SubsystemnameFilters = new() { },
},
Type = "logs2metrics",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.LogsE2m;
import com.pulumi.ibm.LogsE2mArgs;
import com.pulumi.ibm.inputs.LogsE2mLogsQueryArgs;
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 logsE2mInstance = new LogsE2m("logsE2mInstance", LogsE2mArgs.builder()
.instanceId(ibm_resource_instance.logs_instance().guid())
.region(ibm_resource_instance.logs_instance().location())
.description("example E2M decription")
.logsQuery(LogsE2mLogsQueryArgs.builder()
.applicationnameFilters()
.severityFilters(
"debug",
"error")
.subsystemnameFilters()
.build())
.type("logs2metrics")
.build());
}
}
resources:
logsE2mInstance:
type: ibm:LogsE2m
properties:
instanceId: ${ibm_resource_instance.logs_instance.guid}
region: ${ibm_resource_instance.logs_instance.location}
description: example E2M decription
logsQuery:
applicationnameFilters: []
severityFilters:
- debug
- error
subsystemnameFilters: []
type: logs2metrics
Create LogsE2m Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogsE2m(name: string, args: LogsE2mArgs, opts?: CustomResourceOptions);
@overload
def LogsE2m(resource_name: str,
args: LogsE2mArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogsE2m(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
description: Optional[str] = None,
endpoint_type: Optional[str] = None,
logs_e2m_id: Optional[str] = None,
logs_query: Optional[LogsE2mLogsQueryArgs] = None,
metric_fields: Optional[Sequence[LogsE2mMetricFieldArgs]] = None,
metric_labels: Optional[Sequence[LogsE2mMetricLabelArgs]] = None,
name: Optional[str] = None,
region: Optional[str] = None,
type: Optional[str] = None)
func NewLogsE2m(ctx *Context, name string, args LogsE2mArgs, opts ...ResourceOption) (*LogsE2m, error)
public LogsE2m(string name, LogsE2mArgs args, CustomResourceOptions? opts = null)
public LogsE2m(String name, LogsE2mArgs args)
public LogsE2m(String name, LogsE2mArgs args, CustomResourceOptions options)
type: ibm:LogsE2m
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 LogsE2mArgs
- 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 LogsE2mArgs
- 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 LogsE2mArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogsE2mArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogsE2mArgs
- 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 logsE2mResource = new Ibm.LogsE2m("logsE2mResource", new()
{
InstanceId = "string",
Description = "string",
EndpointType = "string",
LogsE2mId = "string",
LogsQuery = new Ibm.Inputs.LogsE2mLogsQueryArgs
{
Alias = "string",
ApplicationnameFilters = new[]
{
"string",
},
Lucene = "string",
SeverityFilters = new[]
{
"string",
},
SubsystemnameFilters = new[]
{
"string",
},
},
MetricFields = new[]
{
new Ibm.Inputs.LogsE2mMetricFieldArgs
{
Aggregations = new[]
{
new Ibm.Inputs.LogsE2mMetricFieldAggregationArgs
{
AggType = "string",
Enabled = false,
Histogram = new Ibm.Inputs.LogsE2mMetricFieldAggregationHistogramArgs
{
Buckets = new[]
{
0,
},
},
Samples = new Ibm.Inputs.LogsE2mMetricFieldAggregationSamplesArgs
{
SampleType = "string",
},
TargetMetricName = "string",
},
},
SourceField = "string",
TargetBaseMetricName = "string",
},
},
MetricLabels = new[]
{
new Ibm.Inputs.LogsE2mMetricLabelArgs
{
SourceField = "string",
TargetLabel = "string",
},
},
Name = "string",
Region = "string",
Type = "string",
});
example, err := ibm.NewLogsE2m(ctx, "logsE2mResource", &ibm.LogsE2mArgs{
InstanceId: pulumi.String("string"),
Description: pulumi.String("string"),
EndpointType: pulumi.String("string"),
LogsE2mId: pulumi.String("string"),
LogsQuery: &ibm.LogsE2mLogsQueryArgs{
Alias: pulumi.String("string"),
ApplicationnameFilters: pulumi.StringArray{
pulumi.String("string"),
},
Lucene: pulumi.String("string"),
SeverityFilters: pulumi.StringArray{
pulumi.String("string"),
},
SubsystemnameFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
MetricFields: ibm.LogsE2mMetricFieldArray{
&ibm.LogsE2mMetricFieldArgs{
Aggregations: ibm.LogsE2mMetricFieldAggregationArray{
&ibm.LogsE2mMetricFieldAggregationArgs{
AggType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Histogram: &ibm.LogsE2mMetricFieldAggregationHistogramArgs{
Buckets: pulumi.Float64Array{
pulumi.Float64(0),
},
},
Samples: &ibm.LogsE2mMetricFieldAggregationSamplesArgs{
SampleType: pulumi.String("string"),
},
TargetMetricName: pulumi.String("string"),
},
},
SourceField: pulumi.String("string"),
TargetBaseMetricName: pulumi.String("string"),
},
},
MetricLabels: ibm.LogsE2mMetricLabelArray{
&ibm.LogsE2mMetricLabelArgs{
SourceField: pulumi.String("string"),
TargetLabel: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Type: pulumi.String("string"),
})
var logsE2mResource = new LogsE2m("logsE2mResource", LogsE2mArgs.builder()
.instanceId("string")
.description("string")
.endpointType("string")
.logsE2mId("string")
.logsQuery(LogsE2mLogsQueryArgs.builder()
.alias("string")
.applicationnameFilters("string")
.lucene("string")
.severityFilters("string")
.subsystemnameFilters("string")
.build())
.metricFields(LogsE2mMetricFieldArgs.builder()
.aggregations(LogsE2mMetricFieldAggregationArgs.builder()
.aggType("string")
.enabled(false)
.histogram(LogsE2mMetricFieldAggregationHistogramArgs.builder()
.buckets(0)
.build())
.samples(LogsE2mMetricFieldAggregationSamplesArgs.builder()
.sampleType("string")
.build())
.targetMetricName("string")
.build())
.sourceField("string")
.targetBaseMetricName("string")
.build())
.metricLabels(LogsE2mMetricLabelArgs.builder()
.sourceField("string")
.targetLabel("string")
.build())
.name("string")
.region("string")
.type("string")
.build());
logs_e2m_resource = ibm.LogsE2m("logsE2mResource",
instance_id="string",
description="string",
endpoint_type="string",
logs_e2m_id="string",
logs_query={
"alias": "string",
"applicationname_filters": ["string"],
"lucene": "string",
"severity_filters": ["string"],
"subsystemname_filters": ["string"],
},
metric_fields=[{
"aggregations": [{
"agg_type": "string",
"enabled": False,
"histogram": {
"buckets": [0],
},
"samples": {
"sample_type": "string",
},
"target_metric_name": "string",
}],
"source_field": "string",
"target_base_metric_name": "string",
}],
metric_labels=[{
"source_field": "string",
"target_label": "string",
}],
name="string",
region="string",
type="string")
const logsE2mResource = new ibm.LogsE2m("logsE2mResource", {
instanceId: "string",
description: "string",
endpointType: "string",
logsE2mId: "string",
logsQuery: {
alias: "string",
applicationnameFilters: ["string"],
lucene: "string",
severityFilters: ["string"],
subsystemnameFilters: ["string"],
},
metricFields: [{
aggregations: [{
aggType: "string",
enabled: false,
histogram: {
buckets: [0],
},
samples: {
sampleType: "string",
},
targetMetricName: "string",
}],
sourceField: "string",
targetBaseMetricName: "string",
}],
metricLabels: [{
sourceField: "string",
targetLabel: "string",
}],
name: "string",
region: "string",
type: "string",
});
type: ibm:LogsE2m
properties:
description: string
endpointType: string
instanceId: string
logsE2mId: string
logsQuery:
alias: string
applicationnameFilters:
- string
lucene: string
severityFilters:
- string
subsystemnameFilters:
- string
metricFields:
- aggregations:
- aggType: string
enabled: false
histogram:
buckets:
- 0
samples:
sampleType: string
targetMetricName: string
sourceField: string
targetBaseMetricName: string
metricLabels:
- sourceField: string
targetLabel: string
name: string
region: string
type: string
LogsE2m 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 LogsE2m resource accepts the following input properties:
- Instance
Id string - Cloud Logs Instance GUID.
- Description string
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Logs
E2m stringId - The unique identifier of the logs_e2m resource.
- Logs
Query LogsE2m Logs Query - E2M logs query. Nested schema for logs_query:
- Metric
Fields List<LogsE2m Metric Field> - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- Metric
Labels List<LogsE2m Metric Label> - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- Name string
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Type string
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- Instance
Id string - Cloud Logs Instance GUID.
- Description string
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Logs
E2m stringId - The unique identifier of the logs_e2m resource.
- Logs
Query LogsE2m Logs Query Args - E2M logs query. Nested schema for logs_query:
- Metric
Fields []LogsE2m Metric Field Args - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- Metric
Labels []LogsE2m Metric Label Args - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- Name string
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Type string
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- instance
Id String - Cloud Logs Instance GUID.
- description String
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - logs
E2m StringId - The unique identifier of the logs_e2m resource.
- logs
Query LogsE2m Logs Query - E2M logs query. Nested schema for logs_query:
- metric
Fields List<LogsE2m Metric Field> - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric
Labels List<LogsE2m Metric Label> - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name String
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- type String
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- instance
Id string - Cloud Logs Instance GUID.
- description string
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - logs
E2m stringId - The unique identifier of the logs_e2m resource.
- logs
Query LogsE2m Logs Query - E2M logs query. Nested schema for logs_query:
- metric
Fields LogsE2m Metric Field[] - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric
Labels LogsE2m Metric Label[] - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name string
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region string
- Cloud Logs Instance Region.
- type string
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- instance_
id str - Cloud Logs Instance GUID.
- description str
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- endpoint_
type str - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - logs_
e2m_ strid - The unique identifier of the logs_e2m resource.
- logs_
query LogsE2m Logs Query Args - E2M logs query. Nested schema for logs_query:
- metric_
fields Sequence[LogsE2m Metric Field Args] - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric_
labels Sequence[LogsE2m Metric Label Args] - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name str
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region str
- Cloud Logs Instance Region.
- type str
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- instance
Id String - Cloud Logs Instance GUID.
- description String
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - logs
E2m StringId - The unique identifier of the logs_e2m resource.
- logs
Query Property Map - E2M logs query. Nested schema for logs_query:
- metric
Fields List<Property Map> - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric
Labels List<Property Map> - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name String
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- type String
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsE2m resource produces the following output properties:
- Create
Time string - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- E2m
Id string - The unique identifier of the logs e2m.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Internal bool - (Boolean) A flag that represents if the e2m is for internal usage.
- Permutations
List<Logs
E2m Permutation> - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- Update
Time string - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Create
Time string - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- E2m
Id string - The unique identifier of the logs e2m.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Internal bool - (Boolean) A flag that represents if the e2m is for internal usage.
- Permutations
[]Logs
E2m Permutation - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- Update
Time string - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create
Time String - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- e2m
Id String - The unique identifier of the logs e2m.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Internal Boolean - (Boolean) A flag that represents if the e2m is for internal usage.
- permutations
List<Logs
E2m Permutation> - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- update
Time String - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create
Time string - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- e2m
Id string - The unique identifier of the logs e2m.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Internal boolean - (Boolean) A flag that represents if the e2m is for internal usage.
- permutations
Logs
E2m Permutation[] - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- update
Time string - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create_
time str - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- e2m_
id str - The unique identifier of the logs e2m.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
internal bool - (Boolean) A flag that represents if the e2m is for internal usage.
- permutations
Sequence[Logs
E2m Permutation] - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- update_
time str - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create
Time String - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- e2m
Id String - The unique identifier of the logs e2m.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Internal Boolean - (Boolean) A flag that represents if the e2m is for internal usage.
- permutations List<Property Map>
- (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- update
Time String - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
Look up Existing LogsE2m Resource
Get an existing LogsE2m 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?: LogsE2mState, opts?: CustomResourceOptions): LogsE2m
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
e2m_id: Optional[str] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
is_internal: Optional[bool] = None,
logs_e2m_id: Optional[str] = None,
logs_query: Optional[LogsE2mLogsQueryArgs] = None,
metric_fields: Optional[Sequence[LogsE2mMetricFieldArgs]] = None,
metric_labels: Optional[Sequence[LogsE2mMetricLabelArgs]] = None,
name: Optional[str] = None,
permutations: Optional[Sequence[LogsE2mPermutationArgs]] = None,
region: Optional[str] = None,
type: Optional[str] = None,
update_time: Optional[str] = None) -> LogsE2m
func GetLogsE2m(ctx *Context, name string, id IDInput, state *LogsE2mState, opts ...ResourceOption) (*LogsE2m, error)
public static LogsE2m Get(string name, Input<string> id, LogsE2mState? state, CustomResourceOptions? opts = null)
public static LogsE2m get(String name, Output<String> id, LogsE2mState state, CustomResourceOptions options)
resources: _: type: ibm:LogsE2m 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.
- Create
Time string - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Description string
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- E2m
Id string - The unique identifier of the logs e2m.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Instance
Id string - Cloud Logs Instance GUID.
- Is
Internal bool - (Boolean) A flag that represents if the e2m is for internal usage.
- Logs
E2m stringId - The unique identifier of the logs_e2m resource.
- Logs
Query LogsE2m Logs Query - E2M logs query. Nested schema for logs_query:
- Metric
Fields List<LogsE2m Metric Field> - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- Metric
Labels List<LogsE2m Metric Label> - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- Name string
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Permutations
List<Logs
E2m Permutation> - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- Region string
- Cloud Logs Instance Region.
- Type string
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- Update
Time string - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Create
Time string - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Description string
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- E2m
Id string - The unique identifier of the logs e2m.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - Instance
Id string - Cloud Logs Instance GUID.
- Is
Internal bool - (Boolean) A flag that represents if the e2m is for internal usage.
- Logs
E2m stringId - The unique identifier of the logs_e2m resource.
- Logs
Query LogsE2m Logs Query Args - E2M logs query. Nested schema for logs_query:
- Metric
Fields []LogsE2m Metric Field Args - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- Metric
Labels []LogsE2m Metric Label Args - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- Name string
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Permutations
[]Logs
E2m Permutation Args - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- Region string
- Cloud Logs Instance Region.
- Type string
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- Update
Time string - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create
Time String - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description String
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- e2m
Id String - The unique identifier of the logs e2m.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - instance
Id String - Cloud Logs Instance GUID.
- is
Internal Boolean - (Boolean) A flag that represents if the e2m is for internal usage.
- logs
E2m StringId - The unique identifier of the logs_e2m resource.
- logs
Query LogsE2m Logs Query - E2M logs query. Nested schema for logs_query:
- metric
Fields List<LogsE2m Metric Field> - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric
Labels List<LogsE2m Metric Label> - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name String
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- permutations
List<Logs
E2m Permutation> - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- region String
- Cloud Logs Instance Region.
- type String
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- update
Time String - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create
Time string - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description string
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- e2m
Id string - The unique identifier of the logs e2m.
- endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - instance
Id string - Cloud Logs Instance GUID.
- is
Internal boolean - (Boolean) A flag that represents if the e2m is for internal usage.
- logs
E2m stringId - The unique identifier of the logs_e2m resource.
- logs
Query LogsE2m Logs Query - E2M logs query. Nested schema for logs_query:
- metric
Fields LogsE2m Metric Field[] - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric
Labels LogsE2m Metric Label[] - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name string
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- permutations
Logs
E2m Permutation[] - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- region string
- Cloud Logs Instance Region.
- type string
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- update
Time string - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create_
time str - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description str
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- e2m_
id str - The unique identifier of the logs e2m.
- endpoint_
type str - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - instance_
id str - Cloud Logs Instance GUID.
- is_
internal bool - (Boolean) A flag that represents if the e2m is for internal usage.
- logs_
e2m_ strid - The unique identifier of the logs_e2m resource.
- logs_
query LogsE2m Logs Query Args - E2M logs query. Nested schema for logs_query:
- metric_
fields Sequence[LogsE2m Metric Field Args] - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric_
labels Sequence[LogsE2m Metric Label Args] - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name str
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- permutations
Sequence[Logs
E2m Permutation Args] - (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- region str
- Cloud Logs Instance Region.
- type str
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- update_
time str - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- create
Time String - (String) E2M create time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description String
- Description of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- e2m
Id String - The unique identifier of the logs e2m.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
. - instance
Id String - Cloud Logs Instance GUID.
- is
Internal Boolean - (Boolean) A flag that represents if the e2m is for internal usage.
- logs
E2m StringId - The unique identifier of the logs_e2m resource.
- logs
Query Property Map - E2M logs query. Nested schema for logs_query:
- metric
Fields List<Property Map> - E2M metric fields.
- Constraints: The maximum length is
10
items. The minimum length is0
items. Nested schema for metric_fields:
- Constraints: The maximum length is
- metric
Labels List<Property Map> - E2M metric labels.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for metric_labels:
- Constraints: The maximum length is
- name String
- Name of the E2M.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- permutations List<Property Map>
- (List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
- region String
- Cloud Logs Instance Region.
- type String
- E2M type.
- Constraints: Allowable values are:
unspecified
,logs2metrics
.
- Constraints: Allowable values are:
- update
Time String - (String) E2M update time.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
Supporting Types
LogsE2mLogsQuery, LogsE2mLogsQueryArgs
- Alias string
- Alias.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Applicationname
Filters List<string> - Application name filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Lucene string
- Lucene query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Severity
Filters List<string> - Severity type filters.
- Constraints: Allowable list items are:
unspecified
,debug
,verbose
,info
,warning
,error
,critical
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- Subsystemname
Filters List<string> - Subsystem names filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Alias string
- Alias.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Applicationname
Filters []string - Application name filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Lucene string
- Lucene query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Severity
Filters []string - Severity type filters.
- Constraints: Allowable list items are:
unspecified
,debug
,verbose
,info
,warning
,error
,critical
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- Subsystemname
Filters []string - Subsystem names filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- alias String
- Alias.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- applicationname
Filters List<String> - Application name filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- lucene String
- Lucene query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- severity
Filters List<String> - Severity type filters.
- Constraints: Allowable list items are:
unspecified
,debug
,verbose
,info
,warning
,error
,critical
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- subsystemname
Filters List<String> - Subsystem names filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- alias string
- Alias.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- applicationname
Filters string[] - Application name filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- lucene string
- Lucene query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- severity
Filters string[] - Severity type filters.
- Constraints: Allowable list items are:
unspecified
,debug
,verbose
,info
,warning
,error
,critical
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- subsystemname
Filters string[] - Subsystem names filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- alias str
- Alias.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- applicationname_
filters Sequence[str] - Application name filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- lucene str
- Lucene query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- severity_
filters Sequence[str] - Severity type filters.
- Constraints: Allowable list items are:
unspecified
,debug
,verbose
,info
,warning
,error
,critical
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- subsystemname_
filters Sequence[str] - Subsystem names filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- alias String
- Alias.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- applicationname
Filters List<String> - Application name filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- lucene String
- Lucene query.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- severity
Filters List<String> - Severity type filters.
- Constraints: Allowable list items are:
unspecified
,debug
,verbose
,info
,warning
,error
,critical
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- subsystemname
Filters List<String> - Subsystem names filters.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
LogsE2mMetricField, LogsE2mMetricFieldArgs
- Aggregations
List<Logs
E2m Metric Field Aggregation> - Represents Aggregation type list.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for aggregations:
- Constraints: The maximum length is
- Source
Field string - Source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Target
Base stringMetric Name - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- Aggregations
[]Logs
E2m Metric Field Aggregation - Represents Aggregation type list.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for aggregations:
- Constraints: The maximum length is
- Source
Field string - Source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Target
Base stringMetric Name - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- aggregations
List<Logs
E2m Metric Field Aggregation> - Represents Aggregation type list.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for aggregations:
- Constraints: The maximum length is
- source
Field String - Source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target
Base StringMetric Name - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- aggregations
Logs
E2m Metric Field Aggregation[] - Represents Aggregation type list.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for aggregations:
- Constraints: The maximum length is
- source
Field string - Source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target
Base stringMetric Name - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- aggregations
Sequence[Logs
E2m Metric Field Aggregation] - Represents Aggregation type list.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for aggregations:
- Constraints: The maximum length is
- source_
field str - Source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target_
base_ strmetric_ name - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- aggregations List<Property Map>
- Represents Aggregation type list.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for aggregations:
- Constraints: The maximum length is
- source
Field String - Source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target
Base StringMetric Name - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
LogsE2mMetricFieldAggregation, LogsE2mMetricFieldAggregationArgs
- Agg
Type string - Aggregation type.
- Constraints: Allowable values are:
unspecified
,min
,max
,count
,avg
,sum
,histogram
,samples
.
- Constraints: Allowable values are:
- Enabled bool
- Is enabled.
- Histogram
Logs
E2m Metric Field Aggregation Histogram - E2M aggregate histogram type metadata. Nested schema for histogram:
- Samples
Logs
E2m Metric Field Aggregation Samples - E2M sample type metadata. Nested schema for samples:
- Target
Metric stringName - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Agg
Type string - Aggregation type.
- Constraints: Allowable values are:
unspecified
,min
,max
,count
,avg
,sum
,histogram
,samples
.
- Constraints: Allowable values are:
- Enabled bool
- Is enabled.
- Histogram
Logs
E2m Metric Field Aggregation Histogram - E2M aggregate histogram type metadata. Nested schema for histogram:
- Samples
Logs
E2m Metric Field Aggregation Samples - E2M sample type metadata. Nested schema for samples:
- Target
Metric stringName - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- agg
Type String - Aggregation type.
- Constraints: Allowable values are:
unspecified
,min
,max
,count
,avg
,sum
,histogram
,samples
.
- Constraints: Allowable values are:
- enabled Boolean
- Is enabled.
- histogram
Logs
E2m Metric Field Aggregation Histogram - E2M aggregate histogram type metadata. Nested schema for histogram:
- samples
Logs
E2m Metric Field Aggregation Samples - E2M sample type metadata. Nested schema for samples:
- target
Metric StringName - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- agg
Type string - Aggregation type.
- Constraints: Allowable values are:
unspecified
,min
,max
,count
,avg
,sum
,histogram
,samples
.
- Constraints: Allowable values are:
- enabled boolean
- Is enabled.
- histogram
Logs
E2m Metric Field Aggregation Histogram - E2M aggregate histogram type metadata. Nested schema for histogram:
- samples
Logs
E2m Metric Field Aggregation Samples - E2M sample type metadata. Nested schema for samples:
- target
Metric stringName - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- agg_
type str - Aggregation type.
- Constraints: Allowable values are:
unspecified
,min
,max
,count
,avg
,sum
,histogram
,samples
.
- Constraints: Allowable values are:
- enabled bool
- Is enabled.
- histogram
Logs
E2m Metric Field Aggregation Histogram - E2M aggregate histogram type metadata. Nested schema for histogram:
- samples
Logs
E2m Metric Field Aggregation Samples - E2M sample type metadata. Nested schema for samples:
- target_
metric_ strname - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- agg
Type String - Aggregation type.
- Constraints: Allowable values are:
unspecified
,min
,max
,count
,avg
,sum
,histogram
,samples
.
- Constraints: Allowable values are:
- enabled Boolean
- Is enabled.
- histogram Property Map
- E2M aggregate histogram type metadata. Nested schema for histogram:
- samples Property Map
- E2M sample type metadata. Nested schema for samples:
- target
Metric StringName - Target metric field alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
LogsE2mMetricFieldAggregationHistogram, LogsE2mMetricFieldAggregationHistogramArgs
- Buckets List<double>
- Buckets of the E2M.
- Constraints: The maximum length is
4096
items. The minimum length is0
items.
- Constraints: The maximum length is
- Buckets []float64
- Buckets of the E2M.
- Constraints: The maximum length is
4096
items. The minimum length is0
items.
- Constraints: The maximum length is
- buckets List<Double>
- Buckets of the E2M.
- Constraints: The maximum length is
4096
items. The minimum length is0
items.
- Constraints: The maximum length is
- buckets number[]
- Buckets of the E2M.
- Constraints: The maximum length is
4096
items. The minimum length is0
items.
- Constraints: The maximum length is
- buckets Sequence[float]
- Buckets of the E2M.
- Constraints: The maximum length is
4096
items. The minimum length is0
items.
- Constraints: The maximum length is
- buckets List<Number>
- Buckets of the E2M.
- Constraints: The maximum length is
4096
items. The minimum length is0
items.
- Constraints: The maximum length is
LogsE2mMetricFieldAggregationSamples, LogsE2mMetricFieldAggregationSamplesArgs
- Sample
Type string - Sample type min/max.
- Constraints: Allowable values are:
unspecified
,min
,max
.
- Constraints: Allowable values are:
- Sample
Type string - Sample type min/max.
- Constraints: Allowable values are:
unspecified
,min
,max
.
- Constraints: Allowable values are:
- sample
Type String - Sample type min/max.
- Constraints: Allowable values are:
unspecified
,min
,max
.
- Constraints: Allowable values are:
- sample
Type string - Sample type min/max.
- Constraints: Allowable values are:
unspecified
,min
,max
.
- Constraints: Allowable values are:
- sample_
type str - Sample type min/max.
- Constraints: Allowable values are:
unspecified
,min
,max
.
- Constraints: Allowable values are:
- sample
Type String - Sample type min/max.
- Constraints: Allowable values are:
unspecified
,min
,max
.
- Constraints: Allowable values are:
LogsE2mMetricLabel, LogsE2mMetricLabelArgs
- Source
Field string - Metric label source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Target
Label string - Metric label target alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- Source
Field string - Metric label source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Target
Label string - Metric label target alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- source
Field String - Metric label source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target
Label String - Metric label target alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- source
Field string - Metric label source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target
Label string - Metric label target alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- source_
field str - Metric label source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target_
label str - Metric label target alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
- source
Field String - Metric label source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- target
Label String - Metric label target alias name.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[\\w\/-]+$/
.
- Constraints: The maximum length is
LogsE2mPermutation, LogsE2mPermutationArgs
- Has
Exceeded boolLimit - (Boolean) Flag to indicate if limit was exceeded.
- Limit double
- (Integer) E2M permutation limit.
- Has
Exceeded boolLimit - (Boolean) Flag to indicate if limit was exceeded.
- Limit float64
- (Integer) E2M permutation limit.
- has
Exceeded BooleanLimit - (Boolean) Flag to indicate if limit was exceeded.
- limit Double
- (Integer) E2M permutation limit.
- has
Exceeded booleanLimit - (Boolean) Flag to indicate if limit was exceeded.
- limit number
- (Integer) E2M permutation limit.
- has_
exceeded_ boollimit - (Boolean) Flag to indicate if limit was exceeded.
- limit float
- (Integer) E2M permutation limit.
- has
Exceeded BooleanLimit - (Boolean) Flag to indicate if limit was exceeded.
- limit Number
- (Integer) E2M permutation limit.
Import
You can import the ibm_logs_e2m
resource by using id
. id
combination of region
, instance_id
and e2m_id
.
Syntax
```sh $ pulumi import ibm:index/logsE2m:LogsE2m logs_e2m < region >/< instance_id >/< e2m_id >; ```
Example
$ pulumi import ibm:index/logsE2m:LogsE2m logs_e2m eu-gb/3dc02998-0b50-4ea8-b68a-4779d716fa1f/d6a3658e-78d2-47d0-9b81-b2c551f01b09
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.