Viewing docs for Equinix v0.33.1
published on Thursday, Oct 1, 2026 by Equinix
published on Thursday, Oct 1, 2026 by Equinix
EquinixViewing docs for Equinix v0.33.1
published on Thursday, Oct 1, 2026 by Equinix
published on Thursday, Oct 1, 2026 by Equinix
Use this data source to get Equinix Network Edge device type details. For further details, check supported Network Edge Vendors and Devices.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@equinix-labs/pulumi-equinix";
// Retrieve device type details of a Cisco router
// Device type has to be available in DC and SV metros
const ciscoRouter = equinix.networkedge.getDeviceType({
category: "Router",
vendor: "Cisco",
metroCodes: [
"DC",
"SV",
],
});
import pulumi
import pulumi_equinix as equinix
# Retrieve device type details of a Cisco router
# Device type has to be available in DC and SV metros
cisco_router = equinix.networkedge.get_device_type(category="Router",
vendor="Cisco",
metro_codes=[
"DC",
"SV",
])
package main
import (
"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Retrieve device type details of a Cisco router
// Device type has to be available in DC and SV metros
_, err := networkedge.GetDeviceType(ctx, &networkedge.GetDeviceTypeArgs{
Category: pulumi.StringRef("Router"),
Vendor: pulumi.StringRef("Cisco"),
MetroCodes: []string{
"DC",
"SV",
},
}, 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(() =>
{
// Retrieve device type details of a Cisco router
// Device type has to be available in DC and SV metros
var ciscoRouter = Equinix.NetworkEdge.GetDeviceType.Invoke(new()
{
Category = "Router",
Vendor = "Cisco",
MetroCodes = new[]
{
"DC",
"SV",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.networkedge.NetworkedgeFunctions;
import com.pulumi.equinix.networkedge.inputs.GetDeviceTypeArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// Retrieve device type details of a Cisco router
// Device type has to be available in DC and SV metros
final var ciscoRouter = NetworkedgeFunctions.getDeviceType(GetDeviceTypeArgs.builder()
.category("Router")
.vendor("Cisco")
.metroCodes(
"DC",
"SV")
.build());
}
}
variables:
# Retrieve device type details of a Cisco router
# Device type has to be available in DC and SV metros
ciscoRouter:
fn::invoke:
function: equinix:networkedge:getDeviceType
arguments:
category: Router
vendor: Cisco
metroCodes:
- DC
- SV
pulumi {
required_providers {
equinix = {
source = "pulumi/equinix"
}
}
}
data "equinix_networkedge_getdevicetype" "ciscoRouter" {
category = "Router"
vendor = "Cisco"
metro_codes = ["DC", "SV"]
}
# Retrieve device type details of a Cisco router
# Device type has to be available in DC and SV metros
Using getDeviceType
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 getDeviceType(args: GetDeviceTypeArgs, opts?: InvokeOptions): Promise<GetDeviceTypeResult>
function getDeviceTypeOutput(args: GetDeviceTypeOutputArgs, opts?: InvokeOutputOptions): Output<GetDeviceTypeResult>def get_device_type(category: Optional[str] = None,
metro_codes: Optional[Sequence[str]] = None,
name: Optional[str] = None,
vendor: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceTypeResult
def get_device_type_output(category: pulumi.Input[Optional[str]] = None,
metro_codes: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
name: pulumi.Input[Optional[str]] = None,
vendor: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeviceTypeResult]func GetDeviceType(ctx *Context, args *GetDeviceTypeArgs, opts ...InvokeOption) (*GetDeviceTypeResult, error)
func GetDeviceTypeOutput(ctx *Context, args *GetDeviceTypeOutputArgs, opts ...InvokeOption) GetDeviceTypeResultOutput> Note: This function is named GetDeviceType in the Go SDK.
public static class GetDeviceType
{
public static Task<GetDeviceTypeResult> InvokeAsync(GetDeviceTypeArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceTypeResult> Invoke(GetDeviceTypeInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceTypeResult> Invoke(GetDeviceTypeInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDeviceTypeResult> getDeviceType(GetDeviceTypeArgs args, InvokeOptions options)
public static Output<GetDeviceTypeResult> getDeviceType(GetDeviceTypeArgs args, InvokeOptions options)
public static Output<GetDeviceTypeResult> getDeviceType(GetDeviceTypeArgs args, InvokeOutputOptions options)
fn::invoke:
function: equinix:networkedge/getDeviceType:getDeviceType
arguments:
# arguments dictionarydata "equinix_networkedge_get_device_type" "name" {
# arguments
}The following arguments are supported:
- Category string
- Device type category. One of:
Router,Firewall,SDWAN. - Metro
Codes List<string> - List of metro codes where device type has to be available
- Name string
- Device type name.
- Vendor string
- Device type vendor i.e.
Cisco,Juniper Networks,VERSA Networks.
- Category string
- Device type category. One of:
Router,Firewall,SDWAN. - Metro
Codes []string - List of metro codes where device type has to be available
- Name string
- Device type name.
- Vendor string
- Device type vendor i.e.
Cisco,Juniper Networks,VERSA Networks.
- category string
- Device type category. One of:
Router,Firewall,SDWAN. - metro_
codes list(string) - List of metro codes where device type has to be available
- name string
- Device type name.
- vendor string
- Device type vendor i.e.
Cisco,Juniper Networks,VERSA Networks.
- category String
- Device type category. One of:
Router,Firewall,SDWAN. - metro
Codes List<String> - List of metro codes where device type has to be available
- name String
- Device type name.
- vendor String
- Device type vendor i.e.
Cisco,Juniper Networks,VERSA Networks.
- category string
- Device type category. One of:
Router,Firewall,SDWAN. - metro
Codes string[] - List of metro codes where device type has to be available
- name string
- Device type name.
- vendor string
- Device type vendor i.e.
Cisco,Juniper Networks,VERSA Networks.
- category str
- Device type category. One of:
Router,Firewall,SDWAN. - metro_
codes Sequence[str] - List of metro codes where device type has to be available
- name str
- Device type name.
- vendor str
- Device type vendor i.e.
Cisco,Juniper Networks,VERSA Networks.
- category String
- Device type category. One of:
Router,Firewall,SDWAN. - metro
Codes List<String> - List of metro codes where device type has to be available
- name String
- Device type name.
- vendor String
- Device type vendor i.e.
Cisco,Juniper Networks,VERSA Networks.
getDeviceType Result
The following output properties are available:
- Category string
- Code string
- Device type short code, unique identifier of a network device type
- Description string
- Device type textual description
- Id string
- The provider-assigned unique ID for this managed resource.
- Metro
Codes List<string> - Name string
- Vendor string
- Category string
- Code string
- Device type short code, unique identifier of a network device type
- Description string
- Device type textual description
- Id string
- The provider-assigned unique ID for this managed resource.
- Metro
Codes []string - Name string
- Vendor string
- category string
- code string
- Device type short code, unique identifier of a network device type
- description string
- Device type textual description
- id string
- The provider-assigned unique ID for this managed resource.
- metro_
codes list(string) - name string
- vendor string
- category String
- code String
- Device type short code, unique identifier of a network device type
- description String
- Device type textual description
- id String
- The provider-assigned unique ID for this managed resource.
- metro
Codes List<String> - name String
- vendor String
- category string
- code string
- Device type short code, unique identifier of a network device type
- description string
- Device type textual description
- id string
- The provider-assigned unique ID for this managed resource.
- metro
Codes string[] - name string
- vendor string
- category str
- code str
- Device type short code, unique identifier of a network device type
- description str
- Device type textual description
- id str
- The provider-assigned unique ID for this managed resource.
- metro_
codes Sequence[str] - name str
- vendor str
- category String
- code String
- Device type short code, unique identifier of a network device type
- description String
- Device type textual description
- id String
- The provider-assigned unique ID for this managed resource.
- metro
Codes List<String> - name String
- vendor String
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinixTerraform Provider.
EquinixViewing docs for Equinix v0.33.1
published on Thursday, Oct 1, 2026 by Equinix
published on Thursday, Oct 1, 2026 by Equinix