@cuemby/equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
111 lines (110 loc) • 3.88 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@pulumi/equinix";
*
* // Retrieve platform configuration of a large flavor for a CSR100V device type
* // Platform has to support IPBASE software package
* const csrLarge = pulumi.output(equinix.GetNetworkDevicePlatform({
* deviceType: "CSR1000V",
* flavor: "large",
* packages: ["IPBASE"],
* }));
* ```
*/
export declare function getNetworkDevicePlatform(args: GetNetworkDevicePlatformArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkDevicePlatformResult>;
/**
* A collection of arguments for invoking GetNetworkDevicePlatform.
*/
export interface GetNetworkDevicePlatformArgs {
/**
* Number of CPU cores used to limit platform search results.
*/
coreCount?: number;
/**
* Device type code
*/
deviceType: string;
/**
* Device platform flavor that determines number of CPU cores and memory.
* Supported values are: `small`, `medium`, `large`, `xlarge`.
*/
flavor?: string;
/**
* List of device licensing options to limit platform search result.
* Supported values are: `BYOL` (for Bring Your Own License), `Sub` (for license subscription).
*/
licenseOptions?: string[];
/**
* List of device management types to limit platform search results.
* Supported values are: `EQUINIX-CONFIGURED`, `SELF-CONFIGURED`.
*/
managementTypes?: string[];
/**
* List of software package codes to limit platform search results.
*/
packages?: string[];
}
/**
* A collection of values returned by GetNetworkDevicePlatform.
*/
export interface GetNetworkDevicePlatformResult {
readonly coreCount: number;
readonly deviceType: string;
readonly flavor: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly licenseOptions: string[];
readonly managementTypes: string[];
/**
* The amount of memory provided by device platform.
*/
readonly memory: number;
/**
* Unit of memory provider by device platform.
*/
readonly memoryUnit: string;
readonly packages: string[];
}
export declare function getNetworkDevicePlatformOutput(args: GetNetworkDevicePlatformOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkDevicePlatformResult>;
/**
* A collection of arguments for invoking GetNetworkDevicePlatform.
*/
export interface GetNetworkDevicePlatformOutputArgs {
/**
* Number of CPU cores used to limit platform search results.
*/
coreCount?: pulumi.Input<number>;
/**
* Device type code
*/
deviceType: pulumi.Input<string>;
/**
* Device platform flavor that determines number of CPU cores and memory.
* Supported values are: `small`, `medium`, `large`, `xlarge`.
*/
flavor?: pulumi.Input<string>;
/**
* List of device licensing options to limit platform search result.
* Supported values are: `BYOL` (for Bring Your Own License), `Sub` (for license subscription).
*/
licenseOptions?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of device management types to limit platform search results.
* Supported values are: `EQUINIX-CONFIGURED`, `SELF-CONFIGURED`.
*/
managementTypes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of software package codes to limit platform search results.
*/
packages?: pulumi.Input<pulumi.Input<string>[]>;
}