ibm 1.78.0 published on Wednesday, Apr 30, 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 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 string - (String) The timestamp of the route creation time.
- Crn string
- (String) The crn of the route resource.
- Id string
- (String) The uuid of the route resource.
- Message string
- (String) An optional message containing information about the route.
- Name string
- The name of the route.
- Rules
List<Get
Atracker 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 string - (String) The timestamp of the route last updated time.
- Version double
- (Integer) The version of the route.
- Api
Version 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 string - (String) The timestamp of the route creation time.
- Crn string
- (String) The crn of the route resource.
- Id string
- (String) The uuid of the route resource.
- Message string
- (String) An optional message containing information about the route.
- Name string
- The name of the route.
- Rules
[]Get
Atracker 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 string - (String) The timestamp of the route last updated time.
- Version float64
- (Integer) The version of the route.
- api
Version 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 String - (String) The timestamp of the route creation time.
- crn String
- (String) The crn of the route resource.
- id String
- (String) The uuid of the route resource.
- message String
- (String) An optional message containing information about the route.
- name String
- The name of the route.
- rules
List<Get
Atracker 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 String - (String) The timestamp of the route last updated time.
- version Double
- (Integer) The version of the route.
- api
Version 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 string - (String) The timestamp of the route creation time.
- crn string
- (String) The crn of the route resource.
- id string
- (String) The uuid of the route resource.
- message string
- (String) An optional message containing information about the route.
- name string
- The name of the route.
- rules
Get
Atracker 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 string - (String) The timestamp of the route last updated time.
- version number
- (Integer) The version of the route.
- api_
version 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 str - (String) The timestamp of the route creation time.
- crn str
- (String) The crn of the route resource.
- id str
- (String) The uuid of the route resource.
- message str
- (String) An optional message containing information about the route.
- name str
- The name of the route.
- rules
Sequence[Get
Atracker 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 str - (String) The timestamp of the route last updated time.
- version float
- (Integer) The version of the route.
- api
Version 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 String - (String) The timestamp of the route creation time.
- crn String
- (String) The crn of the route resource.
- id String
- (String) The uuid of the route resource.
- message String
- (String) An optional message containing information about the route.
- name String
- The name of the route.
- rules 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 String - (String) The timestamp of the route last updated time.
- version Number
- (Integer) The version of the route.
GetAtrackerRoutesRouteRule
- Locations 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 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 []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 []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 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 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 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 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 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 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 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 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.