Equinix v0.27.1 published on Wednesday, Oct 29, 2025 by Equinix
equinix.fabric.getRouteAggregationRule
Start a Neo task
Explain and create an equinix.fabric.getRouteAggregationRule resource
Fabric V4 API compatible data resource that allow user to fetch Equinix Fabric Route Aggregation Rule by UUID Additional Documentation:
- API: https://developer.equinix.com/catalog/fabricv4#tag/Route-Aggregations
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const raRule = equinix.fabric.getRouteAggregationRule({
routeAggregationId: "<route_aggregation_id>",
routeAggregationRuleId: "<route_aggregation_rule_id>",
});
export const routeAggregationRuleName = raRule.then(raRule => raRule.name);
export const routeAggregationRuleDescription = raRule.then(raRule => raRule.description);
export const routeAggregationRuleType = raRule.then(raRule => raRule.type);
export const routeAggregationRulePrefix = raRule.then(raRule => raRule.prefix);
export const routeAggregationRuleState = raRule.then(raRule => raRule.state);
import pulumi
import pulumi_equinix as equinix
ra_rule = equinix.fabric.get_route_aggregation_rule(route_aggregation_id="<route_aggregation_id>",
route_aggregation_rule_id="<route_aggregation_rule_id>")
pulumi.export("routeAggregationRuleName", ra_rule.name)
pulumi.export("routeAggregationRuleDescription", ra_rule.description)
pulumi.export("routeAggregationRuleType", ra_rule.type)
pulumi.export("routeAggregationRulePrefix", ra_rule.prefix)
pulumi.export("routeAggregationRuleState", ra_rule.state)
package main
import (
"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
raRule, err := fabric.LookupRouteAggregationRule(ctx, &fabric.LookupRouteAggregationRuleArgs{
RouteAggregationId: "<route_aggregation_id>",
RouteAggregationRuleId: "<route_aggregation_rule_id>",
}, nil)
if err != nil {
return err
}
ctx.Export("routeAggregationRuleName", raRule.Name)
ctx.Export("routeAggregationRuleDescription", raRule.Description)
ctx.Export("routeAggregationRuleType", raRule.Type)
ctx.Export("routeAggregationRulePrefix", raRule.Prefix)
ctx.Export("routeAggregationRuleState", raRule.State)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var raRule = Equinix.Fabric.GetRouteAggregationRule.Invoke(new()
{
RouteAggregationId = "<route_aggregation_id>",
RouteAggregationRuleId = "<route_aggregation_rule_id>",
});
return new Dictionary<string, object?>
{
["routeAggregationRuleName"] = raRule.Apply(getRouteAggregationRuleResult => getRouteAggregationRuleResult.Name),
["routeAggregationRuleDescription"] = raRule.Apply(getRouteAggregationRuleResult => getRouteAggregationRuleResult.Description),
["routeAggregationRuleType"] = raRule.Apply(getRouteAggregationRuleResult => getRouteAggregationRuleResult.Type),
["routeAggregationRulePrefix"] = raRule.Apply(getRouteAggregationRuleResult => getRouteAggregationRuleResult.Prefix),
["routeAggregationRuleState"] = raRule.Apply(getRouteAggregationRuleResult => getRouteAggregationRuleResult.State),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.fabric.FabricFunctions;
import com.pulumi.equinix.fabric.inputs.GetRouteAggregationRuleArgs;
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 raRule = FabricFunctions.getRouteAggregationRule(GetRouteAggregationRuleArgs.builder()
.routeAggregationId("<route_aggregation_id>")
.routeAggregationRuleId("<route_aggregation_rule_id>")
.build());
ctx.export("routeAggregationRuleName", raRule.applyValue(getRouteAggregationRuleResult -> getRouteAggregationRuleResult.name()));
ctx.export("routeAggregationRuleDescription", raRule.applyValue(getRouteAggregationRuleResult -> getRouteAggregationRuleResult.description()));
ctx.export("routeAggregationRuleType", raRule.applyValue(getRouteAggregationRuleResult -> getRouteAggregationRuleResult.type()));
ctx.export("routeAggregationRulePrefix", raRule.applyValue(getRouteAggregationRuleResult -> getRouteAggregationRuleResult.prefix()));
ctx.export("routeAggregationRuleState", raRule.applyValue(getRouteAggregationRuleResult -> getRouteAggregationRuleResult.state()));
}
}
variables:
raRule:
fn::invoke:
function: equinix:fabric:getRouteAggregationRule
arguments:
routeAggregationId: <route_aggregation_id>
routeAggregationRuleId: <route_aggregation_rule_id>
outputs:
routeAggregationRuleName: ${raRule.name}
routeAggregationRuleDescription: ${raRule.description}
routeAggregationRuleType: ${raRule.type}
routeAggregationRulePrefix: ${raRule.prefix}
routeAggregationRuleState: ${raRule.state}
Using getRouteAggregationRule
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 getRouteAggregationRule(args: GetRouteAggregationRuleArgs, opts?: InvokeOptions): Promise<GetRouteAggregationRuleResult>
function getRouteAggregationRuleOutput(args: GetRouteAggregationRuleOutputArgs, opts?: InvokeOptions): Output<GetRouteAggregationRuleResult>def get_route_aggregation_rule(description: Optional[str] = None,
route_aggregation_id: Optional[str] = None,
route_aggregation_rule_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRouteAggregationRuleResult
def get_route_aggregation_rule_output(description: Optional[pulumi.Input[str]] = None,
route_aggregation_id: Optional[pulumi.Input[str]] = None,
route_aggregation_rule_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRouteAggregationRuleResult]func LookupRouteAggregationRule(ctx *Context, args *LookupRouteAggregationRuleArgs, opts ...InvokeOption) (*LookupRouteAggregationRuleResult, error)
func LookupRouteAggregationRuleOutput(ctx *Context, args *LookupRouteAggregationRuleOutputArgs, opts ...InvokeOption) LookupRouteAggregationRuleResultOutput> Note: This function is named LookupRouteAggregationRule in the Go SDK.
public static class GetRouteAggregationRule
{
public static Task<GetRouteAggregationRuleResult> InvokeAsync(GetRouteAggregationRuleArgs args, InvokeOptions? opts = null)
public static Output<GetRouteAggregationRuleResult> Invoke(GetRouteAggregationRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRouteAggregationRuleResult> getRouteAggregationRule(GetRouteAggregationRuleArgs args, InvokeOptions options)
public static Output<GetRouteAggregationRuleResult> getRouteAggregationRule(GetRouteAggregationRuleArgs args, InvokeOptions options)
fn::invoke:
function: equinix:fabric/getRouteAggregationRule:getRouteAggregationRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Route
Aggregation stringId - The uuid of the route aggregation this data source should retrieve
- Route
Aggregation stringRule Id - The uuid of the route aggregation rule this data source should retrieve
- Description string
- Customer-provided route aggregation rule description
- Route
Aggregation stringId - The uuid of the route aggregation this data source should retrieve
- Route
Aggregation stringRule Id - The uuid of the route aggregation rule this data source should retrieve
- Description string
- Customer-provided route aggregation rule description
- route
Aggregation StringId - The uuid of the route aggregation this data source should retrieve
- route
Aggregation StringRule Id - The uuid of the route aggregation rule this data source should retrieve
- description String
- Customer-provided route aggregation rule description
- route
Aggregation stringId - The uuid of the route aggregation this data source should retrieve
- route
Aggregation stringRule Id - The uuid of the route aggregation rule this data source should retrieve
- description string
- Customer-provided route aggregation rule description
- route_
aggregation_ strid - The uuid of the route aggregation this data source should retrieve
- route_
aggregation_ strrule_ id - The uuid of the route aggregation rule this data source should retrieve
- description str
- Customer-provided route aggregation rule description
- route
Aggregation StringId - The uuid of the route aggregation this data source should retrieve
- route
Aggregation StringRule Id - The uuid of the route aggregation rule this data source should retrieve
- description String
- Customer-provided route aggregation rule description
getRouteAggregationRule Result
The following output properties are available:
- Change
Get
Route Aggregation Rule Change - Current state of latest route aggregation rule change
- Change
Log GetRoute Aggregation Rule Change Log - Details of the last change on the stream resource
- Href string
- Equinix auto generated URI to the route aggregation rule resource
- Id string
- The unique identifier of the resource
- Name string
- Customer provided name of the route aggregation rule
- Prefix string
- Customer-provided route aggregation rule prefix
- Route
Aggregation stringId - The uuid of the route aggregation this data source should retrieve
- Route
Aggregation stringRule Id - The uuid of the route aggregation rule this data source should retrieve
- State string
- Value representing provisioning status for the route aggregation rule resource
- Type string
- Equinix defined Route Aggregation Type; BGPIPv4PREFIXAGGREGATION, BGPIPv6PREFIXAGGREGATION
- Uuid string
- Equinix-assigned unique id for the route aggregation rule resource
- Description string
- Customer-provided route aggregation rule description
- Change
Get
Route Aggregation Rule Change - Current state of latest route aggregation rule change
- Change
Log GetRoute Aggregation Rule Change Log - Details of the last change on the stream resource
- Href string
- Equinix auto generated URI to the route aggregation rule resource
- Id string
- The unique identifier of the resource
- Name string
- Customer provided name of the route aggregation rule
- Prefix string
- Customer-provided route aggregation rule prefix
- Route
Aggregation stringId - The uuid of the route aggregation this data source should retrieve
- Route
Aggregation stringRule Id - The uuid of the route aggregation rule this data source should retrieve
- State string
- Value representing provisioning status for the route aggregation rule resource
- Type string
- Equinix defined Route Aggregation Type; BGPIPv4PREFIXAGGREGATION, BGPIPv6PREFIXAGGREGATION
- Uuid string
- Equinix-assigned unique id for the route aggregation rule resource
- Description string
- Customer-provided route aggregation rule description
- change
Get
Route Aggregation Rule Change - Current state of latest route aggregation rule change
- change
Log GetRoute Aggregation Rule Change Log - Details of the last change on the stream resource
- href String
- Equinix auto generated URI to the route aggregation rule resource
- id String
- The unique identifier of the resource
- name String
- Customer provided name of the route aggregation rule
- prefix String
- Customer-provided route aggregation rule prefix
- route
Aggregation StringId - The uuid of the route aggregation this data source should retrieve
- route
Aggregation StringRule Id - The uuid of the route aggregation rule this data source should retrieve
- state String
- Value representing provisioning status for the route aggregation rule resource
- type String
- Equinix defined Route Aggregation Type; BGPIPv4PREFIXAGGREGATION, BGPIPv6PREFIXAGGREGATION
- uuid String
- Equinix-assigned unique id for the route aggregation rule resource
- description String
- Customer-provided route aggregation rule description
- change
Get
Route Aggregation Rule Change - Current state of latest route aggregation rule change
- change
Log GetRoute Aggregation Rule Change Log - Details of the last change on the stream resource
- href string
- Equinix auto generated URI to the route aggregation rule resource
- id string
- The unique identifier of the resource
- name string
- Customer provided name of the route aggregation rule
- prefix string
- Customer-provided route aggregation rule prefix
- route
Aggregation stringId - The uuid of the route aggregation this data source should retrieve
- route
Aggregation stringRule Id - The uuid of the route aggregation rule this data source should retrieve
- state string
- Value representing provisioning status for the route aggregation rule resource
- type string
- Equinix defined Route Aggregation Type; BGPIPv4PREFIXAGGREGATION, BGPIPv6PREFIXAGGREGATION
- uuid string
- Equinix-assigned unique id for the route aggregation rule resource
- description string
- Customer-provided route aggregation rule description
- change
Get
Route Aggregation Rule Change - Current state of latest route aggregation rule change
- change_
log GetRoute Aggregation Rule Change Log - Details of the last change on the stream resource
- href str
- Equinix auto generated URI to the route aggregation rule resource
- id str
- The unique identifier of the resource
- name str
- Customer provided name of the route aggregation rule
- prefix str
- Customer-provided route aggregation rule prefix
- route_
aggregation_ strid - The uuid of the route aggregation this data source should retrieve
- route_
aggregation_ strrule_ id - The uuid of the route aggregation rule this data source should retrieve
- state str
- Value representing provisioning status for the route aggregation rule resource
- type str
- Equinix defined Route Aggregation Type; BGPIPv4PREFIXAGGREGATION, BGPIPv6PREFIXAGGREGATION
- uuid str
- Equinix-assigned unique id for the route aggregation rule resource
- description str
- Customer-provided route aggregation rule description
- change Property Map
- Current state of latest route aggregation rule change
- change
Log Property Map - Details of the last change on the stream resource
- href String
- Equinix auto generated URI to the route aggregation rule resource
- id String
- The unique identifier of the resource
- name String
- Customer provided name of the route aggregation rule
- prefix String
- Customer-provided route aggregation rule prefix
- route
Aggregation StringId - The uuid of the route aggregation this data source should retrieve
- route
Aggregation StringRule Id - The uuid of the route aggregation rule this data source should retrieve
- state String
- Value representing provisioning status for the route aggregation rule resource
- type String
- Equinix defined Route Aggregation Type; BGPIPv4PREFIXAGGREGATION, BGPIPv6PREFIXAGGREGATION
- uuid String
- Equinix-assigned unique id for the route aggregation rule resource
- description String
- Customer-provided route aggregation rule description
Supporting Types
GetRouteAggregationRuleChange
GetRouteAggregationRuleChangeLog
- Created
By string - User name of creator of the stream resource
- Created
By stringEmail - Email of creator of the stream resource
- Created
By stringFull Name - Legal name of creator of the stream resource
- Created
Date stringTime - Creation time of the stream resource
- Deleted
By string - User name of deleter of the stream resource
- Deleted
By stringEmail - Email of deleter of the stream resource
- Deleted
By stringFull Name - Legal name of deleter of the stream resource
- Deleted
Date stringTime - Deletion time of the stream resource
- Updated
By string - User name of last updater of the stream resource
- Updated
By stringEmail - Email of last updater of the stream resource
- Updated
By stringFull Name - Legal name of last updater of the stream resource
- Updated
Date stringTime - Last update time of the stream resource
- Created
By string - User name of creator of the stream resource
- Created
By stringEmail - Email of creator of the stream resource
- Created
By stringFull Name - Legal name of creator of the stream resource
- Created
Date stringTime - Creation time of the stream resource
- Deleted
By string - User name of deleter of the stream resource
- Deleted
By stringEmail - Email of deleter of the stream resource
- Deleted
By stringFull Name - Legal name of deleter of the stream resource
- Deleted
Date stringTime - Deletion time of the stream resource
- Updated
By string - User name of last updater of the stream resource
- Updated
By stringEmail - Email of last updater of the stream resource
- Updated
By stringFull Name - Legal name of last updater of the stream resource
- Updated
Date stringTime - Last update time of the stream resource
- created
By String - User name of creator of the stream resource
- created
By StringEmail - Email of creator of the stream resource
- created
By StringFull Name - Legal name of creator of the stream resource
- created
Date StringTime - Creation time of the stream resource
- deleted
By String - User name of deleter of the stream resource
- deleted
By StringEmail - Email of deleter of the stream resource
- deleted
By StringFull Name - Legal name of deleter of the stream resource
- deleted
Date StringTime - Deletion time of the stream resource
- updated
By String - User name of last updater of the stream resource
- updated
By StringEmail - Email of last updater of the stream resource
- updated
By StringFull Name - Legal name of last updater of the stream resource
- updated
Date StringTime - Last update time of the stream resource
- created
By string - User name of creator of the stream resource
- created
By stringEmail - Email of creator of the stream resource
- created
By stringFull Name - Legal name of creator of the stream resource
- created
Date stringTime - Creation time of the stream resource
- deleted
By string - User name of deleter of the stream resource
- deleted
By stringEmail - Email of deleter of the stream resource
- deleted
By stringFull Name - Legal name of deleter of the stream resource
- deleted
Date stringTime - Deletion time of the stream resource
- updated
By string - User name of last updater of the stream resource
- updated
By stringEmail - Email of last updater of the stream resource
- updated
By stringFull Name - Legal name of last updater of the stream resource
- updated
Date stringTime - Last update time of the stream resource
- created_
by str - User name of creator of the stream resource
- created_
by_ stremail - Email of creator of the stream resource
- created_
by_ strfull_ name - Legal name of creator of the stream resource
- created_
date_ strtime - Creation time of the stream resource
- deleted_
by str - User name of deleter of the stream resource
- deleted_
by_ stremail - Email of deleter of the stream resource
- deleted_
by_ strfull_ name - Legal name of deleter of the stream resource
- deleted_
date_ strtime - Deletion time of the stream resource
- updated_
by str - User name of last updater of the stream resource
- updated_
by_ stremail - Email of last updater of the stream resource
- updated_
by_ strfull_ name - Legal name of last updater of the stream resource
- updated_
date_ strtime - Last update time of the stream resource
- created
By String - User name of creator of the stream resource
- created
By StringEmail - Email of creator of the stream resource
- created
By StringFull Name - Legal name of creator of the stream resource
- created
Date StringTime - Creation time of the stream resource
- deleted
By String - User name of deleter of the stream resource
- deleted
By StringEmail - Email of deleter of the stream resource
- deleted
By StringFull Name - Legal name of deleter of the stream resource
- deleted
Date StringTime - Deletion time of the stream resource
- updated
By String - User name of last updater of the stream resource
- updated
By StringEmail - Email of last updater of the stream resource
- updated
By StringFull Name - Legal name of last updater of the stream resource
- updated
Date StringTime - Last update time of the stream resource
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinixTerraform Provider.
