1. Packages
  2. Ibm Provider
  3. API Docs
  4. MetricsRouterRoute
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_routes with this resource.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      metricsRouterRouteInstance:
        type: ibm:MetricsRouterRoute
        name: metrics_router_route_instance
        properties:
          managedBy: enterprise
          name: my-route
          rules:
            - action: send
              targets:
                - id: c3af557f-fb0e-4476-85c3-0889e7fe7bc4
                  crn: 'crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::'
                  name: a-mr-target-us-south
                  targetType: sysdig_monitor
              inclusionFilters:
                - operand: location
                  operator: is
                  values:
                    - us-south
    

    Create MetricsRouterRoute Resource

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

    Constructor syntax

    new MetricsRouterRoute(name: string, args: MetricsRouterRouteArgs, opts?: CustomResourceOptions);
    @overload
    def MetricsRouterRoute(resource_name: str,
                           args: MetricsRouterRouteArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def MetricsRouterRoute(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           rules: Optional[Sequence[MetricsRouterRouteRuleArgs]] = None,
                           managed_by: Optional[str] = None,
                           metrics_router_route_id: Optional[str] = None,
                           name: Optional[str] = None)
    func NewMetricsRouterRoute(ctx *Context, name string, args MetricsRouterRouteArgs, opts ...ResourceOption) (*MetricsRouterRoute, error)
    public MetricsRouterRoute(string name, MetricsRouterRouteArgs args, CustomResourceOptions? opts = null)
    public MetricsRouterRoute(String name, MetricsRouterRouteArgs args)
    public MetricsRouterRoute(String name, MetricsRouterRouteArgs args, CustomResourceOptions options)
    
    type: ibm:MetricsRouterRoute
    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 MetricsRouterRouteArgs
    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 MetricsRouterRouteArgs
    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 MetricsRouterRouteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetricsRouterRouteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MetricsRouterRouteArgs
    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 metricsRouterRouteResource = new Ibm.MetricsRouterRoute("metricsRouterRouteResource", new()
    {
        Rules = new[]
        {
            new Ibm.Inputs.MetricsRouterRouteRuleArgs
            {
                Action = "string",
                InclusionFilters = new[]
                {
                    new Ibm.Inputs.MetricsRouterRouteRuleInclusionFilterArgs
                    {
                        Operand = "string",
                        Operator = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
                Targets = new[]
                {
                    new Ibm.Inputs.MetricsRouterRouteRuleTargetArgs
                    {
                        Id = "string",
                    },
                },
            },
        },
        ManagedBy = "string",
        MetricsRouterRouteId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewMetricsRouterRoute(ctx, "metricsRouterRouteResource", &ibm.MetricsRouterRouteArgs{
    	Rules: ibm.MetricsRouterRouteRuleArray{
    		&ibm.MetricsRouterRouteRuleArgs{
    			Action: pulumi.String("string"),
    			InclusionFilters: ibm.MetricsRouterRouteRuleInclusionFilterArray{
    				&ibm.MetricsRouterRouteRuleInclusionFilterArgs{
    					Operand:  pulumi.String("string"),
    					Operator: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Targets: ibm.MetricsRouterRouteRuleTargetArray{
    				&ibm.MetricsRouterRouteRuleTargetArgs{
    					Id: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ManagedBy:            pulumi.String("string"),
    	MetricsRouterRouteId: pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    })
    
    var metricsRouterRouteResource = new MetricsRouterRoute("metricsRouterRouteResource", MetricsRouterRouteArgs.builder()
        .rules(MetricsRouterRouteRuleArgs.builder()
            .action("string")
            .inclusionFilters(MetricsRouterRouteRuleInclusionFilterArgs.builder()
                .operand("string")
                .operator("string")
                .values("string")
                .build())
            .targets(MetricsRouterRouteRuleTargetArgs.builder()
                .id("string")
                .build())
            .build())
        .managedBy("string")
        .metricsRouterRouteId("string")
        .name("string")
        .build());
    
    metrics_router_route_resource = ibm.MetricsRouterRoute("metricsRouterRouteResource",
        rules=[{
            "action": "string",
            "inclusion_filters": [{
                "operand": "string",
                "operator": "string",
                "values": ["string"],
            }],
            "targets": [{
                "id": "string",
            }],
        }],
        managed_by="string",
        metrics_router_route_id="string",
        name="string")
    
    const metricsRouterRouteResource = new ibm.MetricsRouterRoute("metricsRouterRouteResource", {
        rules: [{
            action: "string",
            inclusionFilters: [{
                operand: "string",
                operator: "string",
                values: ["string"],
            }],
            targets: [{
                id: "string",
            }],
        }],
        managedBy: "string",
        metricsRouterRouteId: "string",
        name: "string",
    });
    
    type: ibm:MetricsRouterRoute
    properties:
        managedBy: string
        metricsRouterRouteId: string
        name: string
        rules:
            - action: string
              inclusionFilters:
                - operand: string
                  operator: string
                  values:
                    - string
              targets:
                - id: string
    

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

    Rules List<MetricsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterRouteId string
    The unique identifier of the metrics_router_route.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Rules []MetricsRouterRouteRuleArgs
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterRouteId string
    The unique identifier of the metrics_router_route.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<MetricsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterRouteId String
    The unique identifier of the metrics_router_route.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules MetricsRouterRouteRule[]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    managedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterRouteId string
    The unique identifier of the metrics_router_route.
    name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules Sequence[MetricsRouterRouteRuleArgs]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    managed_by str
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metrics_router_route_id str
    The unique identifier of the metrics_router_route.
    name str
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<Property Map>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterRouteId String
    The unique identifier of the metrics_router_route.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.

    Outputs

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

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

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    CreatedAt string
    (String) The timestamp of the route creation time.
    Crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) The timestamp of the route last updated time.
    createdAt string
    (String) The timestamp of the route creation time.
    crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    (String) The timestamp of the route last updated time.
    created_at str
    (String) The timestamp of the route creation time.
    crn str
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) The timestamp of the route last updated time.

    Look up Existing MetricsRouterRoute Resource

    Get an existing MetricsRouterRoute 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?: MetricsRouterRouteState, opts?: CustomResourceOptions): MetricsRouterRoute
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            managed_by: Optional[str] = None,
            metrics_router_route_id: Optional[str] = None,
            name: Optional[str] = None,
            rules: Optional[Sequence[MetricsRouterRouteRuleArgs]] = None,
            updated_at: Optional[str] = None) -> MetricsRouterRoute
    func GetMetricsRouterRoute(ctx *Context, name string, id IDInput, state *MetricsRouterRouteState, opts ...ResourceOption) (*MetricsRouterRoute, error)
    public static MetricsRouterRoute Get(string name, Input<string> id, MetricsRouterRouteState? state, CustomResourceOptions? opts = null)
    public static MetricsRouterRoute get(String name, Output<String> id, MetricsRouterRouteState state, CustomResourceOptions options)
    resources:  _:    type: ibm:MetricsRouterRoute    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 route creation time.
    Crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterRouteId string
    The unique identifier of the metrics_router_route.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Rules List<MetricsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    CreatedAt string
    (String) The timestamp of the route creation time.
    Crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    MetricsRouterRouteId string
    The unique identifier of the metrics_router_route.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Rules []MetricsRouterRouteRuleArgs
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterRouteId String
    The unique identifier of the metrics_router_route.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<MetricsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updatedAt String
    (String) The timestamp of the route last updated time.
    createdAt string
    (String) The timestamp of the route creation time.
    crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    managedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterRouteId string
    The unique identifier of the metrics_router_route.
    name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules MetricsRouterRouteRule[]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updatedAt string
    (String) The timestamp of the route last updated time.
    created_at str
    (String) The timestamp of the route creation time.
    crn str
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    managed_by str
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metrics_router_route_id str
    The unique identifier of the metrics_router_route.
    name str
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules Sequence[MetricsRouterRouteRuleArgs]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updated_at str
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    metricsRouterRouteId String
    The unique identifier of the metrics_router_route.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<Property Map>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updatedAt String
    (String) The timestamp of the route last updated time.

    Supporting Types

    MetricsRouterRouteRule, MetricsRouterRouteRuleArgs

    Action string
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    InclusionFilters List<MetricsRouterRouteRuleInclusionFilter>
    A list of conditions to be satisfied for routing metrics to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    Targets List<MetricsRouterRouteRuleTarget>
    The target ID List. All the metrics will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    Action string
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    InclusionFilters []MetricsRouterRouteRuleInclusionFilter
    A list of conditions to be satisfied for routing metrics to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    Targets []MetricsRouterRouteRuleTarget
    The target ID List. All the metrics will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action String
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusionFilters List<MetricsRouterRouteRuleInclusionFilter>
    A list of conditions to be satisfied for routing metrics to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets List<MetricsRouterRouteRuleTarget>
    The target ID List. All the metrics will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action string
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusionFilters MetricsRouterRouteRuleInclusionFilter[]
    A list of conditions to be satisfied for routing metrics to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets MetricsRouterRouteRuleTarget[]
    The target ID List. All the metrics will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action str
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusion_filters Sequence[MetricsRouterRouteRuleInclusionFilter]
    A list of conditions to be satisfied for routing metrics to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets Sequence[MetricsRouterRouteRuleTarget]
    The target ID List. All the metrics will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action String
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusionFilters List<Property Map>
    A list of conditions to be satisfied for routing metrics to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets List<Property Map>
    The target ID List. All the metrics will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:

    MetricsRouterRouteRuleInclusionFilter, MetricsRouterRouteRuleInclusionFilterArgs

    Operand string
    Part of CRN that can be compared with values.

    • Constraints: Allowable values are: location, service_name, service_instance, resource_type, resource.
    Operator string
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support upto 20 values in the array.

    • Constraints: Allowable values are: is, in.
    Values List<string>
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    Operand string
    Part of CRN that can be compared with values.

    • Constraints: Allowable values are: location, service_name, service_instance, resource_type, resource.
    Operator string
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support upto 20 values in the array.

    • Constraints: Allowable values are: is, in.
    Values []string
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand String
    Part of CRN that can be compared with values.

    • Constraints: Allowable values are: location, service_name, service_instance, resource_type, resource.
    operator String
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support upto 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values List<String>
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand string
    Part of CRN that can be compared with values.

    • Constraints: Allowable values are: location, service_name, service_instance, resource_type, resource.
    operator string
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support upto 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values string[]
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand str
    Part of CRN that can be compared with values.

    • Constraints: Allowable values are: location, service_name, service_instance, resource_type, resource.
    operator str
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support upto 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values Sequence[str]
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand String
    Part of CRN that can be compared with values.

    • Constraints: Allowable values are: location, service_name, service_instance, resource_type, resource.
    operator String
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support upto 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values List<String>
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.

    MetricsRouterRouteRuleTarget, MetricsRouterRouteRuleTargetArgs

    Id string
    The target uuid for a pre-defined metrics router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    Id string
    The target uuid for a pre-defined metrics router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id String
    The target uuid for a pre-defined metrics router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id string
    The target uuid for a pre-defined metrics router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id str
    The target uuid for a pre-defined metrics router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id String
    The target uuid for a pre-defined metrics router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.

    Import

    You can import the ibm_metrics_router_route resource by using id. The UUID of the route resource.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/metricsRouterRoute:MetricsRouterRoute metrics_router_route <id>
    ```
    
    

    Example

    $ pulumi import ibm:index/metricsRouterRoute:MetricsRouterRoute metrics_router_route c3af557f-fb0e-4476-85c3-0889e7fe7bc4
    

    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