1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getEnMetrics
Viewing docs for ibm 2.2.0
published on Wednesday, May 20, 2026 by ibm-cloud
Viewing docs for ibm 2.2.0
published on Wednesday, May 20, 2026 by ibm-cloud

    Provides a read-only data source to retrieve information about en_metrics. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const enMetrics = ibm.getEnMetrics({
        destinationType: "smtp_custom",
        gte: "gte",
        instanceId: "instance_id",
        lte: "lte",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    en_metrics = ibm.get_en_metrics(destination_type="smtp_custom",
        gte="gte",
        instance_id="instance_id",
        lte="lte")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.GetEnMetrics(ctx, &ibm.GetEnMetricsArgs{
    			DestinationType: "smtp_custom",
    			Gte:             "gte",
    			InstanceId:      "instance_id",
    			Lte:             "lte",
    		}, nil)
    		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 enMetrics = Ibm.GetEnMetrics.Invoke(new()
        {
            DestinationType = "smtp_custom",
            Gte = "gte",
            InstanceId = "instance_id",
            Lte = "lte",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetEnMetricsArgs;
    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) {
            final var enMetrics = IbmFunctions.getEnMetrics(GetEnMetricsArgs.builder()
                .destinationType("smtp_custom")
                .gte("gte")
                .instanceId("instance_id")
                .lte("lte")
                .build());
    
        }
    }
    
    variables:
      enMetrics:
        fn::invoke:
          function: ibm:getEnMetrics
          arguments:
            destinationType: smtp_custom
            gte: gte
            instanceId: instance_id
            lte: lte
    
    Example coming soon!
    

    Using getEnMetrics

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEnMetrics(args: GetEnMetricsArgs, opts?: InvokeOptions): Promise<GetEnMetricsResult>
    function getEnMetricsOutput(args: GetEnMetricsOutputArgs, opts?: InvokeOptions): Output<GetEnMetricsResult>
    def get_en_metrics(destination_id: Optional[str] = None,
                       destination_type: Optional[str] = None,
                       email_to: Optional[str] = None,
                       gte: Optional[str] = None,
                       id: Optional[str] = None,
                       instance_id: Optional[str] = None,
                       lte: Optional[str] = None,
                       notification_id: Optional[str] = None,
                       source_id: Optional[str] = None,
                       subject: Optional[str] = None,
                       subscription_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetEnMetricsResult
    def get_en_metrics_output(destination_id: pulumi.Input[Optional[str]] = None,
                       destination_type: pulumi.Input[Optional[str]] = None,
                       email_to: pulumi.Input[Optional[str]] = None,
                       gte: pulumi.Input[Optional[str]] = None,
                       id: pulumi.Input[Optional[str]] = None,
                       instance_id: pulumi.Input[Optional[str]] = None,
                       lte: pulumi.Input[Optional[str]] = None,
                       notification_id: pulumi.Input[Optional[str]] = None,
                       source_id: pulumi.Input[Optional[str]] = None,
                       subject: pulumi.Input[Optional[str]] = None,
                       subscription_id: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetEnMetricsResult]
    func GetEnMetrics(ctx *Context, args *GetEnMetricsArgs, opts ...InvokeOption) (*GetEnMetricsResult, error)
    func GetEnMetricsOutput(ctx *Context, args *GetEnMetricsOutputArgs, opts ...InvokeOption) GetEnMetricsResultOutput

    > Note: This function is named GetEnMetrics in the Go SDK.

    public static class GetEnMetrics 
    {
        public static Task<GetEnMetricsResult> InvokeAsync(GetEnMetricsArgs args, InvokeOptions? opts = null)
        public static Output<GetEnMetricsResult> Invoke(GetEnMetricsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEnMetricsResult> getEnMetrics(GetEnMetricsArgs args, InvokeOptions options)
    public static Output<GetEnMetricsResult> getEnMetrics(GetEnMetricsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getEnMetrics:getEnMetrics
      arguments:
        # arguments dictionary
    data "ibm_getenmetrics" "name" {
        # arguments
    }

    The following arguments are supported:

    DestinationType string
    Destination type. Allowed values are [smtp_custom].

    • Constraints: Allowable values are: smtp_custom.
    Gte string
    GTE (greater than equal), start timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Lte string
    LTE (less than equal), end timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    DestinationId string
    Unique identifier for Destination.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    EmailTo string
    Receiver email id.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[A-Za-z0-9\\._%+\\-]+@[A-Za-z0-9\\.\\-]+\\.[A-Za-z]{2,}/.
    Id string
    The unique identifier of the en_metrics.
    NotificationId string
    Notification Id.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    SourceId string
    Unique identifier for Source.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z0-9-:_]*/.
    Subject string
    Email subject.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[a-zA-Z0-9]/.
    SubscriptionId string
    Unique identifier for Subscription.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    DestinationType string
    Destination type. Allowed values are [smtp_custom].

    • Constraints: Allowable values are: smtp_custom.
    Gte string
    GTE (greater than equal), start timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    InstanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    Lte string
    LTE (less than equal), end timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    DestinationId string
    Unique identifier for Destination.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    EmailTo string
    Receiver email id.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[A-Za-z0-9\\._%+\\-]+@[A-Za-z0-9\\.\\-]+\\.[A-Za-z]{2,}/.
    Id string
    The unique identifier of the en_metrics.
    NotificationId string
    Notification Id.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    SourceId string
    Unique identifier for Source.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z0-9-:_]*/.
    Subject string
    Email subject.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[a-zA-Z0-9]/.
    SubscriptionId string
    Unique identifier for Subscription.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    destination_type string
    Destination type. Allowed values are [smtp_custom].

    • Constraints: Allowable values are: smtp_custom.
    gte string
    GTE (greater than equal), start timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    instance_id string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    lte string
    LTE (less than equal), end timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    destination_id string
    Unique identifier for Destination.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    email_to string
    Receiver email id.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[A-Za-z0-9\\._%+\\-]+@[A-Za-z0-9\\.\\-]+\\.[A-Za-z]{2,}/.
    id string
    The unique identifier of the en_metrics.
    notification_id string
    Notification Id.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    source_id string
    Unique identifier for Source.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z0-9-:_]*/.
    subject string
    Email subject.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[a-zA-Z0-9]/.
    subscription_id string
    Unique identifier for Subscription.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    destinationType String
    Destination type. Allowed values are [smtp_custom].

    • Constraints: Allowable values are: smtp_custom.
    gte String
    GTE (greater than equal), start timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    lte String
    LTE (less than equal), end timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    destinationId String
    Unique identifier for Destination.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    emailTo String
    Receiver email id.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[A-Za-z0-9\\._%+\\-]+@[A-Za-z0-9\\.\\-]+\\.[A-Za-z]{2,}/.
    id String
    The unique identifier of the en_metrics.
    notificationId String
    Notification Id.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    sourceId String
    Unique identifier for Source.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z0-9-:_]*/.
    subject String
    Email subject.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[a-zA-Z0-9]/.
    subscriptionId String
    Unique identifier for Subscription.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    destinationType string
    Destination type. Allowed values are [smtp_custom].

    • Constraints: Allowable values are: smtp_custom.
    gte string
    GTE (greater than equal), start timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    instanceId string
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    lte string
    LTE (less than equal), end timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    destinationId string
    Unique identifier for Destination.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    emailTo string
    Receiver email id.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[A-Za-z0-9\\._%+\\-]+@[A-Za-z0-9\\.\\-]+\\.[A-Za-z]{2,}/.
    id string
    The unique identifier of the en_metrics.
    notificationId string
    Notification Id.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    sourceId string
    Unique identifier for Source.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z0-9-:_]*/.
    subject string
    Email subject.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[a-zA-Z0-9]/.
    subscriptionId string
    Unique identifier for Subscription.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    destination_type str
    Destination type. Allowed values are [smtp_custom].

    • Constraints: Allowable values are: smtp_custom.
    gte str
    GTE (greater than equal), start timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    instance_id str
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    lte str
    LTE (less than equal), end timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    destination_id str
    Unique identifier for Destination.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    email_to str
    Receiver email id.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[A-Za-z0-9\\._%+\\-]+@[A-Za-z0-9\\.\\-]+\\.[A-Za-z]{2,}/.
    id str
    The unique identifier of the en_metrics.
    notification_id str
    Notification Id.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    source_id str
    Unique identifier for Source.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z0-9-:_]*/.
    subject str
    Email subject.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[a-zA-Z0-9]/.
    subscription_id str
    Unique identifier for Subscription.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    destinationType String
    Destination type. Allowed values are [smtp_custom].

    • Constraints: Allowable values are: smtp_custom.
    gte String
    GTE (greater than equal), start timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    instanceId String
    Unique identifier for IBM Cloud Event Notifications instance.

    • Constraints: The maximum length is 256 characters. The minimum length is 10 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    lte String
    LTE (less than equal), end timestamp in UTC.

    • Constraints: The maximum length is 28 characters. The minimum length is 1 character. The value must match regular expression /[0-9]{1,4}-[0-9]{1,2}-[0-9]{1,2}T[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}Z/.
    destinationId String
    Unique identifier for Destination.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.
    emailTo String
    Receiver email id.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[A-Za-z0-9\\._%+\\-]+@[A-Za-z0-9\\.\\-]+\\.[A-Za-z]{2,}/.
    id String
    The unique identifier of the en_metrics.
    notificationId String
    Notification Id.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.
    sourceId String
    Unique identifier for Source.

    • Constraints: The maximum length is 100 characters. The minimum length is 1 character. The value must match regular expression /[a-zA-Z0-9-:_]*/.
    subject String
    Email subject.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /[a-zA-Z0-9]/.
    subscriptionId String
    Unique identifier for Subscription.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]/.

    getEnMetrics Result

    The following output properties are available:

    DestinationType string
    Gte string
    Id string
    The unique identifier of the en_metrics.
    InstanceId string
    Lte string
    Metrics List<GetEnMetricsMetric>
    (List) array of metrics.

    • Constraints: The maximum length is 5 items. The minimum length is 5 items. Nested schema for metrics:
    DestinationId string
    EmailTo string
    NotificationId string
    SourceId string
    Subject string
    SubscriptionId string
    DestinationType string
    Gte string
    Id string
    The unique identifier of the en_metrics.
    InstanceId string
    Lte string
    Metrics []GetEnMetricsMetric
    (List) array of metrics.

    • Constraints: The maximum length is 5 items. The minimum length is 5 items. Nested schema for metrics:
    DestinationId string
    EmailTo string
    NotificationId string
    SourceId string
    Subject string
    SubscriptionId string
    destination_type string
    gte string
    id string
    The unique identifier of the en_metrics.
    instance_id string
    lte string
    metrics list(object)
    (List) array of metrics.

    • Constraints: The maximum length is 5 items. The minimum length is 5 items. Nested schema for metrics:
    destination_id string
    email_to string
    notification_id string
    source_id string
    subject string
    subscription_id string
    destinationType String
    gte String
    id String
    The unique identifier of the en_metrics.
    instanceId String
    lte String
    metrics List<GetEnMetricsMetric>
    (List) array of metrics.

    • Constraints: The maximum length is 5 items. The minimum length is 5 items. Nested schema for metrics:
    destinationId String
    emailTo String
    notificationId String
    sourceId String
    subject String
    subscriptionId String
    destinationType string
    gte string
    id string
    The unique identifier of the en_metrics.
    instanceId string
    lte string
    metrics GetEnMetricsMetric[]
    (List) array of metrics.

    • Constraints: The maximum length is 5 items. The minimum length is 5 items. Nested schema for metrics:
    destinationId string
    emailTo string
    notificationId string
    sourceId string
    subject string
    subscriptionId string
    destination_type str
    gte str
    id str
    The unique identifier of the en_metrics.
    instance_id str
    lte str
    metrics Sequence[GetEnMetricsMetric]
    (List) array of metrics.

    • Constraints: The maximum length is 5 items. The minimum length is 5 items. Nested schema for metrics:
    destination_id str
    email_to str
    notification_id str
    source_id str
    subject str
    subscription_id str
    destinationType String
    gte String
    id String
    The unique identifier of the en_metrics.
    instanceId String
    lte String
    metrics List<Property Map>
    (List) array of metrics.

    • Constraints: The maximum length is 5 items. The minimum length is 5 items. Nested schema for metrics:
    destinationId String
    emailTo String
    notificationId String
    sourceId String
    subject String
    subscriptionId String

    Supporting Types

    GetEnMetricsMetric

    DocCount double
    (Integer) Total count.
    Histograms List<GetEnMetricsMetricHistogram>
    (List) Payload describing histogram. Nested schema for histogram:
    Key string
    (String) key.

    • Constraints: Allowable values are: bounced, deferred, opened, success, submitted. The maximum length is 255 characters. The minimum length is 1 character.
    DocCount float64
    (Integer) Total count.
    Histograms []GetEnMetricsMetricHistogram
    (List) Payload describing histogram. Nested schema for histogram:
    Key string
    (String) key.

    • Constraints: Allowable values are: bounced, deferred, opened, success, submitted. The maximum length is 255 characters. The minimum length is 1 character.
    doc_count number
    (Integer) Total count.
    histograms list(object)
    (List) Payload describing histogram. Nested schema for histogram:
    key string
    (String) key.

    • Constraints: Allowable values are: bounced, deferred, opened, success, submitted. The maximum length is 255 characters. The minimum length is 1 character.
    docCount Double
    (Integer) Total count.
    histograms List<GetEnMetricsMetricHistogram>
    (List) Payload describing histogram. Nested schema for histogram:
    key String
    (String) key.

    • Constraints: Allowable values are: bounced, deferred, opened, success, submitted. The maximum length is 255 characters. The minimum length is 1 character.
    docCount number
    (Integer) Total count.
    histograms GetEnMetricsMetricHistogram[]
    (List) Payload describing histogram. Nested schema for histogram:
    key string
    (String) key.

    • Constraints: Allowable values are: bounced, deferred, opened, success, submitted. The maximum length is 255 characters. The minimum length is 1 character.
    doc_count float
    (Integer) Total count.
    histograms Sequence[GetEnMetricsMetricHistogram]
    (List) Payload describing histogram. Nested schema for histogram:
    key str
    (String) key.

    • Constraints: Allowable values are: bounced, deferred, opened, success, submitted. The maximum length is 255 characters. The minimum length is 1 character.
    docCount Number
    (Integer) Total count.
    histograms List<Property Map>
    (List) Payload describing histogram. Nested schema for histogram:
    key String
    (String) key.

    • Constraints: Allowable values are: bounced, deferred, opened, success, submitted. The maximum length is 255 characters. The minimum length is 1 character.

    GetEnMetricsMetricHistogram

    Buckets List<GetEnMetricsMetricHistogramBucket>
    (List) List of buckets.

    • Constraints: The maximum length is 48 items. The minimum length is 0 items. Nested schema for buckets:
    Buckets []GetEnMetricsMetricHistogramBucket
    (List) List of buckets.

    • Constraints: The maximum length is 48 items. The minimum length is 0 items. Nested schema for buckets:
    buckets list(object)
    (List) List of buckets.

    • Constraints: The maximum length is 48 items. The minimum length is 0 items. Nested schema for buckets:
    buckets List<GetEnMetricsMetricHistogramBucket>
    (List) List of buckets.

    • Constraints: The maximum length is 48 items. The minimum length is 0 items. Nested schema for buckets:
    buckets GetEnMetricsMetricHistogramBucket[]
    (List) List of buckets.

    • Constraints: The maximum length is 48 items. The minimum length is 0 items. Nested schema for buckets:
    buckets Sequence[GetEnMetricsMetricHistogramBucket]
    (List) List of buckets.

    • Constraints: The maximum length is 48 items. The minimum length is 0 items. Nested schema for buckets:
    buckets List<Property Map>
    (List) List of buckets.

    • Constraints: The maximum length is 48 items. The minimum length is 0 items. Nested schema for buckets:

    GetEnMetricsMetricHistogramBucket

    DocCount double
    (Integer) Total count.
    KeyAsString string
    (String) Timestamp.
    DocCount float64
    (Integer) Total count.
    KeyAsString string
    (String) Timestamp.
    doc_count number
    (Integer) Total count.
    key_as_string string
    (String) Timestamp.
    docCount Double
    (Integer) Total count.
    keyAsString String
    (String) Timestamp.
    docCount number
    (Integer) Total count.
    keyAsString string
    (String) Timestamp.
    doc_count float
    (Integer) Total count.
    key_as_string str
    (String) Timestamp.
    docCount Number
    (Integer) Total count.
    keyAsString String
    (String) Timestamp.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    Viewing docs for ibm 2.2.0
    published on Wednesday, May 20, 2026 by ibm-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial