ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getAtrackerRoutes
Explore with Pulumi AI
Provides a read-only data source to retrieve information about atracker_routes. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const atrackerRoutes = ibm.getAtrackerRoutes({
name: "my-route",
});
import pulumi
import pulumi_ibm as ibm
atracker_routes = ibm.get_atracker_routes(name="my-route")
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.GetAtrackerRoutes(ctx, &ibm.GetAtrackerRoutesArgs{
Name: pulumi.StringRef("my-route"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var atrackerRoutes = Ibm.GetAtrackerRoutes.Invoke(new()
{
Name = "my-route",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetAtrackerRoutesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var atrackerRoutes = IbmFunctions.getAtrackerRoutes(GetAtrackerRoutesArgs.builder()
.name("my-route")
.build());
}
}
variables:
atrackerRoutes:
fn::invoke:
function: ibm:getAtrackerRoutes
arguments:
name: my-route
Using getAtrackerRoutes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAtrackerRoutes(args: GetAtrackerRoutesArgs, opts?: InvokeOptions): Promise<GetAtrackerRoutesResult>
function getAtrackerRoutesOutput(args: GetAtrackerRoutesOutputArgs, opts?: InvokeOptions): Output<GetAtrackerRoutesResult>
def get_atracker_routes(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAtrackerRoutesResult
def get_atracker_routes_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAtrackerRoutesResult]
func GetAtrackerRoutes(ctx *Context, args *GetAtrackerRoutesArgs, opts ...InvokeOption) (*GetAtrackerRoutesResult, error)
func GetAtrackerRoutesOutput(ctx *Context, args *GetAtrackerRoutesOutputArgs, opts ...InvokeOption) GetAtrackerRoutesResultOutput
> Note: This function is named GetAtrackerRoutes
in the Go SDK.
public static class GetAtrackerRoutes
{
public static Task<GetAtrackerRoutesResult> InvokeAsync(GetAtrackerRoutesArgs args, InvokeOptions? opts = null)
public static Output<GetAtrackerRoutesResult> Invoke(GetAtrackerRoutesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAtrackerRoutesResult> getAtrackerRoutes(GetAtrackerRoutesArgs args, InvokeOptions options)
public static Output<GetAtrackerRoutesResult> getAtrackerRoutes(GetAtrackerRoutesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getAtrackerRoutes:getAtrackerRoutes
arguments:
# arguments dictionary
The following arguments are supported:
getAtrackerRoutes Result
The following output properties are available:
- Id string
- (String) The uuid of the route resource.
- Routes
List<Get
Atracker Routes Route> - (List) A list of route resources.
- Constraints: The maximum length is
30
items. The minimum length is0
items. Nested schema for routes:
- Constraints: The maximum length is
- Name string
- (String) The name of the route.
- Id string
- (String) The uuid of the route resource.
- Routes
[]Get
Atracker Routes Route - (List) A list of route resources.
- Constraints: The maximum length is
30
items. The minimum length is0
items. Nested schema for routes:
- Constraints: The maximum length is
- Name string
- (String) The name of the route.
- id String
- (String) The uuid of the route resource.
- routes
List<Get
Atracker Routes Route> - (List) A list of route resources.
- Constraints: The maximum length is
30
items. The minimum length is0
items. Nested schema for routes:
- Constraints: The maximum length is
- name String
- (String) The name of the route.
- id string
- (String) The uuid of the route resource.
- routes
Get
Atracker Routes Route[] - (List) A list of route resources.
- Constraints: The maximum length is
30
items. The minimum length is0
items. Nested schema for routes:
- Constraints: The maximum length is
- name string
- (String) The name of the route.
- id str
- (String) The uuid of the route resource.
- routes
Sequence[Get
Atracker Routes Route] - (List) A list of route resources.
- Constraints: The maximum length is
30
items. The minimum length is0
items. Nested schema for routes:
- Constraints: The maximum length is
- name str
- (String) The name of the route.
- id String
- (String) The uuid of the route resource.
- routes List<Property Map>
- (List) A list of route resources.
- Constraints: The maximum length is
30
items. The minimum length is0
items. Nested schema for routes:
- Constraints: The maximum length is
- name String
- (String) The name of the route.
Supporting Types
GetAtrackerRoutesRoute
- Api
Version This property is required. double - (Integer) The API version of the route.
- Constraints: The maximum value is
2
. The minimum value is2
.
- Constraints: The maximum value is
- Created
At This property is required. string - (String) The timestamp of the route creation time.
- Crn
This property is required. string - (String) The crn of the route resource.
- Id
This property is required. string - (String) The uuid of the route resource.
- Message
This property is required. string - (String) An optional message containing information about the route.
- Name
This property is required. string - The name of the route.
- Rules
This property is required. List<GetAtracker Routes Route Rule> - (List) 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 is1
item. Nested schema for rules:
- Constraints: The maximum length is
- Updated
At This property is required. string - (String) The timestamp of the route last updated time.
- Version
This property is required. double - (Integer) The version of the route.
- Api
Version This property is required. float64 - (Integer) The API version of the route.
- Constraints: The maximum value is
2
. The minimum value is2
.
- Constraints: The maximum value is
- Created
At This property is required. string - (String) The timestamp of the route creation time.
- Crn
This property is required. string - (String) The crn of the route resource.
- Id
This property is required. string - (String) The uuid of the route resource.
- Message
This property is required. string - (String) An optional message containing information about the route.
- Name
This property is required. string - The name of the route.
- Rules
This property is required. []GetAtracker Routes Route Rule - (List) 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 is1
item. Nested schema for rules:
- Constraints: The maximum length is
- Updated
At This property is required. string - (String) The timestamp of the route last updated time.
- Version
This property is required. float64 - (Integer) The version of the route.
- api
Version This property is required. Double - (Integer) The API version of the route.
- Constraints: The maximum value is
2
. The minimum value is2
.
- Constraints: The maximum value is
- created
At This property is required. String - (String) The timestamp of the route creation time.
- crn
This property is required. String - (String) The crn of the route resource.
- id
This property is required. String - (String) The uuid of the route resource.
- message
This property is required. String - (String) An optional message containing information about the route.
- name
This property is required. String - The name of the route.
- rules
This property is required. List<GetAtracker Routes Route Rule> - (List) 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 is1
item. Nested schema for rules:
- Constraints: The maximum length is
- updated
At This property is required. String - (String) The timestamp of the route last updated time.
- version
This property is required. Double - (Integer) The version of the route.
- api
Version This property is required. number - (Integer) The API version of the route.
- Constraints: The maximum value is
2
. The minimum value is2
.
- Constraints: The maximum value is
- created
At This property is required. string - (String) The timestamp of the route creation time.
- crn
This property is required. string - (String) The crn of the route resource.
- id
This property is required. string - (String) The uuid of the route resource.
- message
This property is required. string - (String) An optional message containing information about the route.
- name
This property is required. string - The name of the route.
- rules
This property is required. GetAtracker Routes Route Rule[] - (List) 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 is1
item. Nested schema for rules:
- Constraints: The maximum length is
- updated
At This property is required. string - (String) The timestamp of the route last updated time.
- version
This property is required. number - (Integer) The version of the route.
- api_
version This property is required. float - (Integer) The API version of the route.
- Constraints: The maximum value is
2
. The minimum value is2
.
- Constraints: The maximum value is
- created_
at This property is required. str - (String) The timestamp of the route creation time.
- crn
This property is required. str - (String) The crn of the route resource.
- id
This property is required. str - (String) The uuid of the route resource.
- message
This property is required. str - (String) An optional message containing information about the route.
- name
This property is required. str - The name of the route.
- rules
This property is required. Sequence[GetAtracker Routes Route Rule] - (List) 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 is1
item. Nested schema for rules:
- Constraints: The maximum length is
- updated_
at This property is required. str - (String) The timestamp of the route last updated time.
- version
This property is required. float - (Integer) The version of the route.
- api
Version This property is required. Number - (Integer) The API version of the route.
- Constraints: The maximum value is
2
. The minimum value is2
.
- Constraints: The maximum value is
- created
At This property is required. String - (String) The timestamp of the route creation time.
- crn
This property is required. String - (String) The crn of the route resource.
- id
This property is required. String - (String) The uuid of the route resource.
- message
This property is required. String - (String) An optional message containing information about the route.
- name
This property is required. String - The name of the route.
- rules
This property is required. List<Property Map> - (List) 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 is1
item. Nested schema for rules:
- Constraints: The maximum length is
- updated
At This property is required. String - (String) The timestamp of the route last updated time.
- version
This property is required. Number - (Integer) The version of the route.
GetAtrackerRoutesRouteRule
- Locations
This property is required. List<string> - (List) Logs from these locations will be sent to the targets specified. Locations is a superset of regions including global and *.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- Target
Ids This property is required. List<string> - (List) The target ID List. All the events will be send to all targets listed in the rule. You can include targets from other regions.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- Locations
This property is required. []string - (List) Logs from these locations will be sent to the targets specified. Locations is a superset of regions including global and *.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- Target
Ids This property is required. []string - (List) The target ID List. All the events will be send to all targets listed in the rule. You can include targets from other regions.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- locations
This property is required. List<String> - (List) Logs from these locations will be sent to the targets specified. Locations is a superset of regions including global and *.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- target
Ids This property is required. List<String> - (List) The target ID List. All the events will be send to all targets listed in the rule. You can include targets from other regions.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- locations
This property is required. string[] - (List) Logs from these locations will be sent to the targets specified. Locations is a superset of regions including global and *.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- target
Ids This property is required. string[] - (List) The target ID List. All the events will be send to all targets listed in the rule. You can include targets from other regions.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- locations
This property is required. Sequence[str] - (List) Logs from these locations will be sent to the targets specified. Locations is a superset of regions including global and *.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- target_
ids This property is required. Sequence[str] - (List) The target ID List. All the events will be send to all targets listed in the rule. You can include targets from other regions.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- locations
This property is required. List<String> - (List) Logs from these locations will be sent to the targets specified. Locations is a superset of regions including global and *.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
- target
Ids This property is required. List<String> - (List) The target ID List. All the events will be send to all targets listed in the rule. You can include targets from other regions.
- Constraints: The list items must match regular expression
/^[a-zA-Z0-9 -._:]+$/
.
- Constraints: The list items must match regular expression
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.