UNPKG

@equinix-labs/pulumi-equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

115 lines (114 loc) 4.62 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * 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; * ``` */ export declare class ConnectionRouteAggregation extends pulumi.CustomResource { /** * Get an existing ConnectionRouteAggregation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionRouteAggregationState, opts?: pulumi.CustomResourceOptions): ConnectionRouteAggregation; /** * Returns true if the given object is an instance of ConnectionRouteAggregation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ConnectionRouteAggregation; /** * Status of the Route Aggregation Policy attachment lifecycle */ readonly attachmentStatus: pulumi.Output<string>; /** * Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to */ readonly connectionId: pulumi.Output<string>; /** * URI to the attached Route Aggregation Policy on the Connection */ readonly href: pulumi.Output<string>; /** * UUID of the Route Aggregation to apply this Rule to */ readonly routeAggregationId: pulumi.Output<string>; readonly timeouts: pulumi.Output<outputs.fabric.ConnectionRouteAggregationTimeouts | undefined>; /** * Route Aggregation Type. One of ["BGP*IPv4*PREFIX_AGGREGATION"] */ readonly type: pulumi.Output<string>; /** * Equinix Assigned ID for Route Aggregation Policy */ readonly uuid: pulumi.Output<string>; /** * Create a ConnectionRouteAggregation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConnectionRouteAggregationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectionRouteAggregation resources. */ export interface ConnectionRouteAggregationState { /** * Status of the Route Aggregation Policy attachment lifecycle */ attachmentStatus?: pulumi.Input<string>; /** * Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to */ connectionId?: pulumi.Input<string>; /** * URI to the attached Route Aggregation Policy on the Connection */ href?: pulumi.Input<string>; /** * UUID of the Route Aggregation to apply this Rule to */ routeAggregationId?: pulumi.Input<string>; timeouts?: pulumi.Input<inputs.fabric.ConnectionRouteAggregationTimeouts>; /** * Route Aggregation Type. One of ["BGP*IPv4*PREFIX_AGGREGATION"] */ type?: pulumi.Input<string>; /** * Equinix Assigned ID for Route Aggregation Policy */ uuid?: pulumi.Input<string>; } /** * The set of arguments for constructing a ConnectionRouteAggregation resource. */ export interface ConnectionRouteAggregationArgs { /** * Equinix Assigned UUID of the Equinix Connection to attach the Route Aggregation Policy to */ connectionId: pulumi.Input<string>; /** * UUID of the Route Aggregation to apply this Rule to */ routeAggregationId: pulumi.Input<string>; timeouts?: pulumi.Input<inputs.fabric.ConnectionRouteAggregationTimeouts>; }