1. Packages
  2. Ibm Provider
  3. API Docs
  4. getAtrackerRoutes
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",
});
Copy
import pulumi
import pulumi_ibm as ibm

atracker_routes = ibm.get_atracker_routes(name="my-route")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  atrackerRoutes:
    fn::invoke:
      function: ibm:getAtrackerRoutes
      arguments:
        name: my-route
Copy

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>
Copy
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]
Copy
func GetAtrackerRoutes(ctx *Context, args *GetAtrackerRoutesArgs, opts ...InvokeOption) (*GetAtrackerRoutesResult, error)
func GetAtrackerRoutesOutput(ctx *Context, args *GetAtrackerRoutesOutputArgs, opts ...InvokeOption) GetAtrackerRoutesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAtrackerRoutesResult> getAtrackerRoutes(GetAtrackerRoutesArgs args, InvokeOptions options)
public static Output<GetAtrackerRoutesResult> getAtrackerRoutes(GetAtrackerRoutesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getAtrackerRoutes:getAtrackerRoutes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
(String) The uuid of the route resource.
Name string
The name of the route.
Id string
(String) The uuid of the route resource.
Name string
The name of the route.
id String
(String) The uuid of the route resource.
name String
The name of the route.
id string
(String) The uuid of the route resource.
name string
The name of the route.
id str
(String) The uuid of the route resource.
name str
The name of the route.
id String
(String) The uuid of the route resource.
name String
The name of the route.

getAtrackerRoutes Result

The following output properties are available:

Id string
(String) The uuid of the route resource.
Routes List<GetAtrackerRoutesRoute>
(List) A list of route resources.

  • Constraints: The maximum length is 30 items. The minimum length is 0 items. Nested schema for routes:
Name string
(String) The name of the route.
Id string
(String) The uuid of the route resource.
Routes []GetAtrackerRoutesRoute
(List) A list of route resources.

  • Constraints: The maximum length is 30 items. The minimum length is 0 items. Nested schema for routes:
Name string
(String) The name of the route.
id String
(String) The uuid of the route resource.
routes List<GetAtrackerRoutesRoute>
(List) A list of route resources.

  • Constraints: The maximum length is 30 items. The minimum length is 0 items. Nested schema for routes:
name String
(String) The name of the route.
id string
(String) The uuid of the route resource.
routes GetAtrackerRoutesRoute[]
(List) A list of route resources.

  • Constraints: The maximum length is 30 items. The minimum length is 0 items. Nested schema for routes:
name string
(String) The name of the route.
id str
(String) The uuid of the route resource.
routes Sequence[GetAtrackerRoutesRoute]
(List) A list of route resources.

  • Constraints: The maximum length is 30 items. The minimum length is 0 items. Nested schema for routes:
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 is 0 items. Nested schema for routes:
name String
(String) The name of the route.

Supporting Types

GetAtrackerRoutesRoute

ApiVersion This property is required. double
(Integer) The API version of the route.

  • Constraints: The maximum value is 2. The minimum value is 2.
CreatedAt 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<GetAtrackerRoutesRouteRule>
(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 is 1 item. Nested schema for rules:
UpdatedAt 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.
ApiVersion This property is required. float64
(Integer) The API version of the route.

  • Constraints: The maximum value is 2. The minimum value is 2.
CreatedAt 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. []GetAtrackerRoutesRouteRule
(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 is 1 item. Nested schema for rules:
UpdatedAt 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.
apiVersion This property is required. Double
(Integer) The API version of the route.

  • Constraints: The maximum value is 2. The minimum value is 2.
createdAt 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<GetAtrackerRoutesRouteRule>
(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 is 1 item. Nested schema for rules:
updatedAt 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.
apiVersion This property is required. number
(Integer) The API version of the route.

  • Constraints: The maximum value is 2. The minimum value is 2.
createdAt 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. GetAtrackerRoutesRouteRule[]
(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 is 1 item. Nested schema for rules:
updatedAt 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 is 2.
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[GetAtrackerRoutesRouteRule]
(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 is 1 item. Nested schema for rules:
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.
apiVersion This property is required. Number
(Integer) The API version of the route.

  • Constraints: The maximum value is 2. The minimum value is 2.
createdAt 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 is 1 item. Nested schema for rules:
updatedAt 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 -._:]+$/.
TargetIds 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 -._:]+$/.
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 -._:]+$/.
TargetIds 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 -._:]+$/.
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 -._:]+$/.
targetIds 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 -._:]+$/.
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 -._:]+$/.
targetIds 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 -._:]+$/.
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 -._:]+$/.
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 -._:]+$/.
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 -._:]+$/.
targetIds 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 -._:]+$/.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.