1. Packages
  2. Equinix
  3. API Docs
  4. networkedge
  5. getDevicePlatform
Equinix v0.11.2 published on Wednesday, Jun 26, 2024 by Equinix

equinix.networkedge.getDevicePlatform

Explore with Pulumi AI

equinix logo
Equinix v0.11.2 published on Wednesday, Jun 26, 2024 by Equinix

    Use this data source to get Equinix Network Edge device platform configuration details for a given device type. For further details, check supported Network Edge Vendors and Devices.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as equinix from "@pulumi/equinix";
    
    const csrLarge = equinix.networkedge.getDevicePlatform({
        deviceType: "CSR1000V",
        flavor: "large",
        packages: ["IPBASE"],
    });
    
    import pulumi
    import pulumi_equinix as equinix
    
    csr_large = equinix.networkedge.get_device_platform(device_type="CSR1000V",
        flavor="large",
        packages=["IPBASE"])
    
    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 {
    		_, err := networkedge.GetDevicePlatform(ctx, &networkedge.GetDevicePlatformArgs{
    			DeviceType: "CSR1000V",
    			Flavor:     pulumi.StringRef("large"),
    			Packages: []string{
    				"IPBASE",
    			},
    		}, 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 csrLarge = Equinix.NetworkEdge.GetDevicePlatform.Invoke(new()
        {
            DeviceType = "CSR1000V",
            Flavor = "large",
            Packages = new[]
            {
                "IPBASE",
            },
        });
    
    });
    
    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.GetDevicePlatformArgs;
    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 csrLarge = NetworkedgeFunctions.getDevicePlatform(GetDevicePlatformArgs.builder()
                .deviceType("CSR1000V")
                .flavor("large")
                .packages("IPBASE")
                .build());
    
        }
    }
    
    variables:
      csrLarge:
        fn::invoke:
          Function: equinix:networkedge:getDevicePlatform
          Arguments:
            deviceType: CSR1000V
            flavor: large
            packages:
              - IPBASE
    

    Using getDevicePlatform

    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 getDevicePlatform(args: GetDevicePlatformArgs, opts?: InvokeOptions): Promise<GetDevicePlatformResult>
    function getDevicePlatformOutput(args: GetDevicePlatformOutputArgs, opts?: InvokeOptions): Output<GetDevicePlatformResult>
    def get_device_platform(core_count: Optional[int] = None,
                            device_type: Optional[str] = None,
                            flavor: Optional[str] = None,
                            license_options: Optional[Sequence[str]] = None,
                            management_types: Optional[Sequence[str]] = None,
                            packages: Optional[Sequence[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDevicePlatformResult
    def get_device_platform_output(core_count: Optional[pulumi.Input[int]] = None,
                            device_type: Optional[pulumi.Input[str]] = None,
                            flavor: Optional[pulumi.Input[str]] = None,
                            license_options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            management_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDevicePlatformResult]
    func GetDevicePlatform(ctx *Context, args *GetDevicePlatformArgs, opts ...InvokeOption) (*GetDevicePlatformResult, error)
    func GetDevicePlatformOutput(ctx *Context, args *GetDevicePlatformOutputArgs, opts ...InvokeOption) GetDevicePlatformResultOutput

    > Note: This function is named GetDevicePlatform in the Go SDK.

    public static class GetDevicePlatform 
    {
        public static Task<GetDevicePlatformResult> InvokeAsync(GetDevicePlatformArgs args, InvokeOptions? opts = null)
        public static Output<GetDevicePlatformResult> Invoke(GetDevicePlatformInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDevicePlatformResult> getDevicePlatform(GetDevicePlatformArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: equinix:networkedge/getDevicePlatform:getDevicePlatform
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DeviceType string
    Device type code
    CoreCount int
    Number of CPU cores used to limit platform search results.
    Flavor string
    Device platform flavor that determines number of CPU cores and memory. Supported values are: small, medium, large, xlarge.
    LicenseOptions List<string>
    List of device licensing options to limit platform search result. Supported values are: BYOL (for Bring Your Own License), Sub (for license subscription).
    ManagementTypes List<string>
    List of device management types to limit platform search results. Supported values are: EQUINIX-CONFIGURED, SELF-CONFIGURED.
    Packages List<string>
    List of software package codes to limit platform search results.
    DeviceType string
    Device type code
    CoreCount int
    Number of CPU cores used to limit platform search results.
    Flavor string
    Device platform flavor that determines number of CPU cores and memory. Supported values are: small, medium, large, xlarge.
    LicenseOptions []string
    List of device licensing options to limit platform search result. Supported values are: BYOL (for Bring Your Own License), Sub (for license subscription).
    ManagementTypes []string
    List of device management types to limit platform search results. Supported values are: EQUINIX-CONFIGURED, SELF-CONFIGURED.
    Packages []string
    List of software package codes to limit platform search results.
    deviceType String
    Device type code
    coreCount Integer
    Number of CPU cores used to limit platform search results.
    flavor String
    Device platform flavor that determines number of CPU cores and memory. Supported values are: small, medium, large, xlarge.
    licenseOptions List<String>
    List of device licensing options to limit platform search result. Supported values are: BYOL (for Bring Your Own License), Sub (for license subscription).
    managementTypes List<String>
    List of device management types to limit platform search results. Supported values are: EQUINIX-CONFIGURED, SELF-CONFIGURED.
    packages List<String>
    List of software package codes to limit platform search results.
    deviceType string
    Device type code
    coreCount number
    Number of CPU cores used to limit platform search results.
    flavor string
    Device platform flavor that determines number of CPU cores and memory. Supported values are: small, medium, large, xlarge.
    licenseOptions string[]
    List of device licensing options to limit platform search result. Supported values are: BYOL (for Bring Your Own License), Sub (for license subscription).
    managementTypes string[]
    List of device management types to limit platform search results. Supported values are: EQUINIX-CONFIGURED, SELF-CONFIGURED.
    packages string[]
    List of software package codes to limit platform search results.
    device_type str
    Device type code
    core_count int
    Number of CPU cores used to limit platform search results.
    flavor str
    Device platform flavor that determines number of CPU cores and memory. Supported values are: small, medium, large, xlarge.
    license_options Sequence[str]
    List of device licensing options to limit platform search result. Supported values are: BYOL (for Bring Your Own License), Sub (for license subscription).
    management_types Sequence[str]
    List of device management types to limit platform search results. Supported values are: EQUINIX-CONFIGURED, SELF-CONFIGURED.
    packages Sequence[str]
    List of software package codes to limit platform search results.
    deviceType String
    Device type code
    coreCount Number
    Number of CPU cores used to limit platform search results.
    flavor String
    Device platform flavor that determines number of CPU cores and memory. Supported values are: small, medium, large, xlarge.
    licenseOptions List<String>
    List of device licensing options to limit platform search result. Supported values are: BYOL (for Bring Your Own License), Sub (for license subscription).
    managementTypes List<String>
    List of device management types to limit platform search results. Supported values are: EQUINIX-CONFIGURED, SELF-CONFIGURED.
    packages List<String>
    List of software package codes to limit platform search results.

    getDevicePlatform Result

    The following output properties are available:

    CoreCount int
    DeviceType string
    Flavor string
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseOptions List<string>
    ManagementTypes List<string>
    Memory int
    The amount of memory provided by device platform.
    MemoryUnit string
    Unit of memory provider by device platform.
    Packages List<string>
    CoreCount int
    DeviceType string
    Flavor string
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseOptions []string
    ManagementTypes []string
    Memory int
    The amount of memory provided by device platform.
    MemoryUnit string
    Unit of memory provider by device platform.
    Packages []string
    coreCount Integer
    deviceType String
    flavor String
    id String
    The provider-assigned unique ID for this managed resource.
    licenseOptions List<String>
    managementTypes List<String>
    memory Integer
    The amount of memory provided by device platform.
    memoryUnit String
    Unit of memory provider by device platform.
    packages List<String>
    coreCount number
    deviceType string
    flavor string
    id string
    The provider-assigned unique ID for this managed resource.
    licenseOptions string[]
    managementTypes string[]
    memory number
    The amount of memory provided by device platform.
    memoryUnit string
    Unit of memory provider by device platform.
    packages string[]
    core_count int
    device_type str
    flavor str
    id str
    The provider-assigned unique ID for this managed resource.
    license_options Sequence[str]
    management_types Sequence[str]
    memory int
    The amount of memory provided by device platform.
    memory_unit str
    Unit of memory provider by device platform.
    packages Sequence[str]
    coreCount Number
    deviceType String
    flavor String
    id String
    The provider-assigned unique ID for this managed resource.
    licenseOptions List<String>
    managementTypes List<String>
    memory Number
    The amount of memory provided by device platform.
    memoryUnit String
    Unit of memory provider by device platform.
    packages List<String>

    Package Details

    Repository
    equinix equinix/pulumi-equinix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the equinix Terraform Provider.
    equinix logo
    Equinix v0.11.2 published on Wednesday, Jun 26, 2024 by Equinix