equinix.fabric.ConnectionRouteAggregation
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@equinix-labs/pulumi-equinix";
const policyAttachment = new equinix.fabric.ConnectionRouteAggregation("policyAttachment", {
routeAggregationId: "<route_aggregation_id>",
connectionId: "<connection_id>",
});
export const connectionRouteAggregationId = policyAttachment.id;
export const connectionRouteAggregationConnectionId = policyAttachment.connectionId;
export const connectionRouteAggregationType = policyAttachment.type;
export const connectionRouteAggregationAttachmentStatus = policyAttachment.attachmentStatus;
import pulumi
import pulumi_equinix as equinix
policy_attachment = equinix.fabric.ConnectionRouteAggregation("policyAttachment",
route_aggregation_id="<route_aggregation_id>",
connection_id="<connection_id>")
pulumi.export("connectionRouteAggregationId", policy_attachment.id)
pulumi.export("connectionRouteAggregationConnectionId", policy_attachment.connection_id)
pulumi.export("connectionRouteAggregationType", policy_attachment.type)
pulumi.export("connectionRouteAggregationAttachmentStatus", policy_attachment.attachment_status)
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 {
policyAttachment, err := fabric.NewConnectionRouteAggregation(ctx, "policyAttachment", &fabric.ConnectionRouteAggregationArgs{
RouteAggregationId: pulumi.String("<route_aggregation_id>"),
ConnectionId: pulumi.String("<connection_id>"),
})
if err != nil {
return err
}
ctx.Export("connectionRouteAggregationId", policyAttachment.ID())
ctx.Export("connectionRouteAggregationConnectionId", policyAttachment.ConnectionId)
ctx.Export("connectionRouteAggregationType", policyAttachment.Type)
ctx.Export("connectionRouteAggregationAttachmentStatus", policyAttachment.AttachmentStatus)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var policyAttachment = new Equinix.Fabric.ConnectionRouteAggregation("policyAttachment", new()
{
RouteAggregationId = "<route_aggregation_id>",
ConnectionId = "<connection_id>",
});
return new Dictionary<string, object?>
{
["connectionRouteAggregationId"] = policyAttachment.Id,
["connectionRouteAggregationConnectionId"] = policyAttachment.ConnectionId,
["connectionRouteAggregationType"] = policyAttachment.Type,
["connectionRouteAggregationAttachmentStatus"] = policyAttachment.AttachmentStatus,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.fabric.ConnectionRouteAggregation;
import com.pulumi.equinix.fabric.ConnectionRouteAggregationArgs;
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) {
var policyAttachment = new ConnectionRouteAggregation("policyAttachment", ConnectionRouteAggregationArgs.builder()
.routeAggregationId("<route_aggregation_id>")
.connectionId("<connection_id>")
.build());
ctx.export("connectionRouteAggregationId", policyAttachment.id());
ctx.export("connectionRouteAggregationConnectionId", policyAttachment.connectionId());
ctx.export("connectionRouteAggregationType", policyAttachment.type());
ctx.export("connectionRouteAggregationAttachmentStatus", policyAttachment.attachmentStatus());
}
}
resources:
policyAttachment:
type: equinix:fabric:ConnectionRouteAggregation
properties:
routeAggregationId: <route_aggregation_id>
connectionId: <connection_id>
outputs:
connectionRouteAggregationId: ${policyAttachment.id}
connectionRouteAggregationConnectionId: ${policyAttachment.connectionId}
connectionRouteAggregationType: ${policyAttachment.type}
connectionRouteAggregationAttachmentStatus: ${policyAttachment.attachmentStatus}
Create ConnectionRouteAggregation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectionRouteAggregation(name: string, args: ConnectionRouteAggregationArgs, opts?: CustomResourceOptions);
@overload
def ConnectionRouteAggregation(resource_name: str,
args: ConnectionRouteAggregationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectionRouteAggregation(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_id: Optional[str] = None,
route_aggregation_id: Optional[str] = None,
timeouts: Optional[ConnectionRouteAggregationTimeoutsArgs] = None)
func NewConnectionRouteAggregation(ctx *Context, name string, args ConnectionRouteAggregationArgs, opts ...ResourceOption) (*ConnectionRouteAggregation, error)
public ConnectionRouteAggregation(string name, ConnectionRouteAggregationArgs args, CustomResourceOptions? opts = null)
public ConnectionRouteAggregation(String name, ConnectionRouteAggregationArgs args)
public ConnectionRouteAggregation(String name, ConnectionRouteAggregationArgs args, CustomResourceOptions options)
type: equinix:fabric:ConnectionRouteAggregation
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 ConnectionRouteAggregationArgs
- 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 ConnectionRouteAggregationArgs
- 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 ConnectionRouteAggregationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionRouteAggregationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionRouteAggregationArgs
- 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 connectionRouteAggregationResource = new Equinix.Fabric.ConnectionRouteAggregation("connectionRouteAggregationResource", new()
{
ConnectionId = "string",
RouteAggregationId = "string",
Timeouts = new Equinix.Fabric.Inputs.ConnectionRouteAggregationTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := fabric.NewConnectionRouteAggregation(ctx, "connectionRouteAggregationResource", &fabric.ConnectionRouteAggregationArgs{
ConnectionId: pulumi.String("string"),
RouteAggregationId: pulumi.String("string"),
Timeouts: &fabric.ConnectionRouteAggregationTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var connectionRouteAggregationResource = new ConnectionRouteAggregation("connectionRouteAggregationResource", ConnectionRouteAggregationArgs.builder()
.connectionId("string")
.routeAggregationId("string")
.timeouts(ConnectionRouteAggregationTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
connection_route_aggregation_resource = equinix.fabric.ConnectionRouteAggregation("connectionRouteAggregationResource",
connection_id="string",
route_aggregation_id="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const connectionRouteAggregationResource = new equinix.fabric.ConnectionRouteAggregation("connectionRouteAggregationResource", {
connectionId: "string",
routeAggregationId: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: equinix:fabric:ConnectionRouteAggregation
properties:
connectionId: string
routeAggregationId: string
timeouts:
create: string
delete: string
read: string
update: string
ConnectionRouteAggregation 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 ConnectionRouteAggregation resource accepts the following input properties:
- Connection
Id string - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- Route
Aggregation stringId - UUID of the Route Aggregation to apply this Rule to
- Timeouts
Connection
Route Aggregation Timeouts
- Connection
Id string - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- Route
Aggregation stringId - UUID of the Route Aggregation to apply this Rule to
- Timeouts
Connection
Route Aggregation Timeouts Args
- connection
Id String - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- route
Aggregation StringId - UUID of the Route Aggregation to apply this Rule to
- timeouts
Connection
Route Aggregation Timeouts
- connection
Id string - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- route
Aggregation stringId - UUID of the Route Aggregation to apply this Rule to
- timeouts
Connection
Route Aggregation Timeouts
- connection_
id str - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- route_
aggregation_ strid - UUID of the Route Aggregation to apply this Rule to
- timeouts
Connection
Route Aggregation Timeouts Args
- connection
Id String - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- route
Aggregation StringId - UUID of the Route Aggregation to apply this Rule to
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectionRouteAggregation resource produces the following output properties:
- Attachment
Status string - Status of the Route Aggregation Policy attachment lifecycle
- Href string
- URI to the attached Route Aggregation Policy on the Connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- Uuid string
- Equinix Assigned ID for Route Aggregation Policy
- Attachment
Status string - Status of the Route Aggregation Policy attachment lifecycle
- Href string
- URI to the attached Route Aggregation Policy on the Connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- Uuid string
- Equinix Assigned ID for Route Aggregation Policy
- attachment
Status String - Status of the Route Aggregation Policy attachment lifecycle
- href String
- URI to the attached Route Aggregation Policy on the Connection
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid String
- Equinix Assigned ID for Route Aggregation Policy
- attachment
Status string - Status of the Route Aggregation Policy attachment lifecycle
- href string
- URI to the attached Route Aggregation Policy on the Connection
- id string
- The provider-assigned unique ID for this managed resource.
- type string
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid string
- Equinix Assigned ID for Route Aggregation Policy
- attachment_
status str - Status of the Route Aggregation Policy attachment lifecycle
- href str
- URI to the attached Route Aggregation Policy on the Connection
- id str
- The provider-assigned unique ID for this managed resource.
- type str
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid str
- Equinix Assigned ID for Route Aggregation Policy
- attachment
Status String - Status of the Route Aggregation Policy attachment lifecycle
- href String
- URI to the attached Route Aggregation Policy on the Connection
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid String
- Equinix Assigned ID for Route Aggregation Policy
Look up Existing ConnectionRouteAggregation Resource
Get an existing ConnectionRouteAggregation 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?: ConnectionRouteAggregationState, opts?: CustomResourceOptions): ConnectionRouteAggregation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attachment_status: Optional[str] = None,
connection_id: Optional[str] = None,
href: Optional[str] = None,
route_aggregation_id: Optional[str] = None,
timeouts: Optional[ConnectionRouteAggregationTimeoutsArgs] = None,
type: Optional[str] = None,
uuid: Optional[str] = None) -> ConnectionRouteAggregation
func GetConnectionRouteAggregation(ctx *Context, name string, id IDInput, state *ConnectionRouteAggregationState, opts ...ResourceOption) (*ConnectionRouteAggregation, error)
public static ConnectionRouteAggregation Get(string name, Input<string> id, ConnectionRouteAggregationState? state, CustomResourceOptions? opts = null)
public static ConnectionRouteAggregation get(String name, Output<String> id, ConnectionRouteAggregationState state, CustomResourceOptions options)
resources: _: type: equinix:fabric:ConnectionRouteAggregation 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.
- Attachment
Status string - Status of the Route Aggregation Policy attachment lifecycle
- Connection
Id string - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- Href string
- URI to the attached Route Aggregation Policy on the Connection
- Route
Aggregation stringId - UUID of the Route Aggregation to apply this Rule to
- Timeouts
Connection
Route Aggregation Timeouts - Type string
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- Uuid string
- Equinix Assigned ID for Route Aggregation Policy
- Attachment
Status string - Status of the Route Aggregation Policy attachment lifecycle
- Connection
Id string - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- Href string
- URI to the attached Route Aggregation Policy on the Connection
- Route
Aggregation stringId - UUID of the Route Aggregation to apply this Rule to
- Timeouts
Connection
Route Aggregation Timeouts Args - Type string
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- Uuid string
- Equinix Assigned ID for Route Aggregation Policy
- attachment
Status String - Status of the Route Aggregation Policy attachment lifecycle
- connection
Id String - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- href String
- URI to the attached Route Aggregation Policy on the Connection
- route
Aggregation StringId - UUID of the Route Aggregation to apply this Rule to
- timeouts
Connection
Route Aggregation Timeouts - type String
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid String
- Equinix Assigned ID for Route Aggregation Policy
- attachment
Status string - Status of the Route Aggregation Policy attachment lifecycle
- connection
Id string - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- href string
- URI to the attached Route Aggregation Policy on the Connection
- route
Aggregation stringId - UUID of the Route Aggregation to apply this Rule to
- timeouts
Connection
Route Aggregation Timeouts - type string
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid string
- Equinix Assigned ID for Route Aggregation Policy
- attachment_
status str - Status of the Route Aggregation Policy attachment lifecycle
- connection_
id str - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- href str
- URI to the attached Route Aggregation Policy on the Connection
- route_
aggregation_ strid - UUID of the Route Aggregation to apply this Rule to
- timeouts
Connection
Route Aggregation Timeouts Args - type str
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid str
- Equinix Assigned ID for Route Aggregation Policy
- attachment
Status String - Status of the Route Aggregation Policy attachment lifecycle
- connection
Id String - Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to
- href String
- URI to the attached Route Aggregation Policy on the Connection
- route
Aggregation StringId - UUID of the Route Aggregation to apply this Rule to
- timeouts Property Map
- type String
- Route Aggregation Type. One of ["BGPIPv4PREFIX_AGGREGATION"]
- uuid String
- Equinix Assigned ID for Route Aggregation Policy
Supporting Types
ConnectionRouteAggregationTimeouts, ConnectionRouteAggregationTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinix
Terraform Provider.