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<Metrics
Router Route Rule> - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- Managed
By string - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- Metrics
Router stringRoute Id - The unique identifier of the metrics_router_route.
- Name string
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- Rules
[]Metrics
Router Route Rule Args - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- Managed
By string - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- Metrics
Router stringRoute Id - The unique identifier of the metrics_router_route.
- Name string
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- rules
List<Metrics
Router Route Rule> - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- managed
By String - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics
Router StringRoute Id - The unique identifier of the metrics_router_route.
- name String
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- rules
Metrics
Router Route Rule[] - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- managed
By string - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics
Router stringRoute Id - The unique identifier of the metrics_router_route.
- name string
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- rules
Sequence[Metrics
Router Route Rule Args] - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- managed_
by str - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics_
router_ strroute_ id - The unique identifier of the metrics_router_route.
- name str
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- managed
By String - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics
Router StringRoute Id - The unique identifier of the metrics_router_route.
- name String
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the MetricsRouterRoute resource produces the following output properties:
- Created
At string - (String) The timestamp of the route creation time.
- Crn string
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - (String) The timestamp of the route last updated time.
- Created
At string - (String) The timestamp of the route creation time.
- Crn string
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - (String) The timestamp of the route last updated time.
- created
At String - (String) The timestamp of the route creation time.
- crn String
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - (String) The timestamp of the route last updated time.
- created
At string - (String) The timestamp of the route creation time.
- crn string
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- updated
At 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
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - (String) The timestamp of the route last updated time.
- created
At String - (String) The timestamp of the route creation time.
- crn String
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At 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) -> MetricsRouterRoutefunc 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.
- Created
At string - (String) The timestamp of the route creation time.
- Crn string
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- Managed
By string - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- Metrics
Router stringRoute Id - The unique identifier of the metrics_router_route.
- Name string
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- Rules
List<Metrics
Router Route Rule> - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- Updated
At string - (String) The timestamp of the route last updated time.
- Created
At string - (String) The timestamp of the route creation time.
- Crn string
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- Managed
By string - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- Metrics
Router stringRoute Id - The unique identifier of the metrics_router_route.
- Name string
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- Rules
[]Metrics
Router Route Rule Args - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- Updated
At string - (String) The timestamp of the route last updated time.
- created
At String - (String) The timestamp of the route creation time.
- crn String
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- managed
By String - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics
Router StringRoute Id - The unique identifier of the metrics_router_route.
- name String
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- rules
List<Metrics
Router Route Rule> - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- updated
At String - (String) The timestamp of the route last updated time.
- created
At string - (String) The timestamp of the route creation time.
- crn string
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- managed
By string - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics
Router stringRoute Id - The unique identifier of the metrics_router_route.
- name string
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- rules
Metrics
Router Route Rule[] - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- updated
At 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
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- managed_
by str - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics_
router_ strroute_ id - The unique identifier of the metrics_router_route.
- name str
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- rules
Sequence[Metrics
Router Route Rule Args] - 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- updated_
at str - (String) The timestamp of the route last updated time.
- created
At String - (String) The timestamp of the route creation time.
- crn String
- (String) The crn of the route resource.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- managed
By String - Present when the route is enterprise-managed (
managed_by: enterprise).- Constraints: Allowable values are:
enterprise,account.
- Constraints: Allowable values are:
- metrics
Router StringRoute Id - The unique identifier of the metrics_router_route.
- name String
- The name of the route.
- Constraints: The maximum length is
1000characters. The minimum length is1character.
- Constraints: The maximum length is
- 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
10items. The minimum length is1item. Nested schema for rules:
- Constraints: The maximum length is
- updated
At 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
sendaction.- Constraints: Allowable values are:
send,drop.
- Constraints: Allowable values are:
- Inclusion
Filters List<MetricsRouter Route Rule Inclusion Filter> - A list of conditions to be satisfied for routing metrics to pre-defined target.
- Constraints: The maximum length is
7items. The minimum length is0items. Nested schema for inclusion_filters:
- Constraints: The maximum length is
- Targets
List<Metrics
Router Route Rule Target> - 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
3items. The minimum length is0items. Nested schema for targets:
- Constraints: The maximum length is
- Action string
- The action if the inclusion_filters matches, default is
sendaction.- Constraints: Allowable values are:
send,drop.
- Constraints: Allowable values are:
- Inclusion
Filters []MetricsRouter Route Rule Inclusion Filter - A list of conditions to be satisfied for routing metrics to pre-defined target.
- Constraints: The maximum length is
7items. The minimum length is0items. Nested schema for inclusion_filters:
- Constraints: The maximum length is
- Targets
[]Metrics
Router Route Rule Target - 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
3items. The minimum length is0items. Nested schema for targets:
- Constraints: The maximum length is
- action String
- The action if the inclusion_filters matches, default is
sendaction.- Constraints: Allowable values are:
send,drop.
- Constraints: Allowable values are:
- inclusion
Filters List<MetricsRouter Route Rule Inclusion Filter> - A list of conditions to be satisfied for routing metrics to pre-defined target.
- Constraints: The maximum length is
7items. The minimum length is0items. Nested schema for inclusion_filters:
- Constraints: The maximum length is
- targets
List<Metrics
Router Route Rule Target> - 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
3items. The minimum length is0items. Nested schema for targets:
- Constraints: The maximum length is
- action string
- The action if the inclusion_filters matches, default is
sendaction.- Constraints: Allowable values are:
send,drop.
- Constraints: Allowable values are:
- inclusion
Filters MetricsRouter Route Rule Inclusion Filter[] - A list of conditions to be satisfied for routing metrics to pre-defined target.
- Constraints: The maximum length is
7items. The minimum length is0items. Nested schema for inclusion_filters:
- Constraints: The maximum length is
- targets
Metrics
Router Route Rule Target[] - 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
3items. The minimum length is0items. Nested schema for targets:
- Constraints: The maximum length is
- action str
- The action if the inclusion_filters matches, default is
sendaction.- Constraints: Allowable values are:
send,drop.
- Constraints: Allowable values are:
- inclusion_
filters Sequence[MetricsRouter Route Rule Inclusion Filter] - A list of conditions to be satisfied for routing metrics to pre-defined target.
- Constraints: The maximum length is
7items. The minimum length is0items. Nested schema for inclusion_filters:
- Constraints: The maximum length is
- targets
Sequence[Metrics
Router Route Rule Target] - 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
3items. The minimum length is0items. Nested schema for targets:
- Constraints: The maximum length is
- action String
- The action if the inclusion_filters matches, default is
sendaction.- Constraints: Allowable values are:
send,drop.
- Constraints: Allowable values are:
- inclusion
Filters List<Property Map> - A list of conditions to be satisfied for routing metrics to pre-defined target.
- Constraints: The maximum length is
7items. The minimum length is0items. Nested schema for inclusion_filters:
- Constraints: The maximum length is
- 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
3items. The minimum length is0items. Nested schema for targets:
- Constraints: The maximum length is
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.
- Constraints: Allowable values are:
- 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.
- Constraints: Allowable values are:
- Values List<string>
- The provided string values of the operand to be compared with.
- Constraints: The maximum length is
20items. The minimum length is1item.
- Constraints: The maximum length is
- Operand string
- Part of CRN that can be compared with values.
- Constraints: Allowable values are:
location,service_name,service_instance,resource_type,resource.
- Constraints: Allowable values are:
- 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.
- Constraints: Allowable values are:
- Values []string
- The provided string values of the operand to be compared with.
- Constraints: The maximum length is
20items. The minimum length is1item.
- Constraints: The maximum length is
- operand String
- Part of CRN that can be compared with values.
- Constraints: Allowable values are:
location,service_name,service_instance,resource_type,resource.
- Constraints: Allowable values are:
- 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.
- Constraints: Allowable values are:
- values List<String>
- The provided string values of the operand to be compared with.
- Constraints: The maximum length is
20items. The minimum length is1item.
- Constraints: The maximum length is
- operand string
- Part of CRN that can be compared with values.
- Constraints: Allowable values are:
location,service_name,service_instance,resource_type,resource.
- Constraints: Allowable values are:
- 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.
- Constraints: Allowable values are:
- values string[]
- The provided string values of the operand to be compared with.
- Constraints: The maximum length is
20items. The minimum length is1item.
- Constraints: The maximum length is
- operand str
- Part of CRN that can be compared with values.
- Constraints: Allowable values are:
location,service_name,service_instance,resource_type,resource.
- Constraints: Allowable values are:
- 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.
- Constraints: Allowable values are:
- values Sequence[str]
- The provided string values of the operand to be compared with.
- Constraints: The maximum length is
20items. The minimum length is1item.
- Constraints: The maximum length is
- operand String
- Part of CRN that can be compared with values.
- Constraints: Allowable values are:
location,service_name,service_instance,resource_type,resource.
- Constraints: Allowable values are:
- 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.
- Constraints: Allowable values are:
- values List<String>
- The provided string values of the operand to be compared with.
- Constraints: The maximum length is
20items. The minimum length is1item.
- Constraints: The maximum length is
MetricsRouterRouteRuleTarget, MetricsRouterRouteRuleTargetArgs
- Id string
- The target uuid for a pre-defined metrics router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- Id string
- The target uuid for a pre-defined metrics router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id String
- The target uuid for a pre-defined metrics router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id string
- The target uuid for a pre-defined metrics router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id str
- The target uuid for a pre-defined metrics router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id String
- The target uuid for a pre-defined metrics router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
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
ibmTerraform Provider.
