Equinix v0.18.0 published on Monday, Sep 23, 2024 by Equinix
equinix.networkedge.getDevicePlatform
Explore with Pulumi AI
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:
- Device
Type string - Device type code
- Core
Count 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
. - License
Options 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). - Management
Types 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.
- Device
Type string - Device type code
- Core
Count 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
. - License
Options []string - 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 []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 String - Device type code
- core
Count 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
. - license
Options 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). - management
Types 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.
- device
Type string - Device type code
- core
Count 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
. - license
Options string[] - 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 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.
- device
Type String - Device type code
- core
Count 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
. - license
Options 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). - management
Types 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:
- Core
Count int - Device
Type string - Flavor string
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Options List<string> - Management
Types List<string> - Memory int
- The amount of memory provided by device platform.
- Memory
Unit string - Unit of memory provider by device platform.
- Packages List<string>
- Core
Count int - Device
Type string - Flavor string
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Options []string - Management
Types []string - Memory int
- The amount of memory provided by device platform.
- Memory
Unit string - Unit of memory provider by device platform.
- Packages []string
- core
Count Integer - device
Type String - flavor String
- id String
- The provider-assigned unique ID for this managed resource.
- license
Options List<String> - management
Types List<String> - memory Integer
- The amount of memory provided by device platform.
- memory
Unit String - Unit of memory provider by device platform.
- packages List<String>
- core
Count number - device
Type string - flavor string
- id string
- The provider-assigned unique ID for this managed resource.
- license
Options string[] - management
Types string[] - memory number
- The amount of memory provided by device platform.
- memory
Unit 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]
- core
Count Number - device
Type String - flavor String
- id String
- The provider-assigned unique ID for this managed resource.
- license
Options List<String> - management
Types List<String> - memory Number
- The amount of memory provided by device platform.
- memory
Unit 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.