1. Packages
  2. Ibm Provider
  3. API Docs
  4. MetricsRouterTarget
ibm 1.87.0-beta1 published on Monday, Dec 22, 2025 by ibm-cloud
ibm logo
ibm 1.87.0-beta1 published on Monday, Dec 22, 2025 by ibm-cloud

    Create, update, and delete metrics_router_targets with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const metricsRouterTargetInstance = new ibm.MetricsRouterTarget("metrics_router_target_instance", {
        destinationCrn: "crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::",
        managedBy: "enterprise",
        name: "my-mr-target",
        region: "us-south",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    metrics_router_target_instance = ibm.MetricsRouterTarget("metrics_router_target_instance",
        destination_crn="crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::",
        managed_by="enterprise",
        name="my-mr-target",
        region="us-south")
    
    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.NewMetricsRouterTarget(ctx, "metrics_router_target_instance", &ibm.MetricsRouterTargetArgs{
    			DestinationCrn: pulumi.String("crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::"),
    			ManagedBy:      pulumi.String("enterprise"),
    			Name:           pulumi.String("my-mr-target"),
    			Region:         pulumi.String("us-south"),
    		})
    		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 metricsRouterTargetInstance = new Ibm.MetricsRouterTarget("metrics_router_target_instance", new()
        {
            DestinationCrn = "crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::",
            ManagedBy = "enterprise",
            Name = "my-mr-target",
            Region = "us-south",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.MetricsRouterTarget;
    import com.pulumi.ibm.MetricsRouterTargetArgs;
    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 metricsRouterTargetInstance = new MetricsRouterTarget("metricsRouterTargetInstance", MetricsRouterTargetArgs.builder()
                .destinationCrn("crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::")
                .managedBy("enterprise")
                .name("my-mr-target")
                .region("us-south")
                .build());
    
        }
    }
    
    resources:
      metricsRouterTargetInstance:
        type: ibm:MetricsRouterTarget
        name: metrics_router_target_instance
        properties:
          destinationCrn: 'crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::'
          managedBy: enterprise
          name: my-mr-target
          region: us-south
    

    Create MetricsRouterTarget Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MetricsRouterTarget(name: string, args: MetricsRouterTargetArgs, opts?: CustomResourceOptions);
    @overload
    def MetricsRouterTarget(resource_name: str,
                            args: MetricsRouterTargetArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def MetricsRouterTarget(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            destination_crn: Optional[str] = None,
                            managed_by: Optional[str] = None,
                            metrics_router_target_id: Optional[str] = None,
                            name: Optional[str] = None,
                            region: Optional[str] = None)
    func NewMetricsRouterTarget(ctx *Context, name string, args MetricsRouterTargetArgs, opts ...ResourceOption) (*MetricsRouterTarget, error)
    public MetricsRouterTarget(string name, MetricsRouterTargetArgs args, CustomResourceOptions? opts = null)
    public MetricsRouterTarget(String name, MetricsRouterTargetArgs args)
    public MetricsRouterTarget(String name, MetricsRouterTargetArgs args, CustomResourceOptions options)
    
    type: ibm:MetricsRouterTarget
    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 MetricsRouterTargetArgs
    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 MetricsRouterTargetArgs
    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 MetricsRouterTargetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetricsRouterTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MetricsRouterTargetArgs
    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 metricsRouterTargetResource = new Ibm.MetricsRouterTarget("metricsRouterTargetResource", new()
    {
        DestinationCrn = "string",
        ManagedBy = "string",
        MetricsRouterTargetId = "string",
        Name = "string",
        Region = "string",
    });
    
    example, err := ibm.NewMetricsRouterTarget(ctx, "metricsRouterTargetResource", &ibm.MetricsRouterTargetArgs{
    	DestinationCrn:        pulumi.String("string"),
    	ManagedBy:             pulumi.String("string"),
    	MetricsRouterTargetId: pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	Region:                pulumi.String("string"),
    })
    
    var metricsRouterTargetResource = new MetricsRouterTarget("metricsRouterTargetResource", MetricsRouterTargetArgs.builder()
        .destinationCrn("string")
        .managedBy("string")
        .metricsRouterTargetId("string")
        .name("string")
        .region("string")
        .build());
    
    metrics_router_target_resource = ibm.MetricsRouterTarget("metricsRouterTargetResource",
        destination_crn="string",
        managed_by="string",
        metrics_router_target_id="string",
        name="string",
        region="string")
    
    const metricsRouterTargetResource = new ibm.MetricsRouterTarget("metricsRouterTargetResource", {
        destinationCrn: "string",
        managedBy: "string",
        metricsRouterTargetId: "string",
        name: "string",
        region: "string",
    });
    
    type: ibm:MetricsRouterTarget
    properties:
        destinationCrn: string
        managedBy: string
        metricsRouterTargetId: string
        name: string
        region: string
    

    MetricsRouterTarget 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 MetricsRouterTarget resource accepts the following input properties:

    DestinationCrn string
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    ManagedBy string
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterTargetId string
    The unique identifier of the metrics_router_target.
    Name string
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Region string
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    DestinationCrn string
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    ManagedBy string
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterTargetId string
    The unique identifier of the metrics_router_target.
    Name string
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Region string
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    destinationCrn String
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managedBy String
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterTargetId String
    The unique identifier of the metrics_router_target.
    name String
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region String
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    destinationCrn string
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managedBy string
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterTargetId string
    The unique identifier of the metrics_router_target.
    name string
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region string
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    destination_crn str
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managed_by str
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metrics_router_target_id str
    The unique identifier of the metrics_router_target.
    name str
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region str
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    destinationCrn String
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managedBy String
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterTargetId String
    The unique identifier of the metrics_router_target.
    name String
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region String
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MetricsRouterTarget resource produces the following output properties:

    CreatedAt string
    (String) The timestamp of the target creation time.
    Crn string
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    TargetType string
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    UpdatedAt string
    (String) The timestamp of the target last updated time.
    CreatedAt string
    (String) The timestamp of the target creation time.
    Crn string
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    TargetType string
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    UpdatedAt string
    (String) The timestamp of the target last updated time.
    createdAt String
    (String) The timestamp of the target creation time.
    crn String
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    targetType String
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updatedAt String
    (String) The timestamp of the target last updated time.
    createdAt string
    (String) The timestamp of the target creation time.
    crn string
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    id string
    The provider-assigned unique ID for this managed resource.
    targetType string
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updatedAt string
    (String) The timestamp of the target last updated time.
    created_at str
    (String) The timestamp of the target creation time.
    crn str
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    id str
    The provider-assigned unique ID for this managed resource.
    target_type str
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updated_at str
    (String) The timestamp of the target last updated time.
    createdAt String
    (String) The timestamp of the target creation time.
    crn String
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    targetType String
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updatedAt String
    (String) The timestamp of the target last updated time.

    Look up Existing MetricsRouterTarget Resource

    Get an existing MetricsRouterTarget 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?: MetricsRouterTargetState, opts?: CustomResourceOptions): MetricsRouterTarget
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            destination_crn: Optional[str] = None,
            managed_by: Optional[str] = None,
            metrics_router_target_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            target_type: Optional[str] = None,
            updated_at: Optional[str] = None) -> MetricsRouterTarget
    func GetMetricsRouterTarget(ctx *Context, name string, id IDInput, state *MetricsRouterTargetState, opts ...ResourceOption) (*MetricsRouterTarget, error)
    public static MetricsRouterTarget Get(string name, Input<string> id, MetricsRouterTargetState? state, CustomResourceOptions? opts = null)
    public static MetricsRouterTarget get(String name, Output<String> id, MetricsRouterTargetState state, CustomResourceOptions options)
    resources:  _:    type: ibm:MetricsRouterTarget    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.
    The following state arguments are supported:
    CreatedAt string
    (String) The timestamp of the target creation time.
    Crn string
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    DestinationCrn string
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    ManagedBy string
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterTargetId string
    The unique identifier of the metrics_router_target.
    Name string
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Region string
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    TargetType string
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    UpdatedAt string
    (String) The timestamp of the target last updated time.
    CreatedAt string
    (String) The timestamp of the target creation time.
    Crn string
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    DestinationCrn string
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    ManagedBy string
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterTargetId string
    The unique identifier of the metrics_router_target.
    Name string
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Region string
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    TargetType string
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    UpdatedAt string
    (String) The timestamp of the target last updated time.
    createdAt String
    (String) The timestamp of the target creation time.
    crn String
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    destinationCrn String
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managedBy String
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterTargetId String
    The unique identifier of the metrics_router_target.
    name String
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region String
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    targetType String
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updatedAt String
    (String) The timestamp of the target last updated time.
    createdAt string
    (String) The timestamp of the target creation time.
    crn string
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    destinationCrn string
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managedBy string
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterTargetId string
    The unique identifier of the metrics_router_target.
    name string
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region string
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    targetType string
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updatedAt string
    (String) The timestamp of the target last updated time.
    created_at str
    (String) The timestamp of the target creation time.
    crn str
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    destination_crn str
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managed_by str
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metrics_router_target_id str
    The unique identifier of the metrics_router_target.
    name str
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region str
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    target_type str
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updated_at str
    (String) The timestamp of the target last updated time.
    createdAt String
    (String) The timestamp of the target creation time.
    crn String
    (String) The crn of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters.
    destinationCrn String
    Cloud Resource Name (CRN) of the destination resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. See service-to-service authorization for details.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:\/]+$/.
    managedBy String
    Present when the target is enterprise-managed (managed_by: enterprise). For account-managed targets this field is omitted.

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterTargetId String
    The unique identifier of the metrics_router_target.
    name String
    The name of the target resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    region String
    Include this optional field if you used it to create a target in a different region other than the one you are connected.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters.
    targetType String
    (String) The type of the target.

    • Constraints: Allowable values are: sysdig_monitor.
    updatedAt String
    (String) The timestamp of the target last updated time.

    Import

    You can import the ibm_metrics_router_target resource by using id. The UUID of the target resource.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/metricsRouterTarget:MetricsRouterTarget metrics_router_target <id>
    ```
    
    

    Example

    $ pulumi import ibm:index/metricsRouterTarget:MetricsRouterTarget metrics_router_target f7dcfae6-e7c5-08ca-451b-fdfa696c9bb6
    

    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.
    ibm logo
    ibm 1.87.0-beta1 published on Monday, Dec 22, 2025 by ibm-cloud
      Meet Neo: Your AI Platform Teammate