Equinix v0.8.0 published on Tuesday, Apr 2, 2024 by Equinix
equinix.fabric.getRoutingProtocol
Explore with Pulumi AI
Fabric V4 API compatible data resource that allow user to fetch routing protocol for a given UUID
API documentation can be found here - https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#routing-protocols
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const routingProtocolDataName = equinix.fabric.getRoutingProtocol({
connectionUuid: "<uuid_of_connection_routing_protocol_is_applied_to>",
uuid: "<uuid_of_routing_protocol>",
});
import pulumi
import pulumi_equinix as equinix
routing_protocol_data_name = equinix.fabric.get_routing_protocol(connection_uuid="<uuid_of_connection_routing_protocol_is_applied_to>",
uuid="<uuid_of_routing_protocol>")
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 {
_, err := fabric.LookupRoutingProtocol(ctx, &fabric.LookupRoutingProtocolArgs{
ConnectionUuid: "<uuid_of_connection_routing_protocol_is_applied_to>",
Uuid: "<uuid_of_routing_protocol>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var routingProtocolDataName = Equinix.Fabric.GetRoutingProtocol.Invoke(new()
{
ConnectionUuid = "<uuid_of_connection_routing_protocol_is_applied_to>",
Uuid = "<uuid_of_routing_protocol>",
});
});
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.GetRoutingProtocolArgs;
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 routingProtocolDataName = FabricFunctions.getRoutingProtocol(GetRoutingProtocolArgs.builder()
.connectionUuid("<uuid_of_connection_routing_protocol_is_applied_to>")
.uuid("<uuid_of_routing_protocol>")
.build());
}
}
variables:
routingProtocolDataName:
fn::invoke:
Function: equinix:fabric:getRoutingProtocol
Arguments:
connectionUuid: <uuid_of_connection_routing_protocol_is_applied_to>
uuid: <uuid_of_routing_protocol>
Using getRoutingProtocol
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 getRoutingProtocol(args: GetRoutingProtocolArgs, opts?: InvokeOptions): Promise<GetRoutingProtocolResult>
function getRoutingProtocolOutput(args: GetRoutingProtocolOutputArgs, opts?: InvokeOptions): Output<GetRoutingProtocolResult>
def get_routing_protocol(connection_uuid: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoutingProtocolResult
def get_routing_protocol_output(connection_uuid: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoutingProtocolResult]
func LookupRoutingProtocol(ctx *Context, args *LookupRoutingProtocolArgs, opts ...InvokeOption) (*LookupRoutingProtocolResult, error)
func LookupRoutingProtocolOutput(ctx *Context, args *LookupRoutingProtocolOutputArgs, opts ...InvokeOption) LookupRoutingProtocolResultOutput
> Note: This function is named LookupRoutingProtocol
in the Go SDK.
public static class GetRoutingProtocol
{
public static Task<GetRoutingProtocolResult> InvokeAsync(GetRoutingProtocolArgs args, InvokeOptions? opts = null)
public static Output<GetRoutingProtocolResult> Invoke(GetRoutingProtocolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRoutingProtocolResult> getRoutingProtocol(GetRoutingProtocolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: equinix:fabric/getRoutingProtocol:getRoutingProtocol
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Uuid string - Connection URI associated with Routing Protocol
- Uuid string
- Connection
Uuid string - Connection URI associated with Routing Protocol
- Uuid string
- connection
Uuid String - Connection URI associated with Routing Protocol
- uuid String
- connection
Uuid string - Connection URI associated with Routing Protocol
- uuid string
- connection_
uuid str - Connection URI associated with Routing Protocol
- uuid str
- connection
Uuid String - Connection URI associated with Routing Protocol
- uuid String
getRoutingProtocol Result
The following output properties are available:
- Bfd
Get
Routing Protocol Bfd - Bidirectional Forwarding Detection
- Bgp
Auth stringKey - BGP authorization key
- Bgp
Ipv4 GetRouting Protocol Bgp Ipv4 - Routing Protocol BGP IPv4
- Bgp
Ipv6 GetRouting Protocol Bgp Ipv6 - Routing Protocol BGP IPv6
- Change
Logs List<GetRouting Protocol Change Log> - Captures Routing Protocol lifecycle change information
- Changes
List<Get
Routing Protocol Change> - Routing Protocol configuration Changes
- Connection
Uuid string - Connection URI associated with Routing Protocol
- Customer
Asn int - Customer-provided ASN
- Description string
- Customer-provided Fabric Routing Protocol description
- Direct
Ipv4 GetRouting Protocol Direct Ipv4 - Routing Protocol Direct IPv4
- Direct
Ipv6 GetRouting Protocol Direct Ipv6 - Routing Protocol Direct IPv6
- Equinix
Asn int - Equinix ASN
- Href string
- Routing Protocol URI information
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- Operations
List<Get
Routing Protocol Operation> - Routing Protocol type-specific operational data
- State string
- Routing Protocol overall state
- Type string
- Defines the routing protocol type like BGP or DIRECT
- Uuid string
- Equinix-assigned routing protocol identifier
- Bfd
Get
Routing Protocol Bfd - Bidirectional Forwarding Detection
- Bgp
Auth stringKey - BGP authorization key
- Bgp
Ipv4 GetRouting Protocol Bgp Ipv4 - Routing Protocol BGP IPv4
- Bgp
Ipv6 GetRouting Protocol Bgp Ipv6 - Routing Protocol BGP IPv6
- Change
Logs []GetRouting Protocol Change Log - Captures Routing Protocol lifecycle change information
- Changes
[]Get
Routing Protocol Change - Routing Protocol configuration Changes
- Connection
Uuid string - Connection URI associated with Routing Protocol
- Customer
Asn int - Customer-provided ASN
- Description string
- Customer-provided Fabric Routing Protocol description
- Direct
Ipv4 GetRouting Protocol Direct Ipv4 - Routing Protocol Direct IPv4
- Direct
Ipv6 GetRouting Protocol Direct Ipv6 - Routing Protocol Direct IPv6
- Equinix
Asn int - Equinix ASN
- Href string
- Routing Protocol URI information
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- Operations
[]Get
Routing Protocol Operation - Routing Protocol type-specific operational data
- State string
- Routing Protocol overall state
- Type string
- Defines the routing protocol type like BGP or DIRECT
- Uuid string
- Equinix-assigned routing protocol identifier
- bfd
Get
Routing Protocol Bfd - Bidirectional Forwarding Detection
- bgp
Auth StringKey - BGP authorization key
- bgp
Ipv4 GetRouting Protocol Bgp Ipv4 - Routing Protocol BGP IPv4
- bgp
Ipv6 GetRouting Protocol Bgp Ipv6 - Routing Protocol BGP IPv6
- change
Logs List<GetRouting Protocol Change Log> - Captures Routing Protocol lifecycle change information
- changes
List<Get
Routing Protocol Change> - Routing Protocol configuration Changes
- connection
Uuid String - Connection URI associated with Routing Protocol
- customer
Asn Integer - Customer-provided ASN
- description String
- Customer-provided Fabric Routing Protocol description
- direct
Ipv4 GetRouting Protocol Direct Ipv4 - Routing Protocol Direct IPv4
- direct
Ipv6 GetRouting Protocol Direct Ipv6 - Routing Protocol Direct IPv6
- equinix
Asn Integer - Equinix ASN
- href String
- Routing Protocol URI information
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- operations
List<Get
Routing Protocol Operation> - Routing Protocol type-specific operational data
- state String
- Routing Protocol overall state
- type String
- Defines the routing protocol type like BGP or DIRECT
- uuid String
- Equinix-assigned routing protocol identifier
- bfd
Get
Routing Protocol Bfd - Bidirectional Forwarding Detection
- bgp
Auth stringKey - BGP authorization key
- bgp
Ipv4 GetRouting Protocol Bgp Ipv4 - Routing Protocol BGP IPv4
- bgp
Ipv6 GetRouting Protocol Bgp Ipv6 - Routing Protocol BGP IPv6
- change
Logs GetRouting Protocol Change Log[] - Captures Routing Protocol lifecycle change information
- changes
Get
Routing Protocol Change[] - Routing Protocol configuration Changes
- connection
Uuid string - Connection URI associated with Routing Protocol
- customer
Asn number - Customer-provided ASN
- description string
- Customer-provided Fabric Routing Protocol description
- direct
Ipv4 GetRouting Protocol Direct Ipv4 - Routing Protocol Direct IPv4
- direct
Ipv6 GetRouting Protocol Direct Ipv6 - Routing Protocol Direct IPv6
- equinix
Asn number - Equinix ASN
- href string
- Routing Protocol URI information
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- operations
Get
Routing Protocol Operation[] - Routing Protocol type-specific operational data
- state string
- Routing Protocol overall state
- type string
- Defines the routing protocol type like BGP or DIRECT
- uuid string
- Equinix-assigned routing protocol identifier
- bfd
Get
Routing Protocol Bfd - Bidirectional Forwarding Detection
- bgp_
auth_ strkey - BGP authorization key
- bgp_
ipv4 GetRouting Protocol Bgp Ipv4 - Routing Protocol BGP IPv4
- bgp_
ipv6 GetRouting Protocol Bgp Ipv6 - Routing Protocol BGP IPv6
- change_
logs Sequence[GetRouting Protocol Change Log] - Captures Routing Protocol lifecycle change information
- changes
Sequence[Get
Routing Protocol Change] - Routing Protocol configuration Changes
- connection_
uuid str - Connection URI associated with Routing Protocol
- customer_
asn int - Customer-provided ASN
- description str
- Customer-provided Fabric Routing Protocol description
- direct_
ipv4 GetRouting Protocol Direct Ipv4 - Routing Protocol Direct IPv4
- direct_
ipv6 GetRouting Protocol Direct Ipv6 - Routing Protocol Direct IPv6
- equinix_
asn int - Equinix ASN
- href str
- Routing Protocol URI information
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- operations
Sequence[Get
Routing Protocol Operation] - Routing Protocol type-specific operational data
- state str
- Routing Protocol overall state
- type str
- Defines the routing protocol type like BGP or DIRECT
- uuid str
- Equinix-assigned routing protocol identifier
- bfd Property Map
- Bidirectional Forwarding Detection
- bgp
Auth StringKey - BGP authorization key
- bgp
Ipv4 Property Map - Routing Protocol BGP IPv4
- bgp
Ipv6 Property Map - Routing Protocol BGP IPv6
- change
Logs List<Property Map> - Captures Routing Protocol lifecycle change information
- changes List<Property Map>
- Routing Protocol configuration Changes
- connection
Uuid String - Connection URI associated with Routing Protocol
- customer
Asn Number - Customer-provided ASN
- description String
- Customer-provided Fabric Routing Protocol description
- direct
Ipv4 Property Map - Routing Protocol Direct IPv4
- direct
Ipv6 Property Map - Routing Protocol Direct IPv6
- equinix
Asn Number - Equinix ASN
- href String
- Routing Protocol URI information
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores
- operations List<Property Map>
- Routing Protocol type-specific operational data
- state String
- Routing Protocol overall state
- type String
- Defines the routing protocol type like BGP or DIRECT
- uuid String
- Equinix-assigned routing protocol identifier
Supporting Types
GetRoutingProtocolBfd
GetRoutingProtocolBgpIpv4
- Customer
Peer stringIp - Customer side peering ip
- Equinix
Peer stringIp - Equinix side peering ip
- Enabled bool
- Admin status for the BGP session
- Customer
Peer stringIp - Customer side peering ip
- Equinix
Peer stringIp - Equinix side peering ip
- Enabled bool
- Admin status for the BGP session
- customer
Peer StringIp - Customer side peering ip
- equinix
Peer StringIp - Equinix side peering ip
- enabled Boolean
- Admin status for the BGP session
- customer
Peer stringIp - Customer side peering ip
- equinix
Peer stringIp - Equinix side peering ip
- enabled boolean
- Admin status for the BGP session
- customer_
peer_ strip - Customer side peering ip
- equinix_
peer_ strip - Equinix side peering ip
- enabled bool
- Admin status for the BGP session
- customer
Peer StringIp - Customer side peering ip
- equinix
Peer StringIp - Equinix side peering ip
- enabled Boolean
- Admin status for the BGP session
GetRoutingProtocolBgpIpv6
- Customer
Peer stringIp - Customer side peering ip
- Equinix
Peer stringIp - Equinix side peering ip
- Enabled bool
- Admin status for the BGP session
- Customer
Peer stringIp - Customer side peering ip
- Equinix
Peer stringIp - Equinix side peering ip
- Enabled bool
- Admin status for the BGP session
- customer
Peer StringIp - Customer side peering ip
- equinix
Peer StringIp - Equinix side peering ip
- enabled Boolean
- Admin status for the BGP session
- customer
Peer stringIp - Customer side peering ip
- equinix
Peer stringIp - Equinix side peering ip
- enabled boolean
- Admin status for the BGP session
- customer_
peer_ strip - Customer side peering ip
- equinix_
peer_ strip - Equinix side peering ip
- enabled bool
- Admin status for the BGP session
- customer
Peer StringIp - Customer side peering ip
- equinix
Peer StringIp - Equinix side peering ip
- enabled Boolean
- Admin status for the BGP session
GetRoutingProtocolChange
GetRoutingProtocolChangeLog
- Created
By string - Created by User Key
- Created
By stringEmail - Created by User Email Address
- Created
By stringFull Name - Created by User Full Name
- Created
Date stringTime - Created by Date and Time
- Deleted
By string - Deleted by User Key
- Deleted
By stringEmail - Deleted by User Email Address
- Deleted
By stringFull Name - Deleted by User Full Name
- Deleted
Date stringTime - Deleted by Date and Time
- Updated
By string - Updated by User Key
- Updated
By stringEmail - Updated by User Email Address
- Updated
By stringFull Name - Updated by User Full Name
- Updated
Date stringTime - Updated by Date and Time
- Created
By string - Created by User Key
- Created
By stringEmail - Created by User Email Address
- Created
By stringFull Name - Created by User Full Name
- Created
Date stringTime - Created by Date and Time
- Deleted
By string - Deleted by User Key
- Deleted
By stringEmail - Deleted by User Email Address
- Deleted
By stringFull Name - Deleted by User Full Name
- Deleted
Date stringTime - Deleted by Date and Time
- Updated
By string - Updated by User Key
- Updated
By stringEmail - Updated by User Email Address
- Updated
By stringFull Name - Updated by User Full Name
- Updated
Date stringTime - Updated by Date and Time
- created
By String - Created by User Key
- created
By StringEmail - Created by User Email Address
- created
By StringFull Name - Created by User Full Name
- created
Date StringTime - Created by Date and Time
- deleted
By String - Deleted by User Key
- deleted
By StringEmail - Deleted by User Email Address
- deleted
By StringFull Name - Deleted by User Full Name
- deleted
Date StringTime - Deleted by Date and Time
- updated
By String - Updated by User Key
- updated
By StringEmail - Updated by User Email Address
- updated
By StringFull Name - Updated by User Full Name
- updated
Date StringTime - Updated by Date and Time
- created
By string - Created by User Key
- created
By stringEmail - Created by User Email Address
- created
By stringFull Name - Created by User Full Name
- created
Date stringTime - Created by Date and Time
- deleted
By string - Deleted by User Key
- deleted
By stringEmail - Deleted by User Email Address
- deleted
By stringFull Name - Deleted by User Full Name
- deleted
Date stringTime - Deleted by Date and Time
- updated
By string - Updated by User Key
- updated
By stringEmail - Updated by User Email Address
- updated
By stringFull Name - Updated by User Full Name
- updated
Date stringTime - Updated by Date and Time
- created_
by str - Created by User Key
- created_
by_ stremail - Created by User Email Address
- created_
by_ strfull_ name - Created by User Full Name
- created_
date_ strtime - Created by Date and Time
- deleted_
by str - Deleted by User Key
- deleted_
by_ stremail - Deleted by User Email Address
- deleted_
by_ strfull_ name - Deleted by User Full Name
- deleted_
date_ strtime - Deleted by Date and Time
- updated_
by str - Updated by User Key
- updated_
by_ stremail - Updated by User Email Address
- updated_
by_ strfull_ name - Updated by User Full Name
- updated_
date_ strtime - Updated by Date and Time
- created
By String - Created by User Key
- created
By StringEmail - Created by User Email Address
- created
By StringFull Name - Created by User Full Name
- created
Date StringTime - Created by Date and Time
- deleted
By String - Deleted by User Key
- deleted
By StringEmail - Deleted by User Email Address
- deleted
By StringFull Name - Deleted by User Full Name
- deleted
Date StringTime - Deleted by Date and Time
- updated
By String - Updated by User Key
- updated
By StringEmail - Updated by User Email Address
- updated
By StringFull Name - Updated by User Full Name
- updated
Date StringTime - Updated by Date and Time
GetRoutingProtocolDirectIpv4
- Equinix
Iface stringIp - Equinix side Interface IP address
- Equinix
Iface stringIp - Equinix side Interface IP address
- equinix
Iface StringIp - Equinix side Interface IP address
- equinix
Iface stringIp - Equinix side Interface IP address
- equinix_
iface_ strip - Equinix side Interface IP address
- equinix
Iface StringIp - Equinix side Interface IP address
GetRoutingProtocolDirectIpv6
- Equinix
Iface stringIp - Equinix side Interface IP address
- Equinix
Iface stringIp - Equinix side Interface IP address
- equinix
Iface StringIp - Equinix side Interface IP address
- equinix
Iface stringIp - Equinix side Interface IP address
- equinix_
iface_ strip - Equinix side Interface IP address
- equinix
Iface StringIp - Equinix side Interface IP address
GetRoutingProtocolOperation
- Errors
List<Get
Routing Protocol Operation Error> - Errors occurred
- Errors
[]Get
Routing Protocol Operation Error - Errors occurred
- errors
List<Get
Routing Protocol Operation Error> - Errors occurred
- errors
Get
Routing Protocol Operation Error[] - Errors occurred
- errors
Sequence[Get
Routing Protocol Operation Error] - Errors occurred
- errors List<Property Map>
- Errors occurred
GetRoutingProtocolOperationError
- Additional
Infos List<GetRouting Protocol Operation Error Additional Info> - Pricing error additional Info
- Correlation
Id string - CorrelationId
- Details string
- Details
- Error
Code string - Error code
- Error
Message string - Error Message
- Help string
- Help
- Additional
Infos []GetRouting Protocol Operation Error Additional Info - Pricing error additional Info
- Correlation
Id string - CorrelationId
- Details string
- Details
- Error
Code string - Error code
- Error
Message string - Error Message
- Help string
- Help
- additional
Infos List<GetRouting Protocol Operation Error Additional Info> - Pricing error additional Info
- correlation
Id String - CorrelationId
- details String
- Details
- error
Code String - Error code
- error
Message String - Error Message
- help String
- Help
- additional
Infos GetRouting Protocol Operation Error Additional Info[] - Pricing error additional Info
- correlation
Id string - CorrelationId
- details string
- Details
- error
Code string - Error code
- error
Message string - Error Message
- help string
- Help
- additional_
infos Sequence[GetRouting Protocol Operation Error Additional Info] - Pricing error additional Info
- correlation_
id str - CorrelationId
- details str
- Details
- error_
code str - Error code
- error_
message str - Error Message
- help str
- Help
- additional
Infos List<Property Map> - Pricing error additional Info
- correlation
Id String - CorrelationId
- details String
- Details
- error
Code String - Error code
- error
Message String - Error Message
- help String
- Help
GetRoutingProtocolOperationErrorAdditionalInfo
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinix
Terraform Provider.